Method: projects.locations.notebooks.listRecentlyViewed

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

HTTP request

GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/notebooks:listRecentlyViewed

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
pageSize

integer

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.

pageToken

string

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

Request body

The request body must be empty.

Response body

Response for NotebookService.ListRecentlyViewedNotebooks method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "notebooks": [
    {
      object (Notebook)
    }
  ],
  "nextPageToken": string
}
Fields
notebooks[]

object (Notebook)

The list of recently viewed notebooks.

nextPageToken

string

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

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.