tencentcloud-sdk-dlc 1.0.277 → 1.0.278
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/v20210125/models.rb +84 -13
- 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: 21d134ac787a534bdcfa46fd35e6fd0ea4be3f59
|
4
|
+
data.tar.gz: 091c651027090c1a365932e9453b81ce41e4b46a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81b9735a379c1bc92eedc66274ec8a693b71f7121ccee9e4408a50e296009ecf14285b5c611d597bac2f1d8e80dbb69dfaf6010319ae8f18a91da4ab2573ebb2
|
7
|
+
data.tar.gz: 8b0ff8662ec1d172a6c02a932ee29b95a88d5542b7488f29476c6b7a70876f4806d606ee7a764742e10a0117ace0a1262d030d6285ffd343908f785a2ac36ea1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.278
|
data/lib/v20210125/models.rb
CHANGED
@@ -281,7 +281,7 @@ module TencentCloud
|
|
281
281
|
# @param Nullable: 是否为null
|
282
282
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
283
283
|
# @type Nullable: String
|
284
|
-
# @param Position:
|
284
|
+
# @param Position: 字段位置,小的在前
|
285
285
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
286
286
|
# @type Position: Integer
|
287
287
|
# @param CreateTime: 字段创建时间
|
@@ -1471,15 +1471,18 @@ module TencentCloud
|
|
1471
1471
|
# @type SortBy: String
|
1472
1472
|
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc
|
1473
1473
|
# @type Sorting: String
|
1474
|
+
# @param Filters: 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。
|
1475
|
+
# @type Filters: Array
|
1474
1476
|
|
1475
|
-
attr_accessor :UserId, :Offset, :Limit, :SortBy, :Sorting
|
1477
|
+
attr_accessor :UserId, :Offset, :Limit, :SortBy, :Sorting, :Filters
|
1476
1478
|
|
1477
|
-
def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil)
|
1479
|
+
def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, filters=nil)
|
1478
1480
|
@UserId = userid
|
1479
1481
|
@Offset = offset
|
1480
1482
|
@Limit = limit
|
1481
1483
|
@SortBy = sortby
|
1482
1484
|
@Sorting = sorting
|
1485
|
+
@Filters = filters
|
1483
1486
|
end
|
1484
1487
|
|
1485
1488
|
def deserialize(params)
|
@@ -1488,6 +1491,14 @@ module TencentCloud
|
|
1488
1491
|
@Limit = params['Limit']
|
1489
1492
|
@SortBy = params['SortBy']
|
1490
1493
|
@Sorting = params['Sorting']
|
1494
|
+
unless params['Filters'].nil?
|
1495
|
+
@Filters = []
|
1496
|
+
params['Filters'].each do |i|
|
1497
|
+
filter_tmp = Filter.new
|
1498
|
+
filter_tmp.deserialize(i)
|
1499
|
+
@Filters << filter_tmp
|
1500
|
+
end
|
1501
|
+
end
|
1491
1502
|
end
|
1492
1503
|
end
|
1493
1504
|
|
@@ -1944,23 +1955,59 @@ module TencentCloud
|
|
1944
1955
|
class Policy < TencentCloud::Common::AbstractModel
|
1945
1956
|
# @param Database: 需要授权的数据库名,填*代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。
|
1946
1957
|
# @type Database: String
|
1947
|
-
# @param Catalog: 需要授权的数据源名称,管理员级别下只支持填*(代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为
|
1958
|
+
# @param Catalog: 需要授权的数据源名称,管理员级别下只支持填*(代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。
|
1948
1959
|
# @type Catalog: String
|
1949
1960
|
# @param Table: 需要授权的表名,填*代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
|
1950
1961
|
# @type Table: String
|
1951
|
-
# @param Operation: 授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:
|
1962
|
+
# @param Operation: 授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:CREATE;数据库级别鉴权:ALL、CREATE、ALTER、DROP;数据表权限:ALL、SELECT、INSERT、ALTER、DELETE、DROP、UPDATE。注意:在数据表权限下,指定的数据源不为COSDataCatalog的时候,只支持SELECT操作。
|
1952
1963
|
# @type Operation: String
|
1953
|
-
# @param PolicyType:
|
1964
|
+
# @param PolicyType: 授权类型,现在支持八种授权类型:ADMIN:管理员级别鉴权 DATASOURCE:数据连接级别鉴权 DATABASE:数据库级别鉴权 TABLE:表级别鉴权 VIEW:视图级别鉴权 FUNCTION:函数级别鉴权 COLUMN:列级别鉴权 ENGINE:数据引擎鉴权。不填默认为管理员级别鉴权。
|
1954
1965
|
# @type PolicyType: String
|
1966
|
+
# @param Function: 需要授权的函数名,填*代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。
|
1967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1968
|
+
# @type Function: String
|
1969
|
+
# @param View: 需要授权的视图,填*代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。
|
1970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1971
|
+
# @type View: String
|
1972
|
+
# @param Column: 需要授权的列,填*代表当前所有列。当授权类型为管理员级别时,只允许填“*”
|
1973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1974
|
+
# @type Column: String
|
1975
|
+
# @param DataEngine: 需要授权的数据引擎,填*代表当前所有引擎。当授权类型为管理员级别时,只允许填“*”
|
1976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1977
|
+
# @type DataEngine: String
|
1978
|
+
# @param ReAuth: 用户是否可以进行二次授权。当为true的时候,被授权的用户可以将本次获取的权限再次授权给其他子用户。默认为false
|
1979
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1980
|
+
# @type ReAuth: Boolean
|
1981
|
+
# @param Source: 权限来源,入参不填。USER:权限来自用户本身;WORKGROUP:权限来自绑定的工作组
|
1982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1983
|
+
# @type Source: String
|
1984
|
+
# @param Mode: 授权模式,入参不填。COMMON:普通模式;SENIOR:高级模式。
|
1985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1986
|
+
# @type Mode: String
|
1987
|
+
# @param Operator: 操作者,入参不填。
|
1988
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1989
|
+
# @type Operator: String
|
1990
|
+
# @param CreateTime: 权限创建的时间,入参不填
|
1991
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1992
|
+
# @type CreateTime: String
|
1955
1993
|
|
1956
|
-
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType
|
1994
|
+
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime
|
1957
1995
|
|
1958
|
-
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil)
|
1996
|
+
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil)
|
1959
1997
|
@Database = database
|
1960
1998
|
@Catalog = catalog
|
1961
1999
|
@Table = table
|
1962
2000
|
@Operation = operation
|
1963
2001
|
@PolicyType = policytype
|
2002
|
+
@Function = function
|
2003
|
+
@View = view
|
2004
|
+
@Column = column
|
2005
|
+
@DataEngine = dataengine
|
2006
|
+
@ReAuth = reauth
|
2007
|
+
@Source = source
|
2008
|
+
@Mode = mode
|
2009
|
+
@Operator = operator
|
2010
|
+
@CreateTime = createtime
|
1964
2011
|
end
|
1965
2012
|
|
1966
2013
|
def deserialize(params)
|
@@ -1969,6 +2016,15 @@ module TencentCloud
|
|
1969
2016
|
@Table = params['Table']
|
1970
2017
|
@Operation = params['Operation']
|
1971
2018
|
@PolicyType = params['PolicyType']
|
2019
|
+
@Function = params['Function']
|
2020
|
+
@View = params['View']
|
2021
|
+
@Column = params['Column']
|
2022
|
+
@DataEngine = params['DataEngine']
|
2023
|
+
@ReAuth = params['ReAuth']
|
2024
|
+
@Source = params['Source']
|
2025
|
+
@Mode = params['Mode']
|
2026
|
+
@Operator = params['Operator']
|
2027
|
+
@CreateTime = params['CreateTime']
|
1972
2028
|
end
|
1973
2029
|
end
|
1974
2030
|
|
@@ -2178,10 +2234,16 @@ module TencentCloud
|
|
2178
2234
|
# @param InputFormat: 数据格式。
|
2179
2235
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2180
2236
|
# @type InputFormat: String
|
2237
|
+
# @param StorageSize: 数据表存储大小(单位:Byte)
|
2238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2239
|
+
# @type StorageSize: Integer
|
2240
|
+
# @param RecordCount: 数据表行数
|
2241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2242
|
+
# @type RecordCount: Integer
|
2181
2243
|
|
2182
|
-
attr_accessor :TableBaseInfo, :Columns, :Partitions, :Location, :Properties, :ModifiedTime, :CreateTime, :InputFormat
|
2244
|
+
attr_accessor :TableBaseInfo, :Columns, :Partitions, :Location, :Properties, :ModifiedTime, :CreateTime, :InputFormat, :StorageSize, :RecordCount
|
2183
2245
|
|
2184
|
-
def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, location=nil, properties=nil, modifiedtime=nil, createtime=nil, inputformat=nil)
|
2246
|
+
def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, location=nil, properties=nil, modifiedtime=nil, createtime=nil, inputformat=nil, storagesize=nil, recordcount=nil)
|
2185
2247
|
@TableBaseInfo = tablebaseinfo
|
2186
2248
|
@Columns = columns
|
2187
2249
|
@Partitions = partitions
|
@@ -2190,6 +2252,8 @@ module TencentCloud
|
|
2190
2252
|
@ModifiedTime = modifiedtime
|
2191
2253
|
@CreateTime = createtime
|
2192
2254
|
@InputFormat = inputformat
|
2255
|
+
@StorageSize = storagesize
|
2256
|
+
@RecordCount = recordcount
|
2193
2257
|
end
|
2194
2258
|
|
2195
2259
|
def deserialize(params)
|
@@ -2225,6 +2289,8 @@ module TencentCloud
|
|
2225
2289
|
@ModifiedTime = params['ModifiedTime']
|
2226
2290
|
@CreateTime = params['CreateTime']
|
2227
2291
|
@InputFormat = params['InputFormat']
|
2292
|
+
@StorageSize = params['StorageSize']
|
2293
|
+
@RecordCount = params['RecordCount']
|
2228
2294
|
end
|
2229
2295
|
end
|
2230
2296
|
|
@@ -2599,13 +2665,16 @@ module TencentCloud
|
|
2599
2665
|
# @param WorkGroupSet: 关联的工作组集合
|
2600
2666
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2601
2667
|
# @type WorkGroupSet: Array
|
2602
|
-
# @param IsOwner:
|
2668
|
+
# @param IsOwner: 是否是主账号
|
2603
2669
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2604
2670
|
# @type IsOwner: Boolean
|
2671
|
+
# @param UserType: 用户类型。ADMIN:管理员 COMMON:普通用户。
|
2672
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2673
|
+
# @type UserType: String
|
2605
2674
|
|
2606
|
-
attr_accessor :UserId, :UserDescription, :PolicySet, :Creator, :CreateTime, :WorkGroupSet, :IsOwner
|
2675
|
+
attr_accessor :UserId, :UserDescription, :PolicySet, :Creator, :CreateTime, :WorkGroupSet, :IsOwner, :UserType
|
2607
2676
|
|
2608
|
-
def initialize(userid=nil, userdescription=nil, policyset=nil, creator=nil, createtime=nil, workgroupset=nil, isowner=nil)
|
2677
|
+
def initialize(userid=nil, userdescription=nil, policyset=nil, creator=nil, createtime=nil, workgroupset=nil, isowner=nil, usertype=nil)
|
2609
2678
|
@UserId = userid
|
2610
2679
|
@UserDescription = userdescription
|
2611
2680
|
@PolicySet = policyset
|
@@ -2613,6 +2682,7 @@ module TencentCloud
|
|
2613
2682
|
@CreateTime = createtime
|
2614
2683
|
@WorkGroupSet = workgroupset
|
2615
2684
|
@IsOwner = isowner
|
2685
|
+
@UserType = usertype
|
2616
2686
|
end
|
2617
2687
|
|
2618
2688
|
def deserialize(params)
|
@@ -2637,6 +2707,7 @@ module TencentCloud
|
|
2637
2707
|
end
|
2638
2708
|
end
|
2639
2709
|
@IsOwner = params['IsOwner']
|
2710
|
+
@UserType = params['UserType']
|
2640
2711
|
end
|
2641
2712
|
end
|
2642
2713
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.278
|
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-03-
|
11
|
+
date: 2022-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|