tencentcloud-sdk-oceanus 3.0.737 → 3.0.739
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 +103 -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: ead6b0461292d194ee0378521878c52524f05a97
|
4
|
+
data.tar.gz: ebc24294f29eb6a4428048c15859ecf62bf0aa88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4995c55b06bf7eea73a9ba155b473e0038028e236bbc76949b0314b2850fc81731e08a4a869666a94ae2664fa9ff7f3cc053e9248ab684f1a98f6d61d1c18c5
|
7
|
+
data.tar.gz: 54d63e126dd8954a210993adb13a3073da3cde00412dd516c4fccd9a2533d9b3e52b17c083c6330e690bf275cc5b73a4402c9c60af28ebfc15a4507cd4ab8a80
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.739
|
data/lib/v20190422/client.rb
CHANGED
@@ -749,6 +749,30 @@ module TencentCloud
|
|
749
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
750
|
end
|
751
751
|
|
752
|
+
# 查询元数据表
|
753
|
+
|
754
|
+
# @param request: Request instance for GetMetaTable.
|
755
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::GetMetaTableRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::GetMetaTableResponse`
|
757
|
+
def GetMetaTable(request)
|
758
|
+
body = send_request('GetMetaTable', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = GetMetaTableResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
752
776
|
# 自定义树状结构页面拖拽文件夹
|
753
777
|
|
754
778
|
# @param request: Request instance for ModifyFolder.
|
data/lib/v20190422/models.rb
CHANGED
@@ -1951,15 +1951,18 @@ module TencentCloud
|
|
1951
1951
|
# @type Limit: Integer
|
1952
1952
|
# @param WorkSpaceId: 工作空间 SerialId
|
1953
1953
|
# @type WorkSpaceId: String
|
1954
|
+
# @param ExtraResult: 查询额外的作业信息,例如 JobEventInfo
|
1955
|
+
# @type ExtraResult: Array
|
1954
1956
|
|
1955
|
-
attr_accessor :JobIds, :Filters, :Offset, :Limit, :WorkSpaceId
|
1957
|
+
attr_accessor :JobIds, :Filters, :Offset, :Limit, :WorkSpaceId, :ExtraResult
|
1956
1958
|
|
1957
|
-
def initialize(jobids=nil, filters=nil, offset=nil, limit=nil, workspaceid=nil)
|
1959
|
+
def initialize(jobids=nil, filters=nil, offset=nil, limit=nil, workspaceid=nil, extraresult=nil)
|
1958
1960
|
@JobIds = jobids
|
1959
1961
|
@Filters = filters
|
1960
1962
|
@Offset = offset
|
1961
1963
|
@Limit = limit
|
1962
1964
|
@WorkSpaceId = workspaceid
|
1965
|
+
@ExtraResult = extraresult
|
1963
1966
|
end
|
1964
1967
|
|
1965
1968
|
def deserialize(params)
|
@@ -1975,6 +1978,7 @@ module TencentCloud
|
|
1975
1978
|
@Offset = params['Offset']
|
1976
1979
|
@Limit = params['Limit']
|
1977
1980
|
@WorkSpaceId = params['WorkSpaceId']
|
1981
|
+
@ExtraResult = params['ExtraResult']
|
1978
1982
|
end
|
1979
1983
|
end
|
1980
1984
|
|
@@ -2818,6 +2822,76 @@ module TencentCloud
|
|
2818
2822
|
end
|
2819
2823
|
end
|
2820
2824
|
|
2825
|
+
# GetMetaTable请求参数结构体
|
2826
|
+
class GetMetaTableRequest < TencentCloud::Common::AbstractModel
|
2827
|
+
# @param Catalog: Catalog名
|
2828
|
+
# @type Catalog: String
|
2829
|
+
# @param Database: Database名
|
2830
|
+
# @type Database: String
|
2831
|
+
# @param Table: Table名
|
2832
|
+
# @type Table: String
|
2833
|
+
# @param WorkSpaceId: 空间唯一标识
|
2834
|
+
# @type WorkSpaceId: String
|
2835
|
+
|
2836
|
+
attr_accessor :Catalog, :Database, :Table, :WorkSpaceId
|
2837
|
+
|
2838
|
+
def initialize(catalog=nil, database=nil, table=nil, workspaceid=nil)
|
2839
|
+
@Catalog = catalog
|
2840
|
+
@Database = database
|
2841
|
+
@Table = table
|
2842
|
+
@WorkSpaceId = workspaceid
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
def deserialize(params)
|
2846
|
+
@Catalog = params['Catalog']
|
2847
|
+
@Database = params['Database']
|
2848
|
+
@Table = params['Table']
|
2849
|
+
@WorkSpaceId = params['WorkSpaceId']
|
2850
|
+
end
|
2851
|
+
end
|
2852
|
+
|
2853
|
+
# GetMetaTable返回参数结构体
|
2854
|
+
class GetMetaTableResponse < TencentCloud::Common::AbstractModel
|
2855
|
+
# @param SerialId: 元数据表唯一标识
|
2856
|
+
# @type SerialId: String
|
2857
|
+
# @param Catalog: Catalog名
|
2858
|
+
# @type Catalog: String
|
2859
|
+
# @param Database: Database名
|
2860
|
+
# @type Database: String
|
2861
|
+
# @param Table: Table名
|
2862
|
+
# @type Table: String
|
2863
|
+
# @param DDL: 建表语句,使用 Base64 编码。
|
2864
|
+
# 例如
|
2865
|
+
# Q1JFQVRFIFRBQkxFIGRhdGFnZW5fc291cmNlX3RhYmxlICggCiAgICBpZCBJTlQsIAogICAgbmFtZSBTVFJJTkcgCikgV0lUSCAoCidjb25uZWN0b3InPSdkYXRhZ2VuJywKJ3Jvd3MtcGVyLXNlY29uZCcgPSAnMScKKTs=
|
2866
|
+
# @type DDL: String
|
2867
|
+
# @param CreateTime: 场景时间
|
2868
|
+
# @type CreateTime: String
|
2869
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2870
|
+
# @type RequestId: String
|
2871
|
+
|
2872
|
+
attr_accessor :SerialId, :Catalog, :Database, :Table, :DDL, :CreateTime, :RequestId
|
2873
|
+
|
2874
|
+
def initialize(serialid=nil, catalog=nil, database=nil, table=nil, ddl=nil, createtime=nil, requestid=nil)
|
2875
|
+
@SerialId = serialid
|
2876
|
+
@Catalog = catalog
|
2877
|
+
@Database = database
|
2878
|
+
@Table = table
|
2879
|
+
@DDL = ddl
|
2880
|
+
@CreateTime = createtime
|
2881
|
+
@RequestId = requestid
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
def deserialize(params)
|
2885
|
+
@SerialId = params['SerialId']
|
2886
|
+
@Catalog = params['Catalog']
|
2887
|
+
@Database = params['Database']
|
2888
|
+
@Table = params['Table']
|
2889
|
+
@DDL = params['DDL']
|
2890
|
+
@CreateTime = params['CreateTime']
|
2891
|
+
@RequestId = params['RequestId']
|
2892
|
+
end
|
2893
|
+
end
|
2894
|
+
|
2821
2895
|
# 作业配置详情
|
2822
2896
|
class JobConfig < TencentCloud::Common::AbstractModel
|
2823
2897
|
# @param JobId: 作业Id
|
@@ -3046,6 +3120,23 @@ module TencentCloud
|
|
3046
3120
|
end
|
3047
3121
|
end
|
3048
3122
|
|
3123
|
+
# 事件信息
|
3124
|
+
class JobEventInfo < TencentCloud::Common::AbstractModel
|
3125
|
+
# @param ErrorEventTotal: 异常事件总数
|
3126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3127
|
+
# @type ErrorEventTotal: Integer
|
3128
|
+
|
3129
|
+
attr_accessor :ErrorEventTotal
|
3130
|
+
|
3131
|
+
def initialize(erroreventtotal=nil)
|
3132
|
+
@ErrorEventTotal = erroreventtotal
|
3133
|
+
end
|
3134
|
+
|
3135
|
+
def deserialize(params)
|
3136
|
+
@ErrorEventTotal = params['ErrorEventTotal']
|
3137
|
+
end
|
3138
|
+
end
|
3139
|
+
|
3049
3140
|
# 作业运行图
|
3050
3141
|
class JobGraph < TencentCloud::Common::AbstractModel
|
3051
3142
|
# @param Nodes: 运行图的点集合
|
@@ -3258,10 +3349,13 @@ module TencentCloud
|
|
3258
3349
|
# @param Tags: 作业标签
|
3259
3350
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3260
3351
|
# @type Tags: Array
|
3352
|
+
# @param EventInfo: 作业异常事件信息
|
3353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3354
|
+
# @type EventInfo: :class:`Tencentcloud::Oceanus.v20190422.models.JobEventInfo`
|
3261
3355
|
|
3262
|
-
attr_accessor :JobId, :Region, :Zone, :AppId, :OwnerUin, :CreatorUin, :Name, :JobType, :Status, :CreateTime, :StartTime, :StopTime, :UpdateTime, :TotalRunMillis, :Remark, :LastOpResult, :ClusterName, :LatestJobConfigVersion, :PublishedJobConfigVersion, :RunningCuNum, :CuMem, :StatusDesc, :CurrentRunMillis, :ClusterId, :WebUIUrl, :SchedulerType, :ClusterStatus, :RunningCu, :FlinkVersion, :WorkSpaceId, :WorkSpaceName, :Tags
|
3356
|
+
attr_accessor :JobId, :Region, :Zone, :AppId, :OwnerUin, :CreatorUin, :Name, :JobType, :Status, :CreateTime, :StartTime, :StopTime, :UpdateTime, :TotalRunMillis, :Remark, :LastOpResult, :ClusterName, :LatestJobConfigVersion, :PublishedJobConfigVersion, :RunningCuNum, :CuMem, :StatusDesc, :CurrentRunMillis, :ClusterId, :WebUIUrl, :SchedulerType, :ClusterStatus, :RunningCu, :FlinkVersion, :WorkSpaceId, :WorkSpaceName, :Tags, :EventInfo
|
3263
3357
|
|
3264
|
-
def initialize(jobid=nil, region=nil, zone=nil, appid=nil, owneruin=nil, creatoruin=nil, name=nil, jobtype=nil, status=nil, createtime=nil, starttime=nil, stoptime=nil, updatetime=nil, totalrunmillis=nil, remark=nil, lastopresult=nil, clustername=nil, latestjobconfigversion=nil, publishedjobconfigversion=nil, runningcunum=nil, cumem=nil, statusdesc=nil, currentrunmillis=nil, clusterid=nil, webuiurl=nil, schedulertype=nil, clusterstatus=nil, runningcu=nil, flinkversion=nil, workspaceid=nil, workspacename=nil, tags=nil)
|
3358
|
+
def initialize(jobid=nil, region=nil, zone=nil, appid=nil, owneruin=nil, creatoruin=nil, name=nil, jobtype=nil, status=nil, createtime=nil, starttime=nil, stoptime=nil, updatetime=nil, totalrunmillis=nil, remark=nil, lastopresult=nil, clustername=nil, latestjobconfigversion=nil, publishedjobconfigversion=nil, runningcunum=nil, cumem=nil, statusdesc=nil, currentrunmillis=nil, clusterid=nil, webuiurl=nil, schedulertype=nil, clusterstatus=nil, runningcu=nil, flinkversion=nil, workspaceid=nil, workspacename=nil, tags=nil, eventinfo=nil)
|
3265
3359
|
@JobId = jobid
|
3266
3360
|
@Region = region
|
3267
3361
|
@Zone = zone
|
@@ -3294,6 +3388,7 @@ module TencentCloud
|
|
3294
3388
|
@WorkSpaceId = workspaceid
|
3295
3389
|
@WorkSpaceName = workspacename
|
3296
3390
|
@Tags = tags
|
3391
|
+
@EventInfo = eventinfo
|
3297
3392
|
end
|
3298
3393
|
|
3299
3394
|
def deserialize(params)
|
@@ -3336,6 +3431,10 @@ module TencentCloud
|
|
3336
3431
|
@Tags << tag_tmp
|
3337
3432
|
end
|
3338
3433
|
end
|
3434
|
+
unless params['EventInfo'].nil?
|
3435
|
+
@EventInfo = JobEventInfo.new
|
3436
|
+
@EventInfo.deserialize(params['EventInfo'])
|
3437
|
+
end
|
3339
3438
|
end
|
3340
3439
|
end
|
3341
3440
|
|
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.739
|
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-
|
11
|
+
date: 2023-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|