tencentcloud-sdk-ckafka 3.0.552 → 3.0.554
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: 1f6d8700a03a62e32dc803bcee02ca0a3da9498a
|
4
|
+
data.tar.gz: a6b1ff4ebbfbfba35e47e4d31ae9b2d46557b81a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e9c5dd04ee980a92c1ff90795645574ed3de7df71267bb07f6bba7a89d4c20644a772d1a85b9925d61bf7a21f7b04f2369bf3bfef9f41bd09da7ecb127baa3
|
7
|
+
data.tar.gz: 08839a5f18c8f7f6e503bd105a1cfb0d6491b789031e44d7886f82caec71dc12172bd089fb60868ef6766b8c2b4aafc1d7a00c07703adc6f6a4b1ee02faf699b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.554
|
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.554
|
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
|