public final class BackendServiceLogConfig extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
BackendServiceLogConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
BackendServiceLogConfig | 
clone()  | 
Boolean | 
getEnable()
This field 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. 
 | 
BackendServiceLogConfig | 
set(String fieldName,
   Object value)  | 
BackendServiceLogConfig | 
setEnable(Boolean enable)
This field denotes whether to enable logging for the load balancer traffic served by this
 backend service. 
 | 
BackendServiceLogConfig | 
setSampleRate(Float sampleRate)
This field can only be specified if logging is enabled for this backend service. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getEnable()
null for nonepublic BackendServiceLogConfig setEnable(Boolean enable)
enable - enable or null for nonepublic Float getSampleRate()
null for nonepublic BackendServiceLogConfig setSampleRate(Float sampleRate)
sampleRate - sampleRate or null for nonepublic BackendServiceLogConfig set(String fieldName, Object value)
set in class GenericJsonpublic BackendServiceLogConfig clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.