tencentcloud-sdk-dcdb 3.0.641 → 3.0.642

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a42952b82e3d1933ff4d6bc7fe8804e1327cf4b
4
- data.tar.gz: a627674c5daa14ad65d0368fc74a7a466a32e6a3
3
+ metadata.gz: f2222d0dba855cb687779af7b5f06c49fd86cf9e
4
+ data.tar.gz: 0cdc087c5bb288ea677d3f50f0e2ddb746e10ef6
5
5
  SHA512:
6
- metadata.gz: 15bb56be22cf7962d57a4fbddebcb2249cae3239051a683b9811a41bc498fb10d36c151fa11c678e70351ebae51487f5f29cd6eb17e270d57212aedcdc36b32d
7
- data.tar.gz: 6f3b7f9ee9b473bbdfc26ee75fead68335dacfecf3502923623919b786a0a3ee0efef87d4358c901dde841859d622583118ede096ceec271624b2fd8bfa3b72e
6
+ metadata.gz: 0cd2ffe94cd4f0247509bdce6c0cb3d0139050ba183ae1b5515e7a0ba6cc7521e81cb58cc93e1addb97474624a7199151e7f1905eebcc58974727c9305dafc94
7
+ data.tar.gz: b0b29d1c533d7a84f81c586eeb2e0c0bc68ad7fd33e1e4c7499794b7adb951810c45b7dc00a6592f36d8b6464b986f2426403c0f89e38fecef9b9513ad59257f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.641
1
+ 3.0.642
@@ -1016,32 +1016,6 @@ module TencentCloud
1016
1016
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1017
1017
  end
1018
1018
 
1019
- # 已废弃接口
1020
-
1021
- # 本接口(DescribeSqlLogs)用于获取实例SQL日志。
1022
-
1023
- # @param request: Request instance for DescribeSqlLogs.
1024
- # @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeSqlLogsRequest`
1025
- # @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeSqlLogsResponse`
1026
- def DescribeSqlLogs(request)
1027
- body = send_request('DescribeSqlLogs', request.serialize)
1028
- response = JSON.parse(body)
1029
- if response['Response'].key?('Error') == false
1030
- model = DescribeSqlLogsResponse.new
1031
- model.deserialize(response['Response'])
1032
- model
1033
- else
1034
- code = response['Response']['Error']['Code']
1035
- message = response['Response']['Error']['Message']
1036
- reqid = response['Response']['RequestId']
1037
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1038
- end
1039
- rescue TencentCloud::Common::TencentCloudSDKException => e
1040
- raise e
1041
- rescue StandardError => e
1042
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1043
- end
1044
-
1045
1019
  # 本接口(DescribeUserTasks)用于拉取用户任务列表
1046
1020
 
1047
1021
  # @param request: Request instance for DescribeUserTasks.
@@ -3596,77 +3596,6 @@ module TencentCloud
3596
3596
  end
3597
3597
  end
3598
3598
 
3599
- # DescribeSqlLogs请求参数结构体
3600
- class DescribeSqlLogsRequest < TencentCloud::Common::AbstractModel
3601
- # @param InstanceId: 实例 ID,形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
3602
- # @type InstanceId: String
3603
- # @param Offset: SQL日志偏移。
3604
- # @type Offset: Integer
3605
- # @param Limit: 拉取数量(0-10000,为0时拉取总数信息)。
3606
- # @type Limit: Integer
3607
-
3608
- attr_accessor :InstanceId, :Offset, :Limit
3609
-
3610
- def initialize(instanceid=nil, offset=nil, limit=nil)
3611
- @InstanceId = instanceid
3612
- @Offset = offset
3613
- @Limit = limit
3614
- end
3615
-
3616
- def deserialize(params)
3617
- @InstanceId = params['InstanceId']
3618
- @Offset = params['Offset']
3619
- @Limit = params['Limit']
3620
- end
3621
- end
3622
-
3623
- # DescribeSqlLogs返回参数结构体
3624
- class DescribeSqlLogsResponse < TencentCloud::Common::AbstractModel
3625
- # @param TotalCount: 当前消息队列中的sql日志条目数。
3626
- # @type TotalCount: Integer
3627
- # @param StartOffset: 消息队列中的sql日志起始偏移。
3628
- # @type StartOffset: Integer
3629
- # @param EndOffset: 消息队列中的sql日志结束偏移。
3630
- # @type EndOffset: Integer
3631
- # @param Offset: 返回的第一条sql日志的偏移。
3632
- # @type Offset: Integer
3633
- # @param Count: 返回的sql日志数量。
3634
- # @type Count: Integer
3635
- # @param SqlItems: Sql日志列表。
3636
- # @type SqlItems: Array
3637
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3638
- # @type RequestId: String
3639
-
3640
- attr_accessor :TotalCount, :StartOffset, :EndOffset, :Offset, :Count, :SqlItems, :RequestId
3641
-
3642
- def initialize(totalcount=nil, startoffset=nil, endoffset=nil, offset=nil, count=nil, sqlitems=nil, requestid=nil)
3643
- @TotalCount = totalcount
3644
- @StartOffset = startoffset
3645
- @EndOffset = endoffset
3646
- @Offset = offset
3647
- @Count = count
3648
- @SqlItems = sqlitems
3649
- @RequestId = requestid
3650
- end
3651
-
3652
- def deserialize(params)
3653
- @TotalCount = params['TotalCount']
3654
- @StartOffset = params['StartOffset']
3655
- @EndOffset = params['EndOffset']
3656
- @Offset = params['Offset']
3657
- @Count = params['Count']
3658
- unless params['SqlItems'].nil?
3659
- @SqlItems = []
3660
- params['SqlItems'].each do |i|
3661
- sqllogitem_tmp = SqlLogItem.new
3662
- sqllogitem_tmp.deserialize(i)
3663
- @SqlItems << sqllogitem_tmp
3664
- end
3665
- end
3666
- @RequestId = params['RequestId']
3667
- end
3668
- end
3669
-
3670
3599
  # DescribeUserTasks请求参数结构体
3671
3600
  class DescribeUserTasksRequest < TencentCloud::Common::AbstractModel
3672
3601
  # @param Statuses: 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败
@@ -5738,58 +5667,6 @@ module TencentCloud
5738
5667
  end
5739
5668
  end
5740
5669
 
5741
- # 描述一条sql日志的详细信息。
5742
- class SqlLogItem < TencentCloud::Common::AbstractModel
5743
- # @param Offset: 本条日志在消息队列中的偏移量。
5744
- # @type Offset: Integer
5745
- # @param User: 执行本条sql的用户。
5746
- # @type User: String
5747
- # @param Client: 执行本条sql的客户端IP+端口。
5748
- # @type Client: String
5749
- # @param DbName: 数据库名称。
5750
- # @type DbName: String
5751
- # @param Sql: 执行的sql语句。
5752
- # @type Sql: String
5753
- # @param SelectRowNum: 返回的数据行数。
5754
- # @type SelectRowNum: Integer
5755
- # @param AffectRowNum: 影响行数。
5756
- # @type AffectRowNum: Integer
5757
- # @param Timestamp: Sql执行时间戳。
5758
- # @type Timestamp: Integer
5759
- # @param TimeCostMs: Sql耗时,单位为毫秒。
5760
- # @type TimeCostMs: Integer
5761
- # @param ResultCode: Sql返回码,0为成功。
5762
- # @type ResultCode: Integer
5763
-
5764
- attr_accessor :Offset, :User, :Client, :DbName, :Sql, :SelectRowNum, :AffectRowNum, :Timestamp, :TimeCostMs, :ResultCode
5765
-
5766
- def initialize(offset=nil, user=nil, client=nil, dbname=nil, sql=nil, selectrownum=nil, affectrownum=nil, timestamp=nil, timecostms=nil, resultcode=nil)
5767
- @Offset = offset
5768
- @User = user
5769
- @Client = client
5770
- @DbName = dbname
5771
- @Sql = sql
5772
- @SelectRowNum = selectrownum
5773
- @AffectRowNum = affectrownum
5774
- @Timestamp = timestamp
5775
- @TimeCostMs = timecostms
5776
- @ResultCode = resultcode
5777
- end
5778
-
5779
- def deserialize(params)
5780
- @Offset = params['Offset']
5781
- @User = params['User']
5782
- @Client = params['Client']
5783
- @DbName = params['DbName']
5784
- @Sql = params['Sql']
5785
- @SelectRowNum = params['SelectRowNum']
5786
- @AffectRowNum = params['AffectRowNum']
5787
- @Timestamp = params['Timestamp']
5788
- @TimeCostMs = params['TimeCostMs']
5789
- @ResultCode = params['ResultCode']
5790
- end
5791
- end
5792
-
5793
5670
  # SwitchDBInstanceHA请求参数结构体
5794
5671
  class SwitchDBInstanceHARequest < TencentCloud::Common::AbstractModel
5795
5672
  # @param InstanceId: 实例Id,形如 tdsql-ow728lmc。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.641
4
+ version: 3.0.642
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-08-22 00:00:00.000000000 Z
11
+ date: 2023-08-23 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/v20180411/models.rb
37
- - lib/v20180411/client.rb
38
36
  - lib/tencentcloud-sdk-dcdb.rb
37
+ - lib/v20180411/client.rb
38
+ - lib/v20180411/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: