Class: TencentCloud::Tke::V20180525::ComponentLogConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ComponentLogConfig
- Defined in:
- lib/v20180525/models.rb
Overview
组件日志采集配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, loglevel = nil, logsetid = nil, topicid = nil, topicregion = nil) ⇒ ComponentLogConfig
constructor
A new instance of ComponentLogConfig.
Constructor Details
#initialize(name = nil, loglevel = nil, logsetid = nil, topicid = nil, topicregion = nil) ⇒ ComponentLogConfig
Returns a new instance of ComponentLogConfig.
1835 1836 1837 1838 1839 1840 1841 |
# File 'lib/v20180525/models.rb', line 1835 def initialize(name=nil, loglevel=nil, logsetid=nil, topicid=nil, topicregion=nil) @Name = name @LogLevel = loglevel @LogSetId = logsetid @TopicId = topicid @TopicRegion = topicregion end |
Instance Attribute Details
#LogLevel ⇒ Object
1833 1834 1835 |
# File 'lib/v20180525/models.rb', line 1833 def LogLevel @LogLevel end |
#LogSetId ⇒ Object
1833 1834 1835 |
# File 'lib/v20180525/models.rb', line 1833 def LogSetId @LogSetId end |
#Name ⇒ Object
1833 1834 1835 |
# File 'lib/v20180525/models.rb', line 1833 def Name @Name end |
#TopicId ⇒ Object
1833 1834 1835 |
# File 'lib/v20180525/models.rb', line 1833 def TopicId @TopicId end |
#TopicRegion ⇒ Object
1833 1834 1835 |
# File 'lib/v20180525/models.rb', line 1833 def TopicRegion @TopicRegion end |
Instance Method Details
#deserialize(params) ⇒ Object
1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/v20180525/models.rb', line 1843 def deserialize(params) @Name = params['Name'] @LogLevel = params['LogLevel'] @LogSetId = params['LogSetId'] @TopicId = params['TopicId'] @TopicRegion = params['TopicRegion'] end |