REST Resource: conferenceRecords.transcripts

资源:转写

会议生成的转写内容的元数据。它是指用户在会议期间所说话语的 ASR(自动语音识别)结果。

JSON 表示法
{
  "name": string,
  "state": enum (State),
  "startTime": string,
  "endTime": string,

  // Union field destination can be only one of the following:
  "docsDestination": {
    object (DocsDestination)
  }
  // End of list of possible types for union field destination.
}
字段
name

string

仅供输出。转写内容的资源名称。格式:conferenceRecords/{conferenceRecord}/transcripts/{transcript},其中 {transcript} 是与会议的每个唯一转写会话的 1:1 映射。

state

enum (State)

仅供输出。当前状态。

startTime

string (Timestamp format)

仅供输出。转写开始时的时间戳。

endTime

string (Timestamp format)

仅供输出。转写停止时的时间戳。

联合字段 destination

destination 只能是下列其中一项:

docsDestination

object (DocsDestination)

仅供输出。Google 文档转写内容的保存位置。

DocsDestination

用于保存转写文件的 Google 文档位置。

JSON 表示法
{
  "document": string,
  "exportUri": string
}
字段
document

string

仅供输出。底层 Google 文档转录文件的文档 ID。例如,“1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP”。使用 Google 文档 API 的 documents.get 方法 (https://developers.google.com/docs/api/reference/rest/v1/documents/get) 获取内容。

exportUri

string

仅供输出。Google 文档转录文件的 URI。使用 https://docs.google.com/document/d/{$DocumentId}/view 在浏览器中浏览转写内容。

状态

转写会话的当前状态。

枚举
STATE_UNSPECIFIED 默认,从不使用。
STARTED 正在进行的转写会话已开始。
ENDED 此转写会话已结束,但尚未生成转写文件。
FILE_GENERATED 转写文件已生成,可以下载了。

方法

get

按转写 ID 获取转写内容。

list

列出会议记录中的一组转写内容。