2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class GetMappingRuleRequest : IMessage<GetMappingRuleRequest>, IEquatable<GetMappingRuleRequest>, IDeepCloneable<GetMappingRuleRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class GetMappingRuleRequest.

Request message for 'GetMappingRule' request.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetMappingRuleRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetMappingRuleRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetMappingRuleRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetMappingRuleRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### GetMappingRuleRequest()

    public GetMappingRuleRequest()

### GetMappingRuleRequest(GetMappingRuleRequest)

    public GetMappingRuleRequest(GetMappingRuleRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetMappingRuleRequest` |

## Properties

### MappingRuleName

    public MappingRuleName MappingRuleName { get; set; }

[MappingRuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MappingRuleName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest.md.txt#Google_Cloud_CloudDms_V1_GetMappingRuleRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MappingRuleName` |   |

### Name

    public string Name { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |