tencentcloud-sdk-oceanus 3.0.718 → 3.0.719

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: 90763476b0804b99508abd40205f960a1c251368
4
- data.tar.gz: 6357ab241bdfe68c024ba9f90e64b00a079ffdf8
3
+ metadata.gz: af71339b28ab4aebf5ceef6857e41759b1a73a05
4
+ data.tar.gz: a77c0a701438aa0bca1cd904b8b4b2dbe9f0c5ee
5
5
  SHA512:
6
- metadata.gz: abf59d5a20fd5a669a9778780a290821375824dac33631a4b6d6895729ed1c0e2c4e75fc63f9818db4f188d38eaba5c4ab413932c2c6d84520afc5563bfd7854
7
- data.tar.gz: 4781acd13389160b6450ff632e3c5dea335e5376fed4f937d736ece9a9e9be8887c5ab90b04d48539209237ced9684379120c6d3b1bef046b3e7545823c4ec6e
6
+ metadata.gz: 71cf189c88e3573c621155130acae3816fead12fbfb701937c21ac9af79df442044f35fe5cbb62dc7f129b916cbbc1fd9d4e6681a7933881369ce91519fffcee
7
+ data.tar.gz: 133705205de41b35411aa1b564592cc49520193bc23f41584a53fdb21d5caa780c0f05d59bed62d03aa3c661783d5a4a883ce578c1ba30743e6753768c9fde59
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.718
1
+ 3.0.719
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 查询指定文件夹及其相应的子文件夹信息
417
+
418
+ # @param request: Request instance for DescribeFolder.
419
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DescribeFolderRequest`
420
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DescribeFolderResponse`
421
+ def DescribeFolder(request)
422
+ body = send_request('DescribeFolder', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = DescribeFolderResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 查询作业配置列表,一次最多查询100个
417
441
 
418
442
  # @param request: Request instance for DescribeJobConfigs.
@@ -1528,6 +1528,79 @@ module TencentCloud
1528
1528
  end
1529
1529
  end
1530
1530
 
1531
+ # DescribeFolder请求参数结构体
1532
+ class DescribeFolderRequest < TencentCloud::Common::AbstractModel
1533
+ # @param FolderId: folder id
1534
+ # @type FolderId: String
1535
+ # @param WorkSpaceId: workspace id
1536
+ # @type WorkSpaceId: String
1537
+ # @param FolderType: 1:资源文件夹
1538
+ # 其他:作业文件夹
1539
+ # @type FolderType: Integer
1540
+
1541
+ attr_accessor :FolderId, :WorkSpaceId, :FolderType
1542
+
1543
+ def initialize(folderid=nil, workspaceid=nil, foldertype=nil)
1544
+ @FolderId = folderid
1545
+ @WorkSpaceId = workspaceid
1546
+ @FolderType = foldertype
1547
+ end
1548
+
1549
+ def deserialize(params)
1550
+ @FolderId = params['FolderId']
1551
+ @WorkSpaceId = params['WorkSpaceId']
1552
+ @FolderType = params['FolderType']
1553
+ end
1554
+ end
1555
+
1556
+ # DescribeFolder返回参数结构体
1557
+ class DescribeFolderResponse < TencentCloud::Common::AbstractModel
1558
+ # @param FolderId: folder id
1559
+ # @type FolderId: String
1560
+ # @param FolderName: folder name
1561
+ # @type FolderName: String
1562
+ # @param ParentId: 父文件夹id
1563
+ # @type ParentId: String
1564
+ # @param FolderType: 文件夹类型
1565
+ # @type FolderType: Integer
1566
+ # @param WorkSpaceId: workspace id
1567
+ # @type WorkSpaceId: String
1568
+ # @param SubFolderInfo: 子文件夹信息
1569
+ # 注意:此字段可能返回 null,表示取不到有效值。
1570
+ # @type SubFolderInfo: Array
1571
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1572
+ # @type RequestId: String
1573
+
1574
+ attr_accessor :FolderId, :FolderName, :ParentId, :FolderType, :WorkSpaceId, :SubFolderInfo, :RequestId
1575
+
1576
+ def initialize(folderid=nil, foldername=nil, parentid=nil, foldertype=nil, workspaceid=nil, subfolderinfo=nil, requestid=nil)
1577
+ @FolderId = folderid
1578
+ @FolderName = foldername
1579
+ @ParentId = parentid
1580
+ @FolderType = foldertype
1581
+ @WorkSpaceId = workspaceid
1582
+ @SubFolderInfo = subfolderinfo
1583
+ @RequestId = requestid
1584
+ end
1585
+
1586
+ def deserialize(params)
1587
+ @FolderId = params['FolderId']
1588
+ @FolderName = params['FolderName']
1589
+ @ParentId = params['ParentId']
1590
+ @FolderType = params['FolderType']
1591
+ @WorkSpaceId = params['WorkSpaceId']
1592
+ unless params['SubFolderInfo'].nil?
1593
+ @SubFolderInfo = []
1594
+ params['SubFolderInfo'].each do |i|
1595
+ subfolderinfo_tmp = SubFolderInfo.new
1596
+ subfolderinfo_tmp.deserialize(i)
1597
+ @SubFolderInfo << subfolderinfo_tmp
1598
+ end
1599
+ end
1600
+ @RequestId = params['RequestId']
1601
+ end
1602
+ end
1603
+
1531
1604
  # DescribeJobConfigs请求参数结构体
1532
1605
  class DescribeJobConfigsRequest < TencentCloud::Common::AbstractModel
1533
1606
  # @param JobId: 作业Id
@@ -4361,6 +4434,26 @@ module TencentCloud
4361
4434
  end
4362
4435
  end
4363
4436
 
4437
+ # 子目录信息
4438
+ class SubFolderInfo < TencentCloud::Common::AbstractModel
4439
+ # @param FolderId: folder id
4440
+ # @type FolderId: String
4441
+ # @param FolderName: folder name
4442
+ # @type FolderName: String
4443
+
4444
+ attr_accessor :FolderId, :FolderName
4445
+
4446
+ def initialize(folderid=nil, foldername=nil)
4447
+ @FolderId = folderid
4448
+ @FolderName = foldername
4449
+ end
4450
+
4451
+ def deserialize(params)
4452
+ @FolderId = params['FolderId']
4453
+ @FolderName = params['FolderName']
4454
+ end
4455
+ end
4456
+
4364
4457
  # 系统资源返回值
4365
4458
  class SystemResourceItem < TencentCloud::Common::AbstractModel
4366
4459
  # @param ResourceId: 资源ID
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.718
4
+ version: 3.0.719
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-12-03 00:00:00.000000000 Z
11
+ date: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common