Class: TencentCloud::Ckafka::V20190819::BatchModifyTopicInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::BatchModifyTopicInfo
- Defined in:
- lib/v20190819/models.rb
Overview
批量修改topic参数
Instance Attribute Summary collapse
- #CleanUpPolicy ⇒ Object
- #LogMsgTimestampType ⇒ Object
- #MaxMessageBytes ⇒ Object
- #MinInsyncReplicas ⇒ Object
- #Note ⇒ Object
- #PartitionNum ⇒ Object
- #ReplicaNum ⇒ Object
- #RetentionBytes ⇒ Object
- #RetentionMs ⇒ Object
- #SegmentMs ⇒ Object
- #TopicName ⇒ Object
- #UncleanLeaderElectionEnable ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, partitionnum = nil, note = nil, replicanum = nil, cleanuppolicy = nil, mininsyncreplicas = nil, uncleanleaderelectionenable = nil, retentionms = nil, retentionbytes = nil, segmentms = nil, maxmessagebytes = nil, logmsgtimestamptype = nil) ⇒ BatchModifyTopicInfo
constructor
A new instance of BatchModifyTopicInfo.
Constructor Details
#initialize(topicname = nil, partitionnum = nil, note = nil, replicanum = nil, cleanuppolicy = nil, mininsyncreplicas = nil, uncleanleaderelectionenable = nil, retentionms = nil, retentionbytes = nil, segmentms = nil, maxmessagebytes = nil, logmsgtimestamptype = nil) ⇒ BatchModifyTopicInfo
Returns a new instance of BatchModifyTopicInfo.
533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'lib/v20190819/models.rb', line 533 def initialize(topicname=nil, partitionnum=nil, note=nil, replicanum=nil, cleanuppolicy=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, retentionbytes=nil, segmentms=nil, =nil, =nil) @TopicName = topicname @PartitionNum = partitionnum @Note = note @ReplicaNum = replicanum @CleanUpPolicy = cleanuppolicy @MinInsyncReplicas = mininsyncreplicas @UncleanLeaderElectionEnable = uncleanleaderelectionenable @RetentionMs = retentionms @RetentionBytes = retentionbytes @SegmentMs = segmentms @MaxMessageBytes = @LogMsgTimestampType = end |
Instance Attribute Details
#CleanUpPolicy ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def CleanUpPolicy @CleanUpPolicy end |
#LogMsgTimestampType ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def LogMsgTimestampType @LogMsgTimestampType end |
#MaxMessageBytes ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def MaxMessageBytes @MaxMessageBytes end |
#MinInsyncReplicas ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def MinInsyncReplicas @MinInsyncReplicas end |
#Note ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def Note @Note end |
#PartitionNum ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def PartitionNum @PartitionNum end |
#ReplicaNum ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def ReplicaNum @ReplicaNum end |
#RetentionBytes ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def RetentionBytes @RetentionBytes end |
#RetentionMs ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def RetentionMs @RetentionMs end |
#SegmentMs ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def SegmentMs @SegmentMs end |
#TopicName ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def TopicName @TopicName end |
#UncleanLeaderElectionEnable ⇒ Object
531 532 533 |
# File 'lib/v20190819/models.rb', line 531 def UncleanLeaderElectionEnable @UncleanLeaderElectionEnable end |
Instance Method Details
#deserialize(params) ⇒ Object
548 549 550 551 552 553 554 555 556 557 558 559 560 561 |
# File 'lib/v20190819/models.rb', line 548 def deserialize(params) @TopicName = params['TopicName'] @PartitionNum = params['PartitionNum'] @Note = params['Note'] @ReplicaNum = params['ReplicaNum'] @CleanUpPolicy = params['CleanUpPolicy'] @MinInsyncReplicas = params['MinInsyncReplicas'] @UncleanLeaderElectionEnable = params['UncleanLeaderElectionEnable'] @RetentionMs = params['RetentionMs'] @RetentionBytes = params['RetentionBytes'] @SegmentMs = params['SegmentMs'] @MaxMessageBytes = params['MaxMessageBytes'] @LogMsgTimestampType = params['LogMsgTimestampType'] end |