Package com.google.cloud.tasks.v2beta3
Interface StackdriverLoggingConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StackdriverLoggingConfig
,StackdriverLoggingConfig.Builder
public interface StackdriverLoggingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getSamplingRatio()
Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSamplingRatio
double getSamplingRatio()
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.
double sampling_ratio = 1;
- Returns:
- The samplingRatio.
-
-