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

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

Overview

CheckBashPolicyParams请求参数结构体

Instance Attribute Summary collapse

  • #EventId ⇒ Object
  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • .
  • #Id ⇒ Object
  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • .
  • #Name ⇒ Object
  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • .
  • #Rule ⇒ Object
  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • .
  • #Rules ⇒ Object
  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • .

    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.

    
    
    5044
    5045
    5046
    5047
    5048
    5049
    5050
    5051
    # File 'lib/v20180228/models.rb', line 5044
    
    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

  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • Parameters:

    • CheckField:

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

    • EventId:

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

    • Name:

      填入的规则名称

    • Rule:

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

    • Id:

      编辑时传的规则id

    • Rules:

      规则表达式

    
    
    5042
    5043
    5044
    # File 'lib/v20180228/models.rb', line 5042
    
    def CheckField
      @CheckField
    end

    #EventIdObject

  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • Parameters:

    • CheckField:

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

    • EventId:

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

    • Name:

      填入的规则名称

    • Rule:

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

    • Id:

      编辑时传的规则id

    • Rules:

      规则表达式

    
    
    5042
    5043
    5044
    # File 'lib/v20180228/models.rb', line 5042
    
    def EventId
      @EventId
    end

    #IdObject

  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • Parameters:

    • CheckField:

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

    • EventId:

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

    • Name:

      填入的规则名称

    • Rule:

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

    • Id:

      编辑时传的规则id

    • Rules:

      规则表达式

    
    
    5042
    5043
    5044
    # File 'lib/v20180228/models.rb', line 5042
    
    def Id
      @Id
    end

    #NameObject

  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • Parameters:

    • CheckField:

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

    • EventId:

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

    • Name:

      填入的规则名称

    • Rule:

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

    • Id:

      编辑时传的规则id

    • Rules:

      规则表达式

    
    
    5042
    5043
    5044
    # File 'lib/v20180228/models.rb', line 5042
    
    def Name
      @Name
    end

    #RuleObject

  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • Parameters:

    • CheckField:

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

    • EventId:

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

    • Name:

      填入的规则名称

    • Rule:

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

    • Id:

      编辑时传的规则id

    • Rules:

      规则表达式

    
    
    5042
    5043
    5044
    # File 'lib/v20180228/models.rb', line 5042
    
    def Rule
      @Rule
    end

    #RulesObject

  • Name 策略名称
  • Process 进程
  • Name PProcess 父进程
  • Name AProcess 祖先进程
  • Parameters:

    • CheckField:

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

    • EventId:

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

    • Name:

      填入的规则名称

    • Rule:

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

    • Id:

      编辑时传的规则id

    • Rules:

      规则表达式

    
    
    5042
    5043
    5044
    # File 'lib/v20180228/models.rb', line 5042
    
    def Rules
      @Rules
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    5053
    5054
    5055
    5056
    5057
    5058
    5059
    5060
    5061
    5062
    5063
    # File 'lib/v20180228/models.rb', line 5053
    
    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