Interface StackdriverLoggingConfigOrBuilder (2.72.0)

publicinterface StackdriverLoggingConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getSamplingRatio()

publicabstractdoublegetSamplingRatio()

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
Type Description
double

The samplingRatio.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.