class Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig
Configuration options for writing logs to [Stackdriver Logging](cloud. google.com/logging/docs/).
Attributes
sampling_ratio[RW]
Specifies the fraction of operations to write to [Stackdriver Logging](https:// cloud.google.com/logging/docs/). 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. Corresponds to the JSON property `samplingRatio` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudtasks_v2beta3/classes.rb, line 1339 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudtasks_v2beta3/classes.rb, line 1344 def update!(**args) @sampling_ratio = args[:sampling_ratio] if args.key?(:sampling_ratio) end