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()
When set to true, the VPC network is created in "auto" mode.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
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.
|
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.
|
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)
When set to true, the VPC network is created in "auto" mode.
|
Network |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Network |
setDescription(String description)
An optional description of this resource.
|
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 |
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 |
setSubnetworks(List<String> subnetworks)
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, 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 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 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 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–2019 Google. All rights reserved.