File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ message Job {
9191// LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
9292// preserved.
9393message LogsPolicy {
94+ // CloudLoggingOption contains additional settings for cloud logging generated
95+ // by Batch job.
96+ message CloudLoggingOption {}
97+
9498 // The destination (if any) for logs.
9599 enum Destination {
96100 // Logs are not preserved.
@@ -110,6 +114,11 @@ message LogsPolicy {
110114 // local file path on the VM, or under the mount point of a Persistent Disk or
111115 // Filestore, or a Cloud Storage path.
112116 string logs_path = 2 ;
117+
118+ // Optional. Additional settings for Cloud Logging. It will only take effect
119+ // when the destination of LogsPolicy is set to CLOUD_LOGGING.
120+ CloudLoggingOption cloud_logging_option = 3
121+ [(google.api.field_behavior ) = OPTIONAL ];
113122}
114123
115124// Job status.
@@ -507,6 +516,10 @@ message AllocationPolicy {
507516 map <string , string > labels = 6 ;
508517
509518 // The network policy.
519+ //
520+ // If you define an instance template in the InstancePolicyOrTemplate field,
521+ // Batch will use the network settings in the instance template instead of
522+ // this field.
510523 NetworkPolicy network = 7 ;
511524
512525 // The placement policy.
You can’t perform that action at this time.
0 commit comments