Interface StackdriverLoggingConfigOrBuilder (2.18.0)

public interface StackdriverLoggingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSamplingRatio()

public abstract double 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.

double sampling_ratio = 1;

Returns
TypeDescription
double

The samplingRatio.