Google Cloud AlloyDB for PostgreSQL V1 Client - Class ConnectionInfo (1.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ConnectionInfo.
Generated from protobuf message google.cloud.alloydb.v1.ConnectionInfo
Namespace
Google \ Cloud \ AlloyDb \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
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 2026-03-19 UTC."],[],[]]