public final class SubnetworkLogConfig 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 | 
|---|
| SubnetworkLogConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| SubnetworkLogConfig | clone() | 
| String | getAggregationInterval()Can only be specified if VPC flow logging for this subnetwork is enabled. | 
| Boolean | getEnable()Whether to enable flow logging for this subnetwork. | 
| String | getFilterExpr()Can only be specified if VPC flow logs for this subnetwork is enabled. | 
| Float | getFlowSampling()Can only be specified if VPC flow logging for this subnetwork is enabled. | 
| String | getMetadata()Can only be specified if VPC flow logs for this subnetwork is enabled. | 
| List<String> | getMetadataFields()Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to
 CUSTOM_METADATA. | 
| SubnetworkLogConfig | set(String fieldName,
   Object value) | 
| SubnetworkLogConfig | setAggregationInterval(String aggregationInterval)Can only be specified if VPC flow logging for this subnetwork is enabled. | 
| SubnetworkLogConfig | setEnable(Boolean enable)Whether to enable flow logging for this subnetwork. | 
| SubnetworkLogConfig | setFilterExpr(String filterExpr)Can only be specified if VPC flow logs for this subnetwork is enabled. | 
| SubnetworkLogConfig | setFlowSampling(Float flowSampling)Can only be specified if VPC flow logging for this subnetwork is enabled. | 
| SubnetworkLogConfig | setMetadata(String metadata)Can only be specified if VPC flow logs for this subnetwork is enabled. | 
| SubnetworkLogConfig | setMetadataFields(List<String> metadataFields)Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to
 CUSTOM_METADATA. | 
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 String getAggregationInterval()
null for nonepublic SubnetworkLogConfig setAggregationInterval(String aggregationInterval)
aggregationInterval - aggregationInterval or null for nonepublic Boolean getEnable()
null for nonepublic SubnetworkLogConfig setEnable(Boolean enable)
enable - enable or null for nonepublic String getFilterExpr()
null for nonepublic SubnetworkLogConfig setFilterExpr(String filterExpr)
filterExpr - filterExpr or null for nonepublic Float getFlowSampling()
null for nonepublic SubnetworkLogConfig setFlowSampling(Float flowSampling)
flowSampling - flowSampling or null for nonepublic String getMetadata()
null for nonepublic SubnetworkLogConfig setMetadata(String metadata)
metadata - metadata or null for nonepublic List<String> getMetadataFields()
null for nonepublic SubnetworkLogConfig setMetadataFields(List<String> metadataFields)
metadataFields - metadataFields or null for nonepublic SubnetworkLogConfig set(String fieldName, Object value)
set in class GenericJsonpublic SubnetworkLogConfig clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.