Reference documentation and code samples for the Google Cloud Batch V1 Client class CloudLoggingOption.
CloudLoggingOption
contains additional settings for Cloud Logging logs
generated by Batch job.
Generated from protobuf message google.cloud.batch.v1.LogsPolicy.CloudLoggingOption
Namespace
Google \ Cloud \ Batch \ V1 \ LogsPolicyMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ use_generic_task_monitored_resource
bool
Optional. Set this flag to true to change the monitored resource type
for Cloud Logging logs generated by this Batch job from the batch.googleapis.com/Job
type to the formerly used generic_task
type.
getUseGenericTaskMonitoredResource
Optional. Set this flag to true to change the monitored resource
type
for
Cloud Logging logs generated by this Batch job from
the batch.googleapis.com/Job
type to the formerly used generic_task
type.
bool
setUseGenericTaskMonitoredResource
Optional. Set this flag to true to change the monitored resource
type
for
Cloud Logging logs generated by this Batch job from
the batch.googleapis.com/Job
type to the formerly used generic_task
type.
var
bool
$this