Google Cloud Dms V1 Client - Class ImportMappingRulesRequest (1.3.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

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

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

The format of the rules content file.

Returns
Type Description
int

setRulesFormat

The format of the rules content file.

Parameter
Name Description
var int
Returns
Type Description
$this

getRulesFiles

One or more rules files.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRulesFiles

One or more rules files.

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

getAutoCommit

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

Returns
Type Description
bool

setAutoCommit

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

Parameter
Name Description
var bool
Returns
Type Description
$this