Cloud Tasks V2beta3 API - Class Google::Cloud::Tasks::V2beta3::StackdriverLoggingConfig (v0.13.0)

Reference documentation and code samples for the Cloud Tasks V2beta3 API class Google::Cloud::Tasks::V2beta3::StackdriverLoggingConfig.

Configuration options for writing logs to Stackdriver Logging.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#sampling_ratio

def sampling_ratio() -> ::Float
Returns
  • (::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.

#sampling_ratio=

def sampling_ratio=(value) -> ::Float
Parameter
  • value (::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.
Returns
  • (::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.