Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile.
Specifies required connection parameters, and, optionally, the parameters
required to create a Cloud SQL destination database instance.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#additional_public_ip
defadditional_public_ip()->::String
Returns
(::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).
#cloud_sql_id
defcloud_sql_id()->::String
Returns
(::String) — Output only. The Cloud SQL instance ID that this connection profile is
associated with.
[[["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-09 UTC."],[],[],null,["# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-CloudSqlConnectionProfile) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile.\n\nSpecifies required connection parameters, and, optionally, the parameters\nrequired to create a Cloud SQL destination database instance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #additional_public_ip\n\n def additional_public_ip() -\u003e ::String\n\n**Returns**\n\n- (::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).\n\n### #cloud_sql_id\n\n def cloud_sql_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The Cloud SQL instance ID that this connection profile is associated with.\n\n### #private_ip\n\n def private_ip() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The Cloud SQL database instance's private IP.\n\n### #public_ip\n\n def public_ip() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The Cloud SQL database instance's public IP.\n\n### #settings\n\n def settings() -\u003e ::Google::Cloud::CloudDMS::V1::CloudSqlSettings\n\n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::CloudSqlSettings](./Google-Cloud-CloudDMS-V1-CloudSqlSettings)) --- Immutable. Metadata used to create the destination Cloud SQL database.\n\n### #settings=\n\n def settings=(value) -\u003e ::Google::Cloud::CloudDMS::V1::CloudSqlSettings\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CloudDMS::V1::CloudSqlSettings](./Google-Cloud-CloudDMS-V1-CloudSqlSettings)) --- Immutable. Metadata used to create the destination Cloud SQL database. \n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::CloudSqlSettings](./Google-Cloud-CloudDMS-V1-CloudSqlSettings)) --- Immutable. Metadata used to create the destination Cloud SQL database."]]