tencentcloud-sdk-oceanus 3.0.676 → 3.0.678

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d228691abffd895930e7c717ac5e3793e2ec83e6
4
- data.tar.gz: 5496b4022d2c0785d0585a7dc2e3f16cd4e14f58
3
+ metadata.gz: 7b185f94b28b0142e0326c2f1261196d19658c45
4
+ data.tar.gz: 3f9a9b2ceba3ddb5224cb3e14f701ae8c05fed22
5
5
  SHA512:
6
- metadata.gz: e34a2a70d438a7629eca5df3278a89b003ba82acac3d6956e83be7c46c3d947d7cce42dc80630d7d703a7c262132d31d84c7ab4846ed16b0876337b0098f55da
7
- data.tar.gz: 25e5d006db32fa3aa2fde0e5f1c83df52dcca45b5597367681835b21f09f9e35c0c0a7614387b471f341ef2c4a3442c236ffdb3776fdc7a4bfb5cc6ef5d922d7
6
+ metadata.gz: 25990a6f110d83344ea7ac81c9047498abdd337f9553121a7b5c3f35526133d8775a06c716b0ed88a2de096623dbf9c1520e9765f4a1e0efd870ab50b0905d4d
7
+ data.tar.gz: d513a268275515c13a28bc12685edfb86718da7c52cb79eeb6ebb73402f08267a086cd6d2b454aaf0b1119128f740ae496f70508960a8d8f4f907c3531f2bd9f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.676
1
+ 3.0.678
@@ -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.
@@ -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.676
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-13 00:00:00.000000000 Z
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: