public final class Subnetwork 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 |
|---|
Subnetwork() |
| Modifier and Type | Method and Description |
|---|---|
Subnetwork |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this resource.
|
Subnetwork |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
Boolean |
getEnableFlowLogs()
Whether to enable flow logging for this subnetwork.
|
String |
getFingerprint()
Fingerprint of this resource.
|
String |
getGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside
this subnetwork.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
String |
getKind()
[Output Only] Type of the resource.
|
SubnetworkLogConfig |
getLogConfig()
This field denotes the VPC flow logging options for this subnetwork.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially
creating the subnetwork.
|
Boolean |
getPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP
addresses.
|
String |
getPurpose()
The purpose of the resource.
|
String |
getRegion()
URL of the region where the Subnetwork resides.
|
String |
getRole()
The role of subnetwork.
|
List<SubnetworkSecondaryRange> |
getSecondaryIpRanges()
An array of configurations for secondary IP ranges for VM instances contained in this
subnetwork.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getState()
[Output Only] The state of the subnetwork, which can be one of READY or DRAINING.
|
Subnetwork |
set(String fieldName,
Object value) |
Subnetwork |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Subnetwork |
setDescription(String description)
An optional description of this resource.
|
Subnetwork |
setEnableFlowLogs(Boolean enableFlowLogs)
Whether to enable flow logging for this subnetwork.
|
Subnetwork |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
Subnetwork |
setGatewayAddress(String gatewayAddress)
[Output Only] The gateway address for default routes to reach destination addresses outside
this subnetwork.
|
Subnetwork |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Subnetwork |
setIpCidrRange(String ipCidrRange)
The range of internal addresses that are owned by this subnetwork.
|
Subnetwork |
setKind(String kind)
[Output Only] Type of the resource.
|
Subnetwork |
setLogConfig(SubnetworkLogConfig logConfig)
This field denotes the VPC flow logging options for this subnetwork.
|
Subnetwork |
setName(String name)
The name of the resource, provided by the client when initially creating the resource.
|
Subnetwork |
setNetwork(String network)
The URL of the network to which this subnetwork belongs, provided by the client when initially
creating the subnetwork.
|
Subnetwork |
setPrivateIpGoogleAccess(Boolean privateIpGoogleAccess)
Whether the VMs in this subnet can access Google services without assigned external IP
addresses.
|
Subnetwork |
setPurpose(String purpose)
The purpose of the resource.
|
Subnetwork |
setRegion(String region)
URL of the region where the Subnetwork resides.
|
Subnetwork |
setRole(String role)
The role of subnetwork.
|
Subnetwork |
setSecondaryIpRanges(List<SubnetworkSecondaryRange> secondaryIpRanges)
An array of configurations for secondary IP ranges for VM instances contained in this
subnetwork.
|
Subnetwork |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Subnetwork |
setState(String state)
[Output Only] The state of the subnetwork, which can be one of READY or DRAINING.
|
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 getCreationTimestamp()
null for nonepublic Subnetwork setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Subnetwork setDescription(String description)
description - description or null for nonepublic Boolean getEnableFlowLogs()
null for nonepublic Subnetwork setEnableFlowLogs(Boolean enableFlowLogs)
enableFlowLogs - enableFlowLogs or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public Subnetwork setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public Subnetwork encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public String getGatewayAddress()
null for nonepublic Subnetwork setGatewayAddress(String gatewayAddress)
gatewayAddress - gatewayAddress or null for nonepublic BigInteger getId()
null for nonepublic Subnetwork setId(BigInteger id)
id - id or null for nonepublic String getIpCidrRange()
null for nonepublic Subnetwork setIpCidrRange(String ipCidrRange)
ipCidrRange - ipCidrRange or null for nonepublic String getKind()
null for nonepublic Subnetwork setKind(String kind)
kind - kind or null for nonepublic SubnetworkLogConfig getLogConfig()
null for nonepublic Subnetwork setLogConfig(SubnetworkLogConfig logConfig)
logConfig - logConfig or null for nonepublic String getName()
null for nonepublic Subnetwork setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic Subnetwork setNetwork(String network)
network - network or null for nonepublic Boolean getPrivateIpGoogleAccess()
null for nonepublic Subnetwork setPrivateIpGoogleAccess(Boolean privateIpGoogleAccess)
privateIpGoogleAccess - privateIpGoogleAccess or null for nonepublic String getPurpose()
null for nonepublic Subnetwork setPurpose(String purpose)
purpose - purpose or null for nonepublic String getRegion()
null for nonepublic Subnetwork setRegion(String region)
region - region or null for nonepublic String getRole()
null for nonepublic Subnetwork setRole(String role)
role - role or null for nonepublic List<SubnetworkSecondaryRange> getSecondaryIpRanges()
null for nonepublic Subnetwork setSecondaryIpRanges(List<SubnetworkSecondaryRange> secondaryIpRanges)
secondaryIpRanges - secondaryIpRanges or null for nonepublic String getSelfLink()
null for nonepublic Subnetwork setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getState()
null for nonepublic Subnetwork setState(String state)
state - state or null for nonepublic Subnetwork set(String fieldName, Object value)
set in class GenericJsonpublic Subnetwork clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.