Google Cloud Dms V1 Client - Class RulesFile (1.2.1)

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

Details of a single rules file.

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

Namespace

Google \ Cloud \ CloudDms \ V1 \ ImportMappingRulesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ rules_source_filename string

The filename of the rules that needs to be converted. The filename is used mainly so that future logs of the import rules job contain it, and can therefore be searched by it.

↳ rules_content string

The text content of the rules that needs to be converted.

getRulesSourceFilename

The filename of the rules that needs to be converted. The filename is used mainly so that future logs of the import rules job contain it, and can therefore be searched by it.

Returns
TypeDescription
string

setRulesSourceFilename

The filename of the rules that needs to be converted. The filename is used mainly so that future logs of the import rules job contain it, and can therefore be searched by it.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRulesContent

The text content of the rules that needs to be converted.

Returns
TypeDescription
string

setRulesContent

The text content of the rules that needs to be converted.

Parameter
NameDescription
var string
Returns
TypeDescription
$this