Reference documentation and code samples for the Google Cloud Dms V1 Client class CreateMappingRuleRequest.
Request message for 'CreateMappingRule' command.
Generated from protobuf message google.cloud.clouddms.v1.CreateMappingRuleRequest
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent which owns this collection of mapping rules.
↳ mapping_rule_id
string
Required. The ID of the rule to create.
↳ mapping_rule
↳ request_id
string
A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
getParent
Required. The parent which owns this collection of mapping rules.
string
setParent
Required. The parent which owns this collection of mapping rules.
var
string
$this
getMappingRuleId
Required. The ID of the rule to create.
string
setMappingRuleId
Required. The ID of the rule to create.
var
string
$this
getMappingRule
Required. Represents a mapping rule object.
hasMappingRule
clearMappingRule
setMappingRule
Required. Represents a mapping rule object.
$this
getRequestId
A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string
setRequestId
A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
var
string
$this
static::build
parent
string
Required. The parent which owns this collection of mapping rules. Please see DataMigrationServiceClient::conversionWorkspaceName() for help formatting this field.
mappingRule
mappingRuleId
string
Required. The ID of the rule to create.