Skip to content

Commit 7e9066b

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add machine_spec, data_persistent_disk_spec, network_spec, euc_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
1 parent e9a4c38 commit 7e9066b

1 file changed

Lines changed: 45 additions & 4 deletions

File tree

google/cloud/aiplatform/v1/notebook_runtime.proto

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,12 @@ message NotebookRuntimeTemplate {
6767
// The description of the NotebookRuntimeTemplate.
6868
string description = 3;
6969

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

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

93+
// Deprecated: This field is ignored and the "Vertex AI Notebook Service
94+
// Account"
95+
// (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
96+
// used for the runtime workload identity.
97+
// See
98+
// https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
99+
// for more details.
100+
// For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
101+
//
89102
// The service account that the runtime workload runs as.
90103
// You can use any service account within the same project, but you
91104
// must have the service account user permission to use the instance.
92105
//
93106
// If not specified, the [Compute Engine default service
94107
// account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
95108
// is used.
96-
string service_account = 13;
109+
string service_account = 13 [deprecated = true];
97110

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

231-
// Output only. The service account that the NotebookRuntime workload runs as.
244+
// Output only. Deprecated: This field is no longer used and the "Vertex AI
245+
// Notebook Service Account"
246+
// (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
247+
// used for the runtime workload identity.
248+
// See
249+
// https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
250+
// for more details.
251+
//
252+
// The service account that the NotebookRuntime workload runs as.
232253
string service_account = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
233254

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

296+
// Output only. The specification of a single machine used by the notebook
297+
// runtime.
298+
MachineSpec machine_spec = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
299+
300+
// Output only. The specification of [persistent
301+
// disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
302+
// attached to the notebook runtime as data disk storage.
303+
PersistentDiskSpec data_persistent_disk_spec = 21
304+
[(google.api.field_behavior) = OUTPUT_ONLY];
305+
306+
// Output only. Network spec of the notebook runtime.
307+
NetworkSpec network_spec = 22 [(google.api.field_behavior) = OUTPUT_ONLY];
308+
275309
// Output only. The idle shutdown configuration of the notebook runtime.
276310
NotebookIdleShutdownConfig idle_shutdown_config = 23
277311
[(google.api.field_behavior) = OUTPUT_ONLY];
278312

313+
// Output only. EUC configuration of the notebook runtime.
314+
NotebookEucConfig euc_config = 24 [(google.api.field_behavior) = OUTPUT_ONLY];
315+
316+
// Output only. Runtime Shielded VM spec.
317+
ShieldedVmConfig shielded_vm_config = 32
318+
[(google.api.field_behavior) = OUTPUT_ONLY];
319+
279320
// Optional. The Compute Engine tags to add to runtime (see [Tagging
280321
// instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
281322
repeated string network_tags = 25 [(google.api.field_behavior) = OPTIONAL];

0 commit comments

Comments
 (0)