Google Cloud Dms V1 Client - Class CloudSqlConnectionProfile (2.0.0)

Reference documentation and code samples for the Google Cloud Dms V1 Client class CloudSqlConnectionProfile.

Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.

Generated from protobuf message google.cloud.clouddms.v1.CloudSqlConnectionProfile

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cloud_sql_id string

Output only. The Cloud SQL instance ID that this connection profile is associated with.

↳ settings Google\Cloud\CloudDms\V1\CloudSqlSettings

Immutable. Metadata used to create the destination Cloud SQL database.

↳ private_ip string

Output only. The Cloud SQL database instance's private IP.

↳ public_ip string

Output only. The Cloud SQL database instance's public IP.

↳ additional_public_ip string

Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).

getCloudSqlId

Output only. The Cloud SQL instance ID that this connection profile is associated with.

Returns
Type Description
string

setCloudSqlId

Output only. The Cloud SQL instance ID that this connection profile is associated with.

Parameter
Name Description
var string
Returns
Type Description
$this

getSettings

Immutable. Metadata used to create the destination Cloud SQL database.

Returns
Type Description
Google\Cloud\CloudDms\V1\CloudSqlSettings|null

hasSettings

clearSettings

setSettings

Immutable. Metadata used to create the destination Cloud SQL database.

Parameter
Name Description
var Google\Cloud\CloudDms\V1\CloudSqlSettings
Returns
Type Description
$this

getPrivateIp

Output only. The Cloud SQL database instance's private IP.

Returns
Type Description
string

setPrivateIp

Output only. The Cloud SQL database instance's private IP.

Parameter
Name Description
var string
Returns
Type Description
$this

getPublicIp

Output only. The Cloud SQL database instance's public IP.

Returns
Type Description
string

setPublicIp

Output only. The Cloud SQL database instance's public IP.

Parameter
Name Description
var string
Returns
Type Description
$this

getAdditionalPublicIp

Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e.

multiple zones / highly available).

Returns
Type Description
string

setAdditionalPublicIp

Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e.

multiple zones / highly available).

Parameter
Name Description
var string
Returns
Type Description
$this