Skip to content

Commit

Permalink
feat: Add machine_spec, data_persistent_disk_spec, network_spec, euc_…
Browse files Browse the repository at this point in the history
…config, shielded_vm_config to `.google.cloud.aiplatform.v1beta1.NotebookRuntime`

docs: Deprecate `is_default` in message `.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate`
docs: Deprecate `service_account` in message `.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate`
docs: Deprecate `service_account` in message `.google.cloud.aiplatform.v1beta1.NotebookRuntime`

PiperOrigin-RevId: 718471184
  • Loading branch information
Google APIs authored and copybara-github committed Jan 22, 2025
1 parent 256da8c commit c905b7d
Showing 1 changed file with 45 additions and 4 deletions.
49 changes: 45 additions & 4 deletions google/cloud/aiplatform/v1beta1/notebook_runtime.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ message NotebookRuntimeTemplate {
// The description of the NotebookRuntimeTemplate.
string description = 3;

// Output only. The default template to use if not specified.
bool is_default = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Deprecated: This field has no behavior. Use
// notebook_runtime_type = 'ONE_CLICK' instead.
//
// The default template to use if not specified.
bool is_default = 4
[deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY];

// Optional. Immutable. The specification of a single machine for the
// template.
Expand All @@ -86,14 +90,23 @@ message NotebookRuntimeTemplate {
// Optional. Network spec.
NetworkSpec network_spec = 12 [(google.api.field_behavior) = OPTIONAL];

// Deprecated: This field is ignored 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.
// For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
//
// The service account that the runtime workload runs as.
// You can use any service account within the same project, but you
// must have the service account user permission to use the instance.
//
// If not specified, the [Compute Engine default service
// account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
// is used.
string service_account = 13;
string service_account = 13 [deprecated = true];

// Used to perform consistent read-modify-write updates. If not set, a blind
// "overwrite" update happens.
Expand Down Expand Up @@ -228,7 +241,15 @@ message NotebookRuntime {
// The description of the NotebookRuntime.
string description = 11;

// Output only. The service account that the NotebookRuntime workload runs as.
// 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.
string service_account = 13 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The runtime (instance) state of the NotebookRuntime.
Expand Down Expand Up @@ -272,10 +293,30 @@ message NotebookRuntime {
NotebookRuntimeType notebook_runtime_type = 19
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The specification of a single machine used by the notebook
// runtime.
MachineSpec machine_spec = 20 [(google.api.field_behavior) = OUTPUT_ONLY];

// 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.
PersistentDiskSpec data_persistent_disk_spec = 21
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Network spec of the notebook runtime.
NetworkSpec network_spec = 22 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The idle shutdown configuration of the notebook runtime.
NotebookIdleShutdownConfig idle_shutdown_config = 23
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. EUC configuration of the notebook runtime.
NotebookEucConfig euc_config = 24 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Runtime Shielded VM spec.
ShieldedVmConfig shielded_vm_config = 32
[(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. The Compute Engine tags to add to runtime (see [Tagging
// instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
repeated string network_tags = 25 [(google.api.field_behavior) = OPTIONAL];
Expand Down

0 comments on commit c905b7d

Please sign in to comment.