Class: TencentCloud::Cls::V20201016::FilterRuleInfo

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

Overview

投递日志的过滤规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, regex = nil, value = nil) ⇒ FilterRuleInfo

Returns a new instance of FilterRuleInfo.



11281
11282
11283
11284
11285
# File 'lib/v20201016/models.rb', line 11281

def initialize(key=nil, regex=nil, value=nil)
  @Key = key
  @Regex = regex
  @Value = value
end

Instance Attribute Details

#Key ⇒ Object

Parameters:

  • Key: —

    过滤规则Key

  • Regex: —

    过滤规则

  • Value: —

    过滤规则Value



11279
11280
11281
# File 'lib/v20201016/models.rb', line 11279

def Key
  @Key
end

#Regex ⇒ Object

Parameters:

  • Key: —

    过滤规则Key

  • Regex: —

    过滤规则

  • Value: —

    过滤规则Value



11279
11280
11281
# File 'lib/v20201016/models.rb', line 11279

def Regex
  @Regex
end

#Value ⇒ Object

Parameters:

  • Key: —

    过滤规则Key

  • Regex: —

    过滤规则

  • Value: —

    过滤规则Value



11279
11280
11281
# File 'lib/v20201016/models.rb', line 11279

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



11287
11288
11289
11290
11291
# File 'lib/v20201016/models.rb', line 11287

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