Class: TencentCloud::Ckafka::V20190819::ModifyTopicAttributesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::ModifyTopicAttributesRequest
- Defined in:
- lib/v20190819/models.rb
Overview
ModifyTopicAttributes请求参数结构体
Instance Attribute Summary collapse
- #AclRuleName ⇒ Object
- #CleanUpPolicy ⇒ Object
- #EnableAclRule ⇒ Object
- #EnableWhiteList ⇒ Object
- #InstanceId ⇒ Object
- #IpWhiteList ⇒ Object
- #LogMsgTimestampType ⇒ Object
- #MaxMessageBytes ⇒ Object
- #MinInsyncReplicas ⇒ Object
- #Note ⇒ Object
- #QuotaConsumerByteRate ⇒ Object
- #QuotaProducerByteRate ⇒ Object
- #ReplicaNum ⇒ Object
- #RetentionBytes ⇒ Object
- #RetentionMs ⇒ Object
- #SegmentMs ⇒ Object
- #Tags ⇒ Object
- #TopicName ⇒ Object
- #UncleanLeaderElectionEnable ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, topicname = nil, note = nil, enablewhitelist = nil, mininsyncreplicas = nil, uncleanleaderelectionenable = nil, retentionms = nil, maxmessagebytes = nil, segmentms = nil, cleanuppolicy = nil, ipwhitelist = nil, enableaclrule = nil, aclrulename = nil, retentionbytes = nil, tags = nil, quotaproducerbyterate = nil, quotaconsumerbyterate = nil, replicanum = nil, logmsgtimestamptype = nil) ⇒ ModifyTopicAttributesRequest
constructor
A new instance of ModifyTopicAttributesRequest.
Constructor Details
#initialize(instanceid = nil, topicname = nil, note = nil, enablewhitelist = nil, mininsyncreplicas = nil, uncleanleaderelectionenable = nil, retentionms = nil, maxmessagebytes = nil, segmentms = nil, cleanuppolicy = nil, ipwhitelist = nil, enableaclrule = nil, aclrulename = nil, retentionbytes = nil, tags = nil, quotaproducerbyterate = nil, quotaconsumerbyterate = nil, replicanum = nil, logmsgtimestamptype = nil) ⇒ ModifyTopicAttributesRequest
Returns a new instance of ModifyTopicAttributesRequest.
9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 |
# File 'lib/v20190819/models.rb', line 9655 def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, =nil, segmentms=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, =nil, quotaproducerbyterate=nil, quotaconsumerbyterate=nil, replicanum=nil, =nil) @InstanceId = instanceid @TopicName = topicname @Note = note @EnableWhiteList = enablewhitelist @MinInsyncReplicas = mininsyncreplicas @UncleanLeaderElectionEnable = uncleanleaderelectionenable @RetentionMs = retentionms @MaxMessageBytes = @SegmentMs = segmentms @CleanUpPolicy = cleanuppolicy @IpWhiteList = ipwhitelist @EnableAclRule = enableaclrule @AclRuleName = aclrulename @RetentionBytes = retentionbytes @Tags = @QuotaProducerByteRate = quotaproducerbyterate @QuotaConsumerByteRate = quotaconsumerbyterate @ReplicaNum = replicanum @LogMsgTimestampType = end |
Instance Attribute Details
#AclRuleName ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def AclRuleName @AclRuleName end |
#CleanUpPolicy ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def CleanUpPolicy @CleanUpPolicy end |
#EnableAclRule ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def EnableAclRule @EnableAclRule end |
#EnableWhiteList ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def EnableWhiteList @EnableWhiteList end |
#InstanceId ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def InstanceId @InstanceId end |
#IpWhiteList ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def IpWhiteList @IpWhiteList end |
#LogMsgTimestampType ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def LogMsgTimestampType @LogMsgTimestampType end |
#MaxMessageBytes ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def MaxMessageBytes @MaxMessageBytes end |
#MinInsyncReplicas ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def MinInsyncReplicas @MinInsyncReplicas end |
#Note ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def Note @Note end |
#QuotaConsumerByteRate ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def QuotaConsumerByteRate @QuotaConsumerByteRate end |
#QuotaProducerByteRate ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def QuotaProducerByteRate @QuotaProducerByteRate end |
#ReplicaNum ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def ReplicaNum @ReplicaNum end |
#RetentionBytes ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def RetentionBytes @RetentionBytes end |
#RetentionMs ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def RetentionMs @RetentionMs end |
#SegmentMs ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def SegmentMs @SegmentMs end |
#Tags ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def Tags @Tags end |
#TopicName ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def TopicName @TopicName end |
#UncleanLeaderElectionEnable ⇒ Object
9653 9654 9655 |
# File 'lib/v20190819/models.rb', line 9653 def UncleanLeaderElectionEnable @UncleanLeaderElectionEnable end |
Instance Method Details
#deserialize(params) ⇒ Object
9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 |
# File 'lib/v20190819/models.rb', line 9677 def deserialize(params) @InstanceId = params['InstanceId'] @TopicName = params['TopicName'] @Note = params['Note'] @EnableWhiteList = params['EnableWhiteList'] @MinInsyncReplicas = params['MinInsyncReplicas'] @UncleanLeaderElectionEnable = params['UncleanLeaderElectionEnable'] @RetentionMs = params['RetentionMs'] @MaxMessageBytes = params['MaxMessageBytes'] @SegmentMs = params['SegmentMs'] @CleanUpPolicy = params['CleanUpPolicy'] @IpWhiteList = params['IpWhiteList'] @EnableAclRule = params['EnableAclRule'] @AclRuleName = params['AclRuleName'] @RetentionBytes = params['RetentionBytes'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @QuotaProducerByteRate = params['QuotaProducerByteRate'] @QuotaConsumerByteRate = params['QuotaConsumerByteRate'] @ReplicaNum = params['ReplicaNum'] @LogMsgTimestampType = params['LogMsgTimestampType'] end |