# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::ConnectionInfo (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::ConnectionInfo.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance_uid

    def instance_uid() -> ::String

**Returns**

- (::String) --- Output only. The unique ID of the Instance.

### #ip_address

    def ip_address() -> ::String

**Returns**

- (::String) --- 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.

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

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

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

### #pem_certificate_chain

    def pem_certificate_chain() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

### #psc_dns_name

    def psc_dns_name() -> ::String

**Returns**

- (::String) --- Output only. The DNS name to use with PSC for the Instance.

### #public_ip_address

    def public_ip_address() -> ::String

**Returns**

- (::String) --- 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.