Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::AccessConfig.
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#external_ip
def external_ip() -> ::String
Returns
- (::String) — Optional. The external IP address of this access configuration.
#external_ip=
def external_ip=(value) -> ::String
Parameter
- value (::String) — Optional. The external IP address of this access configuration.
Returns
- (::String) — Optional. The external IP address of this access configuration.
#external_ipv6
def external_ipv6() -> ::String
Returns
- (::String) — Optional. The external IPv6 address of this access configuration.
#external_ipv6=
def external_ipv6=(value) -> ::String
Parameter
- value (::String) — Optional. The external IPv6 address of this access configuration.
Returns
- (::String) — Optional. The external IPv6 address of this access configuration.
#external_ipv6_prefix_length
def external_ipv6_prefix_length() -> ::Integer
Returns
- (::Integer) — Optional. The prefix length of the external IPv6 range.
#external_ipv6_prefix_length=
def external_ipv6_prefix_length=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The prefix length of the external IPv6 range.
Returns
- (::Integer) — Optional. The prefix length of the external IPv6 range.
#name
def name() -> ::String
Returns
- (::String) — Optional. The name of this access configuration.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Optional. The name of this access configuration.
Returns
- (::String) — Optional. The name of this access configuration.
#network_tier
def network_tier() -> ::Google::Cloud::BackupDR::V1::AccessConfig::NetworkTier
Returns
- (::Google::Cloud::BackupDR::V1::AccessConfig::NetworkTier) — Optional. This signifies the networking tier used for configuring this access
#network_tier=
def network_tier=(value) -> ::Google::Cloud::BackupDR::V1::AccessConfig::NetworkTier
Parameter
- value (::Google::Cloud::BackupDR::V1::AccessConfig::NetworkTier) — Optional. This signifies the networking tier used for configuring this access
Returns
- (::Google::Cloud::BackupDR::V1::AccessConfig::NetworkTier) — Optional. This signifies the networking tier used for configuring this access
#public_ptr_domain_name
def public_ptr_domain_name() -> ::String
Returns
- (::String) — Optional. The DNS domain name for the public PTR record.
#public_ptr_domain_name=
def public_ptr_domain_name=(value) -> ::String
Parameter
- value (::String) — Optional. The DNS domain name for the public PTR record.
Returns
- (::String) — Optional. The DNS domain name for the public PTR record.
#set_public_ptr
def set_public_ptr() -> ::Boolean
Returns
- (::Boolean) — 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.
#set_public_ptr=
def set_public_ptr=(value) -> ::Boolean
Parameter
- value (::Boolean) — 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
- (::Boolean) — 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.
#type
def type() -> ::Google::Cloud::BackupDR::V1::AccessConfig::AccessType
Returns
- (::Google::Cloud::BackupDR::V1::AccessConfig::AccessType) — Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
#type=
def type=(value) -> ::Google::Cloud::BackupDR::V1::AccessConfig::AccessType
Parameter
- value (::Google::Cloud::BackupDR::V1::AccessConfig::AccessType) — 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
- (::Google::Cloud::BackupDR::V1::AccessConfig::AccessType) — Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.