Google Cloud Dms V1 Client - Class GetMappingRuleRequest (1.4.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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 Google\Cloud\CloudDms\V1\DataMigrationServiceClient::mappingRuleName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\GetMappingRuleRequest