Class Google::Cloud::Tasks::V2::StackdriverLoggingConfig (v0.4.6)

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.