Class: TencentCloud::Tem::V20210701::CreateLogConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::CreateLogConfigRequest
- Defined in:
- lib/v20210701/models.rb
Overview
CreateLogConfig请求参数结构体
Instance Attribute Summary collapse
- #ApplicationId ⇒ Object
- #BeginningRegex ⇒ Object
- #EnvironmentId ⇒ Object
- #ExtractRule ⇒ Object
- #FilePattern ⇒ Object
- #InputType ⇒ Object
- #LogPath ⇒ Object
- #LogsetId ⇒ Object
- #LogType ⇒ Object
- #Name ⇒ Object
- #TopicId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, name = nil, inputtype = nil, applicationid = nil, logsetid = nil, topicid = nil, logtype = nil, beginningregex = nil, logpath = nil, filepattern = nil, extractrule = nil) ⇒ CreateLogConfigRequest
constructor
A new instance of CreateLogConfigRequest.
Constructor Details
#initialize(environmentid = nil, name = nil, inputtype = nil, applicationid = nil, logsetid = nil, topicid = nil, logtype = nil, beginningregex = nil, logpath = nil, filepattern = nil, extractrule = nil) ⇒ CreateLogConfigRequest
Returns a new instance of CreateLogConfigRequest.
630 631 632 633 634 635 636 637 638 639 640 641 642 |
# File 'lib/v20210701/models.rb', line 630 def initialize(environmentid=nil, name=nil, inputtype=nil, applicationid=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil, extractrule=nil) @EnvironmentId = environmentid @Name = name @InputType = inputtype @ApplicationId = applicationid @LogsetId = logsetid @TopicId = topicid @LogType = logtype @BeginningRegex = beginningregex @LogPath = logpath @FilePattern = filepattern @ExtractRule = extractrule end |
Instance Attribute Details
#ApplicationId ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def ApplicationId @ApplicationId end |
#BeginningRegex ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def BeginningRegex @BeginningRegex end |
#EnvironmentId ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def EnvironmentId @EnvironmentId end |
#ExtractRule ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def ExtractRule @ExtractRule end |
#FilePattern ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def FilePattern @FilePattern end |
#InputType ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def InputType @InputType end |
#LogPath ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def LogPath @LogPath end |
#LogsetId ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def LogsetId @LogsetId end |
#LogType ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def LogType @LogType end |
#Name ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def Name @Name end |
#TopicId ⇒ Object
628 629 630 |
# File 'lib/v20210701/models.rb', line 628 def TopicId @TopicId end |
Instance Method Details
#deserialize(params) ⇒ Object
644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 |
# File 'lib/v20210701/models.rb', line 644 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @Name = params['Name'] @InputType = params['InputType'] @ApplicationId = params['ApplicationId'] @LogsetId = params['LogsetId'] @TopicId = params['TopicId'] @LogType = params['LogType'] @BeginningRegex = params['BeginningRegex'] @LogPath = params['LogPath'] @FilePattern = params['FilePattern'] unless params['ExtractRule'].nil? @ExtractRule = LogConfigExtractRule.new @ExtractRule.deserialize(params['ExtractRule']) end end |