Class: TencentCloud::Cdn::V20180606::ScdnEventLogConditions

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

Overview

SCDN 事件日志查询条件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, operator = nil, value = nil) ⇒ ScdnEventLogConditions

Returns a new instance of ScdnEventLogConditions.



12159
12160
12161
12162
12163
# File 'lib/v20180606/models.rb', line 12159

def initialize(key=nil, operator=nil, value=nil)
  @Key = key
  @Operator = operator
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    匹配关键字,ip, attack_location

  • Operator:

    逻辑操作符,取值 exclude, include

  • Value:

    匹配值,允许使用通配符(*)查询,匹配零个、单个、多个字符,例如 1.2.*



12157
12158
12159
# File 'lib/v20180606/models.rb', line 12157

def Key
  @Key
end

#OperatorObject

Parameters:

  • Key:

    匹配关键字,ip, attack_location

  • Operator:

    逻辑操作符,取值 exclude, include

  • Value:

    匹配值,允许使用通配符(*)查询,匹配零个、单个、多个字符,例如 1.2.*



12157
12158
12159
# File 'lib/v20180606/models.rb', line 12157

def Operator
  @Operator
end

#ValueObject

Parameters:

  • Key:

    匹配关键字,ip, attack_location

  • Operator:

    逻辑操作符,取值 exclude, include

  • Value:

    匹配值,允许使用通配符(*)查询,匹配零个、单个、多个字符,例如 1.2.*



12157
12158
12159
# File 'lib/v20180606/models.rb', line 12157

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12165
12166
12167
12168
12169
# File 'lib/v20180606/models.rb', line 12165

def deserialize(params)
  @Key = params['Key']
  @Operator = params['Operator']
  @Value = params['Value']
end