Google Cloud Dms V1 Client - Class ImportMappingRulesRequest (1.1.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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

The format of the rules content file.

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

One or more rules files.

↳ auto_commit bool

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

getRulesFormat

The format of the rules content file.

Returns
TypeDescription
int

setRulesFormat

The format of the rules content file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRulesFiles

One or more rules files.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRulesFiles

One or more rules files.

Parameter
NameDescription
var array<Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile>
Returns
TypeDescription
$this

getAutoCommit

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

Returns
TypeDescription
bool

setAutoCommit

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this