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.
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eGetMappingRuleRequest\u003c/code\u003e class within the Google Cloud Database Migration v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetMappingRuleRequest\u003c/code\u003e is used to request a specific mapping rule and has a latest version of 2.5.0, with historical versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetMappingRuleRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that takes another \u003ccode\u003eGetMappingRuleRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetMappingRuleRequest\u003c/code\u003e class has two key properties: \u003ccode\u003eMappingRuleName\u003c/code\u003e, which provides a typed view of the resource name, and \u003ccode\u003eName\u003c/code\u003e, which is a string representing the resource name and is a required field.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class GetMappingRuleRequest (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.GetMappingRuleRequest) \n\n public sealed class GetMappingRuleRequest : IMessage\u003cGetMappingRuleRequest\u003e, IEquatable\u003cGetMappingRuleRequest\u003e, IDeepCloneable\u003cGetMappingRuleRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class GetMappingRuleRequest.\n\nRequest message for 'GetMappingRule' request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetMappingRuleRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetMappingRuleRequest](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetMappingRuleRequest](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetMappingRuleRequest](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### GetMappingRuleRequest()\n\n public GetMappingRuleRequest()\n\n### GetMappingRuleRequest(GetMappingRuleRequest)\n\n public GetMappingRuleRequest(GetMappingRuleRequest other)\n\nProperties\n----------\n\n### MappingRuleName\n\n public MappingRuleName MappingRuleName { get; set; }\n\n[MappingRuleName](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MappingRuleName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GetMappingRuleRequest#Google_Cloud_CloudDms_V1_GetMappingRuleRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the mapping rule resource to get.\nExample: conversionWorkspaces/123/mappingRules/rule123\n\nIn order to retrieve a previous revision of the mapping rule, also provide\nthe revision ID.\nExample:\nconversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8"]]