Google Cloud Dms V1 Client - Class ImportMappingRulesRequest (2.0.1)

Reference documentation and code samples for the Google Cloud Dms V1 Client class ImportMappingRulesRequest.

Request message for 'ImportMappingRules' request.

Generated from protobuf message google.cloud.clouddms.v1.ImportMappingRulesRequest

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

↳ rules_format int

Required. The format of the rules content file.

↳ rules_files array<Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile>

Required. One or more rules files.

↳ auto_commit bool

Required. Should the conversion workspace be committed automatically after the import operation.

getParent

Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

Returns
Type Description
string

setParent

Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

Parameter
Name Description
var string
Returns
Type Description
$this

getRulesFormat

Required. The format of the rules content file.

Returns
Type Description
int

setRulesFormat

Required. The format of the rules content file.

Parameter
Name Description
var int
Returns
Type Description
$this

getRulesFiles

Required. One or more rules files.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRulesFiles

Required. One or more rules files.

Parameter
Name Description
var array<Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile>
Returns
Type Description
$this

getAutoCommit

Required. Should the conversion workspace be committed automatically after the import operation.

Returns
Type Description
bool

setAutoCommit

Required. Should the conversion workspace be committed automatically after the import operation.

Parameter
Name Description
var bool
Returns
Type Description
$this