tencentcloud-sdk-ckafka 1.0.273 → 1.0.274

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190819/models.rb +42 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 469cedf33cbdcbe771515572939c4201b8834ee5
4
- data.tar.gz: 530b5b67d864f54b6724d77e429225f6c34922af
3
+ metadata.gz: ec30f5b0badcce338081ccbcec24197789718365
4
+ data.tar.gz: 927f744eb74e73e6968e511f494e0a554ad21eb2
5
5
  SHA512:
6
- metadata.gz: 0118e5a54038924397ebf3ee39e6ddc299a47f277ce869cbaef737ed23f45b67960f3bf00dfbfc5b49b0b3c20a25613957b889cc3c4dd7dd2270a5e01e740c83
7
- data.tar.gz: 8a56fc169756a3d995d39ae1a3fb97b30c4823fb6e9295078cf5cf7adaa064e86eb521ffe227a75ca3d09214772ecc916e5df87a43d50c45adae620c91c7655a
6
+ metadata.gz: 6e2ef4b1757f7b25767b711b0d200817831fa4c44b22d424c16ae61e841285687678f61c002c8fff20d30f342128ddb2ffec4887cb8c87c7292b99f4c1c8f9ae
7
+ data.tar.gz: d3b8e9f75980c0ace653a03b96450edac1d6f52e406014c89357c097da70bb0fd5d9efeb6d7fb166510babf259fc1da621a115d810d54bb3e6395a7e6fc433a3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.273
1
+ 1.0.274
@@ -3636,6 +3636,28 @@ module TencentCloud
3636
3636
  end
3637
3637
  end
3638
3638
 
3639
+ # 实例 / topic 维度限流策略
3640
+ class InstanceQuotaConfigResp < TencentCloud::Common::AbstractModel
3641
+ # @param QuotaProducerByteRate: 生产限流大小,单位 MB/s
3642
+ # 注意:此字段可能返回 null,表示取不到有效值。
3643
+ # @type QuotaProducerByteRate: Integer
3644
+ # @param QuotaConsumerByteRate: 消费限流大小,单位 MB/s
3645
+ # 注意:此字段可能返回 null,表示取不到有效值。
3646
+ # @type QuotaConsumerByteRate: Integer
3647
+
3648
+ attr_accessor :QuotaProducerByteRate, :QuotaConsumerByteRate
3649
+
3650
+ def initialize(quotaproducerbyterate=nil, quotaconsumerbyterate=nil)
3651
+ @QuotaProducerByteRate = quotaproducerbyterate
3652
+ @QuotaConsumerByteRate = quotaconsumerbyterate
3653
+ end
3654
+
3655
+ def deserialize(params)
3656
+ @QuotaProducerByteRate = params['QuotaProducerByteRate']
3657
+ @QuotaConsumerByteRate = params['QuotaConsumerByteRate']
3658
+ end
3659
+ end
3660
+
3639
3661
  # 聚合的实例状态返回结果
3640
3662
  class InstanceResponse < TencentCloud::Common::AbstractModel
3641
3663
  # @param InstanceList: 符合条件的实例列表
@@ -3943,10 +3965,14 @@ module TencentCloud
3943
3965
  # @type RetentionBytes: Integer
3944
3966
  # @param Tags: 标签列表
3945
3967
  # @type Tags: Array
3968
+ # @param QuotaProducerByteRate: 生产限流,单位 MB/s
3969
+ # @type QuotaProducerByteRate: Integer
3970
+ # @param QuotaConsumerByteRate: 消费限流,单位 MB/s
3971
+ # @type QuotaConsumerByteRate: Integer
3946
3972
 
3947
- attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags
3973
+ attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate
3948
3974
 
3949
- def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil)
3975
+ def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, quotaproducerbyterate=nil, quotaconsumerbyterate=nil)
3950
3976
  @InstanceId = instanceid
3951
3977
  @TopicName = topicname
3952
3978
  @Note = note
@@ -3962,6 +3988,8 @@ module TencentCloud
3962
3988
  @AclRuleName = aclrulename
3963
3989
  @RetentionBytes = retentionbytes
3964
3990
  @Tags = tags
3991
+ @QuotaProducerByteRate = quotaproducerbyterate
3992
+ @QuotaConsumerByteRate = quotaconsumerbyterate
3965
3993
  end
3966
3994
 
3967
3995
  def deserialize(params)
@@ -3987,6 +4015,8 @@ module TencentCloud
3987
4015
  @Tags << tag_tmp
3988
4016
  end
3989
4017
  end
4018
+ @QuotaProducerByteRate = params['QuotaProducerByteRate']
4019
+ @QuotaConsumerByteRate = params['QuotaConsumerByteRate']
3990
4020
  end
3991
4021
  end
3992
4022
 
@@ -4422,10 +4452,13 @@ module TencentCloud
4422
4452
  # @param AclRuleList: 预设策略列表
4423
4453
  # 注意:此字段可能返回 null,表示取不到有效值。
4424
4454
  # @type AclRuleList: Array
4455
+ # @param QuotaConfig: topic 限流策略
4456
+ # 注意:此字段可能返回 null,表示取不到有效值。
4457
+ # @type QuotaConfig: :class:`Tencentcloud::Ckafka.v20190819.models.InstanceQuotaConfigResp`
4425
4458
 
4426
- attr_accessor :TopicId, :CreateTime, :Note, :PartitionNum, :EnableWhiteList, :IpWhiteList, :Config, :Partitions, :EnableAclRule, :AclRuleList
4459
+ attr_accessor :TopicId, :CreateTime, :Note, :PartitionNum, :EnableWhiteList, :IpWhiteList, :Config, :Partitions, :EnableAclRule, :AclRuleList, :QuotaConfig
4427
4460
 
4428
- def initialize(topicid=nil, createtime=nil, note=nil, partitionnum=nil, enablewhitelist=nil, ipwhitelist=nil, config=nil, partitions=nil, enableaclrule=nil, aclrulelist=nil)
4461
+ def initialize(topicid=nil, createtime=nil, note=nil, partitionnum=nil, enablewhitelist=nil, ipwhitelist=nil, config=nil, partitions=nil, enableaclrule=nil, aclrulelist=nil, quotaconfig=nil)
4429
4462
  @TopicId = topicid
4430
4463
  @CreateTime = createtime
4431
4464
  @Note = note
@@ -4436,6 +4469,7 @@ module TencentCloud
4436
4469
  @Partitions = partitions
4437
4470
  @EnableAclRule = enableaclrule
4438
4471
  @AclRuleList = aclrulelist
4472
+ @QuotaConfig = quotaconfig
4439
4473
  end
4440
4474
 
4441
4475
  def deserialize(params)
@@ -4466,6 +4500,10 @@ module TencentCloud
4466
4500
  @AclRuleList << aclrule_tmp
4467
4501
  end
4468
4502
  end
4503
+ unless params['QuotaConfig'].nil?
4504
+ @QuotaConfig = InstanceQuotaConfigResp.new
4505
+ @QuotaConfig.deserialize(params['QuotaConfig'])
4506
+ end
4469
4507
  end
4470
4508
  end
4471
4509
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.273
4
+ version: 1.0.274
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-09 00:00:00.000000000 Z
11
+ date: 2022-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common