Index
AudioOverviewService
(interface)NotebookService
(interface)SourceService
(interface)AccountAndRole
(message)AgentspaceMetadata
(message)AudioOverview
(message)AudioOverview.MimeType
(enum)AudioOverviewGenerationOptions
(message)AudioOverviewStatus
(enum)BatchCreateSourcesRequest
(message)BatchCreateSourcesResponse
(message)BatchDeleteNotebooksRequest
(message)BatchDeleteSourcesRequest
(message)CmekConfig
(message)CreateAudioOverviewRequest
(message)CreateAudioOverviewResponse
(message)CreateNotebookRequest
(message)DeleteAudioOverviewRequest
(message)GetNotebookRequest
(message)GetSourceRequest
(message)ListRecentlyViewedNotebooksRequest
(message)ListRecentlyViewedNotebooksResponse
(message)Notebook
(message)NotebookMetadata
(message)ProjectRole
(enum)ShareNotebookRequest
(message)ShareNotebookResponse
(message)Source
(message)SourceId
(message)SourceMetadata
(message)UserContent
(message)UserContent.AgentspaceContent
(message)UserContent.GoogleDriveContent
(message)UserContent.TextContent
(message)UserContent.VideoContent
(message)UserContent.WebContent
(message)
AudioOverviewService
Service for managing audio overviews.
CreateAudioOverview |
---|
Generates a new audio overview. Needs a side channel with the user's EUC.
|
DeleteAudioOverview |
---|
Deletes an audio overview. Needs a side channel with the user's EUC.
|
NotebookService
Service for managing notebooks.
BatchDeleteNotebooks |
---|
Batch deletes Notebooks. Needs a side channel with the user's EUC.
|
CreateNotebook |
---|
Creates a notebook. Needs a side channel with the user's EUC.
|
GetNotebook |
---|
Gets a notebook. Needs a side channel with the user's EUC.
|
ListRecentlyViewedNotebooks |
---|
Lists the recently viewed notebooks. Needs a side channel with the user's EUC.
|
SourceService
Service for managing sources.
BatchCreateSources |
---|
Creates a list of
|
BatchDeleteSources |
---|
Deletes multiple sources
|
GetSource |
---|
Gets a
|
AccountAndRole
Account and role information.
Fields | |
---|---|
email |
Required. The email address associated with the account. |
role |
Required. The role in the notebook. |
AgentspaceMetadata
Metadata about an agentspace source.
Fields | |
---|---|
document_name |
Output only. The full document name in Agentspace. |
document_title |
Output only. The title of the document. |
AudioOverview
An audio overview of a notebook. This is a summary of the notebook in audio format.
Fields | |
---|---|
name |
Identifier. The full resource name of the notebook. Format: This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
audio_overview_id |
Output only. Unique ID of the audio overview. |
status |
The status of the audio overview. |
audio |
The audio overview in wav format. This is only present if the status is AUDIO_OVERVIEW_STATUS_COMPLETE. |
mime_type |
The mime type of the audio overview. |
playback_url |
The url used to play the audio overview. |
language_code |
The language code of the generated audio overview. Use the BCP 47 language code (e.g. "en", "es", "hi", etc.). Examples: google3/i18n/identifiers/tools/language_code_constants.txt |
MimeType
Supported mime types for audio overviews.
Enums | |
---|---|
MIME_TYPE_UNKNOWN |
The mime type has not been set. |
MIME_TYPE_WAV |
The mime type is audio/wav. |
MIME_TYPE_MP4 |
The mime type is audio/mp4. |
AudioOverviewGenerationOptions
Options used during audio overview generation.
Fields | |
---|---|
source_ids[] |
Optional. The sources in which the audio overview is grounded. |
episode_focus |
What the hosts of the show should focus on. |
language_code |
The language that the audio overview was requested in. |
AudioOverviewStatus
The status of an audio overview.
Enums | |
---|---|
AUDIO_OVERVIEW_STATUS_UNSPECIFIED |
The status has not been set. |
AUDIO_OVERVIEW_STATUS_NOT_STARTED |
The audio overview has not started being generated. |
AUDIO_OVERVIEW_STATUS_IN_PROGRESS |
The audio overview is in the process of being generated. |
AUDIO_OVERVIEW_STATUS_COMPLETE |
The audio overview has been generated and is available. |
AUDIO_OVERVIEW_STATUS_FAILED |
The audio overview failed to be generated. |
BatchCreateSourcesRequest
Request for SourceService.BatchCreateSources
method.
Fields | |
---|---|
parent |
Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} |
user_contents[] |
Required. The |
BatchCreateSourcesResponse
Response for SourceService.BatchCreateSources
method.
Fields | |
---|---|
sources[] |
The |
BatchDeleteNotebooksRequest
Request for NotebookService.BatchDeleteNotebooks
method.
Fields | |
---|---|
parent |
Required. The parent branch resource name, such as |
names[] |
Required. Full resource names of |
BatchDeleteSourcesRequest
Request for [SourceService.BatchDeleteSourcesRequest][] method.
Fields | |
---|---|
parent |
Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} |
names[] |
Required. Names of sources to be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} |
CmekConfig
Customer-managed encryption configuration for Notebooks.
Fields | |
---|---|
kms_key |
Required. KMS key resource name which will be used to encrypt resources |
CreateAudioOverviewRequest
Request for AudioOverviewService.CreateAudioOverview
method.
Fields | |
---|---|
parent |
Required. The parent resource where this notebook will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} |
generation_options |
Options for the audio overview generation. |
CreateAudioOverviewResponse
Response for AudioOverviewService.CreateAudioOverview
method.
Fields | |
---|---|
audio_overview |
The generated audio overview. |
CreateNotebookRequest
Request for NotebookService.CreateNotebook
method.
Fields | |
---|---|
parent |
Required. The parent resource name, such as |
notebook |
Required. The notebook to create. |
DeleteAudioOverviewRequest
Request for AudioOverviewService.DeleteAudioOverview
method.
Fields | |
---|---|
name |
Required. The full resource name of the |
GetNotebookRequest
Request for NotebookService.GetNotebook
method.
Fields | |
---|---|
name |
Required. Full resource name of |
GetSourceRequest
Request for SourceService.GetSource
method.
Fields | |
---|---|
name |
Required. The resource name for source Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} |
ListRecentlyViewedNotebooksRequest
Request for NotebookService.ListRecentlyViewedNotebooks
method.
Fields | |
---|---|
parent |
Required. The parent branch resource name, such as |
page_size |
Optional. Maximum number of |
page_token |
Optional. The page token, provide this to retrieve the subsequent page. |
ListRecentlyViewedNotebooksResponse
Response for NotebookService.ListRecentlyViewedNotebooks
method.
Fields | |
---|---|
notebooks[] |
The list of recently viewed notebooks. |
next_page_token |
The page token, provide this to retrieve the subsequent page. |
Notebook
Notebook is a resource where users can store their content (as sources) and interacts with the content.
Fields | |
---|---|
name |
Identifier. The identifier of the notebook. Format: This field must be a UTF-8 encoded string. |
cmek_config |
Output only. CMEK-related information for the Notebook. |
title |
Optional. The title of the notebook. |
notebook_id |
Optional. Notebook id, which is the last segment of the notebook's resource name. This is to make it similar with notebooklm API. |
emoji |
Output only. The emoji of the notebook. |
metadata |
The metadata of the notebook. |
NotebookMetadata
Metadata for a notebook.
Fields | |
---|---|
is_shared |
True if this project is currently shared with other people, false otherwise. |
is_shareable |
True if the project is shareable. |
last_viewed |
A timestamp indicating the time that the current in session user has last viewed the project. |
create_time |
The time at which this project was created. |
ProjectRole
The role of the project.
IMPORTANT: This enum should never be used for authorization - it could be used to render certain elements in the UI or to communicate intent through a service interface.
Enums | |
---|---|
PROJECT_ROLE_UNKNOWN |
Unknown role - do not use. |
PROJECT_ROLE_OWNER |
The user owns the project. |
PROJECT_ROLE_WRITER |
The user has writer permissions on the project. |
PROJECT_ROLE_READER |
The user has reader permissions on the project. |
PROJECT_ROLE_NOT_SHARED |
The user has no access to the project. |
Source
Source represents a single source of content.
Fields | |
---|---|
name |
Identifier. The full resource name of the source. Format: This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
title |
Optional. Title of the source. |
source_id |
Optional. Source id, which is the last segment of the source's resource name. This is to make it similar with notebooklm API. |
metadata |
Metadata about the source. |
SourceId
SourceId is the last segment of the source's resource name.
Fields | |
---|---|
id |
The id of the source. |
SourceMetadata
Represents the metadata of a source and some additional information.
Fields | |
---|---|
Union field metadata . Metadata for the source. metadata can be only one of the following: |
|
agentspace_metadata |
Metadata for an agentspace source. |
word_count |
The word count of the source. |
token_count |
The number of tokens in the source. |
source_added_timestamp |
The timestamp the source was added. |
UserContent
The "Content" messages refer to data the user wants to upload.
Fields | |
---|---|
Union field content . The user content. content can be only one of the following: |
|
google_drive_content |
The content from Google Drive. |
text_content |
The text content uploaded as source. |
web_content |
The web content uploaded as source. |
video_content |
The video content uploaded as source. |
agentspace_content |
Agentspace content uploaded as source. |
AgentspaceContent
Agentspace content uploaded as source.
Fields | |
---|---|
document_name |
Optional. The full document name in Agentspace. |
engine_name |
Optional. Engine to verify the permission of the document. |
ideaforge_idea_name |
Optional. The full idea name for IdeaForge. |
GoogleDriveContent
The content from Google Drive.
Fields | |
---|---|
document_id |
The document id of the selected document. |
mime_type |
The mime type of the selected document. This can be used to differentiate type of content selected in the drive picker. |
source_name |
Should track this from Drive Picker. |
TextContent
The text content uploaded as source.
Fields | |
---|---|
source_name |
The name of the text source. |
content |
The content of the text source. |
VideoContent
Video content uploaded as source.
Fields | |
---|---|
Union field format . Specifies the format of the video content format can be only one of the following: |
|
youtube_url |
The youtube url of the video content. |
WebContent
The web content uploaded as source.
Fields | |
---|---|
url |
If URL is supplied, will fetch the webpage in the backend. |
source_name |
The name of the web source. |