# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::GetMappingRuleRequest (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::GetMappingRuleRequest.

Request message for 'GetMappingRule' request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123

  In order to retrieve a previous revision of the mapping rule, also provide
  the revision ID.
  Example:
  conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123


  In order to retrieve a previous revision of the mapping rule, also provide
  the revision ID.
  Example:
  conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8
**Returns**

- (::String) --- Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123

  In order to retrieve a previous revision of the mapping rule, also provide
  the revision ID.
  Example:
  conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8