Class: TencentCloud::Cwp::V20180228::CheckBashPolicyParamsRequest

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

Overview

CheckBashPolicyParams请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(checkfield = nil, eventid = nil, name = nil, rule = nil, id = nil, rules = nil) ⇒ CheckBashPolicyParamsRequest

Returns a new instance of CheckBashPolicyParamsRequest.



5069
5070
5071
5072
5073
5074
5075
5076
# File 'lib/v20180228/models.rb', line 5069

def initialize(checkfield=nil, eventid=nil, name=nil, rule=nil, id=nil, rules=nil)
  @CheckField = checkfield
  @EventId = eventid
  @Name = name
  @Rule = rule
  @Id = id
  @Rules = rules
end

Instance Attribute Details

#CheckFieldObject

<li>Name 策略名称</li> <li>Process 进程</li> <li>Name PProcess 父进程</li> <li>Name AProcess 祖先进程</li>

Parameters:

  • CheckField:

    校验内容字段,如果需要检测多个字段时,用逗号分割

  • EventId:

    在事件列表中新增白名时需要提交事件ID

  • Name:

    填入的规则名称

  • Rule:

    该字段不在维护,如果填入该参数,自动替换到Rules.Process

  • Id:

    编辑时传的规则id

  • Rules:

    规则表达式



5067
5068
5069
# File 'lib/v20180228/models.rb', line 5067

def CheckField
  @CheckField
end

#EventIdObject

<li>Name 策略名称</li> <li>Process 进程</li> <li>Name PProcess 父进程</li> <li>Name AProcess 祖先进程</li>

Parameters:

  • CheckField:

    校验内容字段,如果需要检测多个字段时,用逗号分割

  • EventId:

    在事件列表中新增白名时需要提交事件ID

  • Name:

    填入的规则名称

  • Rule:

    该字段不在维护,如果填入该参数,自动替换到Rules.Process

  • Id:

    编辑时传的规则id

  • Rules:

    规则表达式



5067
5068
5069
# File 'lib/v20180228/models.rb', line 5067

def EventId
  @EventId
end

#IdObject

<li>Name 策略名称</li> <li>Process 进程</li> <li>Name PProcess 父进程</li> <li>Name AProcess 祖先进程</li>

Parameters:

  • CheckField:

    校验内容字段,如果需要检测多个字段时,用逗号分割

  • EventId:

    在事件列表中新增白名时需要提交事件ID

  • Name:

    填入的规则名称

  • Rule:

    该字段不在维护,如果填入该参数,自动替换到Rules.Process

  • Id:

    编辑时传的规则id

  • Rules:

    规则表达式



5067
5068
5069
# File 'lib/v20180228/models.rb', line 5067

def Id
  @Id
end

#NameObject

<li>Name 策略名称</li> <li>Process 进程</li> <li>Name PProcess 父进程</li> <li>Name AProcess 祖先进程</li>

Parameters:

  • CheckField:

    校验内容字段,如果需要检测多个字段时,用逗号分割

  • EventId:

    在事件列表中新增白名时需要提交事件ID

  • Name:

    填入的规则名称

  • Rule:

    该字段不在维护,如果填入该参数,自动替换到Rules.Process

  • Id:

    编辑时传的规则id

  • Rules:

    规则表达式



5067
5068
5069
# File 'lib/v20180228/models.rb', line 5067

def Name
  @Name
end

#RuleObject

<li>Name 策略名称</li> <li>Process 进程</li> <li>Name PProcess 父进程</li> <li>Name AProcess 祖先进程</li>

Parameters:

  • CheckField:

    校验内容字段,如果需要检测多个字段时,用逗号分割

  • EventId:

    在事件列表中新增白名时需要提交事件ID

  • Name:

    填入的规则名称

  • Rule:

    该字段不在维护,如果填入该参数,自动替换到Rules.Process

  • Id:

    编辑时传的规则id

  • Rules:

    规则表达式



5067
5068
5069
# File 'lib/v20180228/models.rb', line 5067

def Rule
  @Rule
end

#RulesObject

<li>Name 策略名称</li> <li>Process 进程</li> <li>Name PProcess 父进程</li> <li>Name AProcess 祖先进程</li>

Parameters:

  • CheckField:

    校验内容字段,如果需要检测多个字段时,用逗号分割

  • EventId:

    在事件列表中新增白名时需要提交事件ID

  • Name:

    填入的规则名称

  • Rule:

    该字段不在维护,如果填入该参数,自动替换到Rules.Process

  • Id:

    编辑时传的规则id

  • Rules:

    规则表达式



5067
5068
5069
# File 'lib/v20180228/models.rb', line 5067

def Rules
  @Rules
end

Instance Method Details

#deserialize(params) ⇒ Object



5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
# File 'lib/v20180228/models.rb', line 5078

def deserialize(params)
  @CheckField = params['CheckField']
  @EventId = params['EventId']
  @Name = params['Name']
  @Rule = params['Rule']
  @Id = params['Id']
  unless params['Rules'].nil?
    @Rules = PolicyRules.new
    @Rules.deserialize(params['Rules'])
  end
end