public final class Network
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Network() |
| Modifier and Type | Method and Description |
|---|---|
Network |
clone() |
java.lang.Boolean |
getAutoCreateSubnetworks()
When set to true, the network is created in "auto subnet mode".
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getGatewayIPv4()
A gateway address for default routing to other networks.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getIPv4Range()
The range of internal addresses that are legal on this network.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.util.List<java.lang.String> |
getSubnetworks()
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this network.
|
Network |
set(java.lang.String fieldName,
java.lang.Object value) |
Network |
setAutoCreateSubnetworks(java.lang.Boolean autoCreateSubnetworks)
When set to true, the network is created in "auto subnet mode".
|
Network |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Network |
setDescription(java.lang.String description)
An optional description of this resource.
|
Network |
setGatewayIPv4(java.lang.String gatewayIPv4)
A gateway address for default routing to other networks.
|
Network |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Network |
setIPv4Range(java.lang.String iPv4Range)
The range of internal addresses that are legal on this network.
|
Network |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Network |
setName(java.lang.String name)
Name of the resource.
|
Network |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
Network |
setSubnetworks(java.util.List<java.lang.String> subnetworks)
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this network.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getIPv4Range()
null for nonepublic Network setIPv4Range(java.lang.String iPv4Range)
iPv4Range - iPv4Range or null for nonepublic java.lang.Boolean getAutoCreateSubnetworks()
null for nonepublic Network setAutoCreateSubnetworks(java.lang.Boolean autoCreateSubnetworks)
autoCreateSubnetworks - autoCreateSubnetworks or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic Network setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic Network setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getGatewayIPv4()
null for nonepublic Network setGatewayIPv4(java.lang.String gatewayIPv4)
gatewayIPv4 - gatewayIPv4 or null for nonepublic java.math.BigInteger getId()
null for nonepublic Network setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Network setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Network setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Network setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.util.List<java.lang.String> getSubnetworks()
null for nonepublic Network setSubnetworks(java.util.List<java.lang.String> subnetworks)
subnetworks - subnetworks or null for nonepublic Network set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Network clone()
clone in class com.google.api.client.json.GenericJson