tencentcloud-sdk-oceanus 3.0.390 → 3.0.398
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190422/client.rb +24 -0
- data/lib/v20190422/models.rb +50 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e3809289f737162dbed0f8191f069e5388c3a6b
|
|
4
|
+
data.tar.gz: 0a2062398c60551624c08355b014a027da0897ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d9c673d148d99e9e1665e276e6d3fe5c61f6683461ae0a84e57bc498815af5c90e07af12268ad1278788094a6cc8c0a39ab3cdf38b1c900e13df8b0ffab343c
|
|
7
|
+
data.tar.gz: 25b04a6731a405665fb30866f296c9f702bf4cfa456d869fd6b81d207e51d820e8f5f7a7904bdd3ad534a0924a8d542a59146dabd1cbd3ea8085766bfb748e3d
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.398
|
data/lib/v20190422/client.rb
CHANGED
|
@@ -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) 更新作业备注
|
data/lib/v20190422/models.rb
CHANGED
|
@@ -481,10 +481,12 @@ module TencentCloud
|
|
|
481
481
|
# @type WorkSpaceId: String
|
|
482
482
|
# @param LogLevel: 日志级别
|
|
483
483
|
# @type LogLevel: String
|
|
484
|
+
# @param AutoRecover: Oceanus 平台恢复作业开关 1:开启 -1: 关闭
|
|
485
|
+
# @type AutoRecover: Integer
|
|
484
486
|
|
|
485
|
-
attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :ResourceRefs, :DefaultParallelism, :Properties, :AutoDelete, :COSBucket, :LogCollect, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :LogCollectType, :PythonVersion, :WorkSpaceId, :LogLevel
|
|
487
|
+
attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :ResourceRefs, :DefaultParallelism, :Properties, :AutoDelete, :COSBucket, :LogCollect, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :LogCollectType, :PythonVersion, :WorkSpaceId, :LogLevel, :AutoRecover
|
|
486
488
|
|
|
487
|
-
def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, resourcerefs=nil, defaultparallelism=nil, properties=nil, autodelete=nil, cosbucket=nil, logcollect=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, logcollecttype=nil, pythonversion=nil, workspaceid=nil, loglevel=nil)
|
|
489
|
+
def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, resourcerefs=nil, defaultparallelism=nil, properties=nil, autodelete=nil, cosbucket=nil, logcollect=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, logcollecttype=nil, pythonversion=nil, workspaceid=nil, loglevel=nil, autorecover=nil)
|
|
488
490
|
@JobId = jobid
|
|
489
491
|
@EntrypointClass = entrypointclass
|
|
490
492
|
@ProgramArgs = programargs
|
|
@@ -503,6 +505,7 @@ module TencentCloud
|
|
|
503
505
|
@PythonVersion = pythonversion
|
|
504
506
|
@WorkSpaceId = workspaceid
|
|
505
507
|
@LogLevel = loglevel
|
|
508
|
+
@AutoRecover = autorecover
|
|
506
509
|
end
|
|
507
510
|
|
|
508
511
|
def deserialize(params)
|
|
@@ -538,6 +541,7 @@ module TencentCloud
|
|
|
538
541
|
@PythonVersion = params['PythonVersion']
|
|
539
542
|
@WorkSpaceId = params['WorkSpaceId']
|
|
540
543
|
@LogLevel = params['LogLevel']
|
|
544
|
+
@AutoRecover = params['AutoRecover']
|
|
541
545
|
end
|
|
542
546
|
end
|
|
543
547
|
|
|
@@ -1522,6 +1526,38 @@ module TencentCloud
|
|
|
1522
1526
|
end
|
|
1523
1527
|
end
|
|
1524
1528
|
|
|
1529
|
+
# DescribeTreeResources请求参数结构体
|
|
1530
|
+
class DescribeTreeResourcesRequest < TencentCloud::Common::AbstractModel
|
|
1531
|
+
# @param WorkSpaceId: 工作空间 SerialId
|
|
1532
|
+
# @type WorkSpaceId: String
|
|
1533
|
+
|
|
1534
|
+
attr_accessor :WorkSpaceId
|
|
1535
|
+
|
|
1536
|
+
def initialize(workspaceid=nil)
|
|
1537
|
+
@WorkSpaceId = workspaceid
|
|
1538
|
+
end
|
|
1539
|
+
|
|
1540
|
+
def deserialize(params)
|
|
1541
|
+
@WorkSpaceId = params['WorkSpaceId']
|
|
1542
|
+
end
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
# DescribeTreeResources返回参数结构体
|
|
1546
|
+
class DescribeTreeResourcesResponse < TencentCloud::Common::AbstractModel
|
|
1547
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1548
|
+
# @type RequestId: String
|
|
1549
|
+
|
|
1550
|
+
attr_accessor :RequestId
|
|
1551
|
+
|
|
1552
|
+
def initialize(requestid=nil)
|
|
1553
|
+
@RequestId = requestid
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1556
|
+
def deserialize(params)
|
|
1557
|
+
@RequestId = params['RequestId']
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1525
1561
|
# 查询作业列表时的过滤器
|
|
1526
1562
|
class Filter < TencentCloud::Common::AbstractModel
|
|
1527
1563
|
# @param Name: 要过滤的字段
|
|
@@ -1598,10 +1634,16 @@ module TencentCloud
|
|
|
1598
1634
|
# @param PythonVersion: pyflink作业运行的python版本
|
|
1599
1635
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1600
1636
|
# @type PythonVersion: String
|
|
1637
|
+
# @param AutoRecover: Oceanus 平台恢复作业开关 1:开启 -1: 关闭
|
|
1638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1639
|
+
# @type AutoRecover: Integer
|
|
1640
|
+
# @param LogLevel: 日志级别
|
|
1641
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1642
|
+
# @type LogLevel: String
|
|
1601
1643
|
|
|
1602
|
-
attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :CreateTime, :Version, :DefaultParallelism, :Properties, :ResourceRefDetails, :CreatorUin, :UpdateTime, :COSBucket, :LogCollect, :MaxParallelism, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :PythonVersion
|
|
1644
|
+
attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :CreateTime, :Version, :DefaultParallelism, :Properties, :ResourceRefDetails, :CreatorUin, :UpdateTime, :COSBucket, :LogCollect, :MaxParallelism, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :PythonVersion, :AutoRecover, :LogLevel
|
|
1603
1645
|
|
|
1604
|
-
def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, createtime=nil, version=nil, defaultparallelism=nil, properties=nil, resourcerefdetails=nil, creatoruin=nil, updatetime=nil, cosbucket=nil, logcollect=nil, maxparallelism=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, pythonversion=nil)
|
|
1646
|
+
def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, createtime=nil, version=nil, defaultparallelism=nil, properties=nil, resourcerefdetails=nil, creatoruin=nil, updatetime=nil, cosbucket=nil, logcollect=nil, maxparallelism=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, pythonversion=nil, autorecover=nil, loglevel=nil)
|
|
1605
1647
|
@JobId = jobid
|
|
1606
1648
|
@EntrypointClass = entrypointclass
|
|
1607
1649
|
@ProgramArgs = programargs
|
|
@@ -1621,6 +1663,8 @@ module TencentCloud
|
|
|
1621
1663
|
@ClsLogsetId = clslogsetid
|
|
1622
1664
|
@ClsTopicId = clstopicid
|
|
1623
1665
|
@PythonVersion = pythonversion
|
|
1666
|
+
@AutoRecover = autorecover
|
|
1667
|
+
@LogLevel = loglevel
|
|
1624
1668
|
end
|
|
1625
1669
|
|
|
1626
1670
|
def deserialize(params)
|
|
@@ -1657,6 +1701,8 @@ module TencentCloud
|
|
|
1657
1701
|
@ClsLogsetId = params['ClsLogsetId']
|
|
1658
1702
|
@ClsTopicId = params['ClsTopicId']
|
|
1659
1703
|
@PythonVersion = params['PythonVersion']
|
|
1704
|
+
@AutoRecover = params['AutoRecover']
|
|
1705
|
+
@LogLevel = params['LogLevel']
|
|
1660
1706
|
end
|
|
1661
1707
|
end
|
|
1662
1708
|
|
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.
|
|
4
|
+
version: 3.0.398
|
|
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-
|
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|