@@ -778,11 +778,11 @@ def update!(**args)
778778 class CloudLoggingOption
779779 include Google ::Apis ::Core ::Hashable
780780
781- # Optional. Set this flag to true to change the [monitored resource type](https:/
782- # / cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated
783- # by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.
784- # com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the
785- # formerly used [`generic_task`](https://cloud.google.com/monitoring/api/
781+ # Optional. Set this field to ` true` to change the [monitored resource type](
782+ # https:// cloud.google.com/monitoring/api/resources) for Cloud Logging logs
783+ # generated by this Batch job from the [`batch.googleapis.com/Job`](https://
784+ # cloud.google. com/monitoring/api/resources#tag_batch.googleapis.com/Job) type
785+ # to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/
786786 # resources#tag_generic_task) type.
787787 # Corresponds to the JSON property `useGenericTaskMonitoredResource`
788788 # @return [Boolean]
@@ -1224,8 +1224,8 @@ class InstancePolicyOrTemplate
12241224
12251225 # Name of an instance template used to create VMs. Named the field as '
12261226 # instance_template' instead of 'template' to avoid C++ keyword conflict. Batch
1227- # only supports global instance templates. You can specify the global instance
1228- # template as a full or partial URL.
1227+ # only supports global instance templates from the same project as the job. You
1228+ # can specify the global instance template as a full or partial URL.
12291229 # Corresponds to the JSON property `instanceTemplate`
12301230 # @return [String]
12311231 attr_accessor :instance_template
@@ -1317,8 +1317,10 @@ class Job
13171317 # @return [Hash<String,String>]
13181318 attr_accessor :labels
13191319
1320- # LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
1321- # preserved.
1320+ # LogsPolicy describes if and how a job's logs are preserved. Logs include
1321+ # information that is automatically written by the Batch service agent and any
1322+ # information that you configured the job's runnables to write to the `stdout`
1323+ # or `stderr` streams.
13221324 # Corresponds to the JSON property `logsPolicy`
13231325 # @return [Google::Apis::BatchV1::LogsPolicy]
13241326 attr_accessor :logs_policy
@@ -1695,8 +1697,10 @@ def update!(**args)
16951697 end
16961698 end
16971699
1698- # LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
1699- # preserved.
1700+ # LogsPolicy describes if and how a job's logs are preserved. Logs include
1701+ # information that is automatically written by the Batch service agent and any
1702+ # information that you configured the job's runnables to write to the `stdout`
1703+ # or `stderr` streams.
17001704 class LogsPolicy
17011705 include Google ::Apis ::Core ::Hashable
17021706
@@ -1706,14 +1710,18 @@ class LogsPolicy
17061710 # @return [Google::Apis::BatchV1::CloudLoggingOption]
17071711 attr_accessor :cloud_logging_option
17081712
1709- # Where logs should be saved.
1713+ # If and where logs should be saved.
17101714 # Corresponds to the JSON property `destination`
17111715 # @return [String]
17121716 attr_accessor :destination
17131717
1714- # The path to which logs are saved when the destination = PATH. This can be a
1715- # local file path on the VM, or under the mount point of a Persistent Disk or
1716- # Filestore, or a Cloud Storage path.
1718+ # When `destination` is set to `PATH`, you must set this field to the path where
1719+ # you want logs to be saved. This path can point to a local directory on the VM
1720+ # or (if congifured) a directory under the mount path of any Cloud Storage
1721+ # bucket, network file system (NFS), or writable persistent disk that is mounted
1722+ # to the job. For example, if the job has a bucket with `mountPath` set to `/mnt/
1723+ # disks/my-bucket`, you can write logs to the root directory of the `remotePath`
1724+ # of that bucket by setting this field to `/mnt/disks/my-bucket/`.
17171725 # Corresponds to the JSON property `logsPath`
17181726 # @return [String]
17191727 attr_accessor :logs_path
0 commit comments