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

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