tencentcloud-sdk-tcaplusdb 3.0.1138 → 3.0.1187

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: c43dc48994790489ade69e28deab4d9b4442db5a
4
- data.tar.gz: e564ca9bd98ad58cfffb40fa9663a9ed0aea3c4f
3
+ metadata.gz: 1147d8914af54ceec33ae409887edba312377f9d
4
+ data.tar.gz: cb896c3b5ae1c1956f83a9bee43f564d346b17a0
5
5
  SHA512:
6
- metadata.gz: 8b3c5f41554d135b1557ab127d9dc460acf1549aa9659a7572c897cda214e72a406907099d708fc89c599ebd0372a284e2e6b5880035f0d4d4cc67d0f0a9cc00
7
- data.tar.gz: fa3195cc6c4af22feebda6e991dd9ec2ed83bedb7cfa7728658e16d3b8ef15fc596a6b8da74142b2842aa0f1c8276b1bd8317acfa34ff1142ffd849475ce2273
6
+ metadata.gz: ee1b0e6e28b5fb567400fe71fc85125647cc646f5378726bc41e088e8296764f8a46e2da46edac79b2647ed307ddea7365dd1ae82daa53ef2faa078a4caefc83
7
+ data.tar.gz: 36881cef3a52e6adc4165fe66097dd784765d3cc83b085efcd490055403aac072a9df0054c17e12abd569c2c7d3c51d15193a1aaf25c1ff183f55017a80e3ed0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1138
1
+ 3.0.1187
@@ -1161,32 +1161,6 @@ module TencentCloud
1161
1161
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1162
1162
  end
1163
1163
 
1164
- # 不再使用
1165
-
1166
- # 表格数据回档
1167
-
1168
- # @param request: Request instance for RollbackTables.
1169
- # @type request: :class:`Tencentcloud::tcaplusdb::V20190823::RollbackTablesRequest`
1170
- # @rtype: :class:`Tencentcloud::tcaplusdb::V20190823::RollbackTablesResponse`
1171
- def RollbackTables(request)
1172
- body = send_request('RollbackTables', request.serialize)
1173
- response = JSON.parse(body)
1174
- if response['Response'].key?('Error') == false
1175
- model = RollbackTablesResponse.new
1176
- model.deserialize(response['Response'])
1177
- model
1178
- else
1179
- code = response['Response']['Error']['Code']
1180
- message = response['Response']['Error']['Message']
1181
- reqid = response['Response']['RequestId']
1182
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1183
- end
1184
- rescue TencentCloud::Common::TencentCloudSDKException => e
1185
- raise e
1186
- rescue StandardError => e
1187
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1188
- end
1189
-
1190
1164
  # 新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)
1191
1165
 
1192
1166
  # @param request: Request instance for SetBackupExpireRule.
@@ -3717,72 +3717,6 @@ module TencentCloud
3717
3717
  end
3718
3718
  end
3719
3719
 
3720
- # RollbackTables请求参数结构体
3721
- class RollbackTablesRequest < TencentCloud::Common::AbstractModel
3722
- # @param ClusterId: 待回档表格所在集群ID
3723
- # @type ClusterId: String
3724
- # @param SelectedTables: 待回档表格列表
3725
- # @type SelectedTables: Array
3726
- # @param RollbackTime: 待回档时间
3727
- # @type RollbackTime: String
3728
- # @param Mode: 回档模式,支持:`KEYS`
3729
- # @type Mode: String
3730
-
3731
- attr_accessor :ClusterId, :SelectedTables, :RollbackTime, :Mode
3732
-
3733
- def initialize(clusterid=nil, selectedtables=nil, rollbacktime=nil, mode=nil)
3734
- @ClusterId = clusterid
3735
- @SelectedTables = selectedtables
3736
- @RollbackTime = rollbacktime
3737
- @Mode = mode
3738
- end
3739
-
3740
- def deserialize(params)
3741
- @ClusterId = params['ClusterId']
3742
- unless params['SelectedTables'].nil?
3743
- @SelectedTables = []
3744
- params['SelectedTables'].each do |i|
3745
- selectedtableinfonew_tmp = SelectedTableInfoNew.new
3746
- selectedtableinfonew_tmp.deserialize(i)
3747
- @SelectedTables << selectedtableinfonew_tmp
3748
- end
3749
- end
3750
- @RollbackTime = params['RollbackTime']
3751
- @Mode = params['Mode']
3752
- end
3753
- end
3754
-
3755
- # RollbackTables返回参数结构体
3756
- class RollbackTablesResponse < TencentCloud::Common::AbstractModel
3757
- # @param TotalCount: 表格回档任务结果数量
3758
- # @type TotalCount: Integer
3759
- # @param TableResults: 表格回档任务结果列表
3760
- # @type TableResults: Array
3761
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3762
- # @type RequestId: String
3763
-
3764
- attr_accessor :TotalCount, :TableResults, :RequestId
3765
-
3766
- def initialize(totalcount=nil, tableresults=nil, requestid=nil)
3767
- @TotalCount = totalcount
3768
- @TableResults = tableresults
3769
- @RequestId = requestid
3770
- end
3771
-
3772
- def deserialize(params)
3773
- @TotalCount = params['TotalCount']
3774
- unless params['TableResults'].nil?
3775
- @TableResults = []
3776
- params['TableResults'].each do |i|
3777
- tablerollbackresultnew_tmp = TableRollbackResultNew.new
3778
- tablerollbackresultnew_tmp.deserialize(i)
3779
- @TableResults << tablerollbackresultnew_tmp
3780
- end
3781
- end
3782
- @RequestId = params['RequestId']
3783
- end
3784
- end
3785
-
3786
3720
  # 被选中的表信息
3787
3721
  class SelectedTableInfoNew < TencentCloud::Common::AbstractModel
3788
3722
  # @param TableGroupId: 表所属表格组ID
@@ -4445,10 +4379,12 @@ module TencentCloud
4445
4379
  # @type TxhBackupExpireDay: Integer
4446
4380
  # @param SyncTableInfo: 表格的缓写信息
4447
4381
  # @type SyncTableInfo: :class:`Tencentcloud::Tcaplusdb.v20190823.models.SyncTableInfo`
4382
+ # @param ShardNum: 表格分片数量
4383
+ # @type ShardNum: Integer
4448
4384
 
4449
- attr_accessor :TableName, :TableInstanceId, :TableType, :TableIdlType, :ClusterId, :ClusterName, :TableGroupId, :TableGroupName, :KeyStruct, :ValueStruct, :ShardingKeySet, :IndexStruct, :ListElementNum, :IdlFiles, :ReservedVolume, :ReservedReadQps, :ReservedWriteQps, :TableSize, :Status, :CreatedTime, :UpdatedTime, :Memo, :Error, :ApiAccessId, :SortFieldNum, :SortRule, :DbClusterInfoStruct, :TxhBackupExpireDay, :SyncTableInfo
4385
+ attr_accessor :TableName, :TableInstanceId, :TableType, :TableIdlType, :ClusterId, :ClusterName, :TableGroupId, :TableGroupName, :KeyStruct, :ValueStruct, :ShardingKeySet, :IndexStruct, :ListElementNum, :IdlFiles, :ReservedVolume, :ReservedReadQps, :ReservedWriteQps, :TableSize, :Status, :CreatedTime, :UpdatedTime, :Memo, :Error, :ApiAccessId, :SortFieldNum, :SortRule, :DbClusterInfoStruct, :TxhBackupExpireDay, :SyncTableInfo, :ShardNum
4450
4386
 
4451
- def initialize(tablename=nil, tableinstanceid=nil, tabletype=nil, tableidltype=nil, clusterid=nil, clustername=nil, tablegroupid=nil, tablegroupname=nil, keystruct=nil, valuestruct=nil, shardingkeyset=nil, indexstruct=nil, listelementnum=nil, idlfiles=nil, reservedvolume=nil, reservedreadqps=nil, reservedwriteqps=nil, tablesize=nil, status=nil, createdtime=nil, updatedtime=nil, memo=nil, error=nil, apiaccessid=nil, sortfieldnum=nil, sortrule=nil, dbclusterinfostruct=nil, txhbackupexpireday=nil, synctableinfo=nil)
4387
+ def initialize(tablename=nil, tableinstanceid=nil, tabletype=nil, tableidltype=nil, clusterid=nil, clustername=nil, tablegroupid=nil, tablegroupname=nil, keystruct=nil, valuestruct=nil, shardingkeyset=nil, indexstruct=nil, listelementnum=nil, idlfiles=nil, reservedvolume=nil, reservedreadqps=nil, reservedwriteqps=nil, tablesize=nil, status=nil, createdtime=nil, updatedtime=nil, memo=nil, error=nil, apiaccessid=nil, sortfieldnum=nil, sortrule=nil, dbclusterinfostruct=nil, txhbackupexpireday=nil, synctableinfo=nil, shardnum=nil)
4452
4388
  @TableName = tablename
4453
4389
  @TableInstanceId = tableinstanceid
4454
4390
  @TableType = tabletype
@@ -4478,6 +4414,7 @@ module TencentCloud
4478
4414
  @DbClusterInfoStruct = dbclusterinfostruct
4479
4415
  @TxhBackupExpireDay = txhbackupexpireday
4480
4416
  @SyncTableInfo = synctableinfo
4417
+ @ShardNum = shardnum
4481
4418
  end
4482
4419
 
4483
4420
  def deserialize(params)
@@ -4523,6 +4460,7 @@ module TencentCloud
4523
4460
  @SyncTableInfo = SyncTableInfo.new
4524
4461
  @SyncTableInfo.deserialize(params['SyncTableInfo'])
4525
4462
  end
4463
+ @ShardNum = params['ShardNum']
4526
4464
  end
4527
4465
  end
4528
4466
 
@@ -4577,65 +4515,6 @@ module TencentCloud
4577
4515
  end
4578
4516
  end
4579
4517
 
4580
- # 表格回档结果信息
4581
- class TableRollbackResultNew < TencentCloud::Common::AbstractModel
4582
- # @param TableInstanceId: 表格实例ID,形如:tcaplus-3be64cbb
4583
- # @type TableInstanceId: String
4584
- # @param TaskId: 任务ID,对于创建单任务的接口有效
4585
- # @type TaskId: String
4586
- # @param TableName: 表格名称
4587
- # @type TableName: String
4588
- # @param TableType: 表格数据结构类型,如:`GENERIC`或`LIST`
4589
- # @type TableType: String
4590
- # @param TableIdlType: 表格数据描述语言(IDL)类型,如:`PROTO`或`TDR`
4591
- # @type TableIdlType: String
4592
- # @param TableGroupId: 表格所属表格组ID
4593
- # @type TableGroupId: String
4594
- # @param Error: 错误信息
4595
- # @type Error: :class:`Tencentcloud::Tcaplusdb.v20190823.models.ErrorInfo`
4596
- # @param TaskIds: 任务ID列表,对于创建多任务的接口有效
4597
- # @type TaskIds: Array
4598
- # @param FileId: 上传的key文件ID
4599
- # @type FileId: String
4600
- # @param SuccKeyNum: 校验成功Key数量
4601
- # @type SuccKeyNum: Integer
4602
- # @param TotalKeyNum: Key文件中包含总的Key数量
4603
- # @type TotalKeyNum: Integer
4604
-
4605
- attr_accessor :TableInstanceId, :TaskId, :TableName, :TableType, :TableIdlType, :TableGroupId, :Error, :TaskIds, :FileId, :SuccKeyNum, :TotalKeyNum
4606
-
4607
- def initialize(tableinstanceid=nil, taskid=nil, tablename=nil, tabletype=nil, tableidltype=nil, tablegroupid=nil, error=nil, taskids=nil, fileid=nil, succkeynum=nil, totalkeynum=nil)
4608
- @TableInstanceId = tableinstanceid
4609
- @TaskId = taskid
4610
- @TableName = tablename
4611
- @TableType = tabletype
4612
- @TableIdlType = tableidltype
4613
- @TableGroupId = tablegroupid
4614
- @Error = error
4615
- @TaskIds = taskids
4616
- @FileId = fileid
4617
- @SuccKeyNum = succkeynum
4618
- @TotalKeyNum = totalkeynum
4619
- end
4620
-
4621
- def deserialize(params)
4622
- @TableInstanceId = params['TableInstanceId']
4623
- @TaskId = params['TaskId']
4624
- @TableName = params['TableName']
4625
- @TableType = params['TableType']
4626
- @TableIdlType = params['TableIdlType']
4627
- @TableGroupId = params['TableGroupId']
4628
- unless params['Error'].nil?
4629
- @Error = ErrorInfo.new
4630
- @Error.deserialize(params['Error'])
4631
- end
4632
- @TaskIds = params['TaskIds']
4633
- @FileId = params['FileId']
4634
- @SuccKeyNum = params['SuccKeyNum']
4635
- @TotalKeyNum = params['TotalKeyNum']
4636
- end
4637
- end
4638
-
4639
4518
  # 标签信息单元
4640
4519
  class TagInfoUnit < TencentCloud::Common::AbstractModel
4641
4520
  # @param TagKey: 标签键
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcaplusdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1138
4
+ version: 3.0.1187
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-10 00:00:00.000000000 Z
11
+ date: 2025-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common