tencentcloud-sdk-ckafka 3.0.1170 → 3.0.1171
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/client.rb +48 -0
- data/lib/v20190819/models.rb +115 -8
- 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: 67196ba20118501c34f52db655b783f4be20c634
|
|
4
|
+
data.tar.gz: 27240bba77c47a05d994f2c54a9c769a2c1bd914
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 625da0b5eb67f4b3a5054256a78a17a49f8f45d2d0f83d393c101ac3f72d223efe5e16ea8b43817546bc9297565f1e619b2f7015f0f242850a980d8948e7fa11
|
|
7
|
+
data.tar.gz: 70f302d62545e723ceefc97fcb9523b4b035f96270c50dc41153b2233c82b507230f1e92ee501d2902f478a2d2caafce62efd2949b59f91317785003d23bcfb9
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1171
|
data/lib/v20190819/client.rb
CHANGED
|
@@ -917,6 +917,30 @@ module TencentCloud
|
|
|
917
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
918
918
|
end
|
|
919
919
|
|
|
920
|
+
# 查询实例版本信息
|
|
921
|
+
|
|
922
|
+
# @param request: Request instance for DescribeCkafkaVersion.
|
|
923
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeCkafkaVersionRequest`
|
|
924
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeCkafkaVersionResponse`
|
|
925
|
+
def DescribeCkafkaVersion(request)
|
|
926
|
+
body = send_request('DescribeCkafkaVersion', request.serialize)
|
|
927
|
+
response = JSON.parse(body)
|
|
928
|
+
if response['Response'].key?('Error') == false
|
|
929
|
+
model = DescribeCkafkaVersionResponse.new
|
|
930
|
+
model.deserialize(response['Response'])
|
|
931
|
+
model
|
|
932
|
+
else
|
|
933
|
+
code = response['Response']['Error']['Code']
|
|
934
|
+
message = response['Response']['Error']['Message']
|
|
935
|
+
reqid = response['Response']['RequestId']
|
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
937
|
+
end
|
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
939
|
+
raise e
|
|
940
|
+
rescue StandardError => e
|
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
942
|
+
end
|
|
943
|
+
|
|
920
944
|
# 用于查看ckafka的可用区列表
|
|
921
945
|
|
|
922
946
|
# @param request: Request instance for DescribeCkafkaZone.
|
|
@@ -2166,6 +2190,30 @@ module TencentCloud
|
|
|
2166
2190
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2167
2191
|
end
|
|
2168
2192
|
|
|
2193
|
+
# broker版本升级
|
|
2194
|
+
|
|
2195
|
+
# @param request: Request instance for UpgradeBrokerVersion.
|
|
2196
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::UpgradeBrokerVersionRequest`
|
|
2197
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::UpgradeBrokerVersionResponse`
|
|
2198
|
+
def UpgradeBrokerVersion(request)
|
|
2199
|
+
body = send_request('UpgradeBrokerVersion', request.serialize)
|
|
2200
|
+
response = JSON.parse(body)
|
|
2201
|
+
if response['Response'].key?('Error') == false
|
|
2202
|
+
model = UpgradeBrokerVersionResponse.new
|
|
2203
|
+
model.deserialize(response['Response'])
|
|
2204
|
+
model
|
|
2205
|
+
else
|
|
2206
|
+
code = response['Response']['Error']['Code']
|
|
2207
|
+
message = response['Response']['Error']['Message']
|
|
2208
|
+
reqid = response['Response']['RequestId']
|
|
2209
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2210
|
+
end
|
|
2211
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2212
|
+
raise e
|
|
2213
|
+
rescue StandardError => e
|
|
2214
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2215
|
+
end
|
|
2216
|
+
|
|
2169
2217
|
|
|
2170
2218
|
end
|
|
2171
2219
|
end
|
data/lib/v20190819/models.rb
CHANGED
|
@@ -2600,10 +2600,12 @@ module TencentCloud
|
|
|
2600
2600
|
# @type RetentionBytes: Integer
|
|
2601
2601
|
# @param Tags: 标签列表
|
|
2602
2602
|
# @type Tags: Array
|
|
2603
|
+
# @param LogMsgTimestampType: 消息保存的时间类型:CreateTime/LogAppendTime
|
|
2604
|
+
# @type LogMsgTimestampType: String
|
|
2603
2605
|
|
|
2604
|
-
attr_accessor :InstanceId, :TopicName, :PartitionNum, :ReplicaNum, :EnableWhiteList, :IpWhiteList, :CleanUpPolicy, :Note, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags
|
|
2606
|
+
attr_accessor :InstanceId, :TopicName, :PartitionNum, :ReplicaNum, :EnableWhiteList, :IpWhiteList, :CleanUpPolicy, :Note, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :LogMsgTimestampType
|
|
2605
2607
|
|
|
2606
|
-
def initialize(instanceid=nil, topicname=nil, partitionnum=nil, replicanum=nil, enablewhitelist=nil, ipwhitelist=nil, cleanuppolicy=nil, note=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil)
|
|
2608
|
+
def initialize(instanceid=nil, topicname=nil, partitionnum=nil, replicanum=nil, enablewhitelist=nil, ipwhitelist=nil, cleanuppolicy=nil, note=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, logmsgtimestamptype=nil)
|
|
2607
2609
|
@InstanceId = instanceid
|
|
2608
2610
|
@TopicName = topicname
|
|
2609
2611
|
@PartitionNum = partitionnum
|
|
@@ -2621,6 +2623,7 @@ module TencentCloud
|
|
|
2621
2623
|
@AclRuleName = aclrulename
|
|
2622
2624
|
@RetentionBytes = retentionbytes
|
|
2623
2625
|
@Tags = tags
|
|
2626
|
+
@LogMsgTimestampType = logmsgtimestamptype
|
|
2624
2627
|
end
|
|
2625
2628
|
|
|
2626
2629
|
def deserialize(params)
|
|
@@ -2648,6 +2651,7 @@ module TencentCloud
|
|
|
2648
2651
|
@Tags << tag_tmp
|
|
2649
2652
|
end
|
|
2650
2653
|
end
|
|
2654
|
+
@LogMsgTimestampType = params['LogMsgTimestampType']
|
|
2651
2655
|
end
|
|
2652
2656
|
end
|
|
2653
2657
|
|
|
@@ -3894,6 +3898,38 @@ module TencentCloud
|
|
|
3894
3898
|
end
|
|
3895
3899
|
end
|
|
3896
3900
|
|
|
3901
|
+
# DescribeCkafkaVersion请求参数结构体
|
|
3902
|
+
class DescribeCkafkaVersionRequest < TencentCloud::Common::AbstractModel
|
|
3903
|
+
# @param InstanceId: ckafka集群实例Id
|
|
3904
|
+
# @type InstanceId: String
|
|
3905
|
+
|
|
3906
|
+
attr_accessor :InstanceId
|
|
3907
|
+
|
|
3908
|
+
def initialize(instanceid=nil)
|
|
3909
|
+
@InstanceId = instanceid
|
|
3910
|
+
end
|
|
3911
|
+
|
|
3912
|
+
def deserialize(params)
|
|
3913
|
+
@InstanceId = params['InstanceId']
|
|
3914
|
+
end
|
|
3915
|
+
end
|
|
3916
|
+
|
|
3917
|
+
# DescribeCkafkaVersion返回参数结构体
|
|
3918
|
+
class DescribeCkafkaVersionResponse < TencentCloud::Common::AbstractModel
|
|
3919
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3920
|
+
# @type RequestId: String
|
|
3921
|
+
|
|
3922
|
+
attr_accessor :RequestId
|
|
3923
|
+
|
|
3924
|
+
def initialize(requestid=nil)
|
|
3925
|
+
@RequestId = requestid
|
|
3926
|
+
end
|
|
3927
|
+
|
|
3928
|
+
def deserialize(params)
|
|
3929
|
+
@RequestId = params['RequestId']
|
|
3930
|
+
end
|
|
3931
|
+
end
|
|
3932
|
+
|
|
3897
3933
|
# DescribeCkafkaZone请求参数结构体
|
|
3898
3934
|
class DescribeCkafkaZoneRequest < TencentCloud::Common::AbstractModel
|
|
3899
3935
|
# @param CdcId: cdc集群Id
|
|
@@ -5429,17 +5465,21 @@ module TencentCloud
|
|
|
5429
5465
|
# @type InstanceId: String
|
|
5430
5466
|
# @param RouteId: 路由Id
|
|
5431
5467
|
# @type RouteId: Integer
|
|
5468
|
+
# @param MainRouteFlag: 是否显示主路由,true时会在返回原路由列表的基础上,再额外展示实例创建时的主路由信息(且不被InternalFlag/UsedFor等参数过滤影响)
|
|
5469
|
+
# @type MainRouteFlag: Boolean
|
|
5432
5470
|
|
|
5433
|
-
attr_accessor :InstanceId, :RouteId
|
|
5471
|
+
attr_accessor :InstanceId, :RouteId, :MainRouteFlag
|
|
5434
5472
|
|
|
5435
|
-
def initialize(instanceid=nil, routeid=nil)
|
|
5473
|
+
def initialize(instanceid=nil, routeid=nil, mainrouteflag=nil)
|
|
5436
5474
|
@InstanceId = instanceid
|
|
5437
5475
|
@RouteId = routeid
|
|
5476
|
+
@MainRouteFlag = mainrouteflag
|
|
5438
5477
|
end
|
|
5439
5478
|
|
|
5440
5479
|
def deserialize(params)
|
|
5441
5480
|
@InstanceId = params['InstanceId']
|
|
5442
5481
|
@RouteId = params['RouteId']
|
|
5482
|
+
@MainRouteFlag = params['MainRouteFlag']
|
|
5443
5483
|
end
|
|
5444
5484
|
end
|
|
5445
5485
|
|
|
@@ -7745,6 +7785,10 @@ module TencentCloud
|
|
|
7745
7785
|
# @type RemainingTopics: Integer
|
|
7746
7786
|
# @param DynamicDiskConfig: 动态硬盘扩容策略
|
|
7747
7787
|
# @type DynamicDiskConfig: :class:`Tencentcloud::Ckafka.v20190819.models.DynamicDiskConfig`
|
|
7788
|
+
# @param SystemMaintenanceTime: 系统维护时间
|
|
7789
|
+
# @type SystemMaintenanceTime: String
|
|
7790
|
+
# @param MaxMessageByte: 实例级别消息最大大小
|
|
7791
|
+
# @type MaxMessageByte: Integer
|
|
7748
7792
|
# @param InstanceChargeType: 实例计费类型 POSTPAID_BY_HOUR 按小时付费; PREPAID 包年包月
|
|
7749
7793
|
# @type InstanceChargeType: String
|
|
7750
7794
|
# @param ElasticBandwidthSwitch: 是否开启弹性带宽白名单
|
|
@@ -7779,9 +7823,9 @@ module TencentCloud
|
|
|
7779
7823
|
# @param DeleteProtectionEnable: 实例删除保护开关: 1 开启 0 关闭
|
|
7780
7824
|
# @type DeleteProtectionEnable: Integer
|
|
7781
7825
|
|
|
7782
|
-
attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics, :DynamicDiskConfig, :InstanceChargeType, :ElasticBandwidthSwitch, :ElasticBandwidthOpenStatus, :ClusterType, :FreePartitionNumber, :ElasticFloatBandwidth, :CustomCertId, :UncleanLeaderElectionEnable, :DeleteProtectionEnable
|
|
7826
|
+
attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics, :DynamicDiskConfig, :SystemMaintenanceTime, :MaxMessageByte, :InstanceChargeType, :ElasticBandwidthSwitch, :ElasticBandwidthOpenStatus, :ClusterType, :FreePartitionNumber, :ElasticFloatBandwidth, :CustomCertId, :UncleanLeaderElectionEnable, :DeleteProtectionEnable
|
|
7783
7827
|
|
|
7784
|
-
def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil, dynamicdiskconfig=nil, instancechargetype=nil, elasticbandwidthswitch=nil, elasticbandwidthopenstatus=nil, clustertype=nil, freepartitionnumber=nil, elasticfloatbandwidth=nil, customcertid=nil, uncleanleaderelectionenable=nil, deleteprotectionenable=nil)
|
|
7828
|
+
def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil, dynamicdiskconfig=nil, systemmaintenancetime=nil, maxmessagebyte=nil, instancechargetype=nil, elasticbandwidthswitch=nil, elasticbandwidthopenstatus=nil, clustertype=nil, freepartitionnumber=nil, elasticfloatbandwidth=nil, customcertid=nil, uncleanleaderelectionenable=nil, deleteprotectionenable=nil)
|
|
7785
7829
|
@InstanceId = instanceid
|
|
7786
7830
|
@InstanceName = instancename
|
|
7787
7831
|
@VipList = viplist
|
|
@@ -7817,6 +7861,8 @@ module TencentCloud
|
|
|
7817
7861
|
@RemainingPartitions = remainingpartitions
|
|
7818
7862
|
@RemainingTopics = remainingtopics
|
|
7819
7863
|
@DynamicDiskConfig = dynamicdiskconfig
|
|
7864
|
+
@SystemMaintenanceTime = systemmaintenancetime
|
|
7865
|
+
@MaxMessageByte = maxmessagebyte
|
|
7820
7866
|
@InstanceChargeType = instancechargetype
|
|
7821
7867
|
@ElasticBandwidthSwitch = elasticbandwidthswitch
|
|
7822
7868
|
@ElasticBandwidthOpenStatus = elasticbandwidthopenstatus
|
|
@@ -7887,6 +7933,8 @@ module TencentCloud
|
|
|
7887
7933
|
@DynamicDiskConfig = DynamicDiskConfig.new
|
|
7888
7934
|
@DynamicDiskConfig.deserialize(params['DynamicDiskConfig'])
|
|
7889
7935
|
end
|
|
7936
|
+
@SystemMaintenanceTime = params['SystemMaintenanceTime']
|
|
7937
|
+
@MaxMessageByte = params['MaxMessageByte']
|
|
7890
7938
|
@InstanceChargeType = params['InstanceChargeType']
|
|
7891
7939
|
@ElasticBandwidthSwitch = params['ElasticBandwidthSwitch']
|
|
7892
7940
|
@ElasticBandwidthOpenStatus = params['ElasticBandwidthOpenStatus']
|
|
@@ -9391,10 +9439,12 @@ module TencentCloud
|
|
|
9391
9439
|
# @type QuotaConsumerByteRate: Integer
|
|
9392
9440
|
# @param ReplicaNum: topic副本数 最小值 1,最大值 3
|
|
9393
9441
|
# @type ReplicaNum: Integer
|
|
9442
|
+
# @param LogMsgTimestampType: 消息保存的时间类型:CreateTime/LogAppendTime
|
|
9443
|
+
# @type LogMsgTimestampType: String
|
|
9394
9444
|
|
|
9395
|
-
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :MaxMessageBytes, :SegmentMs, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum
|
|
9445
|
+
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :MaxMessageBytes, :SegmentMs, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum, :LogMsgTimestampType
|
|
9396
9446
|
|
|
9397
|
-
def 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)
|
|
9447
|
+
def 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)
|
|
9398
9448
|
@InstanceId = instanceid
|
|
9399
9449
|
@TopicName = topicname
|
|
9400
9450
|
@Note = note
|
|
@@ -9413,6 +9463,7 @@ module TencentCloud
|
|
|
9413
9463
|
@QuotaProducerByteRate = quotaproducerbyterate
|
|
9414
9464
|
@QuotaConsumerByteRate = quotaconsumerbyterate
|
|
9415
9465
|
@ReplicaNum = replicanum
|
|
9466
|
+
@LogMsgTimestampType = logmsgtimestamptype
|
|
9416
9467
|
end
|
|
9417
9468
|
|
|
9418
9469
|
def deserialize(params)
|
|
@@ -9441,6 +9492,7 @@ module TencentCloud
|
|
|
9441
9492
|
@QuotaProducerByteRate = params['QuotaProducerByteRate']
|
|
9442
9493
|
@QuotaConsumerByteRate = params['QuotaConsumerByteRate']
|
|
9443
9494
|
@ReplicaNum = params['ReplicaNum']
|
|
9495
|
+
@LogMsgTimestampType = params['LogMsgTimestampType']
|
|
9444
9496
|
end
|
|
9445
9497
|
end
|
|
9446
9498
|
|
|
@@ -12079,6 +12131,61 @@ module TencentCloud
|
|
|
12079
12131
|
end
|
|
12080
12132
|
end
|
|
12081
12133
|
|
|
12134
|
+
# UpgradeBrokerVersion请求参数结构体
|
|
12135
|
+
class UpgradeBrokerVersionRequest < TencentCloud::Common::AbstractModel
|
|
12136
|
+
# @param InstanceId: ckafka集群实例Id
|
|
12137
|
+
# @type InstanceId: String
|
|
12138
|
+
# @param Type: 1.平滑升配.2.垂直升配
|
|
12139
|
+
# @type Type: Integer
|
|
12140
|
+
# @param SourceVersion: 版本号
|
|
12141
|
+
# @type SourceVersion: String
|
|
12142
|
+
# @param TargetVersion: 版本号
|
|
12143
|
+
# @type TargetVersion: String
|
|
12144
|
+
# @param DelayTimeStamp: 延迟时间
|
|
12145
|
+
# @type DelayTimeStamp: String
|
|
12146
|
+
|
|
12147
|
+
attr_accessor :InstanceId, :Type, :SourceVersion, :TargetVersion, :DelayTimeStamp
|
|
12148
|
+
|
|
12149
|
+
def initialize(instanceid=nil, type=nil, sourceversion=nil, targetversion=nil, delaytimestamp=nil)
|
|
12150
|
+
@InstanceId = instanceid
|
|
12151
|
+
@Type = type
|
|
12152
|
+
@SourceVersion = sourceversion
|
|
12153
|
+
@TargetVersion = targetversion
|
|
12154
|
+
@DelayTimeStamp = delaytimestamp
|
|
12155
|
+
end
|
|
12156
|
+
|
|
12157
|
+
def deserialize(params)
|
|
12158
|
+
@InstanceId = params['InstanceId']
|
|
12159
|
+
@Type = params['Type']
|
|
12160
|
+
@SourceVersion = params['SourceVersion']
|
|
12161
|
+
@TargetVersion = params['TargetVersion']
|
|
12162
|
+
@DelayTimeStamp = params['DelayTimeStamp']
|
|
12163
|
+
end
|
|
12164
|
+
end
|
|
12165
|
+
|
|
12166
|
+
# UpgradeBrokerVersion返回参数结构体
|
|
12167
|
+
class UpgradeBrokerVersionResponse < TencentCloud::Common::AbstractModel
|
|
12168
|
+
# @param Result: 升配结果
|
|
12169
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
|
12170
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12171
|
+
# @type RequestId: String
|
|
12172
|
+
|
|
12173
|
+
attr_accessor :Result, :RequestId
|
|
12174
|
+
|
|
12175
|
+
def initialize(result=nil, requestid=nil)
|
|
12176
|
+
@Result = result
|
|
12177
|
+
@RequestId = requestid
|
|
12178
|
+
end
|
|
12179
|
+
|
|
12180
|
+
def deserialize(params)
|
|
12181
|
+
unless params['Result'].nil?
|
|
12182
|
+
@Result = JgwOperateResponse.new
|
|
12183
|
+
@Result.deserialize(params['Result'])
|
|
12184
|
+
end
|
|
12185
|
+
@RequestId = params['RequestId']
|
|
12186
|
+
end
|
|
12187
|
+
end
|
|
12188
|
+
|
|
12082
12189
|
# Url解析
|
|
12083
12190
|
class UrlDecodeParam < TencentCloud::Common::AbstractModel
|
|
12084
12191
|
# @param CharsetName: 编码
|
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: 3.0.
|
|
4
|
+
version: 3.0.1171
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|