tencentcloud-sdk-oceanus 3.0.390 → 3.0.393

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: aee1accc3d50763cdea0f894bbd88e88f26541b1
4
- data.tar.gz: a000da34e3150c36abc77acb69c69807cfd8630a
3
+ metadata.gz: 5d6300a033e085873916c095ea557c4e32194dd5
4
+ data.tar.gz: 1b1f352cb271276c83cdf6dc6e5f01a525435108
5
5
  SHA512:
6
- metadata.gz: a7519daf41641af9cf3c6d645d47c6d386677687403bfc13078433d40a85da69ae92b3cc95318bd43e9aaa418117155c280a83ba98eaf47fe5141d3f310efa86
7
- data.tar.gz: 22ba855019530155fe3a251b7edbdaf8a0a2bb8bfcf6234f2ab927896592bd4ce68f9b9349107e6236e27561f8605b152bb805fe947b8b2b3c4eacea6be5787f
6
+ metadata.gz: 2cdb497cc0564a860387d9749cd6c9fd225f8adf6de697007bff4cb4e1fedf86631ca1365b4a622d3e67f64c295c3bd2cc12042e33d4dd4924d18294d3012811
7
+ data.tar.gz: 53b00abd31ca2f70a76da7fa509fe40be05f8b0fe0843fd96cfea2bc497d176c17a8943f9c735248338a7048fe4e2a267d723b85db8690d534c11b50c56bc61a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
1
+ 3.0.393
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 查询树状结构资源列表
513
+
514
+ # @param request: Request instance for DescribeTreeResources.
515
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DescribeTreeResourcesRequest`
516
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DescribeTreeResourcesResponse`
517
+ def DescribeTreeResources(request)
518
+ body = send_request('DescribeTreeResources', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = DescribeTreeResourcesResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 更新作业属性,仅允许以下3种操作,不支持组合操作:
513
537
  # (1) 更新作业名称
514
538
  # (2) 更新作业备注
@@ -1522,6 +1522,38 @@ module TencentCloud
1522
1522
  end
1523
1523
  end
1524
1524
 
1525
+ # DescribeTreeResources请求参数结构体
1526
+ class DescribeTreeResourcesRequest < TencentCloud::Common::AbstractModel
1527
+ # @param WorkSpaceId: 工作空间 SerialId
1528
+ # @type WorkSpaceId: String
1529
+
1530
+ attr_accessor :WorkSpaceId
1531
+
1532
+ def initialize(workspaceid=nil)
1533
+ @WorkSpaceId = workspaceid
1534
+ end
1535
+
1536
+ def deserialize(params)
1537
+ @WorkSpaceId = params['WorkSpaceId']
1538
+ end
1539
+ end
1540
+
1541
+ # DescribeTreeResources返回参数结构体
1542
+ class DescribeTreeResourcesResponse < TencentCloud::Common::AbstractModel
1543
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1544
+ # @type RequestId: String
1545
+
1546
+ attr_accessor :RequestId
1547
+
1548
+ def initialize(requestid=nil)
1549
+ @RequestId = requestid
1550
+ end
1551
+
1552
+ def deserialize(params)
1553
+ @RequestId = params['RequestId']
1554
+ end
1555
+ end
1556
+
1525
1557
  # 查询作业列表时的过滤器
1526
1558
  class Filter < TencentCloud::Common::AbstractModel
1527
1559
  # @param Name: 要过滤的字段
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-oceanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.390
4
+ version: 3.0.393
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-08-18 00:00:00.000000000 Z
11
+ date: 2022-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common