public sealed class StackdriverLoggingConfig : IMessage<StackdriverLoggingConfig>, IEquatable<StackdriverLoggingConfig>, IDeepCloneable<StackdriverLoggingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2 API class StackdriverLoggingConfig.
Configuration options for writing logs to Stackdriver Logging.
Implements
IMessageStackdriverLoggingConfig, IEquatableStackdriverLoggingConfig, IDeepCloneableStackdriverLoggingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Tasks.V2Assembly
Google.Cloud.Tasks.V2.dll
Constructors
StackdriverLoggingConfig()
public StackdriverLoggingConfig()
StackdriverLoggingConfig(StackdriverLoggingConfig)
public StackdriverLoggingConfig(StackdriverLoggingConfig other)
Parameter | |
---|---|
Name | Description |
other | StackdriverLoggingConfig |
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 | |
---|---|
Type | Description |
double |