Class: TencentCloud::Cdn::V20180606::ScdnWafRule

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

Overview

Waf 规则信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attacktype = nil, operate = nil) ⇒ ScdnWafRule

Returns a new instance of ScdnWafRule.



12573
12574
12575
12576
# File 'lib/v20180606/models.rb', line 12573

def initialize(attacktype=nil, operate=nil)
  @AttackType = attacktype
  @Operate = operate
end

Instance Attribute Details

#AttackTypeObject

Parameters:

  • AttackType:

    攻击类型

  • Operate:

    防护措施,observe



12571
12572
12573
# File 'lib/v20180606/models.rb', line 12571

def AttackType
  @AttackType
end

#OperateObject

Parameters:

  • AttackType:

    攻击类型

  • Operate:

    防护措施,observe



12571
12572
12573
# File 'lib/v20180606/models.rb', line 12571

def Operate
  @Operate
end

Instance Method Details

#deserialize(params) ⇒ Object



12578
12579
12580
12581
# File 'lib/v20180606/models.rb', line 12578

def deserialize(params)
  @AttackType = params['AttackType']
  @Operate = params['Operate']
end