Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::CreatePrivateConnectionRequest.
Request message to create a new private connection in the specified project
and region.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#parent
defparent()->::String
Returns
(::String) — Required. The parent that owns the collection of PrivateConnections.
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The parent that owns the collection of PrivateConnections.
Returns
(::String) — Required. The parent that owns the collection of PrivateConnections.
(::String) — Required. The private connection identifier.
#private_connection_id=
defprivate_connection_id=(value)->::String
Parameter
value (::String) — Required. The private connection identifier.
Returns
(::String) — Required. The private connection identifier.
#request_id
defrequest_id()->::String
Returns
(::String) — Optional. A unique ID used to identify the request. If the server receives
two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.
#request_id=
defrequest_id=(value)->::String
Parameter
value (::String) — Optional. A unique ID used to identify the request. If the server receives
two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.
Returns
(::String) — Optional. A unique ID used to identify the request. If the server receives
two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.
#skip_validation
defskip_validation()->::Boolean
Returns
(::Boolean) — Optional. If set to true, will skip validations.
#skip_validation=
defskip_validation=(value)->::Boolean
Parameter
value (::Boolean) — Optional. If set to true, will skip validations.
Returns
(::Boolean) — Optional. If set to true, will skip validations.
[[["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::CreatePrivateConnectionRequest (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-CreatePrivateConnectionRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-CreatePrivateConnectionRequest) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::CreatePrivateConnectionRequest.\n\nRequest message to create a new private connection in the specified project\nand region. \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### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent that owns the collection of PrivateConnections.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent that owns the collection of PrivateConnections. \n**Returns**\n\n- (::String) --- Required. The parent that owns the collection of PrivateConnections.\n\n### #private_connection\n\n def private_connection() -\u003e ::Google::Cloud::CloudDMS::V1::PrivateConnection\n\n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::PrivateConnection](./Google-Cloud-CloudDMS-V1-PrivateConnection)) --- Required. The private connection resource to create.\n\n### #private_connection=\n\n def private_connection=(value) -\u003e ::Google::Cloud::CloudDMS::V1::PrivateConnection\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CloudDMS::V1::PrivateConnection](./Google-Cloud-CloudDMS-V1-PrivateConnection)) --- Required. The private connection resource to create. \n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::PrivateConnection](./Google-Cloud-CloudDMS-V1-PrivateConnection)) --- Required. The private connection resource to create.\n\n### #private_connection_id\n\n def private_connection_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The private connection identifier.\n\n### #private_connection_id=\n\n def private_connection_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The private connection identifier. \n**Returns**\n\n- (::String) --- Required. The private connection identifier.\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.\n\n It is recommended to always set this value to a UUID.\n\n The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores\n (_), and hyphens (-). The maximum length is 40 characters.\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.\n\n\n It is recommended to always set this value to a UUID.\n\n The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores\n(_), and hyphens (-). The maximum length is 40 characters. \n**Returns**\n\n- (::String) --- Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.\n\n It is recommended to always set this value to a UUID.\n\n The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores\n (_), and hyphens (-). The maximum length is 40 characters.\n\n### #skip_validation\n\n def skip_validation() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set to true, will skip validations.\n\n### #skip_validation=\n\n def skip_validation=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set to true, will skip validations. \n**Returns**\n\n- (::Boolean) --- Optional. If set to true, will skip validations."]]