tencentcloud-sdk-cdwch 3.0.651 → 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: ecb5221c7afeb03ed58ec0f677255fc08c3c3be2
4
- data.tar.gz: 9d081c26801b6b693a59fab7d3057e2e383f7d4a
3
+ metadata.gz: 0c6a20822f571138ff6305a460766fd44d36620e
4
+ data.tar.gz: e587084f5948928769c37800eb9a5eb786048af1
5
5
  SHA512:
6
- metadata.gz: 3ac5104afcd627e8449eb3cd96ea730c9084656adc7339c6b6f65efbca5ce4bc98b8b35e738ddc86a9c65af0c01f7313019ef112631a677bc6b226a9428f41a2
7
- data.tar.gz: 997d77512315925f007435a7dcac317c288348bdeae2a82f8f3395f0474980107061004ddf4978c30e041c4f61c0ffc7ec6a59951ae27d44b405362732867e2e
6
+ metadata.gz: 9dd6c493ecca101d14232b0a04cad21456339fd7d01e84be2a9c641b55926557e7507419ceabdbb341072778306fe46e7dc77b35be97b01f321d3f8eb9085d6e
7
+ data.tar.gz: 14a04b1f319420281c115947af2a4453fa5a02d39531d36e38affc979837efb3f4c037e2417d2db9eed84118e2aad8283660a7f4c411b9b666f15941c4d7bfa0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.651
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.651
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-01 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