tencentcloud-sdk-ckafka 3.0.539 → 3.0.540
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 +67 -2
- 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: bbf0b7403cd7b7dee51cb5343bc2cbfb691126c1
|
4
|
+
data.tar.gz: 2e6d04489ca95a7e704d4bd11817645fd47f3aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15865f47a625e2220187d4d35795a54c6e2001547faa1d380d5e8755f5f6f251d053d0363111658c9aeb889d199dec8f402b0be3b0340ced63c6589432be694c
|
7
|
+
data.tar.gz: 5af8d95b670e04f57b0e73f1be650602fd6d2e9f27b3cb13408a305af5a413fb98c1116978f6f94eb9cc18764594a64c27cc044ff2a23e852846eb38788db342
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.540
|
data/lib/v20190819/client.rb
CHANGED
@@ -1662,6 +1662,30 @@ module TencentCloud
|
|
1662
1662
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1663
1663
|
end
|
1664
1664
|
|
1665
|
+
# 修改Datahub主题属性
|
1666
|
+
|
1667
|
+
# @param request: Request instance for ModifyDatahubTopic.
|
1668
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::ModifyDatahubTopicRequest`
|
1669
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::ModifyDatahubTopicResponse`
|
1670
|
+
def ModifyDatahubTopic(request)
|
1671
|
+
body = send_request('ModifyDatahubTopic', request.serialize)
|
1672
|
+
response = JSON.parse(body)
|
1673
|
+
if response['Response'].key?('Error') == false
|
1674
|
+
model = ModifyDatahubTopicResponse.new
|
1675
|
+
model.deserialize(response['Response'])
|
1676
|
+
model
|
1677
|
+
else
|
1678
|
+
code = response['Response']['Error']['Code']
|
1679
|
+
message = response['Response']['Error']['Message']
|
1680
|
+
reqid = response['Response']['RequestId']
|
1681
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1682
|
+
end
|
1683
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1684
|
+
raise e
|
1685
|
+
rescue StandardError => e
|
1686
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1687
|
+
end
|
1688
|
+
|
1665
1689
|
# 设置Groups 消费分组offset
|
1666
1690
|
|
1667
1691
|
# @param request: Request instance for ModifyGroupOffsets.
|
data/lib/v20190819/models.rb
CHANGED
@@ -7973,10 +7973,12 @@ module TencentCloud
|
|
7973
7973
|
# @type CtsdbConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbModifyConnectParam`
|
7974
7974
|
# @param DorisConnectParam: Doris配置,Type为DORIS
|
7975
7975
|
# @type DorisConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DorisModifyConnectParam`
|
7976
|
+
# @param KafkaConnectParam: Kafka配置,Type为 KAFKA 时必填
|
7977
|
+
# @type KafkaConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.KafkaConnectParam`
|
7976
7978
|
|
7977
|
-
attr_accessor :ResourceId, :ResourceName, :Description, :Type, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam
|
7979
|
+
attr_accessor :ResourceId, :ResourceName, :Description, :Type, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam
|
7978
7980
|
|
7979
|
-
def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil)
|
7981
|
+
def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil, kafkaconnectparam=nil)
|
7980
7982
|
@ResourceId = resourceid
|
7981
7983
|
@ResourceName = resourcename
|
7982
7984
|
@Description = description
|
@@ -7991,6 +7993,7 @@ module TencentCloud
|
|
7991
7993
|
@SQLServerConnectParam = sqlserverconnectparam
|
7992
7994
|
@CtsdbConnectParam = ctsdbconnectparam
|
7993
7995
|
@DorisConnectParam = dorisconnectparam
|
7996
|
+
@KafkaConnectParam = kafkaconnectparam
|
7994
7997
|
end
|
7995
7998
|
|
7996
7999
|
def deserialize(params)
|
@@ -8038,6 +8041,10 @@ module TencentCloud
|
|
8038
8041
|
@DorisConnectParam = DorisModifyConnectParam.new
|
8039
8042
|
@DorisConnectParam.deserialize(params['DorisConnectParam'])
|
8040
8043
|
end
|
8044
|
+
unless params['KafkaConnectParam'].nil?
|
8045
|
+
@KafkaConnectParam = KafkaConnectParam.new
|
8046
|
+
@KafkaConnectParam.deserialize(params['KafkaConnectParam'])
|
8047
|
+
end
|
8041
8048
|
end
|
8042
8049
|
end
|
8043
8050
|
|
@@ -8108,6 +8115,64 @@ module TencentCloud
|
|
8108
8115
|
end
|
8109
8116
|
end
|
8110
8117
|
|
8118
|
+
# ModifyDatahubTopic请求参数结构体
|
8119
|
+
class ModifyDatahubTopicRequest < TencentCloud::Common::AbstractModel
|
8120
|
+
# @param Name: 名称
|
8121
|
+
# @type Name: String
|
8122
|
+
# @param RetentionMs: 消息保留时间,单位:ms,当前最小值为60000ms。
|
8123
|
+
# @type RetentionMs: Integer
|
8124
|
+
# @param Note: 主题备注,是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线-。
|
8125
|
+
# @type Note: String
|
8126
|
+
# @param Tags: 标签列表
|
8127
|
+
# @type Tags: Array
|
8128
|
+
|
8129
|
+
attr_accessor :Name, :RetentionMs, :Note, :Tags
|
8130
|
+
|
8131
|
+
def initialize(name=nil, retentionms=nil, note=nil, tags=nil)
|
8132
|
+
@Name = name
|
8133
|
+
@RetentionMs = retentionms
|
8134
|
+
@Note = note
|
8135
|
+
@Tags = tags
|
8136
|
+
end
|
8137
|
+
|
8138
|
+
def deserialize(params)
|
8139
|
+
@Name = params['Name']
|
8140
|
+
@RetentionMs = params['RetentionMs']
|
8141
|
+
@Note = params['Note']
|
8142
|
+
unless params['Tags'].nil?
|
8143
|
+
@Tags = []
|
8144
|
+
params['Tags'].each do |i|
|
8145
|
+
tag_tmp = Tag.new
|
8146
|
+
tag_tmp.deserialize(i)
|
8147
|
+
@Tags << tag_tmp
|
8148
|
+
end
|
8149
|
+
end
|
8150
|
+
end
|
8151
|
+
end
|
8152
|
+
|
8153
|
+
# ModifyDatahubTopic返回参数结构体
|
8154
|
+
class ModifyDatahubTopicResponse < TencentCloud::Common::AbstractModel
|
8155
|
+
# @param Result: 返回结果集
|
8156
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
8157
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8158
|
+
# @type RequestId: String
|
8159
|
+
|
8160
|
+
attr_accessor :Result, :RequestId
|
8161
|
+
|
8162
|
+
def initialize(result=nil, requestid=nil)
|
8163
|
+
@Result = result
|
8164
|
+
@RequestId = requestid
|
8165
|
+
end
|
8166
|
+
|
8167
|
+
def deserialize(params)
|
8168
|
+
unless params['Result'].nil?
|
8169
|
+
@Result = JgwOperateResponse.new
|
8170
|
+
@Result.deserialize(params['Result'])
|
8171
|
+
end
|
8172
|
+
@RequestId = params['RequestId']
|
8173
|
+
end
|
8174
|
+
end
|
8175
|
+
|
8111
8176
|
# ModifyGroupOffsets请求参数结构体
|
8112
8177
|
class ModifyGroupOffsetsRequest < TencentCloud::Common::AbstractModel
|
8113
8178
|
# @param InstanceId: kafka实例id
|
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.540
|
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-03-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|