tencentcloud-sdk-oceanus 3.0.676 → 3.0.678
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 +48 -0
- data/lib/v20190422/models.rb +54 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b185f94b28b0142e0326c2f1261196d19658c45
|
4
|
+
data.tar.gz: 3f9a9b2ceba3ddb5224cb3e14f701ae8c05fed22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25990a6f110d83344ea7ac81c9047498abdd337f9553121a7b5c3f35526133d8775a06c716b0ed88a2de096623dbf9c1520e9765f4a1e0efd870ab50b0905d4d
|
7
|
+
data.tar.gz: d513a268275515c13a28bc12685edfb86718da7c52cb79eeb6ebb73402f08267a086cd6d2b454aaf0b1119128f740ae496f70508960a8d8f4f907c3531f2bd9f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.678
|
data/lib/v20190422/client.rb
CHANGED
@@ -581,6 +581,30 @@ module TencentCloud
|
|
581
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
582
|
end
|
583
583
|
|
584
|
+
# 查询Sql Gateway的Statement执行结果
|
585
|
+
|
586
|
+
# @param request: Request instance for FetchSqlGatewayStatementResult.
|
587
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::FetchSqlGatewayStatementResultRequest`
|
588
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::FetchSqlGatewayStatementResultResponse`
|
589
|
+
def FetchSqlGatewayStatementResult(request)
|
590
|
+
body = send_request('FetchSqlGatewayStatementResult', request.serialize)
|
591
|
+
response = JSON.parse(body)
|
592
|
+
if response['Response'].key?('Error') == false
|
593
|
+
model = FetchSqlGatewayStatementResultResponse.new
|
594
|
+
model.deserialize(response['Response'])
|
595
|
+
model
|
596
|
+
else
|
597
|
+
code = response['Response']['Error']['Code']
|
598
|
+
message = response['Response']['Error']['Message']
|
599
|
+
reqid = response['Response']['RequestId']
|
600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
+
end
|
602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
+
raise e
|
604
|
+
rescue StandardError => e
|
605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
+
end
|
607
|
+
|
584
608
|
# 更新作业属性,仅允许以下3种操作,不支持组合操作:
|
585
609
|
# (1) 更新作业名称
|
586
610
|
# (2) 更新作业备注
|
@@ -638,6 +662,30 @@ module TencentCloud
|
|
638
662
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
639
663
|
end
|
640
664
|
|
665
|
+
# 通过Sql gateway执行satement
|
666
|
+
|
667
|
+
# @param request: Request instance for RunSqlGatewayStatement.
|
668
|
+
# @type request: :class:`Tencentcloud::oceanus::V20190422::RunSqlGatewayStatementRequest`
|
669
|
+
# @rtype: :class:`Tencentcloud::oceanus::V20190422::RunSqlGatewayStatementResponse`
|
670
|
+
def RunSqlGatewayStatement(request)
|
671
|
+
body = send_request('RunSqlGatewayStatement', request.serialize)
|
672
|
+
response = JSON.parse(body)
|
673
|
+
if response['Response'].key?('Error') == false
|
674
|
+
model = RunSqlGatewayStatementResponse.new
|
675
|
+
model.deserialize(response['Response'])
|
676
|
+
model
|
677
|
+
else
|
678
|
+
code = response['Response']['Error']['Code']
|
679
|
+
message = response['Response']['Error']['Message']
|
680
|
+
reqid = response['Response']['RequestId']
|
681
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
682
|
+
end
|
683
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
684
|
+
raise e
|
685
|
+
rescue StandardError => e
|
686
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
687
|
+
end
|
688
|
+
|
641
689
|
# 批量停止作业,批量操作数量上限为20
|
642
690
|
|
643
691
|
# @param request: Request instance for StopJobs.
|
data/lib/v20190422/models.rb
CHANGED
@@ -2147,6 +2147,33 @@ module TencentCloud
|
|
2147
2147
|
end
|
2148
2148
|
end
|
2149
2149
|
|
2150
|
+
# FetchSqlGatewayStatementResult请求参数结构体
|
2151
|
+
class FetchSqlGatewayStatementResultRequest < TencentCloud::Common::AbstractModel
|
2152
|
+
|
2153
|
+
|
2154
|
+
def initialize()
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
def deserialize(params)
|
2158
|
+
end
|
2159
|
+
end
|
2160
|
+
|
2161
|
+
# FetchSqlGatewayStatementResult返回参数结构体
|
2162
|
+
class FetchSqlGatewayStatementResultResponse < TencentCloud::Common::AbstractModel
|
2163
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2164
|
+
# @type RequestId: String
|
2165
|
+
|
2166
|
+
attr_accessor :RequestId
|
2167
|
+
|
2168
|
+
def initialize(requestid=nil)
|
2169
|
+
@RequestId = requestid
|
2170
|
+
end
|
2171
|
+
|
2172
|
+
def deserialize(params)
|
2173
|
+
@RequestId = params['RequestId']
|
2174
|
+
end
|
2175
|
+
end
|
2176
|
+
|
2150
2177
|
# 查询作业列表时的过滤器
|
2151
2178
|
class Filter < TencentCloud::Common::AbstractModel
|
2152
2179
|
# @param Name: 要过滤的字段
|
@@ -3310,6 +3337,33 @@ module TencentCloud
|
|
3310
3337
|
end
|
3311
3338
|
end
|
3312
3339
|
|
3340
|
+
# RunSqlGatewayStatement请求参数结构体
|
3341
|
+
class RunSqlGatewayStatementRequest < TencentCloud::Common::AbstractModel
|
3342
|
+
|
3343
|
+
|
3344
|
+
def initialize()
|
3345
|
+
end
|
3346
|
+
|
3347
|
+
def deserialize(params)
|
3348
|
+
end
|
3349
|
+
end
|
3350
|
+
|
3351
|
+
# RunSqlGatewayStatement返回参数结构体
|
3352
|
+
class RunSqlGatewayStatementResponse < TencentCloud::Common::AbstractModel
|
3353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3354
|
+
# @type RequestId: String
|
3355
|
+
|
3356
|
+
attr_accessor :RequestId
|
3357
|
+
|
3358
|
+
def initialize(requestid=nil)
|
3359
|
+
@RequestId = requestid
|
3360
|
+
end
|
3361
|
+
|
3362
|
+
def deserialize(params)
|
3363
|
+
@RequestId = params['RequestId']
|
3364
|
+
end
|
3365
|
+
end
|
3366
|
+
|
3313
3367
|
# 描述Savepoint信息
|
3314
3368
|
class Savepoint < TencentCloud::Common::AbstractModel
|
3315
3369
|
# @param 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.678
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-oceanus.rb
|
37
|
-
- lib/v20190422/client.rb
|
38
36
|
- lib/v20190422/models.rb
|
37
|
+
- lib/v20190422/client.rb
|
38
|
+
- lib/tencentcloud-sdk-oceanus.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|