Class StackdriverLoggingConfig (3.0.0)

public sealed class StackdriverLoggingConfig : IMessage<StackdriverLoggingConfig>, IEquatable<StackdriverLoggingConfig>, IDeepCloneable<StackdriverLoggingConfig>, IBufferMessage, IMessage

Configuration options for writing logs to Stackdriver Logging.

Inheritance

Object > StackdriverLoggingConfig

Namespace

Google.Cloud.Tasks.V2

Assembly

Google.Cloud.Tasks.V2.dll

Constructors

StackdriverLoggingConfig()

public StackdriverLoggingConfig()

StackdriverLoggingConfig(StackdriverLoggingConfig)

public StackdriverLoggingConfig(StackdriverLoggingConfig other)
Parameter
NameDescription
otherStackdriverLoggingConfig

Properties

SamplingRatio

public double SamplingRatio { get; set; }

Specifies the fraction of operations to write to Stackdriver Logging. This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged.

Property Value
TypeDescription
Double