public final class Network 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 | 
|---|
Network()  | 
| Modifier and Type | Method and Description | 
|---|---|
Network | 
clone()  | 
Boolean | 
getAutoCreateSubnetworks()
Must be set to create a VPC network. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
String | 
getFirewallPolicy()
[Output Only] URL of the firewall policy the network is associated with. 
 | 
String | 
getGatewayIPv4()
[Output Only] The gateway address for default routing out of the network, selected by GCP. 
 | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getIPv4Range()
Deprecated in favor of subnet mode networks. 
 | 
String | 
getKind()
[Output Only] Type of the resource. 
 | 
Integer | 
getMtu()
Maximum Transmission Unit in bytes. 
 | 
String | 
getName()
Name of the resource. 
 | 
List<NetworkPeering> | 
getPeerings()
[Output Only] A list of network peerings for the resource. 
 | 
NetworkRoutingConfig | 
getRoutingConfig()
The network-level routing configuration for this network. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
List<String> | 
getSubnetworks()
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. 
 | 
Network | 
set(String fieldName,
   Object value)  | 
Network | 
setAutoCreateSubnetworks(Boolean autoCreateSubnetworks)
Must be set to create a VPC network. 
 | 
Network | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
Network | 
setDescription(String description)
An optional description of this resource. 
 | 
Network | 
setFirewallPolicy(String firewallPolicy)
[Output Only] URL of the firewall policy the network is associated with. 
 | 
Network | 
setGatewayIPv4(String gatewayIPv4)
[Output Only] The gateway address for default routing out of the network, selected by GCP. 
 | 
Network | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
Network | 
setIPv4Range(String iPv4Range)
Deprecated in favor of subnet mode networks. 
 | 
Network | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
Network | 
setMtu(Integer mtu)
Maximum Transmission Unit in bytes. 
 | 
Network | 
setName(String name)
Name of the resource. 
 | 
Network | 
setPeerings(List<NetworkPeering> peerings)
[Output Only] A list of network peerings for the resource. 
 | 
Network | 
setRoutingConfig(NetworkRoutingConfig routingConfig)
The network-level routing configuration for this network. 
 | 
Network | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
Network | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
Network | 
setSubnetworks(List<String> subnetworks)
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. 
 | 
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 getIPv4Range()
null for nonepublic Network setIPv4Range(String iPv4Range)
iPv4Range - iPv4Range or null for nonepublic Boolean getAutoCreateSubnetworks()
null for nonepublic Network setAutoCreateSubnetworks(Boolean autoCreateSubnetworks)
autoCreateSubnetworks - autoCreateSubnetworks or null for nonepublic String getCreationTimestamp()
null for nonepublic Network setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Network setDescription(String description)
description - description or null for nonepublic String getFirewallPolicy()
null for nonepublic Network setFirewallPolicy(String firewallPolicy)
firewallPolicy - firewallPolicy or null for nonepublic String getGatewayIPv4()
null for nonepublic Network setGatewayIPv4(String gatewayIPv4)
gatewayIPv4 - gatewayIPv4 or null for nonepublic BigInteger getId()
null for nonepublic Network setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic Network setKind(String kind)
kind - kind or null for nonepublic Integer getMtu()
null for nonepublic Network setMtu(Integer mtu)
mtu - mtu or null for nonepublic String getName()
null for nonepublic Network setName(String name)
name - name or null for nonepublic List<NetworkPeering> getPeerings()
null for nonepublic Network setPeerings(List<NetworkPeering> peerings)
peerings - peerings or null for nonepublic NetworkRoutingConfig getRoutingConfig()
null for nonepublic Network setRoutingConfig(NetworkRoutingConfig routingConfig)
routingConfig - routingConfig or null for nonepublic String getSelfLink()
null for nonepublic Network setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic Network setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic List<String> getSubnetworks()
null for nonepublic Network setSubnetworks(List<String> subnetworks)
subnetworks - subnetworks or null for nonepublic Network set(String fieldName, Object value)
set in class GenericJsonpublic Network clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.