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. | 
| Boolean | getAllowSubnetCidrRoutesOverlap()Whether this subnetwork's ranges can conflict with existing static routes. | 
| 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 | getExternalIpv6Prefix()[Output Only] The external IPv6 address range that is assigned to 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 | getInternalIpv6Prefix()[Output Only] The internal IPv6 address range that is assigned to this subnetwork. | 
| String | getIpCidrRange()The range of internal addresses that are owned by this subnetwork. | 
| String | getIpv6AccessType()The access type of IPv6 address this subnet holds. | 
| String | getIpv6CidrRange()[Output Only] This field is for internal use. | 
| 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 | getPrivateIpv6GoogleAccess()This field is for internal use. | 
| 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 | getStackType()The stack type for the subnet. | 
| String | getState()[Output Only] The state of the subnetwork, which can be one of the following values: READY:
 Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the
 purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer
 are being drained. | 
| Subnetwork | set(String fieldName,
   Object value) | 
| Subnetwork | setAllowSubnetCidrRoutesOverlap(Boolean allowSubnetCidrRoutesOverlap)Whether this subnetwork's ranges can conflict with existing static routes. | 
| 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 | setExternalIpv6Prefix(String externalIpv6Prefix)[Output Only] The external IPv6 address range that is assigned to 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 | setInternalIpv6Prefix(String internalIpv6Prefix)[Output Only] The internal IPv6 address range that is assigned to this subnetwork. | 
| Subnetwork | setIpCidrRange(String ipCidrRange)The range of internal addresses that are owned by this subnetwork. | 
| Subnetwork | setIpv6AccessType(String ipv6AccessType)The access type of IPv6 address this subnet holds. | 
| Subnetwork | setIpv6CidrRange(String ipv6CidrRange)[Output Only] This field is for internal use. | 
| 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 | setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)This field is for internal use. | 
| 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 | setStackType(String stackType)The stack type for the subnet. | 
| Subnetwork | setState(String state)[Output Only] The state of the subnetwork, which can be one of the following values: READY:
 Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the
 purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer
 are being drained. | 
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 Boolean getAllowSubnetCidrRoutesOverlap()
null for nonepublic Subnetwork setAllowSubnetCidrRoutesOverlap(Boolean allowSubnetCidrRoutesOverlap)
allowSubnetCidrRoutesOverlap - allowSubnetCidrRoutesOverlap or null for nonepublic 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 getExternalIpv6Prefix()
null for nonepublic Subnetwork setExternalIpv6Prefix(String externalIpv6Prefix)
externalIpv6Prefix - externalIpv6Prefix 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 getInternalIpv6Prefix()
null for nonepublic Subnetwork setInternalIpv6Prefix(String internalIpv6Prefix)
internalIpv6Prefix - internalIpv6Prefix or null for nonepublic String getIpCidrRange()
null for nonepublic Subnetwork setIpCidrRange(String ipCidrRange)
ipCidrRange - ipCidrRange or null for nonepublic String getIpv6AccessType()
null for nonepublic Subnetwork setIpv6AccessType(String ipv6AccessType)
ipv6AccessType - ipv6AccessType or null for nonepublic String getIpv6CidrRange()
null for nonepublic Subnetwork setIpv6CidrRange(String ipv6CidrRange)
ipv6CidrRange - ipv6CidrRange 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 getPrivateIpv6GoogleAccess()
null for nonepublic Subnetwork setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)
privateIpv6GoogleAccess - privateIpv6GoogleAccess 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 getStackType()
null for nonepublic Subnetwork setStackType(String stackType)
stackType - stackType 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–2022 Google. All rights reserved.