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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/models.rb +42 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec30f5b0badcce338081ccbcec24197789718365
|
4
|
+
data.tar.gz: 927f744eb74e73e6968e511f494e0a554ad21eb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e2ef4b1757f7b25767b711b0d200817831fa4c44b22d424c16ae61e841285687678f61c002c8fff20d30f342128ddb2ffec4887cb8c87c7292b99f4c1c8f9ae
|
7
|
+
data.tar.gz: d3b8e9f75980c0ace653a03b96450edac1d6f52e406014c89357c097da70bb0fd5d9efeb6d7fb166510babf259fc1da621a115d810d54bb3e6395a7e6fc433a3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.274
|
data/lib/v20190819/models.rb
CHANGED
@@ -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.
|
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-
|
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
|