tencentcloud-sdk-tem 1.0.360 → 1.0.363

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: b79395e2e4c9df9487d7c02dce961fe189e7b715
4
- data.tar.gz: 8a428bc9cbbc9ffb4332180291347fa352ae363b
3
+ metadata.gz: 3deb6ded0cb3b0297a71a78f7f8c9f28c89baece
4
+ data.tar.gz: fc723c5d6a13133688460ed26a4144ce8f6fbc99
5
5
  SHA512:
6
- metadata.gz: da86625cea7ae2c56f7f2828be7838eac4283a0f79fbc74d2557f41c5587ecc8651e9211bb97331ed4bb17ef191b13ed433e8dd0aa38b52fcfa8fd0327e2549e
7
- data.tar.gz: 1752b55d58a8412ce08a4d6a0d2e631927fa57045a3d85e6b3fb1c0548bb895322c56cbb6a5bf0ca3e150fc46c163cf562b28772f794bcaf97958e0610dceb79
6
+ metadata.gz: 5b6836b69a83e301358d39034e2268a8659aa63774e7fe726861970991ce08d794adc22690609bee83a96844757b57dfd5f4b3962d09c19333012f40961c3c6d
7
+ data.tar.gz: d5716443b616ea493e8c32125a42cbface615233609a19eecda0397bab224d478a5e749f9fc0b50198dcedb0ac53922efea3fff59ad43c7e4830afdbc12c8668
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.360
1
+ 1.0.363
@@ -368,6 +368,30 @@ module TencentCloud
368
368
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
369
369
  end
370
370
 
371
+ # 销毁命名空间
372
+
373
+ # @param request: Request instance for DestroyEnvironment.
374
+ # @type request: :class:`Tencentcloud::tem::V20210701::DestroyEnvironmentRequest`
375
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DestroyEnvironmentResponse`
376
+ def DestroyEnvironment(request)
377
+ body = send_request('DestroyEnvironment', request.serialize)
378
+ response = JSON.parse(body)
379
+ if response['Response'].key?('Error') == false
380
+ model = DestroyEnvironmentResponse.new
381
+ model.deserialize(response['Response'])
382
+ model
383
+ else
384
+ code = response['Response']['Error']['Code']
385
+ message = response['Response']['Error']['Message']
386
+ reqid = response['Response']['RequestId']
387
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
388
+ end
389
+ rescue TencentCloud::Common::TencentCloudSDKException => e
390
+ raise e
391
+ rescue StandardError => e
392
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
393
+ end
394
+
371
395
  # 生成应用程序包预签名下载链接
372
396
 
373
397
  # @param request: Request instance for GenerateApplicationPackageDownloadUrl.
@@ -1330,6 +1330,46 @@ module TencentCloud
1330
1330
  end
1331
1331
  end
1332
1332
 
1333
+ # DestroyEnvironment请求参数结构体
1334
+ class DestroyEnvironmentRequest < TencentCloud::Common::AbstractModel
1335
+ # @param EnvironmentId: 命名空间ID
1336
+ # @type EnvironmentId: String
1337
+ # @param SourceChannel: Namespace
1338
+ # @type SourceChannel: Integer
1339
+
1340
+ attr_accessor :EnvironmentId, :SourceChannel
1341
+
1342
+ def initialize(environmentid=nil, sourcechannel=nil)
1343
+ @EnvironmentId = environmentid
1344
+ @SourceChannel = sourcechannel
1345
+ end
1346
+
1347
+ def deserialize(params)
1348
+ @EnvironmentId = params['EnvironmentId']
1349
+ @SourceChannel = params['SourceChannel']
1350
+ end
1351
+ end
1352
+
1353
+ # DestroyEnvironment返回参数结构体
1354
+ class DestroyEnvironmentResponse < TencentCloud::Common::AbstractModel
1355
+ # @param Result: 返回结果
1356
+ # @type Result: Boolean
1357
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1358
+ # @type RequestId: String
1359
+
1360
+ attr_accessor :Result, :RequestId
1361
+
1362
+ def initialize(result=nil, requestid=nil)
1363
+ @Result = result
1364
+ @RequestId = requestid
1365
+ end
1366
+
1367
+ def deserialize(params)
1368
+ @Result = params['Result']
1369
+ @RequestId = params['RequestId']
1370
+ end
1371
+ end
1372
+
1333
1373
  # eks service info
1334
1374
  class EksService < TencentCloud::Common::AbstractModel
1335
1375
  # @param Name: service name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.360
4
+ version: 1.0.363
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-07-20 00:00:00.000000000 Z
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common