tencentcloud-sdk-tcb 3.0.430 → 3.0.431
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/v20180608/client.rb +24 -0
- data/lib/v20180608/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: 99efb3ae3d15e2046f3f69c1d98a2af512673f4e
|
4
|
+
data.tar.gz: 8f3c86ecff7414de9c846fbfe3e8c46c0ef14445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52766296401f4a29abcfb287b0a6556bf172cfce3a8e92ed107bf3ff1a202711dfbbab8a1bfda49fbfe6d32d0cabdd0fa1215c26cdc7205dec3a0e65e7629371
|
7
|
+
data.tar.gz: 34961ffcbff7074566359239b441ad60b1cd4e17db43dea54e0d7b16617c28512c49aad8dfc07eafa98cc0e8084ff79ef6d807cd068635d0729ccb178fed3fb0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.431
|
data/lib/v20180608/client.rb
CHANGED
@@ -1688,6 +1688,30 @@ module TencentCloud
|
|
1688
1688
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1689
1689
|
end
|
1690
1690
|
|
1691
|
+
# 修改日志主题
|
1692
|
+
|
1693
|
+
# @param request: Request instance for ModifyClsTopic.
|
1694
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::ModifyClsTopicRequest`
|
1695
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::ModifyClsTopicResponse`
|
1696
|
+
def ModifyClsTopic(request)
|
1697
|
+
body = send_request('ModifyClsTopic', request.serialize)
|
1698
|
+
response = JSON.parse(body)
|
1699
|
+
if response['Response'].key?('Error') == false
|
1700
|
+
model = ModifyClsTopicResponse.new
|
1701
|
+
model.deserialize(response['Response'])
|
1702
|
+
model
|
1703
|
+
else
|
1704
|
+
code = response['Response']['Error']['Code']
|
1705
|
+
message = response['Response']['Error']['Message']
|
1706
|
+
reqid = response['Response']['RequestId']
|
1707
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1708
|
+
end
|
1709
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1710
|
+
raise e
|
1711
|
+
rescue StandardError => e
|
1712
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1713
|
+
end
|
1714
|
+
|
1691
1715
|
# 修改数据库权限
|
1692
1716
|
|
1693
1717
|
# @param request: Request instance for ModifyDatabaseACL.
|
data/lib/v20180608/models.rb
CHANGED
@@ -6344,6 +6344,42 @@ module TencentCloud
|
|
6344
6344
|
end
|
6345
6345
|
end
|
6346
6346
|
|
6347
|
+
# ModifyClsTopic请求参数结构体
|
6348
|
+
class ModifyClsTopicRequest < TencentCloud::Common::AbstractModel
|
6349
|
+
# @param EnvId: 环境ID
|
6350
|
+
# @type EnvId: String
|
6351
|
+
# @param Period: 日志生命周期,单位天,可取值范围1~3600,取值为3640时代表永久保存
|
6352
|
+
# @type Period: Integer
|
6353
|
+
|
6354
|
+
attr_accessor :EnvId, :Period
|
6355
|
+
|
6356
|
+
def initialize(envid=nil, period=nil)
|
6357
|
+
@EnvId = envid
|
6358
|
+
@Period = period
|
6359
|
+
end
|
6360
|
+
|
6361
|
+
def deserialize(params)
|
6362
|
+
@EnvId = params['EnvId']
|
6363
|
+
@Period = params['Period']
|
6364
|
+
end
|
6365
|
+
end
|
6366
|
+
|
6367
|
+
# ModifyClsTopic返回参数结构体
|
6368
|
+
class ModifyClsTopicResponse < TencentCloud::Common::AbstractModel
|
6369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6370
|
+
# @type RequestId: String
|
6371
|
+
|
6372
|
+
attr_accessor :RequestId
|
6373
|
+
|
6374
|
+
def initialize(requestid=nil)
|
6375
|
+
@RequestId = requestid
|
6376
|
+
end
|
6377
|
+
|
6378
|
+
def deserialize(params)
|
6379
|
+
@RequestId = params['RequestId']
|
6380
|
+
end
|
6381
|
+
end
|
6382
|
+
|
6347
6383
|
# ModifyDatabaseACL请求参数结构体
|
6348
6384
|
class ModifyDatabaseACLRequest < TencentCloud::Common::AbstractModel
|
6349
6385
|
# @param EnvId: 环境ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.431
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|