REST Resource: projects.locations.notebooks

Resource: Notebook

Notebook is a resource where users can store their content (as sources) and interacts with the content.

JSON representation
{
  "name": string,
  "title": string,
  "notebookId": string,
  "emoji": string,
  "metadata": {
    object (NotebookMetadata)
  }
}
Fields
name

string

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

This field must be a UTF-8 encoded string.

title

string

Optional. The title of the notebook.

notebookId

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

object (NotebookMetadata)

The metadata of the notebook.

NotebookMetadata

metadata for a notebook.

JSON representation
{
  "isShared": boolean,
  "isShareable": boolean,
  "lastViewed": string,
  "createTime": string
}
Fields
isShared

boolean

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

isShareable

boolean

True if the project is shareable.

lastViewed

string (Timestamp format)

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

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

createTime

string (Timestamp format)

The time at which this project was created.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Methods

listRecentlyViewed

Lists the recently viewed notebooks.