tencentcloud-sdk-oceanus 3.0.678 → 3.0.680
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 +120 -0
- data/lib/v20190422/models.rb +414 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa35ec2bb8cd1cff131cf1a1d15c44a1e0f0bfd7
|
4
|
+
data.tar.gz: cf746ddfceba7d327693c22b43d99b192925c38f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2db0fa06ab1d9638476e06d1d2d8ef375a3a7ee5a53152188e4304307c1f25dbded4cdd1767a5c0d2026e351190b996827677b4f2c1817be0503fdd6f08668cd
|
7
|
+
data.tar.gz: 9a83e5c916adfb51535927355f772f55dfbdddc17c3879e68c887433a99a0700912b6823b6d6852abf0e9a10b9e7e7388fd2dcf4e0e1e630a230b41ba0c0710e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.680
|
data/lib/v20190422/client.rb
CHANGED
@@ -197,6 +197,78 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 创建工作空间
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateWorkSpace.
|
203
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::CreateWorkSpaceRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::CreateWorkSpaceResponse`
|
205
|
+
def CreateWorkSpace(request)
|
206
|
+
body = send_request('CreateWorkSpace', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateWorkSpaceResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 作业列表删除文件夹
|
225
|
+
|
226
|
+
# @param request: Request instance for DeleteFolders.
|
227
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::DeleteFoldersRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::DeleteFoldersResponse`
|
229
|
+
def DeleteFolders(request)
|
230
|
+
body = send_request('DeleteFolders', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeleteFoldersResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 删除作业配置
|
249
|
+
|
250
|
+
# @param request: Request instance for DeleteJobConfigs.
|
251
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::DeleteJobConfigsRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::DeleteJobConfigsResponse`
|
253
|
+
def DeleteJobConfigs(request)
|
254
|
+
body = send_request('DeleteJobConfigs', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DeleteJobConfigsResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
200
272
|
# 批量删除作业接口,批量操作数量上限20
|
201
273
|
|
202
274
|
# @param request: Request instance for DeleteJobs.
|
@@ -605,6 +677,30 @@ module TencentCloud
|
|
605
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
678
|
end
|
607
679
|
|
680
|
+
# 自定义树状结构页面拖拽文件夹
|
681
|
+
|
682
|
+
# @param request: Request instance for ModifyFolder.
|
683
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::ModifyFolderRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::ModifyFolderResponse`
|
685
|
+
def ModifyFolder(request)
|
686
|
+
body = send_request('ModifyFolder', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = ModifyFolderResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
608
704
|
# 更新作业属性,仅允许以下3种操作,不支持组合操作:
|
609
705
|
# (1) 更新作业名称
|
610
706
|
# (2) 更新作业备注
|
@@ -638,6 +734,30 @@ module TencentCloud
|
|
638
734
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
639
735
|
end
|
640
736
|
|
737
|
+
# 修改工作空间
|
738
|
+
|
739
|
+
# @param request: Request instance for ModifyWorkSpace.
|
740
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::ModifyWorkSpaceRequest`
|
741
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::ModifyWorkSpaceResponse`
|
742
|
+
def ModifyWorkSpace(request)
|
743
|
+
body = send_request('ModifyWorkSpace', request.serialize)
|
744
|
+
response = JSON.parse(body)
|
745
|
+
if response['Response'].key?('Error') == false
|
746
|
+
model = ModifyWorkSpaceResponse.new
|
747
|
+
model.deserialize(response['Response'])
|
748
|
+
model
|
749
|
+
else
|
750
|
+
code = response['Response']['Error']['Code']
|
751
|
+
message = response['Response']['Error']['Message']
|
752
|
+
reqid = response['Response']['RequestId']
|
753
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
754
|
+
end
|
755
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
756
|
+
raise e
|
757
|
+
rescue StandardError => e
|
758
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
759
|
+
end
|
760
|
+
|
641
761
|
# 批量启动或者恢复作业,批量操作数量上限20
|
642
762
|
|
643
763
|
# @param request: Request instance for RunJobs.
|
data/lib/v20190422/models.rb
CHANGED
@@ -1034,6 +1034,126 @@ module TencentCloud
|
|
1034
1034
|
end
|
1035
1035
|
end
|
1036
1036
|
|
1037
|
+
# CreateWorkSpace请求参数结构体
|
1038
|
+
class CreateWorkSpaceRequest < TencentCloud::Common::AbstractModel
|
1039
|
+
# @param WorkSpaceName: 工作空间名称
|
1040
|
+
# @type WorkSpaceName: String
|
1041
|
+
# @param Description: 项目空间备注
|
1042
|
+
# @type Description: String
|
1043
|
+
|
1044
|
+
attr_accessor :WorkSpaceName, :Description
|
1045
|
+
|
1046
|
+
def initialize(workspacename=nil, description=nil)
|
1047
|
+
@WorkSpaceName = workspacename
|
1048
|
+
@Description = description
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
def deserialize(params)
|
1052
|
+
@WorkSpaceName = params['WorkSpaceName']
|
1053
|
+
@Description = params['Description']
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# CreateWorkSpace返回参数结构体
|
1058
|
+
class CreateWorkSpaceResponse < TencentCloud::Common::AbstractModel
|
1059
|
+
# @param WorkSpaceId: 工作空间 SerialId
|
1060
|
+
# @type WorkSpaceId: String
|
1061
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1062
|
+
# @type RequestId: String
|
1063
|
+
|
1064
|
+
attr_accessor :WorkSpaceId, :RequestId
|
1065
|
+
|
1066
|
+
def initialize(workspaceid=nil, requestid=nil)
|
1067
|
+
@WorkSpaceId = workspaceid
|
1068
|
+
@RequestId = requestid
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
def deserialize(params)
|
1072
|
+
@WorkSpaceId = params['WorkSpaceId']
|
1073
|
+
@RequestId = params['RequestId']
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# DeleteFolders请求参数结构体
|
1078
|
+
class DeleteFoldersRequest < TencentCloud::Common::AbstractModel
|
1079
|
+
# @param FolderIds: 需删除的文件夹唯一ID
|
1080
|
+
# @type FolderIds: Array
|
1081
|
+
# @param FolderType: 文件夹类型,0是任务文件夹,1是依赖文件夹
|
1082
|
+
# @type FolderType: Integer
|
1083
|
+
# @param WorkSpaceId: 工作空间 SerialId
|
1084
|
+
# @type WorkSpaceId: String
|
1085
|
+
|
1086
|
+
attr_accessor :FolderIds, :FolderType, :WorkSpaceId
|
1087
|
+
|
1088
|
+
def initialize(folderids=nil, foldertype=nil, workspaceid=nil)
|
1089
|
+
@FolderIds = folderids
|
1090
|
+
@FolderType = foldertype
|
1091
|
+
@WorkSpaceId = workspaceid
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
def deserialize(params)
|
1095
|
+
@FolderIds = params['FolderIds']
|
1096
|
+
@FolderType = params['FolderType']
|
1097
|
+
@WorkSpaceId = params['WorkSpaceId']
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# DeleteFolders返回参数结构体
|
1102
|
+
class DeleteFoldersResponse < TencentCloud::Common::AbstractModel
|
1103
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1104
|
+
# @type RequestId: String
|
1105
|
+
|
1106
|
+
attr_accessor :RequestId
|
1107
|
+
|
1108
|
+
def initialize(requestid=nil)
|
1109
|
+
@RequestId = requestid
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
def deserialize(params)
|
1113
|
+
@RequestId = params['RequestId']
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
# DeleteJobConfigs请求参数结构体
|
1118
|
+
class DeleteJobConfigsRequest < TencentCloud::Common::AbstractModel
|
1119
|
+
# @param JobId: 作业ID
|
1120
|
+
# @type JobId: String
|
1121
|
+
# @param JobConfigVersions: 作业配置版本数组
|
1122
|
+
# @type JobConfigVersions: Array
|
1123
|
+
# @param WorkSpaceId: 工作空间 SerialId
|
1124
|
+
# @type WorkSpaceId: String
|
1125
|
+
|
1126
|
+
attr_accessor :JobId, :JobConfigVersions, :WorkSpaceId
|
1127
|
+
|
1128
|
+
def initialize(jobid=nil, jobconfigversions=nil, workspaceid=nil)
|
1129
|
+
@JobId = jobid
|
1130
|
+
@JobConfigVersions = jobconfigversions
|
1131
|
+
@WorkSpaceId = workspaceid
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
def deserialize(params)
|
1135
|
+
@JobId = params['JobId']
|
1136
|
+
@JobConfigVersions = params['JobConfigVersions']
|
1137
|
+
@WorkSpaceId = params['WorkSpaceId']
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
# DeleteJobConfigs返回参数结构体
|
1142
|
+
class DeleteJobConfigsResponse < TencentCloud::Common::AbstractModel
|
1143
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1144
|
+
# @type RequestId: String
|
1145
|
+
|
1146
|
+
attr_accessor :RequestId
|
1147
|
+
|
1148
|
+
def initialize(requestid=nil)
|
1149
|
+
@RequestId = requestid
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
def deserialize(params)
|
1153
|
+
@RequestId = params['RequestId']
|
1154
|
+
end
|
1155
|
+
end
|
1156
|
+
|
1037
1157
|
# DeleteJobs请求参数结构体
|
1038
1158
|
class DeleteJobsRequest < TencentCloud::Common::AbstractModel
|
1039
1159
|
# @param JobIds: 作业Id列表
|
@@ -2149,27 +2269,77 @@ module TencentCloud
|
|
2149
2269
|
|
2150
2270
|
# FetchSqlGatewayStatementResult请求参数结构体
|
2151
2271
|
class FetchSqlGatewayStatementResultRequest < TencentCloud::Common::AbstractModel
|
2272
|
+
# @param ClusterId: 集群ID
|
2273
|
+
# @type ClusterId: String
|
2274
|
+
# @param SessionId: Sql Gateway会话ID
|
2275
|
+
# @type SessionId: String
|
2276
|
+
# @param OperationHandleId: sql的查询id
|
2277
|
+
# @type OperationHandleId: String
|
2278
|
+
# @param ResultUri: 下一条结果的获取url,首次获取执行结果时可以为空,当获取下一批查询结果时需要传递
|
2279
|
+
# @type ResultUri: String
|
2152
2280
|
|
2281
|
+
attr_accessor :ClusterId, :SessionId, :OperationHandleId, :ResultUri
|
2153
2282
|
|
2154
|
-
def initialize()
|
2283
|
+
def initialize(clusterid=nil, sessionid=nil, operationhandleid=nil, resulturi=nil)
|
2284
|
+
@ClusterId = clusterid
|
2285
|
+
@SessionId = sessionid
|
2286
|
+
@OperationHandleId = operationhandleid
|
2287
|
+
@ResultUri = resulturi
|
2155
2288
|
end
|
2156
2289
|
|
2157
2290
|
def deserialize(params)
|
2291
|
+
@ClusterId = params['ClusterId']
|
2292
|
+
@SessionId = params['SessionId']
|
2293
|
+
@OperationHandleId = params['OperationHandleId']
|
2294
|
+
@ResultUri = params['ResultUri']
|
2158
2295
|
end
|
2159
2296
|
end
|
2160
2297
|
|
2161
2298
|
# FetchSqlGatewayStatementResult返回参数结构体
|
2162
2299
|
class FetchSqlGatewayStatementResultResponse < TencentCloud::Common::AbstractModel
|
2300
|
+
# @param ErrorMessage: 错误信息
|
2301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2302
|
+
# @type ErrorMessage: Array
|
2303
|
+
# @param ResultType: 返回类型
|
2304
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2305
|
+
# @type ResultType: String
|
2306
|
+
# @param IsQueryResult: 是否DQL结果
|
2307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2308
|
+
# @type IsQueryResult: Boolean
|
2309
|
+
# @param ResultKind: 结果类型
|
2310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2311
|
+
# @type ResultKind: String
|
2312
|
+
# @param Results: 结果
|
2313
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2314
|
+
# @type Results: :class:`Tencentcloud::Oceanus.v20190422.models.StatementResult`
|
2315
|
+
# @param NextResultUri: 下一次请求的uri
|
2316
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2317
|
+
# @type NextResultUri: String
|
2163
2318
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2164
2319
|
# @type RequestId: String
|
2165
2320
|
|
2166
|
-
attr_accessor :RequestId
|
2321
|
+
attr_accessor :ErrorMessage, :ResultType, :IsQueryResult, :ResultKind, :Results, :NextResultUri, :RequestId
|
2167
2322
|
|
2168
|
-
def initialize(requestid=nil)
|
2323
|
+
def initialize(errormessage=nil, resulttype=nil, isqueryresult=nil, resultkind=nil, results=nil, nextresulturi=nil, requestid=nil)
|
2324
|
+
@ErrorMessage = errormessage
|
2325
|
+
@ResultType = resulttype
|
2326
|
+
@IsQueryResult = isqueryresult
|
2327
|
+
@ResultKind = resultkind
|
2328
|
+
@Results = results
|
2329
|
+
@NextResultUri = nextresulturi
|
2169
2330
|
@RequestId = requestid
|
2170
2331
|
end
|
2171
2332
|
|
2172
2333
|
def deserialize(params)
|
2334
|
+
@ErrorMessage = params['ErrorMessage']
|
2335
|
+
@ResultType = params['ResultType']
|
2336
|
+
@IsQueryResult = params['IsQueryResult']
|
2337
|
+
@ResultKind = params['ResultKind']
|
2338
|
+
unless params['Results'].nil?
|
2339
|
+
@Results = StatementResult.new
|
2340
|
+
@Results.deserialize(params['Results'])
|
2341
|
+
end
|
2342
|
+
@NextResultUri = params['NextResultUri']
|
2173
2343
|
@RequestId = params['RequestId']
|
2174
2344
|
end
|
2175
2345
|
end
|
@@ -2708,6 +2878,85 @@ module TencentCloud
|
|
2708
2878
|
end
|
2709
2879
|
end
|
2710
2880
|
|
2881
|
+
# SqlGateway返回LogicalType类型
|
2882
|
+
class LogicalType < TencentCloud::Common::AbstractModel
|
2883
|
+
# @param Type: 类型
|
2884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2885
|
+
# @type Type: String
|
2886
|
+
# @param NullAble: 是否允许为空
|
2887
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2888
|
+
# @type NullAble: Boolean
|
2889
|
+
# @param Length: 长度
|
2890
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2891
|
+
# @type Length: Integer
|
2892
|
+
|
2893
|
+
attr_accessor :Type, :NullAble, :Length
|
2894
|
+
|
2895
|
+
def initialize(type=nil, nullable=nil, length=nil)
|
2896
|
+
@Type = type
|
2897
|
+
@NullAble = nullable
|
2898
|
+
@Length = length
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
def deserialize(params)
|
2902
|
+
@Type = params['Type']
|
2903
|
+
@NullAble = params['NullAble']
|
2904
|
+
@Length = params['Length']
|
2905
|
+
end
|
2906
|
+
end
|
2907
|
+
|
2908
|
+
# ModifyFolder请求参数结构体
|
2909
|
+
class ModifyFolderRequest < TencentCloud::Common::AbstractModel
|
2910
|
+
# @param SourceFolderId: 文件夹ID(必填)
|
2911
|
+
# @type SourceFolderId: String
|
2912
|
+
# @param TargetFolderId: 如需拖拽文件夹,需传入目标文件夹ID
|
2913
|
+
# @type TargetFolderId: String
|
2914
|
+
# @param FolderName: 如需修改文件夹名,需传入FolderName字段
|
2915
|
+
# @type FolderName: String
|
2916
|
+
# @param FolderType: 文件夹类型,0是任务文件夹,1是依赖文件夹
|
2917
|
+
# @type FolderType: Integer
|
2918
|
+
# @param SourceJobIds: 批量移动的作业serial id 列表
|
2919
|
+
# @type SourceJobIds: Array
|
2920
|
+
# @param WorkSpaceId: 工作空间 SerialId
|
2921
|
+
# @type WorkSpaceId: String
|
2922
|
+
|
2923
|
+
attr_accessor :SourceFolderId, :TargetFolderId, :FolderName, :FolderType, :SourceJobIds, :WorkSpaceId
|
2924
|
+
|
2925
|
+
def initialize(sourcefolderid=nil, targetfolderid=nil, foldername=nil, foldertype=nil, sourcejobids=nil, workspaceid=nil)
|
2926
|
+
@SourceFolderId = sourcefolderid
|
2927
|
+
@TargetFolderId = targetfolderid
|
2928
|
+
@FolderName = foldername
|
2929
|
+
@FolderType = foldertype
|
2930
|
+
@SourceJobIds = sourcejobids
|
2931
|
+
@WorkSpaceId = workspaceid
|
2932
|
+
end
|
2933
|
+
|
2934
|
+
def deserialize(params)
|
2935
|
+
@SourceFolderId = params['SourceFolderId']
|
2936
|
+
@TargetFolderId = params['TargetFolderId']
|
2937
|
+
@FolderName = params['FolderName']
|
2938
|
+
@FolderType = params['FolderType']
|
2939
|
+
@SourceJobIds = params['SourceJobIds']
|
2940
|
+
@WorkSpaceId = params['WorkSpaceId']
|
2941
|
+
end
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# ModifyFolder返回参数结构体
|
2945
|
+
class ModifyFolderResponse < TencentCloud::Common::AbstractModel
|
2946
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2947
|
+
# @type RequestId: String
|
2948
|
+
|
2949
|
+
attr_accessor :RequestId
|
2950
|
+
|
2951
|
+
def initialize(requestid=nil)
|
2952
|
+
@RequestId = requestid
|
2953
|
+
end
|
2954
|
+
|
2955
|
+
def deserialize(params)
|
2956
|
+
@RequestId = params['RequestId']
|
2957
|
+
end
|
2958
|
+
end
|
2959
|
+
|
2711
2960
|
# ModifyJob请求参数结构体
|
2712
2961
|
class ModifyJobRequest < TencentCloud::Common::AbstractModel
|
2713
2962
|
# @param JobId: 作业Id
|
@@ -2756,6 +3005,46 @@ module TencentCloud
|
|
2756
3005
|
end
|
2757
3006
|
end
|
2758
3007
|
|
3008
|
+
# ModifyWorkSpace请求参数结构体
|
3009
|
+
class ModifyWorkSpaceRequest < TencentCloud::Common::AbstractModel
|
3010
|
+
# @param WorkSpaceId: 工作空间 SerialId
|
3011
|
+
# @type WorkSpaceId: String
|
3012
|
+
# @param WorkSpaceName: 待修改的工作空间名称
|
3013
|
+
# @type WorkSpaceName: String
|
3014
|
+
# @param Description: 待修改的工作空间备注
|
3015
|
+
# @type Description: String
|
3016
|
+
|
3017
|
+
attr_accessor :WorkSpaceId, :WorkSpaceName, :Description
|
3018
|
+
|
3019
|
+
def initialize(workspaceid=nil, workspacename=nil, description=nil)
|
3020
|
+
@WorkSpaceId = workspaceid
|
3021
|
+
@WorkSpaceName = workspacename
|
3022
|
+
@Description = description
|
3023
|
+
end
|
3024
|
+
|
3025
|
+
def deserialize(params)
|
3026
|
+
@WorkSpaceId = params['WorkSpaceId']
|
3027
|
+
@WorkSpaceName = params['WorkSpaceName']
|
3028
|
+
@Description = params['Description']
|
3029
|
+
end
|
3030
|
+
end
|
3031
|
+
|
3032
|
+
# ModifyWorkSpace返回参数结构体
|
3033
|
+
class ModifyWorkSpaceResponse < TencentCloud::Common::AbstractModel
|
3034
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3035
|
+
# @type RequestId: String
|
3036
|
+
|
3037
|
+
attr_accessor :RequestId
|
3038
|
+
|
3039
|
+
def initialize(requestid=nil)
|
3040
|
+
@RequestId = requestid
|
3041
|
+
end
|
3042
|
+
|
3043
|
+
def deserialize(params)
|
3044
|
+
@RequestId = params['RequestId']
|
3045
|
+
end
|
3046
|
+
end
|
3047
|
+
|
2759
3048
|
# 专家模式 计算节点的配置信息
|
2760
3049
|
class NodeConfig < TencentCloud::Common::AbstractModel
|
2761
3050
|
# @param Id: Node ID
|
@@ -3185,6 +3474,58 @@ module TencentCloud
|
|
3185
3474
|
end
|
3186
3475
|
end
|
3187
3476
|
|
3477
|
+
# Sql Gateway返回Column类型
|
3478
|
+
class ResultColumn < TencentCloud::Common::AbstractModel
|
3479
|
+
# @param Name: 名称
|
3480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3481
|
+
# @type Name: String
|
3482
|
+
# @param LogicalType: 本地类型描述
|
3483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3484
|
+
# @type LogicalType: :class:`Tencentcloud::Oceanus.v20190422.models.LogicalType`
|
3485
|
+
# @param Comment: 备注
|
3486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3487
|
+
# @type Comment: String
|
3488
|
+
|
3489
|
+
attr_accessor :Name, :LogicalType, :Comment
|
3490
|
+
|
3491
|
+
def initialize(name=nil, logicaltype=nil, comment=nil)
|
3492
|
+
@Name = name
|
3493
|
+
@LogicalType = logicaltype
|
3494
|
+
@Comment = comment
|
3495
|
+
end
|
3496
|
+
|
3497
|
+
def deserialize(params)
|
3498
|
+
@Name = params['Name']
|
3499
|
+
unless params['LogicalType'].nil?
|
3500
|
+
@LogicalType = LogicalType.new
|
3501
|
+
@LogicalType.deserialize(params['LogicalType'])
|
3502
|
+
end
|
3503
|
+
@Comment = params['Comment']
|
3504
|
+
end
|
3505
|
+
end
|
3506
|
+
|
3507
|
+
# Sql Gateway返回数据
|
3508
|
+
class ResultData < TencentCloud::Common::AbstractModel
|
3509
|
+
# @param Kind: 操作类型
|
3510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3511
|
+
# @type Kind: String
|
3512
|
+
# @param Fields: 结果
|
3513
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3514
|
+
# @type Fields: Array
|
3515
|
+
|
3516
|
+
attr_accessor :Kind, :Fields
|
3517
|
+
|
3518
|
+
def initialize(kind=nil, fields=nil)
|
3519
|
+
@Kind = kind
|
3520
|
+
@Fields = fields
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
def deserialize(params)
|
3524
|
+
@Kind = params['Kind']
|
3525
|
+
@Fields = params['Fields']
|
3526
|
+
end
|
3527
|
+
end
|
3528
|
+
|
3188
3529
|
# 角色授权信息
|
3189
3530
|
class RoleAuth < TencentCloud::Common::AbstractModel
|
3190
3531
|
# @param AppId: 用户 AppID
|
@@ -3339,27 +3680,53 @@ module TencentCloud
|
|
3339
3680
|
|
3340
3681
|
# RunSqlGatewayStatement请求参数结构体
|
3341
3682
|
class RunSqlGatewayStatementRequest < TencentCloud::Common::AbstractModel
|
3683
|
+
# @param ClusterId: 集群ID
|
3684
|
+
# @type ClusterId: String
|
3685
|
+
# @param Sql: 需要执行的sql,该sql会被Sql Gateway执行,当前支持的是paimon修改需求,因此主要是DDL语句
|
3686
|
+
# @type Sql: String
|
3687
|
+
# @param SessionId: Sql Gateway会话ID,可不填,如果不填则会自动创建一个会话ID,每个会话ID都有一个存活时间,测试环境为10分钟,线上默认是30分钟
|
3688
|
+
# @type SessionId: String
|
3342
3689
|
|
3690
|
+
attr_accessor :ClusterId, :Sql, :SessionId
|
3343
3691
|
|
3344
|
-
def initialize()
|
3692
|
+
def initialize(clusterid=nil, sql=nil, sessionid=nil)
|
3693
|
+
@ClusterId = clusterid
|
3694
|
+
@Sql = sql
|
3695
|
+
@SessionId = sessionid
|
3345
3696
|
end
|
3346
3697
|
|
3347
3698
|
def deserialize(params)
|
3699
|
+
@ClusterId = params['ClusterId']
|
3700
|
+
@Sql = params['Sql']
|
3701
|
+
@SessionId = params['SessionId']
|
3348
3702
|
end
|
3349
3703
|
end
|
3350
3704
|
|
3351
3705
|
# RunSqlGatewayStatement返回参数结构体
|
3352
3706
|
class RunSqlGatewayStatementResponse < TencentCloud::Common::AbstractModel
|
3707
|
+
# @param ErrorMessage: 错误信息
|
3708
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3709
|
+
# @type ErrorMessage: Array
|
3710
|
+
# @param SessionId: 会话id,若入参未传,则返回自动创建的会话id,若入参已经传递,则返回值与原传入值一致
|
3711
|
+
# @type SessionId: String
|
3712
|
+
# @param OperationHandleId: 返回执行id,可以根据该执行id和会话id获取执行结果
|
3713
|
+
# @type OperationHandleId: String
|
3353
3714
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3354
3715
|
# @type RequestId: String
|
3355
3716
|
|
3356
|
-
attr_accessor :RequestId
|
3717
|
+
attr_accessor :ErrorMessage, :SessionId, :OperationHandleId, :RequestId
|
3357
3718
|
|
3358
|
-
def initialize(requestid=nil)
|
3719
|
+
def initialize(errormessage=nil, sessionid=nil, operationhandleid=nil, requestid=nil)
|
3720
|
+
@ErrorMessage = errormessage
|
3721
|
+
@SessionId = sessionid
|
3722
|
+
@OperationHandleId = operationhandleid
|
3359
3723
|
@RequestId = requestid
|
3360
3724
|
end
|
3361
3725
|
|
3362
3726
|
def deserialize(params)
|
3727
|
+
@ErrorMessage = params['ErrorMessage']
|
3728
|
+
@SessionId = params['SessionId']
|
3729
|
+
@OperationHandleId = params['OperationHandleId']
|
3363
3730
|
@RequestId = params['RequestId']
|
3364
3731
|
end
|
3365
3732
|
end
|
@@ -3579,6 +3946,47 @@ module TencentCloud
|
|
3579
3946
|
end
|
3580
3947
|
end
|
3581
3948
|
|
3949
|
+
# Sql Gateway 返回Result结构类型
|
3950
|
+
class StatementResult < TencentCloud::Common::AbstractModel
|
3951
|
+
# @param Columns: 返回结果列
|
3952
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3953
|
+
# @type Columns: Array
|
3954
|
+
# @param RowFormat: 格式
|
3955
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3956
|
+
# @type RowFormat: String
|
3957
|
+
# @param Data: 结果值
|
3958
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3959
|
+
# @type Data: Array
|
3960
|
+
|
3961
|
+
attr_accessor :Columns, :RowFormat, :Data
|
3962
|
+
|
3963
|
+
def initialize(columns=nil, rowformat=nil, data=nil)
|
3964
|
+
@Columns = columns
|
3965
|
+
@RowFormat = rowformat
|
3966
|
+
@Data = data
|
3967
|
+
end
|
3968
|
+
|
3969
|
+
def deserialize(params)
|
3970
|
+
unless params['Columns'].nil?
|
3971
|
+
@Columns = []
|
3972
|
+
params['Columns'].each do |i|
|
3973
|
+
resultcolumn_tmp = ResultColumn.new
|
3974
|
+
resultcolumn_tmp.deserialize(i)
|
3975
|
+
@Columns << resultcolumn_tmp
|
3976
|
+
end
|
3977
|
+
end
|
3978
|
+
@RowFormat = params['RowFormat']
|
3979
|
+
unless params['Data'].nil?
|
3980
|
+
@Data = []
|
3981
|
+
params['Data'].each do |i|
|
3982
|
+
resultdata_tmp = ResultData.new
|
3983
|
+
resultdata_tmp.deserialize(i)
|
3984
|
+
@Data << resultdata_tmp
|
3985
|
+
end
|
3986
|
+
end
|
3987
|
+
end
|
3988
|
+
end
|
3989
|
+
|
3582
3990
|
# 停止作业的描述信息
|
3583
3991
|
class StopJobDescription < TencentCloud::Common::AbstractModel
|
3584
3992
|
# @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.680
|
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-10-
|
11
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20190422/models.rb
|
37
36
|
- lib/v20190422/client.rb
|
37
|
+
- lib/v20190422/models.rb
|
38
38
|
- lib/tencentcloud-sdk-oceanus.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|