Reference documentation and code samples for the Google Cloud Dms V1 Client class RulesFile.
Details of a single rules file.
Generated from protobuf messagegoogle.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile
Namespace
Google \ Cloud \ CloudDms \ V1 \ ImportMappingRulesRequest
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ rules_source_filename
string
Required. 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
Required. The text content of the rules that needs to be converted.
getRulesSourceFilename
Required. 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
Type
Description
string
setRulesSourceFilename
Required. 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
Name
Description
var
string
Returns
Type
Description
$this
getRulesContent
Required. The text content of the rules that needs to be converted.
Returns
Type
Description
string
setRulesContent
Required. The text content of the rules that needs to be converted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dms V1 Client - Class RulesFile (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.ImportMappingRulesRequest.RulesFile)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.ImportMappingRulesRequest.RulesFile)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.ImportMappingRulesRequest.RulesFile)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.ImportMappingRulesRequest.RulesFile)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.ImportMappingRulesRequest.RulesFile)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.ImportMappingRulesRequest.RulesFile)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.ImportMappingRulesRequest.RulesFile)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.ImportMappingRulesRequest.RulesFile) \nReference documentation and code samples for the Google Cloud Dms V1 Client class RulesFile.\n\nDetails of a single rules file.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1 \\\\ ImportMappingRulesRequest\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRulesSourceFilename\n\nRequired. The filename of the rules that needs to be converted. The\nfilename is used mainly so that future logs of the import rules job\ncontain it, and can therefore be searched by it.\n\n### setRulesSourceFilename\n\nRequired. The filename of the rules that needs to be converted. The\nfilename is used mainly so that future logs of the import rules job\ncontain it, and can therefore be searched by it.\n\n### getRulesContent\n\nRequired. The text content of the rules that needs to be converted.\n\n### setRulesContent\n\nRequired. The text content of the rules that needs to be converted."]]