tencentcloud-sdk-cls 3.0.625 → 3.0.626
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/v20201016/client.rb +24 -0
- data/lib/v20201016/models.rb +36 -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: d8c81e9b058cca1ca96251f7c56189c65e58049d
|
4
|
+
data.tar.gz: 68c51eab3734c2c4e7329975484347b32abe51a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181524052b7c866fcab59d6e83a8140082fcf9beabeabd2ebff4233173e0311a77428a3f4be29571f4873bb372f40dbe47bb1317ca0a4e1d22c2156dc317eb6f
|
7
|
+
data.tar.gz: 4b1b44c629e15323a4c4a1db9a27553bf90a5b709dc31807970ca35980dd0ad5d5c01ef532bff0b7be2828fd3b01abff09f0e0f79588a1ca2ec81b42846251f6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.626
|
data/lib/v20201016/client.rb
CHANGED
@@ -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.
|
data/lib/v20201016/models.rb
CHANGED
@@ -4070,6 +4070,42 @@ module TencentCloud
|
|
4070
4070
|
end
|
4071
4071
|
end
|
4072
4072
|
|
4073
|
+
# DescribeKafkaUser请求参数结构体
|
4074
|
+
class DescribeKafkaUserRequest < TencentCloud::Common::AbstractModel
|
4075
|
+
# @param UserName: kafka消费用户名
|
4076
|
+
# @type UserName: String
|
4077
|
+
|
4078
|
+
attr_accessor :UserName
|
4079
|
+
|
4080
|
+
def initialize(username=nil)
|
4081
|
+
@UserName = username
|
4082
|
+
end
|
4083
|
+
|
4084
|
+
def deserialize(params)
|
4085
|
+
@UserName = params['UserName']
|
4086
|
+
end
|
4087
|
+
end
|
4088
|
+
|
4089
|
+
# DescribeKafkaUser返回参数结构体
|
4090
|
+
class DescribeKafkaUserResponse < TencentCloud::Common::AbstractModel
|
4091
|
+
# @param UserName: kafka消费用户名
|
4092
|
+
# @type UserName: String
|
4093
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4094
|
+
# @type RequestId: String
|
4095
|
+
|
4096
|
+
attr_accessor :UserName, :RequestId
|
4097
|
+
|
4098
|
+
def initialize(username=nil, requestid=nil)
|
4099
|
+
@UserName = username
|
4100
|
+
@RequestId = requestid
|
4101
|
+
end
|
4102
|
+
|
4103
|
+
def deserialize(params)
|
4104
|
+
@UserName = params['UserName']
|
4105
|
+
@RequestId = params['RequestId']
|
4106
|
+
end
|
4107
|
+
end
|
4108
|
+
|
4073
4109
|
# DescribeLogContext请求参数结构体
|
4074
4110
|
class DescribeLogContextRequest < TencentCloud::Common::AbstractModel
|
4075
4111
|
# @param TopicId: 要查询的日志主题ID
|
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.
|
4
|
+
version: 3.0.626
|
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-
|
11
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|