tencentcloud-sdk-tcaplusdb 3.0.390 → 3.0.391
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/v20190823/models.rb +100 -2
- 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: ceb0f589f173e9054f929bb00776a27cc36fa6f6
|
4
|
+
data.tar.gz: aee000703168c429a5f161b2d94c7af171e22b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9131fda67caec49462ca0b3212bb928601eab00d38634fd13c4e43572604b517425d338b46f82f935cddcb9501db3bc6743062dbee52e134eec8b4658fbd90ed
|
7
|
+
data.tar.gz: 3876b6fc90a635dd879a1e4e1c71ac723bd6530a27e35fc4b028dadcea0e8581333e962396a2561022212396dc3e9e6ec79d041c117505500a9c263b0d43bb40
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.391
|
data/lib/v20190823/models.rb
CHANGED
@@ -4032,6 +4032,96 @@ module TencentCloud
|
|
4032
4032
|
end
|
4033
4033
|
end
|
4034
4034
|
|
4035
|
+
# 缓写表字段名称的映射
|
4036
|
+
class SyncTableField < TencentCloud::Common::AbstractModel
|
4037
|
+
# @param SourceName: TcaplusDB表字段名称
|
4038
|
+
# @type SourceName: String
|
4039
|
+
# @param TargetName: 目标缓写表的字段名称
|
4040
|
+
# @type TargetName: String
|
4041
|
+
|
4042
|
+
attr_accessor :SourceName, :TargetName
|
4043
|
+
|
4044
|
+
def initialize(sourcename=nil, targetname=nil)
|
4045
|
+
@SourceName = sourcename
|
4046
|
+
@TargetName = targetname
|
4047
|
+
end
|
4048
|
+
|
4049
|
+
def deserialize(params)
|
4050
|
+
@SourceName = params['SourceName']
|
4051
|
+
@TargetName = params['TargetName']
|
4052
|
+
end
|
4053
|
+
end
|
4054
|
+
|
4055
|
+
# TcaplusDB的缓写表信息
|
4056
|
+
class SyncTableInfo < TencentCloud::Common::AbstractModel
|
4057
|
+
# @param TargetTableSplitNum: 目标缓写表的分表数目
|
4058
|
+
# @type TargetTableSplitNum: Integer
|
4059
|
+
# @param TargetTableNamePrefix: 目标缓写表名前缀
|
4060
|
+
# @type TargetTableNamePrefix: Array
|
4061
|
+
# @param TargetSyncDBInstanceId: 缓写数据库实例ID
|
4062
|
+
# @type TargetSyncDBInstanceId: String
|
4063
|
+
# @param TargetDatabaseName: 缓写表所在数据库名称
|
4064
|
+
# @type TargetDatabaseName: String
|
4065
|
+
# @param Status: 缓写状态,0:创建中,1:进行中,2:关闭,-1:被删除
|
4066
|
+
# @type Status: Integer
|
4067
|
+
# @param ClusterId: 表格所在集群ID
|
4068
|
+
# @type ClusterId: String
|
4069
|
+
# @param TableGroupId: 表格所在表格组ID
|
4070
|
+
# @type TableGroupId: Integer
|
4071
|
+
# @param TableName: 表格名称
|
4072
|
+
# @type TableName: String
|
4073
|
+
# @param TableId: 表格ID
|
4074
|
+
# @type TableId: String
|
4075
|
+
# @param KeyFieldMapping: TcaplusDB表主键字段到目标缓写表字段的映射
|
4076
|
+
# @type KeyFieldMapping: Array
|
4077
|
+
# @param ValueFieldMapping: TcaplusDB表字段到目标缓写表字段的映射
|
4078
|
+
# @type ValueFieldMapping: Array
|
4079
|
+
|
4080
|
+
attr_accessor :TargetTableSplitNum, :TargetTableNamePrefix, :TargetSyncDBInstanceId, :TargetDatabaseName, :Status, :ClusterId, :TableGroupId, :TableName, :TableId, :KeyFieldMapping, :ValueFieldMapping
|
4081
|
+
|
4082
|
+
def initialize(targettablesplitnum=nil, targettablenameprefix=nil, targetsyncdbinstanceid=nil, targetdatabasename=nil, status=nil, clusterid=nil, tablegroupid=nil, tablename=nil, tableid=nil, keyfieldmapping=nil, valuefieldmapping=nil)
|
4083
|
+
@TargetTableSplitNum = targettablesplitnum
|
4084
|
+
@TargetTableNamePrefix = targettablenameprefix
|
4085
|
+
@TargetSyncDBInstanceId = targetsyncdbinstanceid
|
4086
|
+
@TargetDatabaseName = targetdatabasename
|
4087
|
+
@Status = status
|
4088
|
+
@ClusterId = clusterid
|
4089
|
+
@TableGroupId = tablegroupid
|
4090
|
+
@TableName = tablename
|
4091
|
+
@TableId = tableid
|
4092
|
+
@KeyFieldMapping = keyfieldmapping
|
4093
|
+
@ValueFieldMapping = valuefieldmapping
|
4094
|
+
end
|
4095
|
+
|
4096
|
+
def deserialize(params)
|
4097
|
+
@TargetTableSplitNum = params['TargetTableSplitNum']
|
4098
|
+
@TargetTableNamePrefix = params['TargetTableNamePrefix']
|
4099
|
+
@TargetSyncDBInstanceId = params['TargetSyncDBInstanceId']
|
4100
|
+
@TargetDatabaseName = params['TargetDatabaseName']
|
4101
|
+
@Status = params['Status']
|
4102
|
+
@ClusterId = params['ClusterId']
|
4103
|
+
@TableGroupId = params['TableGroupId']
|
4104
|
+
@TableName = params['TableName']
|
4105
|
+
@TableId = params['TableId']
|
4106
|
+
unless params['KeyFieldMapping'].nil?
|
4107
|
+
@KeyFieldMapping = []
|
4108
|
+
params['KeyFieldMapping'].each do |i|
|
4109
|
+
synctablefield_tmp = SyncTableField.new
|
4110
|
+
synctablefield_tmp.deserialize(i)
|
4111
|
+
@KeyFieldMapping << synctablefield_tmp
|
4112
|
+
end
|
4113
|
+
end
|
4114
|
+
unless params['ValueFieldMapping'].nil?
|
4115
|
+
@ValueFieldMapping = []
|
4116
|
+
params['ValueFieldMapping'].each do |i|
|
4117
|
+
synctablefield_tmp = SyncTableField.new
|
4118
|
+
synctablefield_tmp.deserialize(i)
|
4119
|
+
@ValueFieldMapping << synctablefield_tmp
|
4120
|
+
end
|
4121
|
+
end
|
4122
|
+
end
|
4123
|
+
end
|
4124
|
+
|
4035
4125
|
# 表格组详细信息
|
4036
4126
|
class TableGroupInfo < TencentCloud::Common::AbstractModel
|
4037
4127
|
# @param TableGroupId: 表格组ID
|
@@ -4150,10 +4240,13 @@ module TencentCloud
|
|
4150
4240
|
# @param TxhBackupExpireDay: 表格Txh备份文件多少天后过期删除
|
4151
4241
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4152
4242
|
# @type TxhBackupExpireDay: Integer
|
4243
|
+
# @param SyncTableInfo: 表格的缓写信息
|
4244
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4245
|
+
# @type SyncTableInfo: :class:`Tencentcloud::Tcaplusdb.v20190823.models.SyncTableInfo`
|
4153
4246
|
|
4154
|
-
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
|
4247
|
+
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
|
4155
4248
|
|
4156
|
-
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)
|
4249
|
+
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)
|
4157
4250
|
@TableName = tablename
|
4158
4251
|
@TableInstanceId = tableinstanceid
|
4159
4252
|
@TableType = tabletype
|
@@ -4182,6 +4275,7 @@ module TencentCloud
|
|
4182
4275
|
@SortRule = sortrule
|
4183
4276
|
@DbClusterInfoStruct = dbclusterinfostruct
|
4184
4277
|
@TxhBackupExpireDay = txhbackupexpireday
|
4278
|
+
@SyncTableInfo = synctableinfo
|
4185
4279
|
end
|
4186
4280
|
|
4187
4281
|
def deserialize(params)
|
@@ -4223,6 +4317,10 @@ module TencentCloud
|
|
4223
4317
|
@SortRule = params['SortRule']
|
4224
4318
|
@DbClusterInfoStruct = params['DbClusterInfoStruct']
|
4225
4319
|
@TxhBackupExpireDay = params['TxhBackupExpireDay']
|
4320
|
+
unless params['SyncTableInfo'].nil?
|
4321
|
+
@SyncTableInfo = SyncTableInfo.new
|
4322
|
+
@SyncTableInfo.deserialize(params['SyncTableInfo'])
|
4323
|
+
end
|
4226
4324
|
end
|
4227
4325
|
end
|
4228
4326
|
|
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.
|
4
|
+
version: 3.0.391
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|