Output only. The private network IP address for the Instance. This is the
default IP for the instance and is always created (even if enable_public_ip
is set). This is the connection endpoint for an end-user application.
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters//instances//connectionInfo
This field currently has no semantic meaning.
Output only. The public IP addresses for the Instance. This is available
ONLY when enable_public_ip is set. This is the connection endpoint for an
end-user application.
[[["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\u003eThis documentation is for the \u003ccode\u003eConnectionInfo\u003c/code\u003e class, part of the AlloyDB v1beta API, and is available in the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionInfo\u003c/code\u003e class provides details about a database instance's connection, including its private network IP address, and optionally, its public IP address.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConnectionInfo\u003c/code\u003e has a property named \u003ccode\u003eConnectionInfoName\u003c/code\u003e, and properties like \u003ccode\u003eIpAddress\u003c/code\u003e, \u003ccode\u003eInstanceUid\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePublicIpAddress\u003c/code\u003e and \u003ccode\u003ePscDnsName\u003c/code\u003e, all pertaining to the connection's unique identifiers and network addresses, and they are all output only, except for \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eConnectionInfoName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePemCertificateChain\u003c/code\u003e property, which contains the X.509 certificate chain for verification, is now obsolete, meaning it is no longer the recommended method.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is listed as \u003ccode\u003e1.0.0-beta09\u003c/code\u003e, while a previous version \u003ccode\u003e1.0.0-beta08\u003c/code\u003e is also listed with its corresponding documentation link.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class ConnectionInfo (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ConnectionInfo)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.ConnectionInfo) \n\n public sealed class ConnectionInfo : IMessage\u003cConnectionInfo\u003e, IEquatable\u003cConnectionInfo\u003e, IDeepCloneable\u003cConnectionInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class ConnectionInfo.\n\nConnectionInfo singleton resource.\n\u003chttps://google.aip.dev/156\u003e \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConnectionInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConnectionInfo](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ConnectionInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConnectionInfo](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ConnectionInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConnectionInfo](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ConnectionInfo), [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.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### ConnectionInfo()\n\n public ConnectionInfo()\n\n### ConnectionInfo(ConnectionInfo)\n\n public ConnectionInfo(ConnectionInfo other)\n\nProperties\n----------\n\n### ConnectionInfoName\n\n public ConnectionInfoName ConnectionInfoName { get; set; }\n\n[ConnectionInfoName](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ConnectionInfoName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ConnectionInfo#Google_Cloud_AlloyDb_V1Beta_ConnectionInfo_Name) resource name property.\n\n### InstanceUid\n\n public string InstanceUid { get; set; }\n\nOutput only. The unique ID of the Instance.\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nOutput only. The private network IP address for the Instance. This is the\ndefault IP for the instance and is always created (even if enable_public_ip\nis set). This is the connection endpoint for an end-user application.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the ConnectionInfo singleton resource, e.g.:\nprojects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo\nThis field currently has no semantic meaning.\n\n### PemCertificateChain\n\n [Obsolete]\n public RepeatedField\u003cstring\u003e PemCertificateChain { get; }\n\nOutput only. The pem-encoded chain that may be used to verify the X.509\ncertificate. Expected to be in issuer-to-root order according to RFC 5246.\n\n### PscDnsName\n\n public string PscDnsName { get; set; }\n\nOutput only. The DNS name to use with PSC for the Instance.\n\n### PublicIpAddress\n\n public string PublicIpAddress { get; set; }\n\nOutput only. The public IP addresses for the Instance. This is available\nONLY when enable_public_ip is set. This is the connection endpoint for an\nend-user application."]]