public sealed class NetworkAttachmentConnectedEndpoint : IMessage<NetworkAttachmentConnectedEndpoint>, IEquatable<NetworkAttachmentConnectedEndpoint>, IDeepCloneable<NetworkAttachmentConnectedEndpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class NetworkAttachmentConnectedEndpoint.
[Output Only] A connection connected to this network attachment.
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eNetworkAttachmentConnectedEndpoint\u003c/code\u003e is 3.6.0, but many other versions are available, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkAttachmentConnectedEndpoint\u003c/code\u003e is a class in the Google Compute Engine v1 API that represents a connection to a network attachment.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is implemented within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties to access various attributes of the connection, such as \u003ccode\u003eIpAddress\u003c/code\u003e, \u003ccode\u003eIpv6Address\u003c/code\u003e, \u003ccode\u003eProjectIdOrNum\u003c/code\u003e, \u003ccode\u003eStatus\u003c/code\u003e, \u003ccode\u003eSubnetwork\u003c/code\u003e, and \u003ccode\u003eSubnetworkCidrRange\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are a few getters availabe to see if a property is set such as \u003ccode\u003eHasIpAddress\u003c/code\u003e, \u003ccode\u003eHasIpv6Address\u003c/code\u003e, \u003ccode\u003eHasProjectIdOrNum\u003c/code\u003e, \u003ccode\u003eHasStatus\u003c/code\u003e, \u003ccode\u003eHasSubnetwork\u003c/code\u003e, and \u003ccode\u003eHasSubnetworkCidrRange\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class NetworkAttachmentConnectedEndpoint (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint) \n\n public sealed class NetworkAttachmentConnectedEndpoint : IMessage\u003cNetworkAttachmentConnectedEndpoint\u003e, IEquatable\u003cNetworkAttachmentConnectedEndpoint\u003e, IDeepCloneable\u003cNetworkAttachmentConnectedEndpoint\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Compute Engine v1 API class NetworkAttachmentConnectedEndpoint.\n\n\\[Output Only\\] A connection connected to this network attachment. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NetworkAttachmentConnectedEndpoint \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NetworkAttachmentConnectedEndpoint](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkAttachmentConnectedEndpoint](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NetworkAttachmentConnectedEndpoint](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentConnectedEndpoint), [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.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nConstructors\n------------\n\n### NetworkAttachmentConnectedEndpoint()\n\n public NetworkAttachmentConnectedEndpoint()\n\n### NetworkAttachmentConnectedEndpoint(NetworkAttachmentConnectedEndpoint)\n\n public NetworkAttachmentConnectedEndpoint(NetworkAttachmentConnectedEndpoint other)\n\nProperties\n----------\n\n### HasIpAddress\n\n public bool HasIpAddress { get; }\n\nGets whether the \"ip_address\" field is set\n\n### HasIpv6Address\n\n public bool HasIpv6Address { get; }\n\nGets whether the \"ipv6_address\" field is set\n\n### HasProjectIdOrNum\n\n public bool HasProjectIdOrNum { get; }\n\nGets whether the \"project_id_or_num\" field is set\n\n### HasStatus\n\n public bool HasStatus { get; }\n\nGets whether the \"status\" field is set\n\n### HasSubnetwork\n\n public bool HasSubnetwork { get; }\n\nGets whether the \"subnetwork\" field is set\n\n### HasSubnetworkCidrRange\n\n public bool HasSubnetworkCidrRange { get; }\n\nGets whether the \"subnetwork_cidr_range\" field is set\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nThe IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.\n\n### Ipv6Address\n\n public string Ipv6Address { get; set; }\n\nThe IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.\n\n### ProjectIdOrNum\n\n public string ProjectIdOrNum { get; set; }\n\nThe project id or number of the interface to which the IP was assigned.\n\n### SecondaryIpCidrRanges\n\n public RepeatedField\u003cstring\u003e SecondaryIpCidrRanges { get; }\n\nAlias IP ranges from the same subnetwork.\n\n### Status\n\n public string Status { get; set; }\n\nThe status of a connected endpoint to this network attachment.\nCheck the Status enum for the list of possible values.\n\n### Subnetwork\n\n public string Subnetwork { get; set; }\n\nThe subnetwork used to assign the IP to the producer instance network interface.\n\n### SubnetworkCidrRange\n\n public string SubnetworkCidrRange { get; set; }\n\n\\[Output Only\\] The CIDR range of the subnet from which the IPv4 internal IP was allocated from."]]