Batch v1 API - Class LogsPolicy.Types.CloudLoggingOption (2.7.0)

public sealed class LogsPolicy.Types.CloudLoggingOption : IMessage<LogsPolicy.Types.CloudLoggingOption>, IEquatable<LogsPolicy.Types.CloudLoggingOption>, IDeepCloneable<LogsPolicy.Types.CloudLoggingOption>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class LogsPolicy.Types.CloudLoggingOption.

CloudLoggingOption contains additional settings for Cloud Logging logs generated by Batch job.

Inheritance

object > LogsPolicy.Types.CloudLoggingOption

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

CloudLoggingOption()

public CloudLoggingOption()

CloudLoggingOption(CloudLoggingOption)

public CloudLoggingOption(LogsPolicy.Types.CloudLoggingOption other)
Parameter
NameDescription
otherLogsPolicyTypesCloudLoggingOption

Properties

UseGenericTaskMonitoredResource

public bool UseGenericTaskMonitoredResource { get; set; }

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.

Property Value
TypeDescription
bool