Class: TencentCloud::Cwp::V20180228::PolicyRules

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

策略规则表达式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(process = nil, pprocess = nil, aprocess = nil) ⇒ PolicyRules

Returns a new instance of PolicyRules.



35435
35436
35437
35438
35439
# File 'lib/v20180228/models.rb', line 35435

def initialize(process=nil, pprocess=nil, aprocess=nil)
  @Process = process
  @PProcess = pprocess
  @AProcess = aprocess
end

Instance Attribute Details

#AProcessObject

Parameters:

  • Process:

    进程

  • PProcess:

    父进程

  • AProcess:

    祖先进程



35433
35434
35435
# File 'lib/v20180228/models.rb', line 35433

def AProcess
  @AProcess
end

#PProcessObject

Parameters:

  • Process:

    进程

  • PProcess:

    父进程

  • AProcess:

    祖先进程



35433
35434
35435
# File 'lib/v20180228/models.rb', line 35433

def PProcess
  @PProcess
end

#ProcessObject

Parameters:

  • Process:

    进程

  • PProcess:

    父进程

  • AProcess:

    祖先进程



35433
35434
35435
# File 'lib/v20180228/models.rb', line 35433

def Process
  @Process
end

Instance Method Details

#deserialize(params) ⇒ Object



35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
# File 'lib/v20180228/models.rb', line 35441

def deserialize(params)
  unless params['Process'].nil?
    @Process = CommandLine.new
    @Process.deserialize(params['Process'])
  end
  unless params['PProcess'].nil?
    @PProcess = CommandLine.new
    @PProcess.deserialize(params['PProcess'])
  end
  unless params['AProcess'].nil?
    @AProcess = CommandLine.new
    @AProcess.deserialize(params['AProcess'])
  end
end