public final class AccessConfig
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AccessConfig() |
Modifier and Type | Method and Description |
---|---|
AccessConfig |
clone() |
String |
getExternalIpv6()
Applies to ipv6AccessConfigs only.
|
Integer |
getExternalIpv6PrefixLength()
Applies to ipv6AccessConfigs only.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
The name of this access configuration.
|
String |
getNatIP()
Applies to accessConfigs (IPv4) only.
|
String |
getNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only
take the following values: PREMIUM, STANDARD.
|
String |
getPublicPtrDomainName()
The DNS domain name for the public PTR record.
|
String |
getSecurityPolicy()
The resource URL for the security policy associated with this access config.
|
Boolean |
getSetPublicPtr()
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of
the instance to a DNS domain name.
|
String |
getType()
The type of configuration.
|
AccessConfig |
set(String fieldName,
Object value) |
AccessConfig |
setExternalIpv6(String externalIpv6)
Applies to ipv6AccessConfigs only.
|
AccessConfig |
setExternalIpv6PrefixLength(Integer externalIpv6PrefixLength)
Applies to ipv6AccessConfigs only.
|
AccessConfig |
setKind(String kind)
[Output Only] Type of the resource.
|
AccessConfig |
setName(String name)
The name of this access configuration.
|
AccessConfig |
setNatIP(String natIP)
Applies to accessConfigs (IPv4) only.
|
AccessConfig |
setNetworkTier(String networkTier)
This signifies the networking tier used for configuring this access configuration and can only
take the following values: PREMIUM, STANDARD.
|
AccessConfig |
setPublicPtrDomainName(String publicPtrDomainName)
The DNS domain name for the public PTR record.
|
AccessConfig |
setSecurityPolicy(String securityPolicy)
The resource URL for the security policy associated with this access config.
|
AccessConfig |
setSetPublicPtr(Boolean setPublicPtr)
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of
the instance to a DNS domain name.
|
AccessConfig |
setType(String type)
The type of configuration.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getExternalIpv6()
null
for nonepublic AccessConfig setExternalIpv6(String externalIpv6)
externalIpv6
- externalIpv6 or null
for nonepublic Integer getExternalIpv6PrefixLength()
null
for nonepublic AccessConfig setExternalIpv6PrefixLength(Integer externalIpv6PrefixLength)
externalIpv6PrefixLength
- externalIpv6PrefixLength or null
for nonepublic String getKind()
null
for nonepublic AccessConfig setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic AccessConfig setName(String name)
name
- name or null
for nonepublic String getNatIP()
null
for nonepublic AccessConfig setNatIP(String natIP)
natIP
- natIP or null
for nonepublic String getNetworkTier()
null
for nonepublic AccessConfig setNetworkTier(String networkTier)
networkTier
- networkTier or null
for nonepublic String getPublicPtrDomainName()
null
for nonepublic AccessConfig setPublicPtrDomainName(String publicPtrDomainName)
publicPtrDomainName
- publicPtrDomainName or null
for nonepublic String getSecurityPolicy()
null
for nonepublic AccessConfig setSecurityPolicy(String securityPolicy)
securityPolicy
- securityPolicy or null
for nonepublic Boolean getSetPublicPtr()
null
for nonepublic AccessConfig setSetPublicPtr(Boolean setPublicPtr)
setPublicPtr
- setPublicPtr or null
for nonepublic String getType()
null
for nonepublic AccessConfig setType(String type)
type
- type or null
for nonepublic AccessConfig set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccessConfig clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.