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.



35057
35058
35059
35060
35061
# File 'lib/v20180228/models.rb', line 35057

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

Instance Attribute Details

#AProcessObject

Parameters:

  • Process:

    进程

  • PProcess:

    父进程

  • AProcess:

    祖先进程



35055
35056
35057
# File 'lib/v20180228/models.rb', line 35055

def AProcess
  @AProcess
end

#PProcessObject

Parameters:

  • Process:

    进程

  • PProcess:

    父进程

  • AProcess:

    祖先进程



35055
35056
35057
# File 'lib/v20180228/models.rb', line 35055

def PProcess
  @PProcess
end

#ProcessObject

Parameters:

  • Process:

    进程

  • PProcess:

    父进程

  • AProcess:

    祖先进程



35055
35056
35057
# File 'lib/v20180228/models.rb', line 35055

def Process
  @Process
end

Instance Method Details

#deserialize(params) ⇒ Object



35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
# File 'lib/v20180228/models.rb', line 35063

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