tencentcloud-sdk-oceanus 3.0.922 → 3.0.924
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: 1061673a2d487d01de47e9b4661e52dd4e7d71cd
|
4
|
+
data.tar.gz: 4f88d48e0b953bc2d3bf426da97ef41396bd9b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8bf96d588070a73c4f64b744bca6073f22af4a10bc55360b4b00ae276e4100ff3f6d89b6c96de03b945f24c941e1855c4dbf76ba8755ecbccbba6a4d37ca9d
|
7
|
+
data.tar.gz: 3d343456c36224dbc40366dd8f7ebb155fc794d537e713e7e8086e72ee5f43bffa1530c5a5688e206672b45228626b1c7d051c0156d375dac1bace14e5c293ff
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.924
|
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.924
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|