Google Cloud Dms V1 Client - Class ImportMappingRulesRequest (1.4.2)

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

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

Required. The format of the rules content file.

Returns
TypeDescription
int

setRulesFormat

Required. The format of the rules content file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRulesFiles

Required. One or more rules files.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRulesFiles

Required. One or more rules files.

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

getAutoCommit

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

Returns
TypeDescription
bool

setAutoCommit

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this