public final class NetworkPeering 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 | 
|---|
| NetworkPeering() | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkPeering | clone() | 
| Boolean | getAutoCreateRoutes()This field will be deprecated soon. | 
| Boolean | getExchangeSubnetRoutes()Indicates whether full mesh connectivity is created and managed automatically between peered
 networks. | 
| Boolean | getExportCustomRoutes()Whether to export the custom routes to peer network. | 
| Boolean | getExportSubnetRoutesWithPublicIp()Whether subnet routes with public IP range are exported. | 
| Boolean | getImportCustomRoutes()Whether to import the custom routes from peer network. | 
| Boolean | getImportSubnetRoutesWithPublicIp()Whether subnet routes with public IP range are imported. | 
| String | getName()Name of this peering. | 
| String | getNetwork()The URL of the peer network. | 
| Integer | getPeerMtu()Maximum Transmission Unit in bytes. | 
| String | getStackType()Which IP version(s) of traffic and routes are allowed to be imported or exported between peer
 networks. | 
| String | getState()[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. | 
| String | getStateDetails()[Output Only] Details about the current state of the peering. | 
| NetworkPeering | set(String fieldName,
   Object value) | 
| NetworkPeering | setAutoCreateRoutes(Boolean autoCreateRoutes)This field will be deprecated soon. | 
| NetworkPeering | setExchangeSubnetRoutes(Boolean exchangeSubnetRoutes)Indicates whether full mesh connectivity is created and managed automatically between peered
 networks. | 
| NetworkPeering | setExportCustomRoutes(Boolean exportCustomRoutes)Whether to export the custom routes to peer network. | 
| NetworkPeering | setExportSubnetRoutesWithPublicIp(Boolean exportSubnetRoutesWithPublicIp)Whether subnet routes with public IP range are exported. | 
| NetworkPeering | setImportCustomRoutes(Boolean importCustomRoutes)Whether to import the custom routes from peer network. | 
| NetworkPeering | setImportSubnetRoutesWithPublicIp(Boolean importSubnetRoutesWithPublicIp)Whether subnet routes with public IP range are imported. | 
| NetworkPeering | setName(String name)Name of this peering. | 
| NetworkPeering | setNetwork(String network)The URL of the peer network. | 
| NetworkPeering | setPeerMtu(Integer peerMtu)Maximum Transmission Unit in bytes. | 
| NetworkPeering | setStackType(String stackType)Which IP version(s) of traffic and routes are allowed to be imported or exported between peer
 networks. | 
| NetworkPeering | setState(String state)[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. | 
| NetworkPeering | setStateDetails(String stateDetails)[Output Only] Details about the current state of the peering. | 
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 getAutoCreateRoutes()
null for nonepublic NetworkPeering setAutoCreateRoutes(Boolean autoCreateRoutes)
autoCreateRoutes - autoCreateRoutes or null for nonepublic Boolean getExchangeSubnetRoutes()
null for nonepublic NetworkPeering setExchangeSubnetRoutes(Boolean exchangeSubnetRoutes)
exchangeSubnetRoutes - exchangeSubnetRoutes or null for nonepublic Boolean getExportCustomRoutes()
null for nonepublic NetworkPeering setExportCustomRoutes(Boolean exportCustomRoutes)
exportCustomRoutes - exportCustomRoutes or null for nonepublic Boolean getExportSubnetRoutesWithPublicIp()
null for nonepublic NetworkPeering setExportSubnetRoutesWithPublicIp(Boolean exportSubnetRoutesWithPublicIp)
exportSubnetRoutesWithPublicIp - exportSubnetRoutesWithPublicIp or null for nonepublic Boolean getImportCustomRoutes()
null for nonepublic NetworkPeering setImportCustomRoutes(Boolean importCustomRoutes)
importCustomRoutes - importCustomRoutes or null for nonepublic Boolean getImportSubnetRoutesWithPublicIp()
null for nonepublic NetworkPeering setImportSubnetRoutesWithPublicIp(Boolean importSubnetRoutesWithPublicIp)
importSubnetRoutesWithPublicIp - importSubnetRoutesWithPublicIp or null for nonepublic String getName()
null for nonepublic NetworkPeering setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic NetworkPeering setNetwork(String network)
network - network or null for nonepublic Integer getPeerMtu()
null for nonepublic NetworkPeering setPeerMtu(Integer peerMtu)
peerMtu - peerMtu or null for nonepublic String getStackType()
null for nonepublic NetworkPeering setStackType(String stackType)
stackType - stackType or null for nonepublic String getState()
null for nonepublic NetworkPeering setState(String state)
state - state or null for nonepublic String getStateDetails()
null for nonepublic NetworkPeering setStateDetails(String stateDetails)
stateDetails - stateDetails or null for nonepublic NetworkPeering set(String fieldName, Object value)
set in class GenericJsonpublic NetworkPeering clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.