Class: TencentCloud::Cdn::V20180606::CreateClsLogTopicRequest

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

Overview

CreateClsLogTopic请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, logsetid = nil, channel = nil, domainareaconfigs = nil, inheritdomaintags = nil) ⇒ CreateClsLogTopicRequest

Returns a new instance of CreateClsLogTopicRequest.



2156
2157
2158
2159
2160
2161
2162
# File 'lib/v20180606/models.rb', line 2156

def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil, inheritdomaintags=nil)
  @TopicName = topicname
  @LogsetId = logsetid
  @Channel = channel
  @DomainAreaConfigs = domainareaconfigs
  @InheritDomainTags = inheritdomaintags
end

Instance Attribute Details

#ChannelObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息

  • InheritDomainTags:

    是否继承域名标签,默认为false



2154
2155
2156
# File 'lib/v20180606/models.rb', line 2154

def Channel
  @Channel
end

#DomainAreaConfigsObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息

  • InheritDomainTags:

    是否继承域名标签,默认为false



2154
2155
2156
# File 'lib/v20180606/models.rb', line 2154

def DomainAreaConfigs
  @DomainAreaConfigs
end

#InheritDomainTagsObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息

  • InheritDomainTags:

    是否继承域名标签,默认为false



2154
2155
2156
# File 'lib/v20180606/models.rb', line 2154

def InheritDomainTags
  @InheritDomainTags
end

#LogsetIdObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息

  • InheritDomainTags:

    是否继承域名标签,默认为false



2154
2155
2156
# File 'lib/v20180606/models.rb', line 2154

def LogsetId
  @LogsetId
end

#TopicNameObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息

  • InheritDomainTags:

    是否继承域名标签,默认为false



2154
2155
2156
# File 'lib/v20180606/models.rb', line 2154

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
# File 'lib/v20180606/models.rb', line 2164

def deserialize(params)
  @TopicName = params['TopicName']
  @LogsetId = params['LogsetId']
  @Channel = params['Channel']
  unless params['DomainAreaConfigs'].nil?
    @DomainAreaConfigs = []
    params['DomainAreaConfigs'].each do |i|
      domainareaconfig_tmp = DomainAreaConfig.new
      domainareaconfig_tmp.deserialize(i)
      @DomainAreaConfigs << domainareaconfig_tmp
    end
  end
  @InheritDomainTags = params['InheritDomainTags']
end