Class: TencentCloud::Clb::V20180317::CreateTopicRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::CreateTopicRequest
- Defined in:
- lib/v20180317/models.rb
Overview
CreateTopic请求参数结构体
Instance Attribute Summary collapse
-
#PartitionCount ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。 - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。.
-
-
#Period ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。 - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。.
-
-
#StorageType ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。 - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。.
-
-
#TopicName ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。 - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。.
-
-
#TopicType ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。 - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, partitioncount = nil, topictype = nil, period = nil, storagetype = nil) ⇒ CreateTopicRequest
constructor
A new instance of CreateTopicRequest.
Constructor Details
#initialize(topicname = nil, partitioncount = nil, topictype = nil, period = nil, storagetype = nil) ⇒ CreateTopicRequest
Returns a new instance of CreateTopicRequest.
2012 2013 2014 2015 2016 2017 2018 |
# File 'lib/v20180317/models.rb', line 2012 def initialize(topicname=nil, partitioncount=nil, topictype=nil, period=nil, storagetype=nil) @TopicName = topicname @PartitionCount = partitioncount @TopicType = topictype @Period = period @StorageType = storagetype end |
Instance Attribute Details
#PartitionCount ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
-
日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
2010 2011 2012 |
# File 'lib/v20180317/models.rb', line 2010 def PartitionCount @PartitionCount end |
#Period ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
-
日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
2010 2011 2012 |
# File 'lib/v20180317/models.rb', line 2010 def Period @Period end |
#StorageType ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
-
日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
2010 2011 2012 |
# File 'lib/v20180317/models.rb', line 2010 def StorageType @StorageType end |
#TopicName ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
-
日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
2010 2011 2012 |
# File 'lib/v20180317/models.rb', line 2010 def TopicName @TopicName end |
#TopicType ⇒ Object
-
日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
-
日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
2010 2011 2012 |
# File 'lib/v20180317/models.rb', line 2010 def TopicType @TopicType end |
Instance Method Details
#deserialize(params) ⇒ Object
2020 2021 2022 2023 2024 2025 2026 |
# File 'lib/v20180317/models.rb', line 2020 def deserialize(params) @TopicName = params['TopicName'] @PartitionCount = params['PartitionCount'] @TopicType = params['TopicType'] @Period = params['Period'] @StorageType = params['StorageType'] end |