tencentcloud-sdk-tat 3.0.673 → 3.0.675

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d6fefc3824b9b5ab3a4a3590efa43a5e6beddc7
4
- data.tar.gz: 6fa61d9ebac7cdb10c5463391308c9572294d35e
3
+ metadata.gz: 4cf8fd6f77c0512407766d669abd40d3d48fddd4
4
+ data.tar.gz: 30239615c6fe7d51ab54c3952ce46d2e3e8f3415
5
5
  SHA512:
6
- metadata.gz: dc3931c1d09070317803aecbb85aed5ea9de6e772be6e22ececceed89ed5ed6c4fc18a15a4405ca3b99a30181b47b07f96f1e25b004d7d1b23c34c78a7bb71eb
7
- data.tar.gz: 81f3074cfd8c5a1d9bcb7229ec53cb90c47b696101e287e45bea6016483bb9ca9309888a7ff11d2416f10fcdd524a179a06f71b464300e923111e376c1b605d5
6
+ metadata.gz: 1011dbaa8e267b3d721611a318fb4bb91c47a651297ec52a53b755a3ddec14ea3efa1742cc0ce6a7a9d0ecd85e5699425b2607baa614615996caa9fbf96619be
7
+ data.tar.gz: 81a26269b95cc3ec124957b417afb1071a6102d401cc0f8f8ad2d257ccfe81be7e13045b06e8a98bf1c41d961f10b7146bdccc3a0d3d118a81e90a3c70befe1e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.673
1
+ 3.0.675
@@ -153,6 +153,30 @@ module TencentCloud
153
153
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
154
154
  end
155
155
 
156
+ # 批量删除命令接口
157
+
158
+ # @param request: Request instance for DeleteCommands.
159
+ # @type request: :class:`Tencentcloud::tat::V20201028::DeleteCommandsRequest`
160
+ # @rtype: :class:`Tencentcloud::tat::V20201028::DeleteCommandsResponse`
161
+ def DeleteCommands(request)
162
+ body = send_request('DeleteCommands', request.serialize)
163
+ response = JSON.parse(body)
164
+ if response['Response'].key?('Error') == false
165
+ model = DeleteCommandsResponse.new
166
+ model.deserialize(response['Response'])
167
+ model
168
+ else
169
+ code = response['Response']['Error']['Code']
170
+ message = response['Response']['Error']['Message']
171
+ reqid = response['Response']['RequestId']
172
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
173
+ end
174
+ rescue TencentCloud::Common::TencentCloudSDKException => e
175
+ raise e
176
+ rescue StandardError => e
177
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
178
+ end
179
+
156
180
  # 此接口用于删除执行器。
157
181
 
158
182
  # @param request: Request instance for DeleteInvoker.
@@ -369,6 +393,30 @@ module TencentCloud
369
393
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
370
394
  end
371
395
 
396
+ # 此接口用于获取配额信息
397
+
398
+ # @param request: Request instance for DescribeQuotas.
399
+ # @type request: :class:`Tencentcloud::tat::V20201028::DescribeQuotasRequest`
400
+ # @rtype: :class:`Tencentcloud::tat::V20201028::DescribeQuotasResponse`
401
+ def DescribeQuotas(request)
402
+ body = send_request('DescribeQuotas', request.serialize)
403
+ response = JSON.parse(body)
404
+ if response['Response'].key?('Error') == false
405
+ model = DescribeQuotasResponse.new
406
+ model.deserialize(response['Response'])
407
+ model
408
+ else
409
+ code = response['Response']['Error']['Code']
410
+ message = response['Response']['Error']['Message']
411
+ reqid = response['Response']['RequestId']
412
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
413
+ end
414
+ rescue TencentCloud::Common::TencentCloudSDKException => e
415
+ raise e
416
+ rescue StandardError => e
417
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
418
+ end
419
+
372
420
  # 此接口用于查询 TAT 产品后台地域列表。
373
421
  # RegionState 为 AVAILABLE,代表该地域的 TAT 后台服务已经可用;未返回,代表该地域的 TAT 后台服务尚不可用。
374
422
 
@@ -522,6 +522,38 @@ module TencentCloud
522
522
  end
523
523
  end
524
524
 
525
+ # DeleteCommands请求参数结构体
526
+ class DeleteCommandsRequest < TencentCloud::Common::AbstractModel
527
+ # @param CommandIds: 待删除命令id
528
+ # @type CommandIds: Array
529
+
530
+ attr_accessor :CommandIds
531
+
532
+ def initialize(commandids=nil)
533
+ @CommandIds = commandids
534
+ end
535
+
536
+ def deserialize(params)
537
+ @CommandIds = params['CommandIds']
538
+ end
539
+ end
540
+
541
+ # DeleteCommands返回参数结构体
542
+ class DeleteCommandsResponse < TencentCloud::Common::AbstractModel
543
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
544
+ # @type RequestId: String
545
+
546
+ attr_accessor :RequestId
547
+
548
+ def initialize(requestid=nil)
549
+ @RequestId = requestid
550
+ end
551
+
552
+ def deserialize(params)
553
+ @RequestId = params['RequestId']
554
+ end
555
+ end
556
+
525
557
  # DeleteInvoker请求参数结构体
526
558
  class DeleteInvokerRequest < TencentCloud::Common::AbstractModel
527
559
  # @param InvokerId: 待删除的执行器ID。
@@ -1024,6 +1056,49 @@ module TencentCloud
1024
1056
  end
1025
1057
  end
1026
1058
 
1059
+ # DescribeQuotas请求参数结构体
1060
+ class DescribeQuotasRequest < TencentCloud::Common::AbstractModel
1061
+ # @param ResourceNames: 资源名称,目前有"COMMAND","REGISTER_CODE" 这两个指标
1062
+ # @type ResourceNames: Array
1063
+
1064
+ attr_accessor :ResourceNames
1065
+
1066
+ def initialize(resourcenames=nil)
1067
+ @ResourceNames = resourcenames
1068
+ end
1069
+
1070
+ def deserialize(params)
1071
+ @ResourceNames = params['ResourceNames']
1072
+ end
1073
+ end
1074
+
1075
+ # DescribeQuotas返回参数结构体
1076
+ class DescribeQuotasResponse < TencentCloud::Common::AbstractModel
1077
+ # @param GeneralResourceQuotaSet: 资源额度列表
1078
+ # @type GeneralResourceQuotaSet: Array
1079
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1080
+ # @type RequestId: String
1081
+
1082
+ attr_accessor :GeneralResourceQuotaSet, :RequestId
1083
+
1084
+ def initialize(generalresourcequotaset=nil, requestid=nil)
1085
+ @GeneralResourceQuotaSet = generalresourcequotaset
1086
+ @RequestId = requestid
1087
+ end
1088
+
1089
+ def deserialize(params)
1090
+ unless params['GeneralResourceQuotaSet'].nil?
1091
+ @GeneralResourceQuotaSet = []
1092
+ params['GeneralResourceQuotaSet'].each do |i|
1093
+ generalresourcequotaset_tmp = GeneralResourceQuotaSet.new
1094
+ generalresourcequotaset_tmp.deserialize(i)
1095
+ @GeneralResourceQuotaSet << generalresourcequotaset_tmp
1096
+ end
1097
+ end
1098
+ @RequestId = params['RequestId']
1099
+ end
1100
+ end
1101
+
1027
1102
  # DescribeRegions请求参数结构体
1028
1103
  class DescribeRegionsRequest < TencentCloud::Common::AbstractModel
1029
1104
 
@@ -1333,6 +1408,33 @@ module TencentCloud
1333
1408
  end
1334
1409
  end
1335
1410
 
1411
+ # GeneralResourceQuotaSet数据结构
1412
+ class GeneralResourceQuotaSet < TencentCloud::Common::AbstractModel
1413
+ # @param ResourceName: 资源名称
1414
+ # 注意:此字段可能返回 null,表示取不到有效值。
1415
+ # @type ResourceName: String
1416
+ # @param ResourceQuotaUsed: 已使用额度
1417
+ # 注意:此字段可能返回 null,表示取不到有效值。
1418
+ # @type ResourceQuotaUsed: Integer
1419
+ # @param ResourceQuotaTotal: 总额度
1420
+ # 注意:此字段可能返回 null,表示取不到有效值。
1421
+ # @type ResourceQuotaTotal: Integer
1422
+
1423
+ attr_accessor :ResourceName, :ResourceQuotaUsed, :ResourceQuotaTotal
1424
+
1425
+ def initialize(resourcename=nil, resourcequotaused=nil, resourcequotatotal=nil)
1426
+ @ResourceName = resourcename
1427
+ @ResourceQuotaUsed = resourcequotaused
1428
+ @ResourceQuotaTotal = resourcequotatotal
1429
+ end
1430
+
1431
+ def deserialize(params)
1432
+ @ResourceName = params['ResourceName']
1433
+ @ResourceQuotaUsed = params['ResourceQuotaUsed']
1434
+ @ResourceQuotaTotal = params['ResourceQuotaTotal']
1435
+ end
1436
+ end
1437
+
1336
1438
  # 执行活动详情。
1337
1439
  class Invocation < TencentCloud::Common::AbstractModel
1338
1440
  # @param InvocationId: 执行活动ID。
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.673
4
+ version: 3.0.675
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-10-10 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-tat.rb
37
- - lib/v20201028/models.rb
38
37
  - lib/v20201028/client.rb
38
+ - lib/v20201028/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: