Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class AccessConfig.
An access configuration attached to an instance's network interface.
Only one access config per instance is supported.
Generated from protobuf message google.cloud.backupdr.v1.AccessConfig
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. |
↳ name |
string
Optional. The name of this access configuration. |
↳ external_ip |
string
Optional. The external IP address of this access configuration. |
↳ external_ipv6 |
string
Optional. The external IPv6 address of this access configuration. |
↳ external_ipv6_prefix_length |
int
Optional. The prefix length of the external IPv6 range. |
↳ set_public_ptr |
bool
Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. |
↳ public_ptr_domain_name |
string
Optional. The DNS domain name for the public PTR record. |
↳ network_tier |
int
Optional. This signifies the networking tier used for configuring this access |
getType
Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
Returns | |
---|---|
Type | Description |
int |
hasType
clearType
setType
Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getName
Optional. The name of this access configuration.
Returns | |
---|---|
Type | Description |
string |
hasName
clearName
setName
Optional. The name of this access configuration.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExternalIp
Optional. The external IP address of this access configuration.
Returns | |
---|---|
Type | Description |
string |
hasExternalIp
clearExternalIp
setExternalIp
Optional. The external IP address of this access configuration.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExternalIpv6
Optional. The external IPv6 address of this access configuration.
Returns | |
---|---|
Type | Description |
string |
hasExternalIpv6
clearExternalIpv6
setExternalIpv6
Optional. The external IPv6 address of this access configuration.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExternalIpv6PrefixLength
Optional. The prefix length of the external IPv6 range.
Returns | |
---|---|
Type | Description |
int |
hasExternalIpv6PrefixLength
clearExternalIpv6PrefixLength
setExternalIpv6PrefixLength
Optional. The prefix length of the external IPv6 range.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSetPublicPtr
Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
Returns | |
---|---|
Type | Description |
bool |
hasSetPublicPtr
clearSetPublicPtr
setSetPublicPtr
Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getPublicPtrDomainName
Optional. The DNS domain name for the public PTR record.
Returns | |
---|---|
Type | Description |
string |
hasPublicPtrDomainName
clearPublicPtrDomainName
setPublicPtrDomainName
Optional. The DNS domain name for the public PTR record.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNetworkTier
Optional. This signifies the networking tier used for configuring this access
Returns | |
---|---|
Type | Description |
int |
hasNetworkTier
clearNetworkTier
setNetworkTier
Optional. This signifies the networking tier used for configuring this access
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |