tencentcloud-sdk-cls 3.0.780 → 3.0.782
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 +0 -24
- data/lib/v20201016/models.rb +0 -36
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e91f011f83fa30e90a604289b201d5be663f9709
|
4
|
+
data.tar.gz: 31bef3538973967284b87a6724de1415fc692750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d4a316897a1a3616197de53a9bf6af151c000d260dde7d6479d8afaf440a0008637b71537a583fb984432d885927963b5f09eaf0ec728533be638ca4db1cf22
|
7
|
+
data.tar.gz: 6a7caf6dd8d25c5f7332115d99dda3a9192015488b287fa9cc70ef926f6216e59547fdd3bc0bd80155de5393a4297803a89537a940b8407be7fa6fc46b3e2b61
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.782
|
data/lib/v20201016/client.rb
CHANGED
@@ -1325,30 +1325,6 @@ module TencentCloud
|
|
1325
1325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1326
1326
|
end
|
1327
1327
|
|
1328
|
-
# 本接口用于获取kafka用户信息
|
1329
|
-
|
1330
|
-
# @param request: Request instance for DescribeKafkaUser.
|
1331
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserRequest`
|
1332
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserResponse`
|
1333
|
-
def DescribeKafkaUser(request)
|
1334
|
-
body = send_request('DescribeKafkaUser', request.serialize)
|
1335
|
-
response = JSON.parse(body)
|
1336
|
-
if response['Response'].key?('Error') == false
|
1337
|
-
model = DescribeKafkaUserResponse.new
|
1338
|
-
model.deserialize(response['Response'])
|
1339
|
-
model
|
1340
|
-
else
|
1341
|
-
code = response['Response']['Error']['Code']
|
1342
|
-
message = response['Response']['Error']['Message']
|
1343
|
-
reqid = response['Response']['RequestId']
|
1344
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1345
|
-
end
|
1346
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1347
|
-
raise e
|
1348
|
-
rescue StandardError => e
|
1349
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
|
-
end
|
1351
|
-
|
1352
1328
|
# 本接口用于搜索日志上下文附近的内容,详情参考[上下文检索](https://cloud.tencent.com/document/product/614/53248)。
|
1353
1329
|
# API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
|
1354
1330
|
|
data/lib/v20201016/models.rb
CHANGED
@@ -4743,42 +4743,6 @@ module TencentCloud
|
|
4743
4743
|
end
|
4744
4744
|
end
|
4745
4745
|
|
4746
|
-
# DescribeKafkaUser请求参数结构体
|
4747
|
-
class DescribeKafkaUserRequest < TencentCloud::Common::AbstractModel
|
4748
|
-
# @param UserName: kafka用户名。
|
4749
|
-
# @type UserName: String
|
4750
|
-
|
4751
|
-
attr_accessor :UserName
|
4752
|
-
|
4753
|
-
def initialize(username=nil)
|
4754
|
-
@UserName = username
|
4755
|
-
end
|
4756
|
-
|
4757
|
-
def deserialize(params)
|
4758
|
-
@UserName = params['UserName']
|
4759
|
-
end
|
4760
|
-
end
|
4761
|
-
|
4762
|
-
# DescribeKafkaUser返回参数结构体
|
4763
|
-
class DescribeKafkaUserResponse < TencentCloud::Common::AbstractModel
|
4764
|
-
# @param UserName: 如果返回不为空,代表用户名UserName已经创建成功。
|
4765
|
-
# @type UserName: String
|
4766
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4767
|
-
# @type RequestId: String
|
4768
|
-
|
4769
|
-
attr_accessor :UserName, :RequestId
|
4770
|
-
|
4771
|
-
def initialize(username=nil, requestid=nil)
|
4772
|
-
@UserName = username
|
4773
|
-
@RequestId = requestid
|
4774
|
-
end
|
4775
|
-
|
4776
|
-
def deserialize(params)
|
4777
|
-
@UserName = params['UserName']
|
4778
|
-
@RequestId = params['RequestId']
|
4779
|
-
end
|
4780
|
-
end
|
4781
|
-
|
4782
4746
|
# DescribeLogContext请求参数结构体
|
4783
4747
|
class DescribeLogContextRequest < TencentCloud::Common::AbstractModel
|
4784
4748
|
# @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.782
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20201016/client.rb
|
37
|
-
- lib/v20201016/models.rb
|
38
36
|
- lib/tencentcloud-sdk-cls.rb
|
37
|
+
- lib/v20201016/models.rb
|
38
|
+
- lib/v20201016/client.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|