Reference documentation and code samples for the Google Cloud Dms V1 Client class GetMappingRuleRequest.
Request message for 'GetMappingRule' request.
Generated from protobuf message google.cloud.clouddms.v1.GetMappingRuleRequest
Namespace
Google \ Cloud \ CloudDms \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
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
getName
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
Type
Description
string
setName
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
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
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
Please see DataMigrationServiceClient::mappingRuleName() for help formatting this field.
[[["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,["# Google Cloud Dms V1 Client - Class GetMappingRuleRequest (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.GetMappingRuleRequest)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.GetMappingRuleRequest)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.GetMappingRuleRequest)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.GetMappingRuleRequest)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.GetMappingRuleRequest)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.GetMappingRuleRequest)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.GetMappingRuleRequest)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.GetMappingRuleRequest) \nReference documentation and code samples for the Google Cloud Dms V1 Client class GetMappingRuleRequest.\n\nRequest message for 'GetMappingRule' request.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.GetMappingRuleRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the mapping rule resource to get.\n\nExample: conversionWorkspaces/123/mappingRules/rule123\nIn order to retrieve a previous revision of the mapping rule, also provide\nthe revision ID.\nExample:\nconversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8\n\n### setName\n\nRequired. Name of the mapping rule resource to get.\n\nExample: conversionWorkspaces/123/mappingRules/rule123\nIn order to retrieve a previous revision of the mapping rule, also provide\nthe revision ID.\nExample:\nconversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8\n\n### static::build"]]