Google Cloud Sql Admin V1 Client - Class NodeInfo (1.13.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class NodeInfo.

Details about an instance within the deployment.

Generated from protobuf message google.cloud.sql.v1.BlueGreenDeployment.SourceTargetPairedNode.NodeInfo

Namespace

Google \ Cloud \ Sql \ V1 \ BlueGreenDeployment \ SourceTargetPairedNode

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance string

Output only. The full resource name of the instance. Format: projects/{project}/instances/{instance}

↳ connection string

Output only. The instance connection name.

↳ dns string

Output only. The unique DNS name for this instance.

↳ ip_mappings array<Google\Cloud\Sql\V1\IpMapping>

Output only. The list of IP addresses for this instance.

getInstance

Output only. The full resource name of the instance.

Format: projects/{project}/instances/{instance}

Returns
Type Description
string

setInstance

Output only. The full resource name of the instance.

Format: projects/{project}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

getConnection

Output only. The instance connection name.

Returns
Type Description
string

setConnection

Output only. The instance connection name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDns

Output only. The unique DNS name for this instance.

Returns
Type Description
string

setDns

Output only. The unique DNS name for this instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getIpMappings

Output only. The list of IP addresses for this instance.

Returns
Type Description
Google\Protobuf\RepeatedField<Google\Cloud\Sql\V1\IpMapping>

setIpMappings

Output only. The list of IP addresses for this instance.

Parameter
Name Description
var array<Google\Cloud\Sql\V1\IpMapping>
Returns
Type Description
$this