Package google.cloud.notebooklm.v1alpha

Index

NotebookService

Service for managing notebooks.

ListRecentlyViewedNotebooks

rpc ListRecentlyViewedNotebooks(ListRecentlyViewedNotebooksRequest) returns (ListRecentlyViewedNotebooksResponse)

Lists the recently viewed notebooks. Needs a side channel with the user's EUC.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • discoveryengine.notebooks.list

For more information, see the IAM documentation.

ListRecentlyViewedNotebooksRequest

Request for NotebookService.ListRecentlyViewedNotebooks method.

Fields
parent

string

Required. The parent branch resource name, such as projects/{project}/locations/{location}.

page_size

int32

Optional. Maximum number of Notebooks to return. If unspecified, defaults to "200". The maximum allowed value is "500". If this field is negative, will use the default value.

page_token

string

Optional. The page token, provide this to retrieve the subsequent page.

ListRecentlyViewedNotebooksResponse

Response for NotebookService.ListRecentlyViewedNotebooks method.

Fields
notebooks[]

Notebook

The list of recently viewed notebooks.

next_page_token

string

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

string

Identifier. The identifier of the notebook. Format: projects/{project}/locations/{location}/notebooks/{notebook_id}.

This field must be a UTF-8 encoded string.

title

string

Optional. The title of the notebook.

notebook_id

string

Optional. Notebook id, which is the last segment of the notebook's resource name. This is to make it similar with notebooklm API.

emoji

string

Output only. The emoji of the notebook.

metadata

NotebookMetadata

The metadata of the notebook.

NotebookMetadata

Metadata for a notebook.

Fields
is_shared

bool

True if this project is currently shared with other people, false otherwise.

is_shareable

bool

True if the project is shareable.

last_viewed

Timestamp

A timestamp indicating the time that the current in session user has last viewed the project.

create_time

Timestamp

The time at which this project was created.