tencentcloud-sdk-ckafka 3.0.553 → 3.0.555
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/client.rb +24 -0
- data/lib/v20190819/models.rb +42 -0
- 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: 12f2ab3f0134502fba2c2b0a3e88edd19d679f34
|
4
|
+
data.tar.gz: 547ddcb28a92c1d2b54c84df4b449cc45e350fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 740977fce94d6110b39735d489787d6cf3fede057a1bddfc3a68804094cfecf2a6c56cafc792b76d2828c8498af9ce2c3960d952decf66752ce7fdba05c7ebf0
|
7
|
+
data.tar.gz: 1c013e11a829ba5c8f43bd50ffb10f9325c648b7e7f19344cec0d2181f543f884f36b525db692f8f3a52461353fa9a5fd915f168b205c8b278f492c22008a403
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.555
|
data/lib/v20190819/client.rb
CHANGED
@@ -1806,6 +1806,30 @@ module TencentCloud
|
|
1806
1806
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1807
1807
|
end
|
1808
1808
|
|
1809
|
+
# 续费Ckafka实例, 目前只支持国内站包年包月实例续费
|
1810
|
+
|
1811
|
+
# @param request: Request instance for RenewCkafkaInstance.
|
1812
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::RenewCkafkaInstanceRequest`
|
1813
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::RenewCkafkaInstanceResponse`
|
1814
|
+
def RenewCkafkaInstance(request)
|
1815
|
+
body = send_request('RenewCkafkaInstance', request.serialize)
|
1816
|
+
response = JSON.parse(body)
|
1817
|
+
if response['Response'].key?('Error') == false
|
1818
|
+
model = RenewCkafkaInstanceResponse.new
|
1819
|
+
model.deserialize(response['Response'])
|
1820
|
+
model
|
1821
|
+
else
|
1822
|
+
code = response['Response']['Error']['Code']
|
1823
|
+
message = response['Response']['Error']['Message']
|
1824
|
+
reqid = response['Response']['RequestId']
|
1825
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1826
|
+
end
|
1827
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1828
|
+
raise e
|
1829
|
+
rescue StandardError => e
|
1830
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1831
|
+
end
|
1832
|
+
|
1809
1833
|
# 通过HTTP接入层发送消息
|
1810
1834
|
|
1811
1835
|
# @param request: Request instance for SendMessage.
|
data/lib/v20190819/models.rb
CHANGED
@@ -9382,6 +9382,48 @@ module TencentCloud
|
|
9382
9382
|
end
|
9383
9383
|
end
|
9384
9384
|
|
9385
|
+
# RenewCkafkaInstance请求参数结构体
|
9386
|
+
class RenewCkafkaInstanceRequest < TencentCloud::Common::AbstractModel
|
9387
|
+
# @param InstanceId: 实例id
|
9388
|
+
# @type InstanceId: String
|
9389
|
+
# @param TimeSpan: 续费时长, 默认为1, 单位是月
|
9390
|
+
# @type TimeSpan: Integer
|
9391
|
+
|
9392
|
+
attr_accessor :InstanceId, :TimeSpan
|
9393
|
+
|
9394
|
+
def initialize(instanceid=nil, timespan=nil)
|
9395
|
+
@InstanceId = instanceid
|
9396
|
+
@TimeSpan = timespan
|
9397
|
+
end
|
9398
|
+
|
9399
|
+
def deserialize(params)
|
9400
|
+
@InstanceId = params['InstanceId']
|
9401
|
+
@TimeSpan = params['TimeSpan']
|
9402
|
+
end
|
9403
|
+
end
|
9404
|
+
|
9405
|
+
# RenewCkafkaInstance接口出参bigDealIds
|
9406
|
+
class RenewCkafkaInstanceResponse < TencentCloud::Common::AbstractModel
|
9407
|
+
# @param BigDealId: 订单号
|
9408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9409
|
+
# @type BigDealId: String
|
9410
|
+
# @param DealName: 子订单号
|
9411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9412
|
+
# @type DealName: String
|
9413
|
+
|
9414
|
+
attr_accessor :BigDealId, :DealName
|
9415
|
+
|
9416
|
+
def initialize(bigdealid=nil, dealname=nil)
|
9417
|
+
@BigDealId = bigdealid
|
9418
|
+
@DealName = dealname
|
9419
|
+
end
|
9420
|
+
|
9421
|
+
def deserialize(params)
|
9422
|
+
@BigDealId = params['BigDealId']
|
9423
|
+
@DealName = params['DealName']
|
9424
|
+
end
|
9425
|
+
end
|
9426
|
+
|
9385
9427
|
# 数据处理——Value处理参数——替换参数
|
9386
9428
|
class ReplaceParam < TencentCloud::Common::AbstractModel
|
9387
9429
|
# @param OldValue: 被替换值
|
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.555
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|