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 message `.google.cloud.aiplatform.v1.NotebookRuntime`

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

PiperOrigin-RevId: 718467020

Source-Link: googleapis/googleapis@7e9066b

Source-Link: googleapis/googleapis-gen@7f9a3e2
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjdmOWEzZTI5ZjhiMjQyODVhYzZlZTlkZDQ2MjI3NWQ0YzJjYzIyNGUifQ==
  • Loading branch information
gcf-owl-bot[bot] committed Jan 22, 2025
1 parent 45c34c4 commit 4555941
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 5 deletions.
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
30 changes: 30 additions & 0 deletions owl-bot-staging/google-cloud-aiplatform/v1/protos/protos.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97032,9 +97032,24 @@ export namespace google {
/** NotebookRuntime notebookRuntimeType */
notebookRuntimeType?: (google.cloud.aiplatform.v1.NotebookRuntimeType|keyof typeof google.cloud.aiplatform.v1.NotebookRuntimeType|null);

/** NotebookRuntime machineSpec */
machineSpec?: (google.cloud.aiplatform.v1.IMachineSpec|null);

/** NotebookRuntime dataPersistentDiskSpec */
dataPersistentDiskSpec?: (google.cloud.aiplatform.v1.IPersistentDiskSpec|null);

/** NotebookRuntime networkSpec */
networkSpec?: (google.cloud.aiplatform.v1.INetworkSpec|null);

/** NotebookRuntime idleShutdownConfig */
idleShutdownConfig?: (google.cloud.aiplatform.v1.INotebookIdleShutdownConfig|null);

/** NotebookRuntime eucConfig */
eucConfig?: (google.cloud.aiplatform.v1.INotebookEucConfig|null);

/** NotebookRuntime shieldedVmConfig */
shieldedVmConfig?: (google.cloud.aiplatform.v1.IShieldedVmConfig|null);

/** NotebookRuntime networkTags */
networkTags?: (string[]|null);

Expand Down Expand Up @@ -97105,9 +97120,24 @@ export namespace google {
/** NotebookRuntime notebookRuntimeType. */
public notebookRuntimeType: (google.cloud.aiplatform.v1.NotebookRuntimeType|keyof typeof google.cloud.aiplatform.v1.NotebookRuntimeType);

/** NotebookRuntime machineSpec. */
public machineSpec?: (google.cloud.aiplatform.v1.IMachineSpec|null);

/** NotebookRuntime dataPersistentDiskSpec. */
public dataPersistentDiskSpec?: (google.cloud.aiplatform.v1.IPersistentDiskSpec|null);

/** NotebookRuntime networkSpec. */
public networkSpec?: (google.cloud.aiplatform.v1.INetworkSpec|null);

/** NotebookRuntime idleShutdownConfig. */
public idleShutdownConfig?: (google.cloud.aiplatform.v1.INotebookIdleShutdownConfig|null);

/** NotebookRuntime eucConfig. */
public eucConfig?: (google.cloud.aiplatform.v1.INotebookEucConfig|null);

/** NotebookRuntime shieldedVmConfig. */
public shieldedVmConfig?: (google.cloud.aiplatform.v1.IShieldedVmConfig|null);

/** NotebookRuntime networkTags. */
public networkTags: string[];

Expand Down
Loading

0 comments on commit 4555941

Please sign in to comment.