[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAccessConfig\u003c/code\u003e class represents an access configuration attached to a network interface in the Backup and DR Service v1 API, with only one access config supported per instance.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eAccessConfig\u003c/code\u003e is 2.1.0, and earlier versions available include 2.0.0, 1.2.0, 1.1.0, and 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for managing external IP addresses, IPv6 settings, network tiers, and DNS settings such as \u003ccode\u003eExternalIp\u003c/code\u003e, \u003ccode\u003eExternalIpv6\u003c/code\u003e, \u003ccode\u003eNetworkTier\u003c/code\u003e, \u003ccode\u003ePublicPtrDomainName\u003c/code\u003e, and \u003ccode\u003eSetPublicPtr\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessConfig\u003c/code\u003e class also contains properties to see if other fields are set or not such as \u003ccode\u003eHasExternalIp\u003c/code\u003e, \u003ccode\u003eHasExternalIpv6\u003c/code\u003e and \u003ccode\u003eHasPublicPtrDomainName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows the specification of the access type, with the default and only option for IPv4 being ONE_TO_ONE_NAT and for IPv6 it is DIRECT_IPV6.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class AccessConfig (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AccessConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.AccessConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.AccessConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.AccessConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.AccessConfig)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.AccessConfig) \n\n public sealed class AccessConfig : IMessage\u003cAccessConfig\u003e, IEquatable\u003cAccessConfig\u003e, IDeepCloneable\u003cAccessConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class AccessConfig.\n\nAn access configuration attached to an instance's network interface.\nOnly one access config per instance is supported. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AccessConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AccessConfig](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AccessConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AccessConfig](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AccessConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AccessConfig](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AccessConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### AccessConfig()\n\n public AccessConfig()\n\n### AccessConfig(AccessConfig)\n\n public AccessConfig(AccessConfig other)\n\nProperties\n----------\n\n### ExternalIp\n\n public string ExternalIp { get; set; }\n\nOptional. The external IP address of this access configuration.\n\n### ExternalIpv6\n\n public string ExternalIpv6 { get; set; }\n\nOptional. The external IPv6 address of this access configuration.\n\n### ExternalIpv6PrefixLength\n\n public int ExternalIpv6PrefixLength { get; set; }\n\nOptional. The prefix length of the external IPv6 range.\n\n### HasExternalIp\n\n public bool HasExternalIp { get; }\n\nGets whether the \"external_ip\" field is set\n\n### HasExternalIpv6\n\n public bool HasExternalIpv6 { get; }\n\nGets whether the \"external_ipv6\" field is set\n\n### HasExternalIpv6PrefixLength\n\n public bool HasExternalIpv6PrefixLength { get; }\n\nGets whether the \"external_ipv6_prefix_length\" field is set\n\n### HasName\n\n public bool HasName { get; }\n\nGets whether the \"name\" field is set\n\n### HasNetworkTier\n\n public bool HasNetworkTier { get; }\n\nGets whether the \"network_tier\" field is set\n\n### HasPublicPtrDomainName\n\n public bool HasPublicPtrDomainName { get; }\n\nGets whether the \"public_ptr_domain_name\" field is set\n\n### HasSetPublicPtr\n\n public bool HasSetPublicPtr { get; }\n\nGets whether the \"set_public_ptr\" field is set\n\n### HasType\n\n public bool HasType { get; }\n\nGets whether the \"type\" field is set\n\n### Name\n\n public string Name { get; set; }\n\nOptional. The name of this access configuration.\n\n### NetworkTier\n\n public AccessConfig.Types.NetworkTier NetworkTier { get; set; }\n\nOptional. This signifies the networking tier used for configuring this\naccess\n\n### PublicPtrDomainName\n\n public string PublicPtrDomainName { get; set; }\n\nOptional. The DNS domain name for the public PTR record.\n\n### SetPublicPtr\n\n public bool SetPublicPtr { get; set; }\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### Type\n\n public AccessConfig.Types.AccessType Type { get; set; }\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."]]