1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class NotebookRuntime : IMessage<NotebookRuntime>, IEquatable<NotebookRuntime>, IDeepCloneable<NotebookRuntime>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class NotebookRuntime.

A runtime is a virtual machine allocated to a particular user for a
particular Notebook file on temporary basis with lifetime. Default runtimes
have a lifetime of 18 hours, while custom runtimes last for 6 months from
their creation or last upgrade.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> NotebookRuntime

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NotebookRuntime](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NotebookRuntime](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NotebookRuntime](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### NotebookRuntime()

    public NotebookRuntime()

### NotebookRuntime(NotebookRuntime)

    public NotebookRuntime(NotebookRuntime other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Timestamp when this NotebookRuntime was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### DataPersistentDiskSpec

    public PersistentDiskSpec DataPersistentDiskSpec { get; set; }

Output only. The specification of \[persistent
disk\]\[<https://cloud.google.com/compute/docs/disks/persistent-disks>\]
attached to the notebook runtime as data disk storage.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PersistentDiskSpec` |   |

### Description

    public string Description { get; set; }

The description of the NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DisplayName

    public string DisplayName { get; set; }

Required. The display name of the NotebookRuntime.
The name can be up to 128 characters long and can consist of any UTF-8
characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### EncryptionSpec

    public EncryptionSpec EncryptionSpec { get; set; }

Output only. Customer-managed encryption key spec for the notebook runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EncryptionSpec` |   |

### EucConfig

    public NotebookEucConfig EucConfig { get; set; }

Output only. EUC configuration of the notebook runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookEucConfig` |   |

### ExpirationTime

    public Timestamp ExpirationTime { get; set; }

Output only. Timestamp when this NotebookRuntime will be expired:

1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted.
2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### HealthState

    public NotebookRuntime.Types.HealthState HealthState { get; set; }

Output only. The health state of the NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime.Types.HealthState` |   |

### IdleShutdownConfig

    public NotebookIdleShutdownConfig IdleShutdownConfig { get; set; }

Output only. The idle shutdown configuration of the notebook runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookIdleShutdownConfig` |   |

### IsUpgradable

    public bool IsUpgradable { get; set; }

Output only. Whether NotebookRuntime is upgradable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Labels

    public MapField<string, string> Labels { get; }

The labels with user-defined metadata to organize your
NotebookRuntime.

Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one NotebookRuntime
(System labels are excluded).

See <https://goo.gl/xmQnxf> for more information and examples of labels.
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable. Following system labels exist for NotebookRuntime:

- "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id.
- "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### MachineSpec

    public MachineSpec MachineSpec { get; set; }

Output only. The specification of a single machine used by the notebook
runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.MachineSpec` |   |

### Name

    public string Name { get; set; }

Output only. The resource name of the NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### NetworkSpec

    public NetworkSpec NetworkSpec { get; set; }

Output only. Network spec of the notebook runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NetworkSpec` |   |

### NetworkTags

    public RepeatedField<string> NetworkTags { get; }

Optional. The Compute Engine tags to add to runtime (see [Tagging
instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### NotebookRuntimeName

    public NotebookRuntimeName NotebookRuntimeName { get; set; }

[NotebookRuntimeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimeName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime#Google_Cloud_AIPlatform_V1Beta1_NotebookRuntime_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimeName` |   |

### NotebookRuntimeTemplateRef

    public NotebookRuntimeTemplateRef NotebookRuntimeTemplateRef { get; set; }

Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is
created from.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimeTemplateRef` |   |

### NotebookRuntimeType

    public NotebookRuntimeType NotebookRuntimeType { get; set; }

Output only. The type of the notebook runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimeType` |   |

### ProxyUri

    public string ProxyUri { get; set; }

Output only. The proxy endpoint used to access the NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RuntimeState

    public NotebookRuntime.Types.RuntimeState RuntimeState { get; set; }

Output only. The runtime (instance) state of the NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntime.Types.RuntimeState` |   |

### RuntimeUser

    public string RuntimeUser { get; set; }

Required. The user email of the NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### SatisfiesPzi

    public bool SatisfiesPzi { get; set; }

Output only. Reserved for future use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### SatisfiesPzs

    public bool SatisfiesPzs { get; set; }

Output only. Reserved for future use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### ServiceAccount

    public string ServiceAccount { get; set; }

Output only. Deprecated: This field is no longer used and the "Vertex AI
Notebook Service Account"
(service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
used for the runtime workload identity.
See
<https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account>
for more details.

The service account that the NotebookRuntime workload runs as.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ShieldedVmConfig

    public ShieldedVmConfig ShieldedVmConfig { get; set; }

Output only. Runtime Shielded VM spec.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ShieldedVmConfig` |   |

### SoftwareConfig

    public NotebookSoftwareConfig SoftwareConfig { get; set; }

Output only. Software config of the notebook runtime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookSoftwareConfig` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this NotebookRuntime was most recently updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Version

    public string Version { get; set; }

Output only. The VM os image version of NotebookRuntime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |