[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Backup Dr V1 Client - Class AccessConfig (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.AccessConfig)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.AccessConfig)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.AccessConfig)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.AccessConfig)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.AccessConfig)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.AccessConfig)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.AccessConfig) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class AccessConfig.\n\nAn access configuration attached to an instance's network interface.\n\nOnly one access config per instance is supported.\n\nGenerated from protobuf message `google.cloud.backupdr.v1.AccessConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nOptional. In accessConfigs (IPv4), the\ndefault and only option is ONE_TO_ONE_NAT. In\nipv6AccessConfigs, the default and only option is\nDIRECT_IPV6.\n\n### hasType\n\n### clearType\n\n### setType\n\nOptional. In accessConfigs (IPv4), the\ndefault and only option is ONE_TO_ONE_NAT. In\nipv6AccessConfigs, the default and only option is\nDIRECT_IPV6.\n\n### getName\n\nOptional. The name of this access configuration.\n\n### hasName\n\n### clearName\n\n### setName\n\nOptional. The name of this access configuration.\n\n### getExternalIp\n\nOptional. The external IP address of this access configuration.\n\n### hasExternalIp\n\n### clearExternalIp\n\n### setExternalIp\n\nOptional. The external IP address of this access configuration.\n\n### getExternalIpv6\n\nOptional. The external IPv6 address of this access configuration.\n\n### hasExternalIpv6\n\n### clearExternalIpv6\n\n### setExternalIpv6\n\nOptional. The external IPv6 address of this access configuration.\n\n### getExternalIpv6PrefixLength\n\nOptional. The prefix length of the external IPv6 range.\n\n### hasExternalIpv6PrefixLength\n\n### clearExternalIpv6PrefixLength\n\n### setExternalIpv6PrefixLength\n\nOptional. The prefix length of the external IPv6 range.\n\n### getSetPublicPtr\n\nOptional. Specifies whether a public DNS 'PTR' record should be created to\nmap the external IP address of the instance to a DNS domain name.\n\n### hasSetPublicPtr\n\n### clearSetPublicPtr\n\n### setSetPublicPtr\n\nOptional. Specifies whether a public DNS 'PTR' record should be created to\nmap the external IP address of the instance to a DNS domain name.\n\n### getPublicPtrDomainName\n\nOptional. The DNS domain name for the public PTR record.\n\n### hasPublicPtrDomainName\n\n### clearPublicPtrDomainName\n\n### setPublicPtrDomainName\n\nOptional. The DNS domain name for the public PTR record.\n\n### getNetworkTier\n\nOptional. This signifies the networking tier used for configuring this\naccess\n\n### hasNetworkTier\n\n### clearNetworkTier\n\n### setNetworkTier\n\nOptional. This signifies the networking tier used for configuring this\naccess"]]