Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::CreateMappingRuleRequest (v0.8.0)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::CreateMappingRuleRequest.

Request message for 'CreateMappingRule' command.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#mapping_rule

def mapping_rule() -> ::Google::Cloud::CloudDMS::V1::MappingRule
Returns

#mapping_rule=

def mapping_rule=(value) -> ::Google::Cloud::CloudDMS::V1::MappingRule
Parameter
Returns

#mapping_rule_id

def mapping_rule_id() -> ::String
Returns
  • (::String) — Required. The ID of the rule to create.

#mapping_rule_id=

def mapping_rule_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the rule to create.
Returns
  • (::String) — Required. The ID of the rule to create.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent which owns this collection of mapping rules.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent which owns this collection of mapping rules.
Returns
  • (::String) — Required. The parent which owns this collection of mapping rules.

#request_id

def request_id() -> ::String
Returns
  • (::String) — 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=

def request_id=(value) -> ::String
Parameter
  • value (::String) — 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) — 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.