tencentcloud-sdk-ckafka 3.0.515 → 3.0.516

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bbc393e51f7617edee56cd08756719f043b2a5f
4
- data.tar.gz: 9e0470241b79aa95efbbe12259cabfe1ff1c5146
3
+ metadata.gz: e41c1ce3e5aa5d8a3578677f8fa8c685df780dfb
4
+ data.tar.gz: 8219888211e93d9c7f6c6aff81b310c742e0b65c
5
5
  SHA512:
6
- metadata.gz: 4bc1606047a4be5e9641b7834480eb2f7f24e35bb3215de4abeabb156957c0df0d031a1fe3440e7eb5afbb656f545aea3048e9f167097b0acb1293eb49fe918d
7
- data.tar.gz: 294ec704b9bf723f1cececfaac08408b7c2dff03703b425ab9b9908d45874dc8be1b87a490d3b70ea7cbd9f2d9fc939bc793467117218ffbd911d80404b2594a
6
+ metadata.gz: 5ebb931a5bd14c10dd89588fed9cab32fd9d95522a5265a46a736b23f849aa4c26f2cbc004adb257056e6aa4d0a89744fcee287300c2df349f16bd87d5897def
7
+ data.tar.gz: dbcdf16200c4fbb80b2eb86177edc1f9f6275a0256a41cca741117810cc20edc327db3f149f57f28c9cd8e33c3979bc37ccfd2ff5b0cda311acda13a33104388
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.515
1
+ 3.0.516
@@ -989,6 +989,54 @@ module TencentCloud
989
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
990
  end
991
991
 
992
+ # 获取Datahub主题属性
993
+
994
+ # @param request: Request instance for DescribeDatahubTopic.
995
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTopicRequest`
996
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTopicResponse`
997
+ def DescribeDatahubTopic(request)
998
+ body = send_request('DescribeDatahubTopic', request.serialize)
999
+ response = JSON.parse(body)
1000
+ if response['Response'].key?('Error') == false
1001
+ model = DescribeDatahubTopicResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
1016
+ # 查询DIP主题列表
1017
+
1018
+ # @param request: Request instance for DescribeDatahubTopics.
1019
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTopicsRequest`
1020
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTopicsResponse`
1021
+ def DescribeDatahubTopics(request)
1022
+ body = send_request('DescribeDatahubTopics', request.serialize)
1023
+ response = JSON.parse(body)
1024
+ if response['Response'].key?('Error') == false
1025
+ model = DescribeDatahubTopicsResponse.new
1026
+ model.deserialize(response['Response'])
1027
+ model
1028
+ else
1029
+ code = response['Response']['Error']['Code']
1030
+ message = response['Response']['Error']['Message']
1031
+ reqid = response['Response']['RequestId']
1032
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1033
+ end
1034
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1035
+ raise e
1036
+ rescue StandardError => e
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
+ end
1039
+
992
1040
  # 枚举消费分组(精简版)
993
1041
 
994
1042
  # @param request: Request instance for DescribeGroup.
@@ -2687,6 +2687,46 @@ module TencentCloud
2687
2687
  end
2688
2688
  end
2689
2689
 
2690
+ # Datahub主题
2691
+ class DatahubTopicDTO < TencentCloud::Common::AbstractModel
2692
+ # @param Name: 名称
2693
+ # @type Name: String
2694
+ # @param TopicName: Topic名称
2695
+ # @type TopicName: String
2696
+ # @param TopicId: Topic Id
2697
+ # @type TopicId: String
2698
+ # @param PartitionNum: 分区数
2699
+ # @type PartitionNum: Integer
2700
+ # @param RetentionMs: 过期时间
2701
+ # @type RetentionMs: Integer
2702
+ # @param Note: 备注
2703
+ # @type Note: String
2704
+ # @param Status: 状态,1使用中,2删除中
2705
+ # @type Status: Integer
2706
+
2707
+ attr_accessor :Name, :TopicName, :TopicId, :PartitionNum, :RetentionMs, :Note, :Status
2708
+
2709
+ def initialize(name=nil, topicname=nil, topicid=nil, partitionnum=nil, retentionms=nil, note=nil, status=nil)
2710
+ @Name = name
2711
+ @TopicName = topicname
2712
+ @TopicId = topicid
2713
+ @PartitionNum = partitionnum
2714
+ @RetentionMs = retentionms
2715
+ @Note = note
2716
+ @Status = status
2717
+ end
2718
+
2719
+ def deserialize(params)
2720
+ @Name = params['Name']
2721
+ @TopicName = params['TopicName']
2722
+ @TopicId = params['TopicId']
2723
+ @PartitionNum = params['PartitionNum']
2724
+ @RetentionMs = params['RetentionMs']
2725
+ @Note = params['Note']
2726
+ @Status = params['Status']
2727
+ end
2728
+ end
2729
+
2690
2730
  # 数据处理——Value处理参数——转换时间格式参数
2691
2731
  class DateParam < TencentCloud::Common::AbstractModel
2692
2732
  # @param Format: 时间格式
@@ -4142,6 +4182,175 @@ module TencentCloud
4142
4182
  end
4143
4183
  end
4144
4184
 
4185
+ # DescribeDatahubTopic请求参数结构体
4186
+ class DescribeDatahubTopicRequest < TencentCloud::Common::AbstractModel
4187
+ # @param Name: 名称
4188
+ # @type Name: String
4189
+
4190
+ attr_accessor :Name
4191
+
4192
+ def initialize(name=nil)
4193
+ @Name = name
4194
+ end
4195
+
4196
+ def deserialize(params)
4197
+ @Name = params['Name']
4198
+ end
4199
+ end
4200
+
4201
+ # Datahub Topic详情
4202
+ class DescribeDatahubTopicResp < TencentCloud::Common::AbstractModel
4203
+ # @param Name: 名称
4204
+ # @type Name: String
4205
+ # @param TopicName: Topic名称
4206
+ # @type TopicName: String
4207
+ # @param TopicId: Topic Id
4208
+ # @type TopicId: String
4209
+ # @param PartitionNum: 分区数
4210
+ # @type PartitionNum: Integer
4211
+ # @param RetentionMs: 过期时间
4212
+ # @type RetentionMs: Integer
4213
+ # @param Note: 备注
4214
+ # 注意:此字段可能返回 null,表示取不到有效值。
4215
+ # @type Note: String
4216
+ # @param UserName: 用户名
4217
+ # @type UserName: String
4218
+ # @param Password: 密码
4219
+ # @type Password: String
4220
+ # @param Status: 状态,1使用中,2删除中
4221
+ # @type Status: Integer
4222
+ # @param Address: 服务路由地址
4223
+ # 注意:此字段可能返回 null,表示取不到有效值。
4224
+ # @type Address: String
4225
+
4226
+ attr_accessor :Name, :TopicName, :TopicId, :PartitionNum, :RetentionMs, :Note, :UserName, :Password, :Status, :Address
4227
+
4228
+ def initialize(name=nil, topicname=nil, topicid=nil, partitionnum=nil, retentionms=nil, note=nil, username=nil, password=nil, status=nil, address=nil)
4229
+ @Name = name
4230
+ @TopicName = topicname
4231
+ @TopicId = topicid
4232
+ @PartitionNum = partitionnum
4233
+ @RetentionMs = retentionms
4234
+ @Note = note
4235
+ @UserName = username
4236
+ @Password = password
4237
+ @Status = status
4238
+ @Address = address
4239
+ end
4240
+
4241
+ def deserialize(params)
4242
+ @Name = params['Name']
4243
+ @TopicName = params['TopicName']
4244
+ @TopicId = params['TopicId']
4245
+ @PartitionNum = params['PartitionNum']
4246
+ @RetentionMs = params['RetentionMs']
4247
+ @Note = params['Note']
4248
+ @UserName = params['UserName']
4249
+ @Password = params['Password']
4250
+ @Status = params['Status']
4251
+ @Address = params['Address']
4252
+ end
4253
+ end
4254
+
4255
+ # DescribeDatahubTopic返回参数结构体
4256
+ class DescribeDatahubTopicResponse < TencentCloud::Common::AbstractModel
4257
+ # @param Result: 返回的结果对象
4258
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeDatahubTopicResp`
4259
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4260
+ # @type RequestId: String
4261
+
4262
+ attr_accessor :Result, :RequestId
4263
+
4264
+ def initialize(result=nil, requestid=nil)
4265
+ @Result = result
4266
+ @RequestId = requestid
4267
+ end
4268
+
4269
+ def deserialize(params)
4270
+ unless params['Result'].nil?
4271
+ @Result = DescribeDatahubTopicResp.new
4272
+ @Result.deserialize(params['Result'])
4273
+ end
4274
+ @RequestId = params['RequestId']
4275
+ end
4276
+ end
4277
+
4278
+ # DescribeDatahubTopics请求参数结构体
4279
+ class DescribeDatahubTopicsRequest < TencentCloud::Common::AbstractModel
4280
+ # @param SearchWord: 查询值
4281
+ # @type SearchWord: String
4282
+ # @param Offset: 本次查询的偏移位置,默认为0
4283
+ # @type Offset: Integer
4284
+ # @param Limit: 本次返回结果的最大个数,默认为50,最大值为50
4285
+ # @type Limit: Integer
4286
+
4287
+ attr_accessor :SearchWord, :Offset, :Limit
4288
+
4289
+ def initialize(searchword=nil, offset=nil, limit=nil)
4290
+ @SearchWord = searchword
4291
+ @Offset = offset
4292
+ @Limit = limit
4293
+ end
4294
+
4295
+ def deserialize(params)
4296
+ @SearchWord = params['SearchWord']
4297
+ @Offset = params['Offset']
4298
+ @Limit = params['Limit']
4299
+ end
4300
+ end
4301
+
4302
+ # Datahub主题列表
4303
+ class DescribeDatahubTopicsResp < TencentCloud::Common::AbstractModel
4304
+ # @param TotalCount: 总数
4305
+ # @type TotalCount: Integer
4306
+ # @param TopicList: Topic列表
4307
+ # 注意:此字段可能返回 null,表示取不到有效值。
4308
+ # @type TopicList: Array
4309
+
4310
+ attr_accessor :TotalCount, :TopicList
4311
+
4312
+ def initialize(totalcount=nil, topiclist=nil)
4313
+ @TotalCount = totalcount
4314
+ @TopicList = topiclist
4315
+ end
4316
+
4317
+ def deserialize(params)
4318
+ @TotalCount = params['TotalCount']
4319
+ unless params['TopicList'].nil?
4320
+ @TopicList = []
4321
+ params['TopicList'].each do |i|
4322
+ datahubtopicdto_tmp = DatahubTopicDTO.new
4323
+ datahubtopicdto_tmp.deserialize(i)
4324
+ @TopicList << datahubtopicdto_tmp
4325
+ end
4326
+ end
4327
+ end
4328
+ end
4329
+
4330
+ # DescribeDatahubTopics返回参数结构体
4331
+ class DescribeDatahubTopicsResponse < TencentCloud::Common::AbstractModel
4332
+ # @param Result: 主题列表
4333
+ # 注意:此字段可能返回 null,表示取不到有效值。
4334
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeDatahubTopicsResp`
4335
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4336
+ # @type RequestId: String
4337
+
4338
+ attr_accessor :Result, :RequestId
4339
+
4340
+ def initialize(result=nil, requestid=nil)
4341
+ @Result = result
4342
+ @RequestId = requestid
4343
+ end
4344
+
4345
+ def deserialize(params)
4346
+ unless params['Result'].nil?
4347
+ @Result = DescribeDatahubTopicsResp.new
4348
+ @Result.deserialize(params['Result'])
4349
+ end
4350
+ @RequestId = params['RequestId']
4351
+ end
4352
+ end
4353
+
4145
4354
  # DescribeGroup返回实体
4146
4355
  class DescribeGroup < TencentCloud::Common::AbstractModel
4147
4356
  # @param Group: groupId
@@ -4379,10 +4588,12 @@ module TencentCloud
4379
4588
  # @type InstanceIds: String
4380
4589
  # @param InstanceIdList: 按照实例ID过滤
4381
4590
  # @type InstanceIdList: Array
4591
+ # @param TagList: 根据标签列表过滤实例(取交集)
4592
+ # @type TagList: Array
4382
4593
 
4383
- attr_accessor :InstanceId, :SearchWord, :Status, :Offset, :Limit, :TagKey, :Filters, :InstanceIds, :InstanceIdList
4594
+ attr_accessor :InstanceId, :SearchWord, :Status, :Offset, :Limit, :TagKey, :Filters, :InstanceIds, :InstanceIdList, :TagList
4384
4595
 
4385
- def initialize(instanceid=nil, searchword=nil, status=nil, offset=nil, limit=nil, tagkey=nil, filters=nil, instanceids=nil, instanceidlist=nil)
4596
+ def initialize(instanceid=nil, searchword=nil, status=nil, offset=nil, limit=nil, tagkey=nil, filters=nil, instanceids=nil, instanceidlist=nil, taglist=nil)
4386
4597
  @InstanceId = instanceid
4387
4598
  @SearchWord = searchword
4388
4599
  @Status = status
@@ -4392,6 +4603,7 @@ module TencentCloud
4392
4603
  @Filters = filters
4393
4604
  @InstanceIds = instanceids
4394
4605
  @InstanceIdList = instanceidlist
4606
+ @TagList = taglist
4395
4607
  end
4396
4608
 
4397
4609
  def deserialize(params)
@@ -4411,6 +4623,14 @@ module TencentCloud
4411
4623
  end
4412
4624
  @InstanceIds = params['InstanceIds']
4413
4625
  @InstanceIdList = params['InstanceIdList']
4626
+ unless params['TagList'].nil?
4627
+ @TagList = []
4628
+ params['TagList'].each do |i|
4629
+ tag_tmp = Tag.new
4630
+ tag_tmp.deserialize(i)
4631
+ @TagList << tag_tmp
4632
+ end
4633
+ end
4414
4634
  end
4415
4635
  end
4416
4636
 
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.515
4
+ version: 3.0.516
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-02-23 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common