Generated from protobuf message google.cloud.alloydb.v1.ConnectionInfo
Namespace
Google \ Cloud \ AlloyDb \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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.
↳ public_ip_address
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.
↳ 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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
getPublicIpAddress
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.
Returns
Type
Description
string
setPublicIpAddress
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud AlloyDB for PostgreSQL V1 Client - Class ConnectionInfo (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-alloydb/latest/V1.ConnectionInfo)\n- [1.4.0](/php/docs/reference/cloud-alloydb/1.4.0/V1.ConnectionInfo)\n- [1.3.0](/php/docs/reference/cloud-alloydb/1.3.0/V1.ConnectionInfo)\n- [1.2.0](/php/docs/reference/cloud-alloydb/1.2.0/V1.ConnectionInfo)\n- [1.1.3](/php/docs/reference/cloud-alloydb/1.1.3/V1.ConnectionInfo)\n- [1.0.0](/php/docs/reference/cloud-alloydb/1.0.0/V1.ConnectionInfo)\n- [0.10.3](/php/docs/reference/cloud-alloydb/0.10.3/V1.ConnectionInfo)\n- [0.9.0](/php/docs/reference/cloud-alloydb/0.9.0/V1.ConnectionInfo)\n- [0.8.0](/php/docs/reference/cloud-alloydb/0.8.0/V1.ConnectionInfo)\n- [0.7.1](/php/docs/reference/cloud-alloydb/0.7.1/V1.ConnectionInfo)\n- [0.6.0](/php/docs/reference/cloud-alloydb/0.6.0/V1.ConnectionInfo)\n- [0.5.0](/php/docs/reference/cloud-alloydb/0.5.0/V1.ConnectionInfo)\n- [0.4.0](/php/docs/reference/cloud-alloydb/0.4.0/V1.ConnectionInfo)\n- [0.3.0](/php/docs/reference/cloud-alloydb/0.3.0/V1.ConnectionInfo)\n- [0.2.1](/php/docs/reference/cloud-alloydb/0.2.1/V1.ConnectionInfo)\n- [0.1.3](/php/docs/reference/cloud-alloydb/0.1.3/V1.ConnectionInfo) \nReference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ConnectionInfo.\n\nConnectionInfo singleton resource.\n\n\u003chttps://google.aip.dev/156\u003e\n\nGenerated from protobuf message `google.cloud.alloydb.v1.ConnectionInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AlloyDb \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\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### setName\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### getIpAddress\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### setIpAddress\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### getPublicIpAddress\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.\n\n### setPublicIpAddress\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.\n\n### getInstanceUid\n\nOutput only. The unique ID of the Instance.\n\n### setInstanceUid\n\nOutput only. The unique ID of the Instance."]]