@@ -20,6 +20,8 @@ import "google/api/field_behavior.proto";
2020import "google/api/resource.proto" ;
2121import "google/cloud/aiplatform/v1/encryption_spec.proto" ;
2222import "google/cloud/aiplatform/v1/job_state.proto" ;
23+ import "google/cloud/aiplatform/v1/machine_resources.proto" ;
24+ import "google/cloud/aiplatform/v1/network_spec.proto" ;
2325import "google/protobuf/duration.proto" ;
2426import "google/protobuf/timestamp.proto" ;
2527import "google/rpc/status.proto" ;
@@ -70,6 +72,18 @@ message NotebookExecutionJob {
7072 bytes content = 1 ;
7173 }
7274
75+ // Compute configuration to use for an execution job.
76+ message CustomEnvironmentSpec {
77+ // The specification of a single machine for the execution job.
78+ MachineSpec machine_spec = 1 ;
79+
80+ // The specification of a persistent disk to attach for the execution job.
81+ PersistentDiskSpec persistent_disk_spec = 2 ;
82+
83+ // The network configuration to use for the execution job.
84+ NetworkSpec network_spec = 3 ;
85+ }
86+
7387 // The input notebook.
7488 oneof notebook_source {
7589 // The Dataform Repository pointing to a single file notebook repository.
@@ -90,6 +104,9 @@ message NotebookExecutionJob {
90104 [(google.api.resource_reference ) = {
91105 type : "aiplatform.googleapis.com/NotebookRuntimeTemplate"
92106 }];
107+
108+ // The custom compute configuration for an execution job.
109+ CustomEnvironmentSpec custom_environment_spec = 16 ;
93110 }
94111
95112 // The location to store the notebook execution result.
0 commit comments