Class: TencentCloud::Cls::V20201016::KeyRegexInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::KeyRegexInfo
- Defined in:
- lib/v20201016/models.rb
Overview
需要过滤日志的key,及其对应的regex
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, regex = nil) ⇒ KeyRegexInfo
constructor
A new instance of KeyRegexInfo.
Constructor Details
#initialize(key = nil, regex = nil) ⇒ KeyRegexInfo
Returns a new instance of KeyRegexInfo.
12003 12004 12005 12006 |
# File 'lib/v20201016/models.rb', line 12003 def initialize(key=nil, regex=nil) @Key = key @Regex = regex end |
Instance Attribute Details
#Key ⇒ Object
12001 12002 12003 |
# File 'lib/v20201016/models.rb', line 12001 def Key @Key end |
#Regex ⇒ Object
12001 12002 12003 |
# File 'lib/v20201016/models.rb', line 12001 def Regex @Regex end |
Instance Method Details
#deserialize(params) ⇒ Object
12008 12009 12010 12011 |
# File 'lib/v20201016/models.rb', line 12008 def deserialize(params) @Key = params['Key'] @Regex = params['Regex'] end |