public interface BackendServiceLogConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnable()
Denotes whether to enable logging for the load balancer traffic served by this backend service.
|
float |
getSampleRate()
This field can only be specified if logging is enabled for this backend service.
|
boolean |
hasEnable()
Denotes whether to enable logging for the load balancer traffic served by this backend service.
|
boolean |
hasSampleRate()
This field can only be specified if logging is enabled for this backend service.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasEnable()
Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false.
optional bool enable = 311764355;boolean getEnable()
Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false.
optional bool enable = 311764355;boolean hasSampleRate()
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
optional float sample_rate = 153193045;float getSampleRate()
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
optional float sample_rate = 153193045;Copyright © 2023 Google LLC. All rights reserved.