public final class Subnetwork
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 |
|---|
Subnetwork() |
| Modifier and Type | Method and Description |
|---|---|
Subnetwork |
clone() |
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 |
getGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside
this subnetwork.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
java.lang.String |
getNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially
creating the subnetwork.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the Subnetwork resides.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Subnetwork |
set(java.lang.String fieldName,
java.lang.Object value) |
Subnetwork |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Subnetwork |
setDescription(java.lang.String description)
An optional description of this resource.
|
Subnetwork |
setGatewayAddress(java.lang.String gatewayAddress)
[Output Only] The gateway address for default routes to reach destination addresses outside
this subnetwork.
|
Subnetwork |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Subnetwork |
setIpCidrRange(java.lang.String ipCidrRange)
The range of internal addresses that are owned by this subnetwork.
|
Subnetwork |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Subnetwork |
setName(java.lang.String name)
The name of the resource, provided by the client when initially creating the resource.
|
Subnetwork |
setNetwork(java.lang.String network)
The URL of the network to which this subnetwork belongs, provided by the client when initially
creating the subnetwork.
|
Subnetwork |
setRegion(java.lang.String region)
[Output Only] URL of the region where the Subnetwork resides.
|
Subnetwork |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic Subnetwork setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic Subnetwork setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getGatewayAddress()
null for nonepublic Subnetwork setGatewayAddress(java.lang.String gatewayAddress)
gatewayAddress - gatewayAddress or null for nonepublic java.math.BigInteger getId()
null for nonepublic Subnetwork setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getIpCidrRange()
null for nonepublic Subnetwork setIpCidrRange(java.lang.String ipCidrRange)
ipCidrRange - ipCidrRange or null for nonepublic java.lang.String getKind()
null for nonepublic Subnetwork setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Subnetwork setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getNetwork()
null for nonepublic Subnetwork setNetwork(java.lang.String network)
network - network or null for nonepublic java.lang.String getRegion()
null for nonepublic Subnetwork setRegion(java.lang.String region)
region - region or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Subnetwork setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic Subnetwork set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Subnetwork clone()
clone in class com.google.api.client.json.GenericJson