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