tencentcloud-sdk-tat 3.0.884 → 3.0.885
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/v20201028/client.rb +24 -0
- data/lib/v20201028/models.rb +110 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5ebd46bbda6fde70d4169e3df571cd0b03ea1e7
|
4
|
+
data.tar.gz: 2a27fc11204498c97b281b898e6ec1f664e23bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e794a5e801f795b9356de0424868272da1456363dfe9a25b103f5d13b0eeabfac45b8957216e0539625d874084a3f6dcafe603715272f69b3142ed1598388403
|
7
|
+
data.tar.gz: e3c1942380f0332b012e1c004fc299a8780289f1f393d52edf197b946b09dc275d4e2064227a14460762164cf460613ef7f6d25adee11b2f9ea586697d474e03
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.885
|
data/lib/v20201028/client.rb
CHANGED
@@ -490,6 +490,30 @@ module TencentCloud
|
|
490
490
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
491
491
|
end
|
492
492
|
|
493
|
+
# 此接口用于查询场景详情。
|
494
|
+
|
495
|
+
# @param request: Request instance for DescribeScenes.
|
496
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::DescribeScenesRequest`
|
497
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::DescribeScenesResponse`
|
498
|
+
def DescribeScenes(request)
|
499
|
+
body = send_request('DescribeScenes', request.serialize)
|
500
|
+
response = JSON.parse(body)
|
501
|
+
if response['Response'].key?('Error') == false
|
502
|
+
model = DescribeScenesResponse.new
|
503
|
+
model.deserialize(response['Response'])
|
504
|
+
model
|
505
|
+
else
|
506
|
+
code = response['Response']['Error']['Code']
|
507
|
+
message = response['Response']['Error']['Message']
|
508
|
+
reqid = response['Response']['RequestId']
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
510
|
+
end
|
511
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
512
|
+
raise e
|
513
|
+
rescue StandardError => e
|
514
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
515
|
+
end
|
516
|
+
|
493
517
|
# 此接口用于停止执行器。
|
494
518
|
|
495
519
|
# @param request: Request instance for DisableInvoker.
|
data/lib/v20201028/models.rb
CHANGED
@@ -721,6 +721,7 @@ module TencentCloud
|
|
721
721
|
# <li> command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。</li>
|
722
722
|
# <li> command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。</li>
|
723
723
|
# <li> command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。</li>
|
724
|
+
# <li> scene-id - String - 是否必填:否 -(过滤条件)按照场景ID过滤。</li>
|
724
725
|
# <li> created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。</li>
|
725
726
|
# <li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。</li>
|
726
727
|
# <li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。</li>
|
@@ -1291,6 +1292,77 @@ module TencentCloud
|
|
1291
1292
|
end
|
1292
1293
|
end
|
1293
1294
|
|
1295
|
+
# DescribeScenes请求参数结构体
|
1296
|
+
class DescribeScenesRequest < TencentCloud::Common::AbstractModel
|
1297
|
+
# @param SceneIds: 场景 ID 数组
|
1298
|
+
# @type SceneIds: Array
|
1299
|
+
# @param Filters: 过滤条件。
|
1300
|
+
# <li> scene-id - String - 是否必填:否 -(过滤条件)按照场景 ID 过滤。</li>
|
1301
|
+
# <li> scene-name - String - 是否必填:否 -(过滤条件)按照场景名称过滤。</li>
|
1302
|
+
# <li> created-by - String - 是否必填:否 -(过滤条件)按照场景创建者过滤,取值为 TAT 或 USER。TAT 代表公共命令,USER 代表由用户创建的命令。</li>
|
1303
|
+
|
1304
|
+
# 每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `SceneIds` 和 `Filters` 。
|
1305
|
+
# @type Filters: Array
|
1306
|
+
# @param Limit: 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1307
|
+
# @type Limit: Integer
|
1308
|
+
# @param Offset: 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1309
|
+
# @type Offset: Integer
|
1310
|
+
|
1311
|
+
attr_accessor :SceneIds, :Filters, :Limit, :Offset
|
1312
|
+
|
1313
|
+
def initialize(sceneids=nil, filters=nil, limit=nil, offset=nil)
|
1314
|
+
@SceneIds = sceneids
|
1315
|
+
@Filters = filters
|
1316
|
+
@Limit = limit
|
1317
|
+
@Offset = offset
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
def deserialize(params)
|
1321
|
+
@SceneIds = params['SceneIds']
|
1322
|
+
unless params['Filters'].nil?
|
1323
|
+
@Filters = []
|
1324
|
+
params['Filters'].each do |i|
|
1325
|
+
filter_tmp = Filter.new
|
1326
|
+
filter_tmp.deserialize(i)
|
1327
|
+
@Filters << filter_tmp
|
1328
|
+
end
|
1329
|
+
end
|
1330
|
+
@Limit = params['Limit']
|
1331
|
+
@Offset = params['Offset']
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
# DescribeScenes返回参数结构体
|
1336
|
+
class DescribeScenesResponse < TencentCloud::Common::AbstractModel
|
1337
|
+
# @param TotalCount: 符合条件的场景总数。
|
1338
|
+
# @type TotalCount: Integer
|
1339
|
+
# @param SceneSet: 场景详情列表。
|
1340
|
+
# @type SceneSet: Array
|
1341
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1342
|
+
# @type RequestId: String
|
1343
|
+
|
1344
|
+
attr_accessor :TotalCount, :SceneSet, :RequestId
|
1345
|
+
|
1346
|
+
def initialize(totalcount=nil, sceneset=nil, requestid=nil)
|
1347
|
+
@TotalCount = totalcount
|
1348
|
+
@SceneSet = sceneset
|
1349
|
+
@RequestId = requestid
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
def deserialize(params)
|
1353
|
+
@TotalCount = params['TotalCount']
|
1354
|
+
unless params['SceneSet'].nil?
|
1355
|
+
@SceneSet = []
|
1356
|
+
params['SceneSet'].each do |i|
|
1357
|
+
scene_tmp = Scene.new
|
1358
|
+
scene_tmp.deserialize(i)
|
1359
|
+
@SceneSet << scene_tmp
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
@RequestId = params['RequestId']
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
|
1294
1366
|
# DisableInvoker请求参数结构体
|
1295
1367
|
class DisableInvokerRequest < TencentCloud::Common::AbstractModel
|
1296
1368
|
# @param InvokerId: 待停止的执行器ID。
|
@@ -1983,7 +2055,7 @@ module TencentCloud
|
|
1983
2055
|
class ModifyRegisterInstanceRequest < TencentCloud::Common::AbstractModel
|
1984
2056
|
# @param InstanceId: 实例ID。
|
1985
2057
|
# @type InstanceId: String
|
1986
|
-
# @param InstanceName:
|
2058
|
+
# @param InstanceName: 实例名称。有效长度为 1~60 字符。
|
1987
2059
|
# @type InstanceName: String
|
1988
2060
|
|
1989
2061
|
attr_accessor :InstanceId, :InstanceName
|
@@ -2360,6 +2432,43 @@ module TencentCloud
|
|
2360
2432
|
end
|
2361
2433
|
end
|
2362
2434
|
|
2435
|
+
# 场景详情。
|
2436
|
+
class Scene < TencentCloud::Common::AbstractModel
|
2437
|
+
# @param SceneId: 场景 ID 。
|
2438
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2439
|
+
# @type SceneId: String
|
2440
|
+
# @param SceneName: 场景名称。
|
2441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2442
|
+
# @type SceneName: String
|
2443
|
+
# @param CreatedBy: 场景创建者。
|
2444
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2445
|
+
# @type CreatedBy: String
|
2446
|
+
# @param CreatedTime: 创建时间。
|
2447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2448
|
+
# @type CreatedTime: String
|
2449
|
+
# @param UpdatedTime: 更新时间。
|
2450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2451
|
+
# @type UpdatedTime: String
|
2452
|
+
|
2453
|
+
attr_accessor :SceneId, :SceneName, :CreatedBy, :CreatedTime, :UpdatedTime
|
2454
|
+
|
2455
|
+
def initialize(sceneid=nil, scenename=nil, createdby=nil, createdtime=nil, updatedtime=nil)
|
2456
|
+
@SceneId = sceneid
|
2457
|
+
@SceneName = scenename
|
2458
|
+
@CreatedBy = createdby
|
2459
|
+
@CreatedTime = createdtime
|
2460
|
+
@UpdatedTime = updatedtime
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
def deserialize(params)
|
2464
|
+
@SceneId = params['SceneId']
|
2465
|
+
@SceneName = params['SceneName']
|
2466
|
+
@CreatedBy = params['CreatedBy']
|
2467
|
+
@CreatedTime = params['CreatedTime']
|
2468
|
+
@UpdatedTime = params['UpdatedTime']
|
2469
|
+
end
|
2470
|
+
end
|
2471
|
+
|
2363
2472
|
# 周期执行器设置。
|
2364
2473
|
class ScheduleSettings < TencentCloud::Common::AbstractModel
|
2365
2474
|
# @param Policy: 执行策略:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.885
|
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-08-
|
11
|
+
date: 2024-08-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/tencentcloud-sdk-tat.rb
|
37
36
|
- lib/v20201028/models.rb
|
38
37
|
- lib/v20201028/client.rb
|
38
|
+
- lib/tencentcloud-sdk-tat.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|