tencentcloud-sdk-pts 3.0.789 → 3.0.791

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 365b52517ea551c65c5930291a79113877613ef6
4
- data.tar.gz: cec006527841e29cec39605dac35cb875562fcff
3
+ metadata.gz: 7f96aa3d90c063d7e03de2b043af9bb07f6bb385
4
+ data.tar.gz: e6c2f27e8c87b87238bb2ed24f1d025e430d5a23
5
5
  SHA512:
6
- metadata.gz: bd9694dd87ecb3c3f87ef1bc0ec5742bd4805aa30500c95fa99c9553fb7d80d2474d4fa4fa2234cbad0f9b34a36e3d368bd4dc3dbae97e128953711bc676dc57
7
- data.tar.gz: f6bf2a9afa59ddcfa5e4b90a99d2b94552c07167e437822feb7a74b144db0f1a853c92a062bf89f5509fb5afaf3ef4817efb2b0cafadd2941955ff3573329f15
6
+ metadata.gz: 980acb417d553a1640f5a40bf29380fb33a08a4534f3cd7c99c0a97bf445a759e2038d53296cb4528c9fdc8f08b150267a5fb7fd119e9189a9ea997c67e17184
7
+ data.tar.gz: ccbdc99761389ed26969b4b2a8e24f6319124beeeebc04c0bb22b0f78548e4589564a113fb704d0b4ede1c2236907f8a37a6dc29dedfc40128f0b8f7c33d9213
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.789
1
+ 3.0.791
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 创建环境
177
+
178
+ # @param request: Request instance for CreateEnvironment.
179
+ # @type request: :class:`Tencentcloud::pts::V20210728::CreateEnvironmentRequest`
180
+ # @rtype: :class:`Tencentcloud::pts::V20210728::CreateEnvironmentResponse`
181
+ def CreateEnvironment(request)
182
+ body = send_request('CreateEnvironment', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CreateEnvironmentResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
176
200
  # 创建文件
177
201
 
178
202
  # @param request: Request instance for CreateFile.
@@ -293,6 +317,30 @@ module TencentCloud
293
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
318
  end
295
319
 
320
+ # 删除环境
321
+
322
+ # @param request: Request instance for DeleteEnvironments.
323
+ # @type request: :class:`Tencentcloud::pts::V20210728::DeleteEnvironmentsRequest`
324
+ # @rtype: :class:`Tencentcloud::pts::V20210728::DeleteEnvironmentsResponse`
325
+ def DeleteEnvironments(request)
326
+ body = send_request('DeleteEnvironments', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DeleteEnvironmentsResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
296
344
  # 删除文件
297
345
 
298
346
  # @param request: Request instance for DeleteFiles.
@@ -509,6 +557,30 @@ module TencentCloud
509
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
558
  end
511
559
 
560
+ # 查看环境列表
561
+
562
+ # @param request: Request instance for DescribeEnvironments.
563
+ # @type request: :class:`Tencentcloud::pts::V20210728::DescribeEnvironmentsRequest`
564
+ # @rtype: :class:`Tencentcloud::pts::V20210728::DescribeEnvironmentsResponse`
565
+ def DescribeEnvironments(request)
566
+ body = send_request('DescribeEnvironments', request.serialize)
567
+ response = JSON.parse(body)
568
+ if response['Response'].key?('Error') == false
569
+ model = DescribeEnvironmentsResponse.new
570
+ model.deserialize(response['Response'])
571
+ model
572
+ else
573
+ code = response['Response']['Error']['Code']
574
+ message = response['Response']['Error']['Message']
575
+ reqid = response['Response']['RequestId']
576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
577
+ end
578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
579
+ raise e
580
+ rescue StandardError => e
581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
+ end
583
+
512
584
  # 查询错误详情汇总信息
513
585
 
514
586
  # @param request: Request instance for DescribeErrorSummary.
@@ -989,6 +1061,30 @@ module TencentCloud
989
1061
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
1062
  end
991
1063
 
1064
+ # 更新环境
1065
+
1066
+ # @param request: Request instance for UpdateEnvironment.
1067
+ # @type request: :class:`Tencentcloud::pts::V20210728::UpdateEnvironmentRequest`
1068
+ # @rtype: :class:`Tencentcloud::pts::V20210728::UpdateEnvironmentResponse`
1069
+ def UpdateEnvironment(request)
1070
+ body = send_request('UpdateEnvironment', request.serialize)
1071
+ response = JSON.parse(body)
1072
+ if response['Response'].key?('Error') == false
1073
+ model = UpdateEnvironmentResponse.new
1074
+ model.deserialize(response['Response'])
1075
+ model
1076
+ else
1077
+ code = response['Response']['Error']['Code']
1078
+ message = response['Response']['Error']['Message']
1079
+ reqid = response['Response']['RequestId']
1080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1081
+ end
1082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1083
+ raise e
1084
+ rescue StandardError => e
1085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
+ end
1087
+
992
1088
  # 更新关联文件场景
993
1089
 
994
1090
  # @param request: Request instance for UpdateFileScenarioRelation.
@@ -608,6 +608,33 @@ module TencentCloud
608
608
  end
609
609
  end
610
610
 
611
+ # CreateEnvironment请求参数结构体
612
+ class CreateEnvironmentRequest < TencentCloud::Common::AbstractModel
613
+
614
+
615
+ def initialize()
616
+ end
617
+
618
+ def deserialize(params)
619
+ end
620
+ end
621
+
622
+ # CreateEnvironment返回参数结构体
623
+ class CreateEnvironmentResponse < TencentCloud::Common::AbstractModel
624
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
625
+ # @type RequestId: String
626
+
627
+ attr_accessor :RequestId
628
+
629
+ def initialize(requestid=nil)
630
+ @RequestId = requestid
631
+ end
632
+
633
+ def deserialize(params)
634
+ @RequestId = params['RequestId']
635
+ end
636
+ end
637
+
611
638
  # CreateFile请求参数结构体
612
639
  class CreateFileRequest < TencentCloud::Common::AbstractModel
613
640
  # @param FileId: 文件 ID。其值应为前序步骤上传该文件到 cos 桶后,文件在 cos 桶中的相应目录
@@ -1192,6 +1219,33 @@ module TencentCloud
1192
1219
  end
1193
1220
  end
1194
1221
 
1222
+ # DeleteEnvironments请求参数结构体
1223
+ class DeleteEnvironmentsRequest < TencentCloud::Common::AbstractModel
1224
+
1225
+
1226
+ def initialize()
1227
+ end
1228
+
1229
+ def deserialize(params)
1230
+ end
1231
+ end
1232
+
1233
+ # DeleteEnvironments返回参数结构体
1234
+ class DeleteEnvironmentsResponse < TencentCloud::Common::AbstractModel
1235
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1236
+ # @type RequestId: String
1237
+
1238
+ attr_accessor :RequestId
1239
+
1240
+ def initialize(requestid=nil)
1241
+ @RequestId = requestid
1242
+ end
1243
+
1244
+ def deserialize(params)
1245
+ @RequestId = params['RequestId']
1246
+ end
1247
+ end
1248
+
1195
1249
  # DeleteFiles请求参数结构体
1196
1250
  class DeleteFilesRequest < TencentCloud::Common::AbstractModel
1197
1251
  # @param ProjectId: 项目 ID
@@ -1660,6 +1714,33 @@ module TencentCloud
1660
1714
  end
1661
1715
  end
1662
1716
 
1717
+ # DescribeEnvironments请求参数结构体
1718
+ class DescribeEnvironmentsRequest < TencentCloud::Common::AbstractModel
1719
+
1720
+
1721
+ def initialize()
1722
+ end
1723
+
1724
+ def deserialize(params)
1725
+ end
1726
+ end
1727
+
1728
+ # DescribeEnvironments返回参数结构体
1729
+ class DescribeEnvironmentsResponse < TencentCloud::Common::AbstractModel
1730
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1731
+ # @type RequestId: String
1732
+
1733
+ attr_accessor :RequestId
1734
+
1735
+ def initialize(requestid=nil)
1736
+ @RequestId = requestid
1737
+ end
1738
+
1739
+ def deserialize(params)
1740
+ @RequestId = params['RequestId']
1741
+ end
1742
+ end
1743
+
1663
1744
  # DescribeErrorSummary请求参数结构体
1664
1745
  class DescribeErrorSummaryRequest < TencentCloud::Common::AbstractModel
1665
1746
  # @param JobId: 任务ID
@@ -4856,6 +4937,33 @@ module TencentCloud
4856
4937
  end
4857
4938
  end
4858
4939
 
4940
+ # UpdateEnvironment请求参数结构体
4941
+ class UpdateEnvironmentRequest < TencentCloud::Common::AbstractModel
4942
+
4943
+
4944
+ def initialize()
4945
+ end
4946
+
4947
+ def deserialize(params)
4948
+ end
4949
+ end
4950
+
4951
+ # UpdateEnvironment返回参数结构体
4952
+ class UpdateEnvironmentResponse < TencentCloud::Common::AbstractModel
4953
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4954
+ # @type RequestId: String
4955
+
4956
+ attr_accessor :RequestId
4957
+
4958
+ def initialize(requestid=nil)
4959
+ @RequestId = requestid
4960
+ end
4961
+
4962
+ def deserialize(params)
4963
+ @RequestId = params['RequestId']
4964
+ end
4965
+ end
4966
+
4859
4967
  # UpdateFileScenarioRelation请求参数结构体
4860
4968
  class UpdateFileScenarioRelationRequest < TencentCloud::Common::AbstractModel
4861
4969
  # @param FileId: 文件 ID。其值应为前序步骤上传该文件到 cos 桶后,文件在 cos 桶中的相应目录
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-pts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.789
4
+ version: 3.0.791
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-24 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common