Package google.cloud.notebooklm.v1alpha

索引

AudioOverviewService

用於管理語音摘要的服務。

CreateAudioOverview

rpc CreateAudioOverview(CreateAudioOverviewRequest) returns (CreateAudioOverviewResponse)

生成新的語音摘要。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite
  • https://www.googleapis.com/auth/discoveryengine.serving.readwrite

詳情請參閱Authentication Overview

IAM 權限

需要 parent 資源的下列 IAM 權限:

  • discoveryengine.audioOverviews.create

詳情請參閱 IAM 說明文件

DeleteAudioOverview

rpc DeleteAudioOverview(DeleteAudioOverviewRequest) returns (Empty)

刪除語音摘要。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite
  • https://www.googleapis.com/auth/discoveryengine.serving.readwrite

詳情請參閱Authentication Overview

IAM 權限

需要 name 資源的下列 IAM 權限:

  • discoveryengine.audioOverviews.delete

詳情請參閱 IAM 說明文件

DiscoverSourcesService

這項服務可管理筆記本上的非同步來源探索工作。

每個方法都會在筆記本下啟動新的背景探索工作 (以集合為準的自訂方法,例如 DiscoverSourcesFastResearchDiscoverSourcesDeepResearch),或對 source_discovery_job_id 識別的現有工作執行動作。

LabelService

用於管理標籤的服務。

NotebookService

用於管理筆記本的服務。

SourceService

用於管理來源的服務。

AudioOverview

筆記本的語音摘要。這是筆記本的語音摘要。

欄位
name

string

ID。筆記本的完整資源名稱。格式:projects/{project}/locations/{location}/notebooks/{notebook}/audioOverviews/{audio_overview_id}

這個欄位必須是 UTF-8 編碼的字串,長度上限為 1024 個字元。

audio_overview_id

string

僅供輸出。音訊總覽的專屬 ID。

status

AudioOverviewStatus

語音摘要的狀態。

generation_options

AudioOverviewGenerationOptions

生成語音摘要時使用的選項。

mime_type

MimeType

語音摘要的 MIME 類型。

language_code

string

生成的語音摘要語言代碼。請使用 BCP 47 語言代碼 (例如「en」、「es」、「hi」等)。

MimeType

語音摘要支援的 MIME 類型。

列舉
MIME_TYPE_UNKNOWN 尚未設定 MIME 類型。
MIME_TYPE_WAV MIME 類型為 audio/wav。
MIME_TYPE_MP4 MIME 類型為 audio/mp4。

AudioOverviewGenerationOptions

生成語音摘要時使用的選項。

欄位
source_ids[]

SourceId

選用。語音摘要的依據來源。

episode_focus

string

節目主持人應著重哪些部分。

language_code

string

要求語音摘要時使用的語言。

AudioOverviewStatus

語音摘要的狀態。

列舉
AUDIO_OVERVIEW_STATUS_UNSPECIFIED 尚未設定狀態。
AUDIO_OVERVIEW_STATUS_NOT_STARTED 系統尚未開始生成語音摘要。
AUDIO_OVERVIEW_STATUS_IN_PROGRESS 系統正在生成語音摘要。
AUDIO_OVERVIEW_STATUS_COMPLETE 語音摘要已生成完畢,現在可以收聽。
AUDIO_OVERVIEW_STATUS_FAILED 無法生成語音摘要。

CreateAudioOverviewRequest

AudioOverviewService.CreateAudioOverview 方法的要求。

欄位
parent

string

這是必要旗標,表示將建立這個筆記本的父項資源。格式:projects/{project}/locations/{location}/notebooks/{notebook}

generation_options

AudioOverviewGenerationOptions

生成語音摘要的選項。

CreateAudioOverviewResponse

AudioOverviewService.CreateAudioOverview 方法的回應。

欄位
audio_overview

AudioOverview

生成的語音摘要。

DeleteAudioOverviewRequest

AudioOverviewService.DeleteAudioOverview 方法的要求。

欄位
name

string

這是必要旗標,AudioOverview 的完整資源名稱,例如 projects/{project}/locations/{location}/notebooks/{notebook}/audioOverviews/{audio_overview_id}

SourceId

SourceId 是來源資源名稱的最後一個區段。

欄位
id

string

來源的 ID。