tencentcloud-sdk-cdwch 3.0.652 → 3.0.653

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200915/models.rb +86 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e1257bd15ce5d9f76a1d59d59674ec3db2374f2
4
- data.tar.gz: a8a3c12414c39db253148f662a4764b7406d6b21
3
+ metadata.gz: 0c6a20822f571138ff6305a460766fd44d36620e
4
+ data.tar.gz: e587084f5948928769c37800eb9a5eb786048af1
5
5
  SHA512:
6
- metadata.gz: 3c69bb6e6b30fdbea9ac19308503052335d7ca16596bb8052f43adaec9af8f212a8eed7c30eb273f97ce5cac7f61f035033277e27b20dfb83f84ad92ad3487ef
7
- data.tar.gz: 7c99009e04e56140ab078e1e9cf25d95712419920da8a4df1bf511c444fd415284d53bd32d3fe034b8a407fad31984363fe0cb49515fd1f078786ade9f84b422
6
+ metadata.gz: 9dd6c493ecca101d14232b0a04cad21456339fd7d01e84be2a9c641b55926557e7507419ceabdbb341072778306fe46e7dc77b35be97b01f321d3f8eb9085d6e
7
+ data.tar.gz: 14a04b1f319420281c115947af2a4453fa5a02d39531d36e38affc979837efb3f4c037e2417d2db9eed84118e2aad8283660a7f4c411b9b666f15941c4d7bfa0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.652
1
+ 3.0.653
@@ -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.652
4
+ version: 3.0.653
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-05 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common