tencentcloud-sdk-oceanus 3.0.922 → 3.0.923
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190422/client.rb +24 -0
- data/lib/v20190422/models.rb +73 -0
- 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: a483ad670e7af31878dbbf20604599fd38e90ff7
|
4
|
+
data.tar.gz: 8002bea0eee23090a90daab535dc01086d615a8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96d32a673361a097de114e905990a6432672c15b1405df414de6f3c2cab3d8b2bf461f315b224327cba897a985f855005534f2a90eef7503cdcb78bec14f0aa1
|
7
|
+
data.tar.gz: f096ad8a1afdc1cc8b5a3ffde6a7e90a7dd7eacf8dbbfeda15c8958069847520e25d709873492416acb78bbcabebac67b702127dc9c34c809071b17176d04f15
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.923
|
data/lib/v20190422/client.rb
CHANGED
@@ -485,6 +485,30 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
+
# 获取作业运行时的信息
|
489
|
+
|
490
|
+
# @param request: Request instance for DescribeJobRuntimeInfo.
|
491
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::DescribeJobRuntimeInfoRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::DescribeJobRuntimeInfoResponse`
|
493
|
+
def DescribeJobRuntimeInfo(request)
|
494
|
+
body = send_request('DescribeJobRuntimeInfo', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = DescribeJobRuntimeInfoResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
488
512
|
# 查找Savepoint列表
|
489
513
|
|
490
514
|
# @param request: Request instance for DescribeJobSavepoint.
|
data/lib/v20190422/models.rb
CHANGED
@@ -1815,6 +1815,57 @@ module TencentCloud
|
|
1815
1815
|
end
|
1816
1816
|
end
|
1817
1817
|
|
1818
|
+
# DescribeJobRuntimeInfo请求参数结构体
|
1819
|
+
class DescribeJobRuntimeInfoRequest < TencentCloud::Common::AbstractModel
|
1820
|
+
# @param JobId: 作业ID
|
1821
|
+
# @type JobId: String
|
1822
|
+
# @param WorkSpaceId: 工作空间ID
|
1823
|
+
# @type WorkSpaceId: String
|
1824
|
+
# @param IncludeInfo: 作业运行信息 key
|
1825
|
+
# @type IncludeInfo: Array
|
1826
|
+
|
1827
|
+
attr_accessor :JobId, :WorkSpaceId, :IncludeInfo
|
1828
|
+
|
1829
|
+
def initialize(jobid=nil, workspaceid=nil, includeinfo=nil)
|
1830
|
+
@JobId = jobid
|
1831
|
+
@WorkSpaceId = workspaceid
|
1832
|
+
@IncludeInfo = includeinfo
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
def deserialize(params)
|
1836
|
+
@JobId = params['JobId']
|
1837
|
+
@WorkSpaceId = params['WorkSpaceId']
|
1838
|
+
@IncludeInfo = params['IncludeInfo']
|
1839
|
+
end
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# DescribeJobRuntimeInfo返回参数结构体
|
1843
|
+
class DescribeJobRuntimeInfoResponse < TencentCloud::Common::AbstractModel
|
1844
|
+
# @param JobRuntimeInfo: 作业运行时信息
|
1845
|
+
# @type JobRuntimeInfo: Array
|
1846
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1847
|
+
# @type RequestId: String
|
1848
|
+
|
1849
|
+
attr_accessor :JobRuntimeInfo, :RequestId
|
1850
|
+
|
1851
|
+
def initialize(jobruntimeinfo=nil, requestid=nil)
|
1852
|
+
@JobRuntimeInfo = jobruntimeinfo
|
1853
|
+
@RequestId = requestid
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
def deserialize(params)
|
1857
|
+
unless params['JobRuntimeInfo'].nil?
|
1858
|
+
@JobRuntimeInfo = []
|
1859
|
+
params['JobRuntimeInfo'].each do |i|
|
1860
|
+
jobruntimeinfo_tmp = JobRuntimeInfo.new
|
1861
|
+
jobruntimeinfo_tmp.deserialize(i)
|
1862
|
+
@JobRuntimeInfo << jobruntimeinfo_tmp
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
@RequestId = params['RequestId']
|
1866
|
+
end
|
1867
|
+
end
|
1868
|
+
|
1818
1869
|
# DescribeJobSavepoint请求参数结构体
|
1819
1870
|
class DescribeJobSavepointRequest < TencentCloud::Common::AbstractModel
|
1820
1871
|
# @param JobId: 作业 SerialId
|
@@ -3328,6 +3379,28 @@ module TencentCloud
|
|
3328
3379
|
end
|
3329
3380
|
end
|
3330
3381
|
|
3382
|
+
# 作业运行时信息
|
3383
|
+
class JobRuntimeInfo < TencentCloud::Common::AbstractModel
|
3384
|
+
# @param Key: 运行信息的key,目前支持:TaskManagers:taskmanager pod 列表; StreamGraph:作业对应的 StreamGraph;SubTasks:作业的 subtask 列表
|
3385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3386
|
+
# @type Key: String
|
3387
|
+
# @param Value: 运行信息
|
3388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3389
|
+
# @type Value: String
|
3390
|
+
|
3391
|
+
attr_accessor :Key, :Value
|
3392
|
+
|
3393
|
+
def initialize(key=nil, value=nil)
|
3394
|
+
@Key = key
|
3395
|
+
@Value = value
|
3396
|
+
end
|
3397
|
+
|
3398
|
+
def deserialize(params)
|
3399
|
+
@Key = params['Key']
|
3400
|
+
@Value = params['Value']
|
3401
|
+
end
|
3402
|
+
end
|
3403
|
+
|
3331
3404
|
# Job详细信息
|
3332
3405
|
class JobV1 < TencentCloud::Common::AbstractModel
|
3333
3406
|
# @param JobId: 作业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.
|
4
|
+
version: 3.0.923
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|