File tree Expand file tree Collapse file tree
google/cloud/batch/v1alpha Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,8 +243,12 @@ message ResourceUsage {
243243// Notification configurations.
244244message JobNotification {
245245 // Message details.
246- // Describe the attribute that a message should have.
247- // Without specified message attributes, no message will be sent by default.
246+ // Describe the conditions under which messages will be sent.
247+ // If no attribute is defined, no message will be sent by default.
248+ // One message should specify either the job or the task level attributes,
249+ // but not both. For example,
250+ // job level: JOB_STATE_CHANGED and/or a specified new_job_state;
251+ // task level: TASK_STATE_CHANGED and/or a specified new_task_state.
248252 message Message {
249253 // The message type.
250254 Type type = 1 ;
@@ -269,8 +273,8 @@ message JobNotification {
269273 }
270274
271275 // The Pub/Sub topic where notifications like the job state changes
272- // will be published. This topic exist in the same project as the job
273- // and billings will be charged to this project.
276+ // will be published. The topic must exist in the same project as
277+ // the job and billings will be charged to this project.
274278 // If not specified, no Pub/Sub messages will be sent.
275279 // Topic format: `projects/{project}/topics/{topic}`.
276280 string pubsub_topic = 1 ;
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ syntax = "proto3";
1616
1717package google.cloud.batch.v1alpha ;
1818
19+ import "google/api/field_behavior.proto" ;
1920import "google/api/resource.proto" ;
2021import "google/cloud/batch/v1alpha/volume.proto" ;
2122import "google/protobuf/duration.proto" ;
@@ -156,6 +157,13 @@ message Runnable {
156157 // matches `projects/*/secrets/*/versions/*` then Batch will read the
157158 // password from the Secret Manager;
158159 string password = 11 ;
160+
161+ // Optional. Not yet implemented.
162+ // If set to true, container will run with Image streaming.
163+ // The container runtime will be changed to containerd
164+ // instead of docker. Currently, only imageUri, commands, entrypoint
165+ // and volumes are supported and any other fields will be ignored.
166+ bool enable_image_streaming = 12 [(google.api.field_behavior ) = OPTIONAL ];
159167 }
160168
161169 // Script runnable.
You can’t perform that action at this time.
0 commit comments