[SDK reference](../../index.md) / [Models](../index.md) / [Ai](index.md)

# NotebookServer

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Ai`  

A notebook server: JupyterLab in a container of the project with a size you choose, a home volume that survives stops, the buckets you mount (by agrant that lasts a few minutes and is renewed while the server runs, never a long-lived key) and an idle timeout that stops it. You reach it through theconsole's gateway with a single-use ticket; the server has no public address and its own token never leaves the platform.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Ai.NotebookServer_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DesiredState` | `string?` | `desiredState` | `RUNNING` or `STOPPED`: what you asked for. Creating asks for `RUNNING`. |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `GrantsExpireTime` | `DateTimeOffset?` | `grantsExpireTime` | When the grants held by the running server stop working unless renewed (a few minutes ahead; the reconciler renews them). |
| `HomeVolumeGiB` | `int?` | `homeVolumeGiB` | Size of the home volume in GiB (1 to 50; default 5). It is kept while the server is stopped and deleted with the server. |
| `IdleTimeoutMinutes` | `int?` | `idleTimeoutMinutes` | Minutes without activity after which the server stops (5 to 1,440; default 60). The home volume stays. |
| `Labels` | `Models.Ai.NotebookServer_labels?` | `labels` | At most 64. |
| `LastActivityTime` | `DateTimeOffset?` | `lastActivityTime` | When the server last saw a person or a kernel at work; the idle timeout counts from it. |
| `Mounts` | `List<Models.Ai.NotebookMount>?` | `mounts` | Buckets to mount; at most 8. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `RunSeconds` | `long?` | `runSeconds` | Seconds the server has run, in all its starts. |
| `Size` | `string?` | `size` | `cpu-small` \| `cpu-medium` \| `cpu-large` \| `gpu-small`; see `notebookSizes`. A GPU size is refused where no GPU class is attached. |
| `StartTime` | `DateTimeOffset?` | `startTime` | The startTime property |
| `State` | `string?` | `state` | `PENDING` (waiting for a notebook runtime) \| `STARTING` \| `RUNNING` \| `STOPPING` \| `STOPPED` \| `FAILED`. |
| `StateReason` | `string?` | `stateReason` | Why it is in that state: `user`, `idle-timeout`, `no-runtime`, `driver-failed`. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
