1.0.0-beta87 (latest) 1.0.0-beta86

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

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

NotebookExecutionJob represents an instance of a notebook execution.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NotebookExecutionJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJob), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NotebookExecutionJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJob), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NotebookExecutionJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJob), [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

### NotebookExecutionJob()

    public NotebookExecutionJob()

### NotebookExecutionJob(NotebookExecutionJob)

    public NotebookExecutionJob(NotebookExecutionJob other)

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

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Timestamp when this NotebookExecutionJob was created.

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

### CustomEnvironmentSpec

    public NotebookExecutionJob.Types.CustomEnvironmentSpec CustomEnvironmentSpec { get; set; }

The custom compute configuration for an execution job.

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

### DataformRepositorySource

    public NotebookExecutionJob.Types.DataformRepositorySource DataformRepositorySource { get; set; }

The Dataform Repository pointing to a single file notebook repository.

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

### DirectNotebookSource

    public NotebookExecutionJob.Types.DirectNotebookSource DirectNotebookSource { get; set; }

The contents of an input notebook file.

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

### DisplayName

    public string DisplayName { get; set; }

The display name of the NotebookExecutionJob. 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; }

Customer-managed encryption key spec for the notebook execution job.
This field is auto-populated if the
\[NotebookRuntimeTemplate\]\[google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate\]
has an encryption spec.

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

### EnvironmentSpecCase

    public NotebookExecutionJob.EnvironmentSpecOneofCase EnvironmentSpecCase { get; }

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

### ExecutionIdentityCase

    public NotebookExecutionJob.ExecutionIdentityOneofCase ExecutionIdentityCase { get; }

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

### ExecutionSinkCase

    public NotebookExecutionJob.ExecutionSinkOneofCase ExecutionSinkCase { get; }

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

### ExecutionTimeout

    public Duration ExecutionTimeout { get; set; }

Max running time of the execution job in seconds (default 86400s / 24 hrs).

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

### ExecutionUser

    public string ExecutionUser { get; set; }

The user email to run the execution as. Only supported by Colab runtimes.

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

### GcsNotebookSource

    public NotebookExecutionJob.Types.GcsNotebookSource GcsNotebookSource { get; set; }

The Cloud Storage url pointing to the ipynb file. Format:
`gs://bucket/notebook_file.ipynb`

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

### GcsOutputUri

    public string GcsOutputUri { get; set; }

The Cloud Storage location to upload the result to. Format:
`gs://bucket-name`

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

### HasExecutionUser

    public bool HasExecutionUser { get; }

Gets whether the "execution_user" field is set

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

### HasGcsOutputUri

    public bool HasGcsOutputUri { get; }

Gets whether the "gcs_output_uri" field is set

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

### HasNotebookRuntimeTemplateResourceName

    public bool HasNotebookRuntimeTemplateResourceName { get; }

Gets whether the "notebook_runtime_template_resource_name" field is set

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

### HasServiceAccount

    public bool HasServiceAccount { get; }

Gets whether the "service_account" field is set

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

### JobState

    public JobState JobState { get; set; }

Output only. The state of the NotebookExecutionJob.

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

### KernelName

    public string KernelName { get; set; }

The name of the kernel to use during notebook execution. If unset, the
default kernel is used.

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

### Labels

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

The labels with user-defined metadata to organize NotebookExecutionJobs.

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.

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.

| **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` |   |

### Name

    public string Name { get; set; }

Output only. The resource name of this NotebookExecutionJob. Format:
`projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`

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

### NotebookExecutionJobName

    public NotebookExecutionJobName NotebookExecutionJobName { get; set; }

[NotebookExecutionJobName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJobName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJob#Google_Cloud_AIPlatform_V1Beta1_NotebookExecutionJob_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.NotebookExecutionJobName` |   |

### NotebookRuntimeTemplateResourceName

    public string NotebookRuntimeTemplateResourceName { get; set; }

The NotebookRuntimeTemplate to source compute configuration from.

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

### NotebookRuntimeTemplateResourceNameAsNotebookRuntimeTemplateName

    public NotebookRuntimeTemplateName NotebookRuntimeTemplateResourceNameAsNotebookRuntimeTemplateName { get; set; }

[NotebookRuntimeTemplateName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookRuntimeTemplateName)-typed view over the
[NotebookRuntimeTemplateResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJob#Google_Cloud_AIPlatform_V1Beta1_NotebookExecutionJob_NotebookRuntimeTemplateResourceName) resource name property.

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

### NotebookSourceCase

    public NotebookExecutionJob.NotebookSourceOneofCase NotebookSourceCase { get; }

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

### RuntimeEnvironmentCase

    public NotebookExecutionJob.RuntimeEnvironmentOneofCase RuntimeEnvironmentCase { get; }

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

### ScheduleResourceName

    public string ScheduleResourceName { get; set; }

The Schedule resource name if this job is triggered by one. Format:
`projects/{project_id}/locations/{location}/schedules/{schedule_id}`

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

### ScheduleResourceNameAsScheduleName

    public ScheduleName ScheduleResourceNameAsScheduleName { get; set; }

[ScheduleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ScheduleName)-typed view over the [ScheduleResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.NotebookExecutionJob#Google_Cloud_AIPlatform_V1Beta1_NotebookExecutionJob_ScheduleResourceName) resource name property.

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

### ServiceAccount

    public string ServiceAccount { get; set; }

The service account to run the execution as.

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

### Status

    public Status Status { get; set; }

Output only. Populated when the NotebookExecutionJob is completed. When
there is an error during notebook execution, the error details are
populated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.Status.html` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

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

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

### WorkbenchRuntime

    public NotebookExecutionJob.Types.WorkbenchRuntime WorkbenchRuntime { get; set; }

The Workbench runtime configuration to use for the notebook execution.

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