tencentcloud-sdk-cdwch 3.0.652 → 3.0.654
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/v20200915/models.rb +86 -1
- 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: 6f7b6ef8252cc4caf0a37b18da946fa2efb0d2d6
|
4
|
+
data.tar.gz: 0ac7b8a04278cd3e94321b93d2ed40825bc1975a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9753b951629f801bc4a751906eae7816a73b828b2897cf92ae0c1c294d25ddd4aaabda0f27709936e632da48236e4b15de18c0da25a9e5412a5415e2510c2c
|
7
|
+
data.tar.gz: 0928b802feca570ae459835daaba3927c8ae1c1963f212e5605e12b765b91f25dc5022ef5e39bfd94b1d7da30fb760bc094c98a6799838d9bd3efa7f6b7ad9da
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.654
|
data/lib/v20200915/models.rb
CHANGED
@@ -498,6 +498,39 @@ module TencentCloud
|
|
498
498
|
end
|
499
499
|
end
|
500
500
|
|
501
|
+
# 数据库权限信息
|
502
|
+
class DatabasePrivilegeInfo < TencentCloud::Common::AbstractModel
|
503
|
+
# @param DatabaseName: 数据库名称
|
504
|
+
# @type DatabaseName: String
|
505
|
+
# @param DatabasePrivileges: //库表权限,SELECT、INSERT_ALL、ALTER、TRUNCATE、DROP_TABLE、CREATE_TABLE、DROP_DATABASE
|
506
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
507
|
+
# @type DatabasePrivileges: Array
|
508
|
+
# @param TablePrivilegeList: // 库下面的表权限
|
509
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
510
|
+
# @type TablePrivilegeList: Array
|
511
|
+
|
512
|
+
attr_accessor :DatabaseName, :DatabasePrivileges, :TablePrivilegeList
|
513
|
+
|
514
|
+
def initialize(databasename=nil, databaseprivileges=nil, tableprivilegelist=nil)
|
515
|
+
@DatabaseName = databasename
|
516
|
+
@DatabasePrivileges = databaseprivileges
|
517
|
+
@TablePrivilegeList = tableprivilegelist
|
518
|
+
end
|
519
|
+
|
520
|
+
def deserialize(params)
|
521
|
+
@DatabaseName = params['DatabaseName']
|
522
|
+
@DatabasePrivileges = params['DatabasePrivileges']
|
523
|
+
unless params['TablePrivilegeList'].nil?
|
524
|
+
@TablePrivilegeList = []
|
525
|
+
params['TablePrivilegeList'].each do |i|
|
526
|
+
tableprivilegeinfo_tmp = TablePrivilegeInfo.new
|
527
|
+
tableprivilegeinfo_tmp.deserialize(i)
|
528
|
+
@TablePrivilegeList << tableprivilegeinfo_tmp
|
529
|
+
end
|
530
|
+
end
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
501
534
|
# DeleteBackUpData请求参数结构体
|
502
535
|
class DeleteBackUpDataRequest < TencentCloud::Common::AbstractModel
|
503
536
|
# @param InstanceId: 集群id
|
@@ -1881,12 +1914,44 @@ module TencentCloud
|
|
1881
1914
|
|
1882
1915
|
# ModifyUserNewPrivilege请求参数结构体
|
1883
1916
|
class ModifyUserNewPrivilegeRequest < TencentCloud::Common::AbstractModel
|
1917
|
+
# @param InstanceId: 实例id
|
1918
|
+
# @type InstanceId: String
|
1919
|
+
# @param Cluster: cluster名称
|
1920
|
+
# @type Cluster: String
|
1921
|
+
# @param UserName: 用户名
|
1922
|
+
# @type UserName: String
|
1923
|
+
# @param AllDatabase: 是否所有数据库表
|
1924
|
+
# @type AllDatabase: Boolean
|
1925
|
+
# @param GlobalPrivileges: 全局权限
|
1926
|
+
# @type GlobalPrivileges: Array
|
1927
|
+
# @param DatabasePrivilegeList: 数据库表权限
|
1928
|
+
# @type DatabasePrivilegeList: Array
|
1884
1929
|
|
1930
|
+
attr_accessor :InstanceId, :Cluster, :UserName, :AllDatabase, :GlobalPrivileges, :DatabasePrivilegeList
|
1885
1931
|
|
1886
|
-
def initialize()
|
1932
|
+
def initialize(instanceid=nil, cluster=nil, username=nil, alldatabase=nil, globalprivileges=nil, databaseprivilegelist=nil)
|
1933
|
+
@InstanceId = instanceid
|
1934
|
+
@Cluster = cluster
|
1935
|
+
@UserName = username
|
1936
|
+
@AllDatabase = alldatabase
|
1937
|
+
@GlobalPrivileges = globalprivileges
|
1938
|
+
@DatabasePrivilegeList = databaseprivilegelist
|
1887
1939
|
end
|
1888
1940
|
|
1889
1941
|
def deserialize(params)
|
1942
|
+
@InstanceId = params['InstanceId']
|
1943
|
+
@Cluster = params['Cluster']
|
1944
|
+
@UserName = params['UserName']
|
1945
|
+
@AllDatabase = params['AllDatabase']
|
1946
|
+
@GlobalPrivileges = params['GlobalPrivileges']
|
1947
|
+
unless params['DatabasePrivilegeList'].nil?
|
1948
|
+
@DatabasePrivilegeList = []
|
1949
|
+
params['DatabasePrivilegeList'].each do |i|
|
1950
|
+
databaseprivilegeinfo_tmp = DatabasePrivilegeInfo.new
|
1951
|
+
databaseprivilegeinfo_tmp.deserialize(i)
|
1952
|
+
@DatabasePrivilegeList << databaseprivilegeinfo_tmp
|
1953
|
+
end
|
1954
|
+
end
|
1890
1955
|
end
|
1891
1956
|
end
|
1892
1957
|
|
@@ -2420,6 +2485,26 @@ module TencentCloud
|
|
2420
2485
|
end
|
2421
2486
|
end
|
2422
2487
|
|
2488
|
+
# 表权限
|
2489
|
+
class TablePrivilegeInfo < TencentCloud::Common::AbstractModel
|
2490
|
+
# @param TableName: 表名称
|
2491
|
+
# @type TableName: String
|
2492
|
+
# @param TablePrivileges: 表权限列表 SELECT、INSERT_ALL、ALTER、TRUNCATE、DROP_TABLE 查询、插入、设置、清空表、删除表
|
2493
|
+
# @type TablePrivileges: Array
|
2494
|
+
|
2495
|
+
attr_accessor :TableName, :TablePrivileges
|
2496
|
+
|
2497
|
+
def initialize(tablename=nil, tableprivileges=nil)
|
2498
|
+
@TableName = tablename
|
2499
|
+
@TablePrivileges = tableprivileges
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
def deserialize(params)
|
2503
|
+
@TableName = params['TableName']
|
2504
|
+
@TablePrivileges = params['TablePrivileges']
|
2505
|
+
end
|
2506
|
+
end
|
2507
|
+
|
2423
2508
|
# 标签描述
|
2424
2509
|
class Tag < TencentCloud::Common::AbstractModel
|
2425
2510
|
# @param TagKey: 标签的键
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.654
|
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-09-
|
11
|
+
date: 2023-09-07 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-cdwch.rb
|
37
|
-
- lib/v20200915/client.rb
|
38
36
|
- lib/v20200915/models.rb
|
37
|
+
- lib/v20200915/client.rb
|
38
|
+
- lib/tencentcloud-sdk-cdwch.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|