Reference documentation and code samples for the Google Cloud Tasks V2 Client class StackdriverLoggingConfig.
Configuration options for writing logs to Stackdriver Logging .
Generated from protobuf message google.cloud.tasks.v2.StackdriverLoggingConfig
Namespace
Google \ Cloud \ Tasks \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ sampling_ratio
float
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.
getSamplingRatio
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.
float
setSamplingRatio
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.
var
float
$this