Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::LogsPolicy::CloudLoggingOption.
CloudLoggingOption
contains additional settings for Cloud Logging logs
generated by Batch job.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#use_generic_task_monitored_resource
def use_generic_task_monitored_resource() -> ::Boolean
Returns
-
(::Boolean) — 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 usedgeneric_task
type.
#use_generic_task_monitored_resource=
def use_generic_task_monitored_resource=(value) -> ::Boolean
Parameter
-
value (::Boolean) — 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 usedgeneric_task
type.
Returns
-
(::Boolean) — 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 usedgeneric_task
type.