1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ConnectionInfo : IMessage<ConnectionInfo>, IEquatable<ConnectionInfo>, IDeepCloneable<ConnectionInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1 API class ConnectionInfo.

ConnectionInfo singleton resource.
<https://google.aip.dev/156>

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ConnectionInfo

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ConnectionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ConnectionInfo.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConnectionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ConnectionInfo.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ConnectionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ConnectionInfo.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.md.txt)

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### ConnectionInfo()

    public ConnectionInfo()

### ConnectionInfo(ConnectionInfo)

    public ConnectionInfo(ConnectionInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConnectionInfo` |

## Properties

### ConnectionInfoName

    public ConnectionInfoName ConnectionInfoName { get; set; }

[ConnectionInfoName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ConnectionInfoName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ConnectionInfo.md.txt#Google_Cloud_AlloyDb_V1_ConnectionInfo_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConnectionInfoName` |   |

### InstanceUid

    public string InstanceUid { get; set; }

Output only. The unique ID of the Instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### IpAddress

    public string IpAddress { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PublicIpAddress

    public string PublicIpAddress { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |