Google Cloud Dms V1 Client - Class GetMappingRuleRequest (1.5.5)

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

Returns
Type Description
Google\Cloud\CloudDms\V1\GetMappingRuleRequest