- [Resource: Notebook](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#Notebook)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#Notebook.SCHEMA_REPRESENTATION)
- [NotebookMetadata](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#NotebookMetadata)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#NotebookMetadata.SCHEMA_REPRESENTATION)
- [CmekConfig](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#CmekConfig)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#CmekConfig.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#METHODS_SUMMARY)

## Resource: Notebook

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

| JSON representation |
|---|
| ``` { "name": string, "sources": [ { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source`) } ], "cmekConfig": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#CmekConfig`) }, "title": string, "notebookId": string, "emoji": string, "metadata": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#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. |
| `sources[]` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source`)`` Output only. List of sources in the notebook. This is an output only field. |
| `cmekConfig` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#CmekConfig`)`` Output only. CMEK-related information for the Notebook. |
| `title` | `string` Optional. The title of the notebook. |
| `notebookId` | `string` Output only. Notebook id, which is the last segment of the notebook's resource name. |
| `emoji` | `string` Output only. The emoji of the notebook. |
| `metadata` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks#NotebookMetadata`)`` Output only. 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 (`https://protobuf.dev/reference/protobuf/google.protobuf#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 use 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 (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time at which this project was created. Uses RFC 3339, where generated output will always be Z-normalized and use 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"`. |

## CmekConfig

Customer-managed encryption configuration for Notebooks.

| JSON representation |
|---|
| ``` { "kmsKey": string } ``` |

| Fields ||
|---|---|
| `kmsKey` | `string` Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks/batchDelete` | Batch deletes Notebooks. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks/create` | Creates a notebook. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks/get` | Gets a notebook. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks/listRecentlyViewed` | Lists the notebooks ordered by last view time. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks/share` | Shares a notebook to other accounts. |