tencentcloud-sdk-cls 3.0.625 → 3.0.627

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6042ccbfc050f6c1223d86768cff1e01ac543f3b
4
- data.tar.gz: a261c5443c5f440e42a1cb48603e70a4d836e373
3
+ metadata.gz: e3ebb586f149bc001559ab013333bd5c7570c11c
4
+ data.tar.gz: 0ec0231faa9203a6025ae1486bcad9b3669634d3
5
5
  SHA512:
6
- metadata.gz: 9ccd9a292e0a4e5ac18214f62616730b4f012c19e66868d36e2e4b20bde4d23fe6bc6fdfad25e9bbf9705d363ac13df8d9d7b9c5e3ccb162a7ab68d320e37e15
7
- data.tar.gz: ae5afec7baf47da5e830fdd7b1e74fb2a84f62735c9e2ad89d9993afa338ad018f4d694c79cf3ef6c1dd9c957f7d2fb11c6e6ff38a24512674a36cd70bae1e4d
6
+ metadata.gz: 1ddeca9c5e593c72b20c84d115893d70211df9add820c61728f2207b4913dbaaff2e93a1bb9b593aee82e925f35b6fad52d8f6f6daf638e7fa372398dbd6c75a
7
+ data.tar.gz: dbd550d28423936943227a1aea3e5ccb6587427ac1a26497d9ac382c8f53ce10ee57eedc0e9cc342b09c74f7a77b7e02d7725ba91d76095bbaa5d6bc1a94ef1e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.625
1
+ 3.0.627
@@ -1205,6 +1205,30 @@ module TencentCloud
1205
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
1206
  end
1207
1207
 
1208
+ # 本接口用于获取kafka用户信息
1209
+
1210
+ # @param request: Request instance for DescribeKafkaUser.
1211
+ # @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserRequest`
1212
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserResponse`
1213
+ def DescribeKafkaUser(request)
1214
+ body = send_request('DescribeKafkaUser', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DescribeKafkaUserResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1208
1232
  # 本接口用于搜索日志上下文附近的内容
1209
1233
 
1210
1234
  # @param request: Request instance for DescribeLogContext.
@@ -3995,15 +3995,18 @@ module TencentCloud
3995
3995
  # @type TopicID: String
3996
3996
  # @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
3997
3997
  # @type Compression: Integer
3998
+ # @param ConsumerContent: kafka协议消费数据格式
3999
+ # @type ConsumerContent: :class:`Tencentcloud::Cls.v20201016.models.KafkaConsumerContent`
3998
4000
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3999
4001
  # @type RequestId: String
4000
4002
 
4001
- attr_accessor :Status, :TopicID, :Compression, :RequestId
4003
+ attr_accessor :Status, :TopicID, :Compression, :ConsumerContent, :RequestId
4002
4004
 
4003
- def initialize(status=nil, topicid=nil, compression=nil, requestid=nil)
4005
+ def initialize(status=nil, topicid=nil, compression=nil, consumercontent=nil, requestid=nil)
4004
4006
  @Status = status
4005
4007
  @TopicID = topicid
4006
4008
  @Compression = compression
4009
+ @ConsumerContent = consumercontent
4007
4010
  @RequestId = requestid
4008
4011
  end
4009
4012
 
@@ -4011,6 +4014,10 @@ module TencentCloud
4011
4014
  @Status = params['Status']
4012
4015
  @TopicID = params['TopicID']
4013
4016
  @Compression = params['Compression']
4017
+ unless params['ConsumerContent'].nil?
4018
+ @ConsumerContent = KafkaConsumerContent.new
4019
+ @ConsumerContent.deserialize(params['ConsumerContent'])
4020
+ end
4014
4021
  @RequestId = params['RequestId']
4015
4022
  end
4016
4023
  end
@@ -4070,6 +4077,42 @@ module TencentCloud
4070
4077
  end
4071
4078
  end
4072
4079
 
4080
+ # DescribeKafkaUser请求参数结构体
4081
+ class DescribeKafkaUserRequest < TencentCloud::Common::AbstractModel
4082
+ # @param UserName: kafka消费用户名
4083
+ # @type UserName: String
4084
+
4085
+ attr_accessor :UserName
4086
+
4087
+ def initialize(username=nil)
4088
+ @UserName = username
4089
+ end
4090
+
4091
+ def deserialize(params)
4092
+ @UserName = params['UserName']
4093
+ end
4094
+ end
4095
+
4096
+ # DescribeKafkaUser返回参数结构体
4097
+ class DescribeKafkaUserResponse < TencentCloud::Common::AbstractModel
4098
+ # @param UserName: kafka消费用户名
4099
+ # @type UserName: String
4100
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4101
+ # @type RequestId: String
4102
+
4103
+ attr_accessor :UserName, :RequestId
4104
+
4105
+ def initialize(username=nil, requestid=nil)
4106
+ @UserName = username
4107
+ @RequestId = requestid
4108
+ end
4109
+
4110
+ def deserialize(params)
4111
+ @UserName = params['UserName']
4112
+ @RequestId = params['RequestId']
4113
+ end
4114
+ end
4115
+
4073
4116
  # DescribeLogContext请求参数结构体
4074
4117
  class DescribeLogContextRequest < TencentCloud::Common::AbstractModel
4075
4118
  # @param TopicId: 要查询的日志主题ID
@@ -6561,17 +6604,24 @@ module TencentCloud
6561
6604
  # @type FromTopicId: String
6562
6605
  # @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
6563
6606
  # @type Compression: Integer
6607
+ # @param ConsumerContent: kafka协议消费数据格式
6608
+ # @type ConsumerContent: :class:`Tencentcloud::Cls.v20201016.models.KafkaConsumerContent`
6564
6609
 
6565
- attr_accessor :FromTopicId, :Compression
6610
+ attr_accessor :FromTopicId, :Compression, :ConsumerContent
6566
6611
 
6567
- def initialize(fromtopicid=nil, compression=nil)
6612
+ def initialize(fromtopicid=nil, compression=nil, consumercontent=nil)
6568
6613
  @FromTopicId = fromtopicid
6569
6614
  @Compression = compression
6615
+ @ConsumerContent = consumercontent
6570
6616
  end
6571
6617
 
6572
6618
  def deserialize(params)
6573
6619
  @FromTopicId = params['FromTopicId']
6574
6620
  @Compression = params['Compression']
6621
+ unless params['ConsumerContent'].nil?
6622
+ @ConsumerContent = KafkaConsumerContent.new
6623
+ @ConsumerContent.deserialize(params['ConsumerContent'])
6624
+ end
6575
6625
  end
6576
6626
  end
6577
6627
 
@@ -7518,7 +7568,7 @@ module TencentCloud
7518
7568
  class ScheduledSqlResouceInfo < TencentCloud::Common::AbstractModel
7519
7569
  # @param TopicId: 目标主题id
7520
7570
  # @type TopicId: String
7521
- # @param Region: 主题的的地域信息
7571
+ # @param Region: 主题的地域信息
7522
7572
  # @type Region: String
7523
7573
  # @param BizType: 主题类型:0为日志主题,1为指标主题
7524
7574
  # @type BizType: Integer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.625
4
+ version: 3.0.627
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-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common