tencentcloud-sdk-oceanus 3.0.678 → 3.0.679
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/models.rb +202 -6
- 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: d7a885a7724240cefc72cf44178d252544dc12b9
|
4
|
+
data.tar.gz: a478ec610f0a039906a28fa5702845fe609156db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d582852da837f16c81004f763314e6037274a393bd5714a9e853077b2d0d5f8dcc0a7198b3c14ea2610aa1a50c7590a8743c5b964d420eb266a744e6213cf727
|
7
|
+
data.tar.gz: 3870b6fae586110a6a363a47a44ec2d523924efa291853391eb5ae8780ee4f40ae7c4b24331b90fcde26a8768c0de9484cc36b84de4e5962fdf4ab0d70198a37
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.679
|
data/lib/v20190422/models.rb
CHANGED
@@ -2149,27 +2149,77 @@ module TencentCloud
|
|
2149
2149
|
|
2150
2150
|
# FetchSqlGatewayStatementResult请求参数结构体
|
2151
2151
|
class FetchSqlGatewayStatementResultRequest < TencentCloud::Common::AbstractModel
|
2152
|
+
# @param ClusterId: 集群ID
|
2153
|
+
# @type ClusterId: String
|
2154
|
+
# @param SessionId: Sql Gateway会话ID
|
2155
|
+
# @type SessionId: String
|
2156
|
+
# @param OperationHandleId: sql的查询id
|
2157
|
+
# @type OperationHandleId: String
|
2158
|
+
# @param ResultUri: 下一条结果的获取url,首次获取执行结果时可以为空,当获取下一批查询结果时需要传递
|
2159
|
+
# @type ResultUri: String
|
2152
2160
|
|
2161
|
+
attr_accessor :ClusterId, :SessionId, :OperationHandleId, :ResultUri
|
2153
2162
|
|
2154
|
-
def initialize()
|
2163
|
+
def initialize(clusterid=nil, sessionid=nil, operationhandleid=nil, resulturi=nil)
|
2164
|
+
@ClusterId = clusterid
|
2165
|
+
@SessionId = sessionid
|
2166
|
+
@OperationHandleId = operationhandleid
|
2167
|
+
@ResultUri = resulturi
|
2155
2168
|
end
|
2156
2169
|
|
2157
2170
|
def deserialize(params)
|
2171
|
+
@ClusterId = params['ClusterId']
|
2172
|
+
@SessionId = params['SessionId']
|
2173
|
+
@OperationHandleId = params['OperationHandleId']
|
2174
|
+
@ResultUri = params['ResultUri']
|
2158
2175
|
end
|
2159
2176
|
end
|
2160
2177
|
|
2161
2178
|
# FetchSqlGatewayStatementResult返回参数结构体
|
2162
2179
|
class FetchSqlGatewayStatementResultResponse < TencentCloud::Common::AbstractModel
|
2180
|
+
# @param ErrorMessage: 错误信息
|
2181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2182
|
+
# @type ErrorMessage: Array
|
2183
|
+
# @param ResultType: 返回类型
|
2184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2185
|
+
# @type ResultType: String
|
2186
|
+
# @param IsQueryResult: 是否DQL结果
|
2187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2188
|
+
# @type IsQueryResult: Boolean
|
2189
|
+
# @param ResultKind: 结果类型
|
2190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2191
|
+
# @type ResultKind: String
|
2192
|
+
# @param Results: 结果
|
2193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2194
|
+
# @type Results: :class:`Tencentcloud::Oceanus.v20190422.models.StatementResult`
|
2195
|
+
# @param NextResultUri: 下一次请求的uri
|
2196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2197
|
+
# @type NextResultUri: String
|
2163
2198
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2164
2199
|
# @type RequestId: String
|
2165
2200
|
|
2166
|
-
attr_accessor :RequestId
|
2201
|
+
attr_accessor :ErrorMessage, :ResultType, :IsQueryResult, :ResultKind, :Results, :NextResultUri, :RequestId
|
2167
2202
|
|
2168
|
-
def initialize(requestid=nil)
|
2203
|
+
def initialize(errormessage=nil, resulttype=nil, isqueryresult=nil, resultkind=nil, results=nil, nextresulturi=nil, requestid=nil)
|
2204
|
+
@ErrorMessage = errormessage
|
2205
|
+
@ResultType = resulttype
|
2206
|
+
@IsQueryResult = isqueryresult
|
2207
|
+
@ResultKind = resultkind
|
2208
|
+
@Results = results
|
2209
|
+
@NextResultUri = nextresulturi
|
2169
2210
|
@RequestId = requestid
|
2170
2211
|
end
|
2171
2212
|
|
2172
2213
|
def deserialize(params)
|
2214
|
+
@ErrorMessage = params['ErrorMessage']
|
2215
|
+
@ResultType = params['ResultType']
|
2216
|
+
@IsQueryResult = params['IsQueryResult']
|
2217
|
+
@ResultKind = params['ResultKind']
|
2218
|
+
unless params['Results'].nil?
|
2219
|
+
@Results = StatementResult.new
|
2220
|
+
@Results.deserialize(params['Results'])
|
2221
|
+
end
|
2222
|
+
@NextResultUri = params['NextResultUri']
|
2173
2223
|
@RequestId = params['RequestId']
|
2174
2224
|
end
|
2175
2225
|
end
|
@@ -2708,6 +2758,33 @@ module TencentCloud
|
|
2708
2758
|
end
|
2709
2759
|
end
|
2710
2760
|
|
2761
|
+
# SqlGateway返回LogicalType类型
|
2762
|
+
class LogicalType < TencentCloud::Common::AbstractModel
|
2763
|
+
# @param Type: 类型
|
2764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2765
|
+
# @type Type: String
|
2766
|
+
# @param NullAble: 是否允许为空
|
2767
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2768
|
+
# @type NullAble: Boolean
|
2769
|
+
# @param Length: 长度
|
2770
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2771
|
+
# @type Length: Integer
|
2772
|
+
|
2773
|
+
attr_accessor :Type, :NullAble, :Length
|
2774
|
+
|
2775
|
+
def initialize(type=nil, nullable=nil, length=nil)
|
2776
|
+
@Type = type
|
2777
|
+
@NullAble = nullable
|
2778
|
+
@Length = length
|
2779
|
+
end
|
2780
|
+
|
2781
|
+
def deserialize(params)
|
2782
|
+
@Type = params['Type']
|
2783
|
+
@NullAble = params['NullAble']
|
2784
|
+
@Length = params['Length']
|
2785
|
+
end
|
2786
|
+
end
|
2787
|
+
|
2711
2788
|
# ModifyJob请求参数结构体
|
2712
2789
|
class ModifyJobRequest < TencentCloud::Common::AbstractModel
|
2713
2790
|
# @param JobId: 作业Id
|
@@ -3185,6 +3262,58 @@ module TencentCloud
|
|
3185
3262
|
end
|
3186
3263
|
end
|
3187
3264
|
|
3265
|
+
# Sql Gateway返回Column类型
|
3266
|
+
class ResultColumn < TencentCloud::Common::AbstractModel
|
3267
|
+
# @param Name: 名称
|
3268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3269
|
+
# @type Name: String
|
3270
|
+
# @param LogicalType: 本地类型描述
|
3271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3272
|
+
# @type LogicalType: :class:`Tencentcloud::Oceanus.v20190422.models.LogicalType`
|
3273
|
+
# @param Comment: 备注
|
3274
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3275
|
+
# @type Comment: String
|
3276
|
+
|
3277
|
+
attr_accessor :Name, :LogicalType, :Comment
|
3278
|
+
|
3279
|
+
def initialize(name=nil, logicaltype=nil, comment=nil)
|
3280
|
+
@Name = name
|
3281
|
+
@LogicalType = logicaltype
|
3282
|
+
@Comment = comment
|
3283
|
+
end
|
3284
|
+
|
3285
|
+
def deserialize(params)
|
3286
|
+
@Name = params['Name']
|
3287
|
+
unless params['LogicalType'].nil?
|
3288
|
+
@LogicalType = LogicalType.new
|
3289
|
+
@LogicalType.deserialize(params['LogicalType'])
|
3290
|
+
end
|
3291
|
+
@Comment = params['Comment']
|
3292
|
+
end
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
# Sql Gateway返回数据
|
3296
|
+
class ResultData < TencentCloud::Common::AbstractModel
|
3297
|
+
# @param Kind: 操作类型
|
3298
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3299
|
+
# @type Kind: String
|
3300
|
+
# @param Fields: 结果
|
3301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3302
|
+
# @type Fields: Array
|
3303
|
+
|
3304
|
+
attr_accessor :Kind, :Fields
|
3305
|
+
|
3306
|
+
def initialize(kind=nil, fields=nil)
|
3307
|
+
@Kind = kind
|
3308
|
+
@Fields = fields
|
3309
|
+
end
|
3310
|
+
|
3311
|
+
def deserialize(params)
|
3312
|
+
@Kind = params['Kind']
|
3313
|
+
@Fields = params['Fields']
|
3314
|
+
end
|
3315
|
+
end
|
3316
|
+
|
3188
3317
|
# 角色授权信息
|
3189
3318
|
class RoleAuth < TencentCloud::Common::AbstractModel
|
3190
3319
|
# @param AppId: 用户 AppID
|
@@ -3339,27 +3468,53 @@ module TencentCloud
|
|
3339
3468
|
|
3340
3469
|
# RunSqlGatewayStatement请求参数结构体
|
3341
3470
|
class RunSqlGatewayStatementRequest < TencentCloud::Common::AbstractModel
|
3471
|
+
# @param ClusterId: 集群ID
|
3472
|
+
# @type ClusterId: String
|
3473
|
+
# @param Sql: 需要执行的sql,该sql会被Sql Gateway执行,当前支持的是paimon修改需求,因此主要是DDL语句
|
3474
|
+
# @type Sql: String
|
3475
|
+
# @param SessionId: Sql Gateway会话ID,可不填,如果不填则会自动创建一个会话ID,每个会话ID都有一个存活时间,测试环境为10分钟,线上默认是30分钟
|
3476
|
+
# @type SessionId: String
|
3342
3477
|
|
3478
|
+
attr_accessor :ClusterId, :Sql, :SessionId
|
3343
3479
|
|
3344
|
-
def initialize()
|
3480
|
+
def initialize(clusterid=nil, sql=nil, sessionid=nil)
|
3481
|
+
@ClusterId = clusterid
|
3482
|
+
@Sql = sql
|
3483
|
+
@SessionId = sessionid
|
3345
3484
|
end
|
3346
3485
|
|
3347
3486
|
def deserialize(params)
|
3487
|
+
@ClusterId = params['ClusterId']
|
3488
|
+
@Sql = params['Sql']
|
3489
|
+
@SessionId = params['SessionId']
|
3348
3490
|
end
|
3349
3491
|
end
|
3350
3492
|
|
3351
3493
|
# RunSqlGatewayStatement返回参数结构体
|
3352
3494
|
class RunSqlGatewayStatementResponse < TencentCloud::Common::AbstractModel
|
3495
|
+
# @param ErrorMessage: 错误信息
|
3496
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3497
|
+
# @type ErrorMessage: Array
|
3498
|
+
# @param SessionId: 会话id,若入参未传,则返回自动创建的会话id,若入参已经传递,则返回值与原传入值一致
|
3499
|
+
# @type SessionId: String
|
3500
|
+
# @param OperationHandleId: 返回执行id,可以根据该执行id和会话id获取执行结果
|
3501
|
+
# @type OperationHandleId: String
|
3353
3502
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3354
3503
|
# @type RequestId: String
|
3355
3504
|
|
3356
|
-
attr_accessor :RequestId
|
3505
|
+
attr_accessor :ErrorMessage, :SessionId, :OperationHandleId, :RequestId
|
3357
3506
|
|
3358
|
-
def initialize(requestid=nil)
|
3507
|
+
def initialize(errormessage=nil, sessionid=nil, operationhandleid=nil, requestid=nil)
|
3508
|
+
@ErrorMessage = errormessage
|
3509
|
+
@SessionId = sessionid
|
3510
|
+
@OperationHandleId = operationhandleid
|
3359
3511
|
@RequestId = requestid
|
3360
3512
|
end
|
3361
3513
|
|
3362
3514
|
def deserialize(params)
|
3515
|
+
@ErrorMessage = params['ErrorMessage']
|
3516
|
+
@SessionId = params['SessionId']
|
3517
|
+
@OperationHandleId = params['OperationHandleId']
|
3363
3518
|
@RequestId = params['RequestId']
|
3364
3519
|
end
|
3365
3520
|
end
|
@@ -3579,6 +3734,47 @@ module TencentCloud
|
|
3579
3734
|
end
|
3580
3735
|
end
|
3581
3736
|
|
3737
|
+
# Sql Gateway 返回Result结构类型
|
3738
|
+
class StatementResult < TencentCloud::Common::AbstractModel
|
3739
|
+
# @param Columns: 返回结果列
|
3740
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3741
|
+
# @type Columns: Array
|
3742
|
+
# @param RowFormat: 格式
|
3743
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3744
|
+
# @type RowFormat: String
|
3745
|
+
# @param Data: 结果值
|
3746
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3747
|
+
# @type Data: Array
|
3748
|
+
|
3749
|
+
attr_accessor :Columns, :RowFormat, :Data
|
3750
|
+
|
3751
|
+
def initialize(columns=nil, rowformat=nil, data=nil)
|
3752
|
+
@Columns = columns
|
3753
|
+
@RowFormat = rowformat
|
3754
|
+
@Data = data
|
3755
|
+
end
|
3756
|
+
|
3757
|
+
def deserialize(params)
|
3758
|
+
unless params['Columns'].nil?
|
3759
|
+
@Columns = []
|
3760
|
+
params['Columns'].each do |i|
|
3761
|
+
resultcolumn_tmp = ResultColumn.new
|
3762
|
+
resultcolumn_tmp.deserialize(i)
|
3763
|
+
@Columns << resultcolumn_tmp
|
3764
|
+
end
|
3765
|
+
end
|
3766
|
+
@RowFormat = params['RowFormat']
|
3767
|
+
unless params['Data'].nil?
|
3768
|
+
@Data = []
|
3769
|
+
params['Data'].each do |i|
|
3770
|
+
resultdata_tmp = ResultData.new
|
3771
|
+
resultdata_tmp.deserialize(i)
|
3772
|
+
@Data << resultdata_tmp
|
3773
|
+
end
|
3774
|
+
end
|
3775
|
+
end
|
3776
|
+
end
|
3777
|
+
|
3582
3778
|
# 停止作业的描述信息
|
3583
3779
|
class StopJobDescription < TencentCloud::Common::AbstractModel
|
3584
3780
|
# @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.679
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|