Google Cloud AlloyDB for PostgreSQL V1 Client - Class ConnectionInfo (0.9.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ConnectionInfo.

ConnectionInfo singleton resource.

https://google.aip.dev/156

Generated from protobuf message google.cloud.alloydb.v1.ConnectionInfo

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ ip_address 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.

↳ instance_uid string

Output only. The unique ID of the Instance.

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpAddress

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.

Returns
TypeDescription
string

setIpAddress

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstanceUid

Output only. The unique ID of the Instance.

Returns
TypeDescription
string

setInstanceUid

Output only. The unique ID of the Instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this