- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public interface AccessConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getExternalIpv6()
public abstract String getExternalIpv6()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;
Returns | |
---|---|
Type | Description |
String |
The externalIpv6. |
getExternalIpv6Bytes()
public abstract ByteString getExternalIpv6Bytes()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for externalIpv6. |
getExternalIpv6PrefixLength()
public abstract int getExternalIpv6PrefixLength()
Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;
Returns | |
---|---|
Type | Description |
int |
The externalIpv6PrefixLength. |
getKind()
public abstract String getKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kind. |
getName()
public abstract String getName()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNatIP()
public abstract String getNatIP()
Applies to accessConfigs (IPv4) only. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
optional string nat_i_p = 117634556;
Returns | |
---|---|
Type | Description |
String |
The natIP. |
getNatIPBytes()
public abstract ByteString getNatIPBytes()
Applies to accessConfigs (IPv4) only. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
optional string nat_i_p = 117634556;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for natIP. |
getNetworkTier()
public abstract String getNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;
Returns | |
---|---|
Type | Description |
String |
The networkTier. |
getNetworkTierBytes()
public abstract ByteString getNetworkTierBytes()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for networkTier. |
getPublicPtrDomainName()
public abstract String getPublicPtrDomainName()
The DNS domain name for the public PTR record. You can set this field only if the setPublicPtr
field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range.
optional string public_ptr_domain_name = 316599167;
Returns | |
---|---|
Type | Description |
String |
The publicPtrDomainName. |
getPublicPtrDomainNameBytes()
public abstract ByteString getPublicPtrDomainNameBytes()
The DNS domain name for the public PTR record. You can set this field only if the setPublicPtr
field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range.
optional string public_ptr_domain_name = 316599167;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for publicPtrDomainName. |
getSecurityPolicy()
public abstract String getSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this access config.
optional string security_policy = 171082513;
Returns | |
---|---|
Type | Description |
String |
The securityPolicy. |
getSecurityPolicyBytes()
public abstract ByteString getSecurityPolicyBytes()
[Output Only] The resource URL for the security policy associated with this access config.
optional string security_policy = 171082513;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for securityPolicy. |
getSetPublicPtr()
public abstract 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. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
optional bool set_public_ptr = 523870229;
Returns | |
---|---|
Type | Description |
boolean |
The setPublicPtr. |
getType()
public abstract String getType()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
hasExternalIpv6()
public abstract boolean hasExternalIpv6()
Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
optional string external_ipv6 = 532703707;
Returns | |
---|---|
Type | Description |
boolean |
Whether the externalIpv6 field is set. |
hasExternalIpv6PrefixLength()
public abstract boolean hasExternalIpv6PrefixLength()
Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.
optional int32 external_ipv6_prefix_length = 425672143;
Returns | |
---|---|
Type | Description |
boolean |
Whether the externalIpv6PrefixLength field is set. |
hasKind()
public abstract boolean hasKind()
[Output Only] Type of the resource. Always compute#accessConfig for access configs.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
boolean |
Whether the kind field is set. |
hasName()
public abstract boolean hasName()
The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
boolean |
Whether the name field is set. |
hasNatIP()
public abstract boolean hasNatIP()
Applies to accessConfigs (IPv4) only. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
optional string nat_i_p = 117634556;
Returns | |
---|---|
Type | Description |
boolean |
Whether the natIP field is set. |
hasNetworkTier()
public abstract boolean hasNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.
optional string network_tier = 517397843;
Returns | |
---|---|
Type | Description |
boolean |
Whether the networkTier field is set. |
hasPublicPtrDomainName()
public abstract boolean hasPublicPtrDomainName()
The DNS domain name for the public PTR record. You can set this field only if the setPublicPtr
field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range.
optional string public_ptr_domain_name = 316599167;
Returns | |
---|---|
Type | Description |
boolean |
Whether the publicPtrDomainName field is set. |
hasSecurityPolicy()
public abstract boolean hasSecurityPolicy()
[Output Only] The resource URL for the security policy associated with this access config.
optional string security_policy = 171082513;
Returns | |
---|---|
Type | Description |
boolean |
Whether the securityPolicy field is set. |
hasSetPublicPtr()
public abstract boolean hasSetPublicPtr()
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
optional bool set_public_ptr = 523870229;
Returns | |
---|---|
Type | Description |
boolean |
Whether the setPublicPtr field is set. |
hasType()
public abstract boolean hasType()
The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns | |
---|---|
Type | Description |
boolean |
Whether the type field is set. |