tencentcloud-sdk-oceanus 3.0.512 → 3.0.513

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190422/models.rb +139 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5aa694dd0047d216c3c99e98d96ea30a01dc81e
4
- data.tar.gz: ddda7c66a758e5536b6fb6fa017d0c08fa1c0cd6
3
+ metadata.gz: 81396dd6ccdf895c302e631ae0fdf2b2d57fa7bc
4
+ data.tar.gz: 14e556a12c47c905dd9ba0d3d6e6fa700615616c
5
5
  SHA512:
6
- metadata.gz: a661cf529ca334da985354f96bede885026beaa909a3055a568e92313290038eadac174515fcc124ce9e1a90eaf796c05d6fb11a935ccf809b2c65f4448050de
7
- data.tar.gz: 3bafdfe384ce51d5cfc82ebce6d45f19c8dc1d52cec774c88928bb1748abced80beec1aca7684cfe58feb000834cb9a22c3a576e1b03f8a5d16e973ba8195d52
6
+ metadata.gz: 20d880266c0e71c7159add1e2fdcd71a1aa4089442cffdd85056159c041b11adab27ddd83073ffd8d6934644cdf97775f4099ee13581d5c96fbfb4559666bc13
7
+ data.tar.gz: 2053beb6f8a19ebbdf5f072dd60ac8b0a99c8cd2836ac6e91e39c3abc31c849ec5682f186643cf3554740180ed9864cc84543ba76ad96cad094be75bae05b3d8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.512
1
+ 3.0.513
@@ -1549,20 +1549,117 @@ module TencentCloud
1549
1549
 
1550
1550
  # DescribeTreeResources返回参数结构体
1551
1551
  class DescribeTreeResourcesResponse < TencentCloud::Common::AbstractModel
1552
+ # @param ParentId: 父节点ID
1553
+ # 注意:此字段可能返回 null,表示取不到有效值。
1554
+ # @type ParentId: String
1555
+ # @param Id: 文件夹ID
1556
+ # 注意:此字段可能返回 null,表示取不到有效值。
1557
+ # @type Id: String
1558
+ # @param Name: 文件夹名
1559
+ # 注意:此字段可能返回 null,表示取不到有效值。
1560
+ # @type Name: String
1561
+ # @param Items: 文件列表
1562
+ # 注意:此字段可能返回 null,表示取不到有效值。
1563
+ # @type Items: Array
1564
+ # @param Children: 子目录列表
1565
+ # 注意:此字段可能返回 null,表示取不到有效值。
1566
+ # @type Children: Array
1567
+ # @param TotalCount: 资源总数
1568
+ # 注意:此字段可能返回 null,表示取不到有效值。
1569
+ # @type TotalCount: Integer
1552
1570
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1553
1571
  # @type RequestId: String
1554
1572
 
1555
- attr_accessor :RequestId
1573
+ attr_accessor :ParentId, :Id, :Name, :Items, :Children, :TotalCount, :RequestId
1556
1574
 
1557
- def initialize(requestid=nil)
1575
+ def initialize(parentid=nil, id=nil, name=nil, items=nil, children=nil, totalcount=nil, requestid=nil)
1576
+ @ParentId = parentid
1577
+ @Id = id
1578
+ @Name = name
1579
+ @Items = items
1580
+ @Children = children
1581
+ @TotalCount = totalcount
1558
1582
  @RequestId = requestid
1559
1583
  end
1560
1584
 
1561
1585
  def deserialize(params)
1586
+ @ParentId = params['ParentId']
1587
+ @Id = params['Id']
1588
+ @Name = params['Name']
1589
+ unless params['Items'].nil?
1590
+ @Items = []
1591
+ params['Items'].each do |i|
1592
+ treeresourceitem_tmp = TreeResourceItem.new
1593
+ treeresourceitem_tmp.deserialize(i)
1594
+ @Items << treeresourceitem_tmp
1595
+ end
1596
+ end
1597
+ unless params['Children'].nil?
1598
+ @Children = []
1599
+ params['Children'].each do |i|
1600
+ describetreeresourcesrsp_tmp = DescribeTreeResourcesRsp.new
1601
+ describetreeresourcesrsp_tmp.deserialize(i)
1602
+ @Children << describetreeresourcesrsp_tmp
1603
+ end
1604
+ end
1605
+ @TotalCount = params['TotalCount']
1562
1606
  @RequestId = params['RequestId']
1563
1607
  end
1564
1608
  end
1565
1609
 
1610
+ # 树状结构资源列表对象
1611
+ class DescribeTreeResourcesRsp < TencentCloud::Common::AbstractModel
1612
+ # @param ParentId: 父节点ID
1613
+ # @type ParentId: String
1614
+ # @param Id: 文件夹ID
1615
+ # @type Id: String
1616
+ # @param Name: 文件夹名称
1617
+ # @type Name: String
1618
+ # @param Items: 文件夹下资源数字
1619
+ # 注意:此字段可能返回 null,表示取不到有效值。
1620
+ # @type Items: Array
1621
+ # @param Children: 子节点
1622
+ # 注意:此字段可能返回 null,表示取不到有效值。
1623
+ # @type Children: Array
1624
+ # @param TotalCount: 资源总数
1625
+ # 注意:此字段可能返回 null,表示取不到有效值。
1626
+ # @type TotalCount: Integer
1627
+
1628
+ attr_accessor :ParentId, :Id, :Name, :Items, :Children, :TotalCount
1629
+
1630
+ def initialize(parentid=nil, id=nil, name=nil, items=nil, children=nil, totalcount=nil)
1631
+ @ParentId = parentid
1632
+ @Id = id
1633
+ @Name = name
1634
+ @Items = items
1635
+ @Children = children
1636
+ @TotalCount = totalcount
1637
+ end
1638
+
1639
+ def deserialize(params)
1640
+ @ParentId = params['ParentId']
1641
+ @Id = params['Id']
1642
+ @Name = params['Name']
1643
+ unless params['Items'].nil?
1644
+ @Items = []
1645
+ params['Items'].each do |i|
1646
+ treeresourceitem_tmp = TreeResourceItem.new
1647
+ treeresourceitem_tmp.deserialize(i)
1648
+ @Items << treeresourceitem_tmp
1649
+ end
1650
+ end
1651
+ unless params['Children'].nil?
1652
+ @Children = []
1653
+ params['Children'].each do |i|
1654
+ describetreeresourcesrsp_tmp = DescribeTreeResourcesRsp.new
1655
+ describetreeresourcesrsp_tmp.deserialize(i)
1656
+ @Children << describetreeresourcesrsp_tmp
1657
+ end
1658
+ end
1659
+ @TotalCount = params['TotalCount']
1660
+ end
1661
+ end
1662
+
1566
1663
  # 查询作业列表时的过滤器
1567
1664
  class Filter < TencentCloud::Common::AbstractModel
1568
1665
  # @param Name: 要过滤的字段
@@ -2495,6 +2592,46 @@ module TencentCloud
2495
2592
  end
2496
2593
  end
2497
2594
 
2595
+ # 树状结构资源对象
2596
+ class TreeResourceItem < TencentCloud::Common::AbstractModel
2597
+ # @param ResourceId: 资源ID
2598
+ # @type ResourceId: String
2599
+ # @param Name: 资源名称
2600
+ # 注意:此字段可能返回 null,表示取不到有效值。
2601
+ # @type Name: String
2602
+ # @param ResourceType: 资源类型
2603
+ # @type ResourceType: Integer
2604
+ # @param Remark: 备注
2605
+ # 注意:此字段可能返回 null,表示取不到有效值。
2606
+ # @type Remark: String
2607
+ # @param FileName: 文件名
2608
+ # 注意:此字段可能返回 null,表示取不到有效值。
2609
+ # @type FileName: String
2610
+ # @param FolderId: 目录ID
2611
+ # 注意:此字段可能返回 null,表示取不到有效值。
2612
+ # @type FolderId: String
2613
+
2614
+ attr_accessor :ResourceId, :Name, :ResourceType, :Remark, :FileName, :FolderId
2615
+
2616
+ def initialize(resourceid=nil, name=nil, resourcetype=nil, remark=nil, filename=nil, folderid=nil)
2617
+ @ResourceId = resourceid
2618
+ @Name = name
2619
+ @ResourceType = resourcetype
2620
+ @Remark = remark
2621
+ @FileName = filename
2622
+ @FolderId = folderid
2623
+ end
2624
+
2625
+ def deserialize(params)
2626
+ @ResourceId = params['ResourceId']
2627
+ @Name = params['Name']
2628
+ @ResourceType = params['ResourceType']
2629
+ @Remark = params['Remark']
2630
+ @FileName = params['FileName']
2631
+ @FolderId = params['FolderId']
2632
+ end
2633
+ end
2634
+
2498
2635
  # TriggerJobSavepoint请求参数结构体
2499
2636
  class TriggerJobSavepointRequest < TencentCloud::Common::AbstractModel
2500
2637
  # @param JobId: 作业 SerialId
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.512
4
+ version: 3.0.513
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-02-20 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common