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.
[[["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 Dms V1 Client - Class CloudSqlConnectionProfile (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.CloudSqlConnectionProfile)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.CloudSqlConnectionProfile)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.CloudSqlConnectionProfile)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.CloudSqlConnectionProfile)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.CloudSqlConnectionProfile)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.CloudSqlConnectionProfile)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.CloudSqlConnectionProfile)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.CloudSqlConnectionProfile) \nReference documentation and code samples for the Google Cloud Dms V1 Client class CloudSqlConnectionProfile.\n\nSpecifies required connection parameters, and, optionally, the parameters\nrequired to create a Cloud SQL destination database instance.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.CloudSqlConnectionProfile`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCloudSqlId\n\nOutput only. The Cloud SQL instance ID that this connection profile is\nassociated with.\n\n### setCloudSqlId\n\nOutput only. The Cloud SQL instance ID that this connection profile is\nassociated with.\n\n### getSettings\n\nImmutable. Metadata used to create the destination Cloud SQL database.\n\n### hasSettings\n\n### clearSettings\n\n### setSettings\n\nImmutable. Metadata used to create the destination Cloud SQL database.\n\n### getPrivateIp\n\nOutput only. The Cloud SQL database instance's private IP.\n\n### setPrivateIp\n\nOutput only. The Cloud SQL database instance's private IP.\n\n### getPublicIp\n\nOutput only. The Cloud SQL database instance's public IP.\n\n### setPublicIp\n\nOutput only. The Cloud SQL database instance's public IP.\n\n### getAdditionalPublicIp\n\nOutput only. The Cloud SQL database instance's additional (outgoing) public\nIP. Used when the Cloud SQL database availability type is REGIONAL (i.e.\n\nmultiple zones / highly available).\n\n### setAdditionalPublicIp\n\nOutput only. The Cloud SQL database instance's additional (outgoing) public\nIP. Used when the Cloud SQL database availability type is REGIONAL (i.e.\n\nmultiple zones / highly available)."]]