Class: TencentCloud::Cwp::V20180228::FileTamperRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::FileTamperRule
- Defined in:
- lib/v20180228/models.rb
Overview
核心文件监控规则
Instance Attribute Summary collapse
-
#Action ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>.
-
#Args ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>.
-
#FileAction ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>.
-
#ProcessPath ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>.
-
#Target ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(processpath = nil, target = nil, action = nil, fileaction = nil, args = nil) ⇒ FileTamperRule
constructor
A new instance of FileTamperRule.
Constructor Details
#initialize(processpath = nil, target = nil, action = nil, fileaction = nil, args = nil) ⇒ FileTamperRule
Returns a new instance of FileTamperRule.
29540 29541 29542 29543 29544 29545 29546 |
# File 'lib/v20180228/models.rb', line 29540 def initialize(processpath=nil, target=nil, action=nil, fileaction=nil, args=nil) @ProcessPath = processpath @Target = target @Action = action @FileAction = fileaction @Args = args end |
Instance Attribute Details
#Action ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>
29538 29539 29540 |
# File 'lib/v20180228/models.rb', line 29538 def Action @Action end |
#Args ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>
29538 29539 29540 |
# File 'lib/v20180228/models.rb', line 29538 def Args @Args end |
#FileAction ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>
29538 29539 29540 |
# File 'lib/v20180228/models.rb', line 29538 def FileAction @FileAction end |
#ProcessPath ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>
29538 29539 29540 |
# File 'lib/v20180228/models.rb', line 29538 def ProcessPath @ProcessPath end |
#Target ⇒ Object
<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>
29538 29539 29540 |
# File 'lib/v20180228/models.rb', line 29538 def Target @Target end |
Instance Method Details
#deserialize(params) ⇒ Object
29548 29549 29550 29551 29552 29553 29554 |
# File 'lib/v20180228/models.rb', line 29548 def deserialize(params) @ProcessPath = params['ProcessPath'] @Target = params['Target'] @Action = params['Action'] @FileAction = params['FileAction'] @Args = params['Args'] end |