tencentcloud-sdk-python-dlc 3.1.130__tar.gz → 3.1.131__tar.gz
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.
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/dlc/v20210125/models.py +209 -192
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.131/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.130/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/dlc/v20210125/dlc_client.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/dlc/v20210125/dlc_client_async.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.130 → tencentcloud_sdk_python_dlc-3.1.131}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dlc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.131
|
|
4
4
|
Summary: Tencent Cloud Dlc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dlc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.131,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -1885,11 +1885,11 @@ class AttachUserPolicyRequest(AbstractModel):
|
|
|
1885
1885
|
|
|
1886
1886
|
def __init__(self):
|
|
1887
1887
|
r"""
|
|
1888
|
-
:param _UserId:
|
|
1888
|
+
:param _UserId: <p>用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。</p>
|
|
1889
1889
|
:type UserId: str
|
|
1890
|
-
:param _PolicySet:
|
|
1890
|
+
:param _PolicySet: <p>鉴权策略集合</p>
|
|
1891
1891
|
:type PolicySet: list of Policy
|
|
1892
|
-
:param _AccountType:
|
|
1892
|
+
:param _AccountType: <p>用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)</p>
|
|
1893
1893
|
:type AccountType: str
|
|
1894
1894
|
"""
|
|
1895
1895
|
self._UserId = None
|
|
@@ -1898,7 +1898,7 @@ class AttachUserPolicyRequest(AbstractModel):
|
|
|
1898
1898
|
|
|
1899
1899
|
@property
|
|
1900
1900
|
def UserId(self):
|
|
1901
|
-
r"""
|
|
1901
|
+
r"""<p>用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。</p>
|
|
1902
1902
|
:rtype: str
|
|
1903
1903
|
"""
|
|
1904
1904
|
return self._UserId
|
|
@@ -1909,7 +1909,7 @@ class AttachUserPolicyRequest(AbstractModel):
|
|
|
1909
1909
|
|
|
1910
1910
|
@property
|
|
1911
1911
|
def PolicySet(self):
|
|
1912
|
-
r"""
|
|
1912
|
+
r"""<p>鉴权策略集合</p>
|
|
1913
1913
|
:rtype: list of Policy
|
|
1914
1914
|
"""
|
|
1915
1915
|
return self._PolicySet
|
|
@@ -1920,7 +1920,7 @@ class AttachUserPolicyRequest(AbstractModel):
|
|
|
1920
1920
|
|
|
1921
1921
|
@property
|
|
1922
1922
|
def AccountType(self):
|
|
1923
|
-
r"""
|
|
1923
|
+
r"""<p>用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)</p>
|
|
1924
1924
|
:rtype: str
|
|
1925
1925
|
"""
|
|
1926
1926
|
return self._AccountType
|
|
@@ -1956,11 +1956,25 @@ class AttachUserPolicyResponse(AbstractModel):
|
|
|
1956
1956
|
|
|
1957
1957
|
def __init__(self):
|
|
1958
1958
|
r"""
|
|
1959
|
+
:param _PolicySet: <p>要授权的策略列表</p>
|
|
1960
|
+
:type PolicySet: list of Policy
|
|
1959
1961
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1960
1962
|
:type RequestId: str
|
|
1961
1963
|
"""
|
|
1964
|
+
self._PolicySet = None
|
|
1962
1965
|
self._RequestId = None
|
|
1963
1966
|
|
|
1967
|
+
@property
|
|
1968
|
+
def PolicySet(self):
|
|
1969
|
+
r"""<p>要授权的策略列表</p>
|
|
1970
|
+
:rtype: list of Policy
|
|
1971
|
+
"""
|
|
1972
|
+
return self._PolicySet
|
|
1973
|
+
|
|
1974
|
+
@PolicySet.setter
|
|
1975
|
+
def PolicySet(self, PolicySet):
|
|
1976
|
+
self._PolicySet = PolicySet
|
|
1977
|
+
|
|
1964
1978
|
@property
|
|
1965
1979
|
def RequestId(self):
|
|
1966
1980
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1974,6 +1988,12 @@ class AttachUserPolicyResponse(AbstractModel):
|
|
|
1974
1988
|
|
|
1975
1989
|
|
|
1976
1990
|
def _deserialize(self, params):
|
|
1991
|
+
if params.get("PolicySet") is not None:
|
|
1992
|
+
self._PolicySet = []
|
|
1993
|
+
for item in params.get("PolicySet"):
|
|
1994
|
+
obj = Policy()
|
|
1995
|
+
obj._deserialize(item)
|
|
1996
|
+
self._PolicySet.append(obj)
|
|
1977
1997
|
self._RequestId = params.get("RequestId")
|
|
1978
1998
|
|
|
1979
1999
|
|
|
@@ -1984,9 +2004,9 @@ class AttachWorkGroupPolicyRequest(AbstractModel):
|
|
|
1984
2004
|
|
|
1985
2005
|
def __init__(self):
|
|
1986
2006
|
r"""
|
|
1987
|
-
:param _WorkGroupId:
|
|
2007
|
+
:param _WorkGroupId: <p>工作组Id</p>
|
|
1988
2008
|
:type WorkGroupId: int
|
|
1989
|
-
:param _PolicySet:
|
|
2009
|
+
:param _PolicySet: <p>要绑定的策略集合</p>
|
|
1990
2010
|
:type PolicySet: list of Policy
|
|
1991
2011
|
"""
|
|
1992
2012
|
self._WorkGroupId = None
|
|
@@ -1994,7 +2014,7 @@ class AttachWorkGroupPolicyRequest(AbstractModel):
|
|
|
1994
2014
|
|
|
1995
2015
|
@property
|
|
1996
2016
|
def WorkGroupId(self):
|
|
1997
|
-
r"""
|
|
2017
|
+
r"""<p>工作组Id</p>
|
|
1998
2018
|
:rtype: int
|
|
1999
2019
|
"""
|
|
2000
2020
|
return self._WorkGroupId
|
|
@@ -2005,7 +2025,7 @@ class AttachWorkGroupPolicyRequest(AbstractModel):
|
|
|
2005
2025
|
|
|
2006
2026
|
@property
|
|
2007
2027
|
def PolicySet(self):
|
|
2008
|
-
r"""
|
|
2028
|
+
r"""<p>要绑定的策略集合</p>
|
|
2009
2029
|
:rtype: list of Policy
|
|
2010
2030
|
"""
|
|
2011
2031
|
return self._PolicySet
|
|
@@ -2040,11 +2060,25 @@ class AttachWorkGroupPolicyResponse(AbstractModel):
|
|
|
2040
2060
|
|
|
2041
2061
|
def __init__(self):
|
|
2042
2062
|
r"""
|
|
2063
|
+
:param _PolicySet: <p>要授权的策略列表</p>
|
|
2064
|
+
:type PolicySet: list of Policy
|
|
2043
2065
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2044
2066
|
:type RequestId: str
|
|
2045
2067
|
"""
|
|
2068
|
+
self._PolicySet = None
|
|
2046
2069
|
self._RequestId = None
|
|
2047
2070
|
|
|
2071
|
+
@property
|
|
2072
|
+
def PolicySet(self):
|
|
2073
|
+
r"""<p>要授权的策略列表</p>
|
|
2074
|
+
:rtype: list of Policy
|
|
2075
|
+
"""
|
|
2076
|
+
return self._PolicySet
|
|
2077
|
+
|
|
2078
|
+
@PolicySet.setter
|
|
2079
|
+
def PolicySet(self, PolicySet):
|
|
2080
|
+
self._PolicySet = PolicySet
|
|
2081
|
+
|
|
2048
2082
|
@property
|
|
2049
2083
|
def RequestId(self):
|
|
2050
2084
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2058,6 +2092,12 @@ class AttachWorkGroupPolicyResponse(AbstractModel):
|
|
|
2058
2092
|
|
|
2059
2093
|
|
|
2060
2094
|
def _deserialize(self, params):
|
|
2095
|
+
if params.get("PolicySet") is not None:
|
|
2096
|
+
self._PolicySet = []
|
|
2097
|
+
for item in params.get("PolicySet"):
|
|
2098
|
+
obj = Policy()
|
|
2099
|
+
obj._deserialize(item)
|
|
2100
|
+
self._PolicySet.append(obj)
|
|
2061
2101
|
self._RequestId = params.get("RequestId")
|
|
2062
2102
|
|
|
2063
2103
|
|
|
@@ -26105,46 +26145,24 @@ class DescribeUserInfoRequest(AbstractModel):
|
|
|
26105
26145
|
|
|
26106
26146
|
def __init__(self):
|
|
26107
26147
|
r"""
|
|
26108
|
-
:param _UserId:
|
|
26148
|
+
:param _UserId: <p>用户Id</p>
|
|
26109
26149
|
:type UserId: str
|
|
26110
|
-
:param _Type:
|
|
26150
|
+
:param _Type: <p>必传字段,查询的信息类型,Group:工作组 DataAuth:数据权限 EngineAuth:引擎权限 RowFilter:行级别权限</p>
|
|
26111
26151
|
:type Type: str
|
|
26112
|
-
:param _Filters:
|
|
26113
|
-
|
|
26114
|
-
当Type为Group时,支持Key为workgroup-name的模糊搜索;
|
|
26115
|
-
|
|
26116
|
-
当Type为DataAuth时,支持key:
|
|
26117
|
-
|
|
26118
|
-
policy-type:权限类型。
|
|
26119
|
-
|
|
26120
|
-
policy-source:数据来源。
|
|
26121
|
-
|
|
26122
|
-
data-name:库表的模糊搜索。
|
|
26123
|
-
|
|
26124
|
-
当Type为EngineAuth时,支持key:
|
|
26125
|
-
|
|
26126
|
-
policy-type:权限类型。
|
|
26127
|
-
|
|
26128
|
-
policy-source:数据来源。
|
|
26129
|
-
|
|
26130
|
-
engine-name:库表的模糊搜索。
|
|
26152
|
+
:param _Filters: <p>查询的过滤条件。</p><p>当Type为Group时,支持Key为workgroup-name的模糊搜索;</p><p>当Type为DataAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>data-name:库表的模糊搜索。</p><p>当Type为EngineAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>engine-name:库表的模糊搜索。</p>
|
|
26131
26153
|
:type Filters: list of Filter
|
|
26132
|
-
:param _SortBy:
|
|
26133
|
-
|
|
26134
|
-
当Type为Group时,支持create-time、group-name
|
|
26135
|
-
|
|
26136
|
-
当Type为DataAuth时,支持create-time
|
|
26137
|
-
|
|
26138
|
-
当Type为EngineAuth时,支持create-time
|
|
26154
|
+
:param _SortBy: <p>排序字段。</p><p>当Type为Group时,支持create-time、group-name</p><p>当Type为DataAuth时,支持create-time</p><p>当Type为EngineAuth时,支持create-time</p>
|
|
26139
26155
|
:type SortBy: str
|
|
26140
|
-
:param _Sorting:
|
|
26156
|
+
:param _Sorting: <p>排序方式,desc表示正序,asc表示反序, 默认为asc</p>
|
|
26141
26157
|
:type Sorting: str
|
|
26142
|
-
:param _Limit:
|
|
26158
|
+
:param _Limit: <p>返回数量,默认20,最大值100</p>
|
|
26143
26159
|
:type Limit: int
|
|
26144
|
-
:param _Offset:
|
|
26160
|
+
:param _Offset: <p>偏移量,默认为0</p>
|
|
26145
26161
|
:type Offset: int
|
|
26146
|
-
:param _AccountType:
|
|
26162
|
+
:param _AccountType: <p>用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)</p>
|
|
26147
26163
|
:type AccountType: str
|
|
26164
|
+
:param _PolicyId: <p>TF 资源 ID</p>
|
|
26165
|
+
:type PolicyId: str
|
|
26148
26166
|
"""
|
|
26149
26167
|
self._UserId = None
|
|
26150
26168
|
self._Type = None
|
|
@@ -26154,10 +26172,11 @@ engine-name:库表的模糊搜索。
|
|
|
26154
26172
|
self._Limit = None
|
|
26155
26173
|
self._Offset = None
|
|
26156
26174
|
self._AccountType = None
|
|
26175
|
+
self._PolicyId = None
|
|
26157
26176
|
|
|
26158
26177
|
@property
|
|
26159
26178
|
def UserId(self):
|
|
26160
|
-
r"""
|
|
26179
|
+
r"""<p>用户Id</p>
|
|
26161
26180
|
:rtype: str
|
|
26162
26181
|
"""
|
|
26163
26182
|
return self._UserId
|
|
@@ -26168,7 +26187,7 @@ engine-name:库表的模糊搜索。
|
|
|
26168
26187
|
|
|
26169
26188
|
@property
|
|
26170
26189
|
def Type(self):
|
|
26171
|
-
r"""
|
|
26190
|
+
r"""<p>必传字段,查询的信息类型,Group:工作组 DataAuth:数据权限 EngineAuth:引擎权限 RowFilter:行级别权限</p>
|
|
26172
26191
|
:rtype: str
|
|
26173
26192
|
"""
|
|
26174
26193
|
return self._Type
|
|
@@ -26179,25 +26198,7 @@ engine-name:库表的模糊搜索。
|
|
|
26179
26198
|
|
|
26180
26199
|
@property
|
|
26181
26200
|
def Filters(self):
|
|
26182
|
-
r"""
|
|
26183
|
-
|
|
26184
|
-
当Type为Group时,支持Key为workgroup-name的模糊搜索;
|
|
26185
|
-
|
|
26186
|
-
当Type为DataAuth时,支持key:
|
|
26187
|
-
|
|
26188
|
-
policy-type:权限类型。
|
|
26189
|
-
|
|
26190
|
-
policy-source:数据来源。
|
|
26191
|
-
|
|
26192
|
-
data-name:库表的模糊搜索。
|
|
26193
|
-
|
|
26194
|
-
当Type为EngineAuth时,支持key:
|
|
26195
|
-
|
|
26196
|
-
policy-type:权限类型。
|
|
26197
|
-
|
|
26198
|
-
policy-source:数据来源。
|
|
26199
|
-
|
|
26200
|
-
engine-name:库表的模糊搜索。
|
|
26201
|
+
r"""<p>查询的过滤条件。</p><p>当Type为Group时,支持Key为workgroup-name的模糊搜索;</p><p>当Type为DataAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>data-name:库表的模糊搜索。</p><p>当Type为EngineAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>engine-name:库表的模糊搜索。</p>
|
|
26201
26202
|
:rtype: list of Filter
|
|
26202
26203
|
"""
|
|
26203
26204
|
return self._Filters
|
|
@@ -26208,13 +26209,7 @@ engine-name:库表的模糊搜索。
|
|
|
26208
26209
|
|
|
26209
26210
|
@property
|
|
26210
26211
|
def SortBy(self):
|
|
26211
|
-
r"""
|
|
26212
|
-
|
|
26213
|
-
当Type为Group时,支持create-time、group-name
|
|
26214
|
-
|
|
26215
|
-
当Type为DataAuth时,支持create-time
|
|
26216
|
-
|
|
26217
|
-
当Type为EngineAuth时,支持create-time
|
|
26212
|
+
r"""<p>排序字段。</p><p>当Type为Group时,支持create-time、group-name</p><p>当Type为DataAuth时,支持create-time</p><p>当Type为EngineAuth时,支持create-time</p>
|
|
26218
26213
|
:rtype: str
|
|
26219
26214
|
"""
|
|
26220
26215
|
return self._SortBy
|
|
@@ -26225,7 +26220,7 @@ engine-name:库表的模糊搜索。
|
|
|
26225
26220
|
|
|
26226
26221
|
@property
|
|
26227
26222
|
def Sorting(self):
|
|
26228
|
-
r"""
|
|
26223
|
+
r"""<p>排序方式,desc表示正序,asc表示反序, 默认为asc</p>
|
|
26229
26224
|
:rtype: str
|
|
26230
26225
|
"""
|
|
26231
26226
|
return self._Sorting
|
|
@@ -26236,7 +26231,7 @@ engine-name:库表的模糊搜索。
|
|
|
26236
26231
|
|
|
26237
26232
|
@property
|
|
26238
26233
|
def Limit(self):
|
|
26239
|
-
r"""
|
|
26234
|
+
r"""<p>返回数量,默认20,最大值100</p>
|
|
26240
26235
|
:rtype: int
|
|
26241
26236
|
"""
|
|
26242
26237
|
return self._Limit
|
|
@@ -26247,7 +26242,7 @@ engine-name:库表的模糊搜索。
|
|
|
26247
26242
|
|
|
26248
26243
|
@property
|
|
26249
26244
|
def Offset(self):
|
|
26250
|
-
r"""
|
|
26245
|
+
r"""<p>偏移量,默认为0</p>
|
|
26251
26246
|
:rtype: int
|
|
26252
26247
|
"""
|
|
26253
26248
|
return self._Offset
|
|
@@ -26258,7 +26253,7 @@ engine-name:库表的模糊搜索。
|
|
|
26258
26253
|
|
|
26259
26254
|
@property
|
|
26260
26255
|
def AccountType(self):
|
|
26261
|
-
r"""
|
|
26256
|
+
r"""<p>用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)</p>
|
|
26262
26257
|
:rtype: str
|
|
26263
26258
|
"""
|
|
26264
26259
|
return self._AccountType
|
|
@@ -26267,6 +26262,17 @@ engine-name:库表的模糊搜索。
|
|
|
26267
26262
|
def AccountType(self, AccountType):
|
|
26268
26263
|
self._AccountType = AccountType
|
|
26269
26264
|
|
|
26265
|
+
@property
|
|
26266
|
+
def PolicyId(self):
|
|
26267
|
+
r"""<p>TF 资源 ID</p>
|
|
26268
|
+
:rtype: str
|
|
26269
|
+
"""
|
|
26270
|
+
return self._PolicyId
|
|
26271
|
+
|
|
26272
|
+
@PolicyId.setter
|
|
26273
|
+
def PolicyId(self, PolicyId):
|
|
26274
|
+
self._PolicyId = PolicyId
|
|
26275
|
+
|
|
26270
26276
|
|
|
26271
26277
|
def _deserialize(self, params):
|
|
26272
26278
|
self._UserId = params.get("UserId")
|
|
@@ -26282,6 +26288,7 @@ engine-name:库表的模糊搜索。
|
|
|
26282
26288
|
self._Limit = params.get("Limit")
|
|
26283
26289
|
self._Offset = params.get("Offset")
|
|
26284
26290
|
self._AccountType = params.get("AccountType")
|
|
26291
|
+
self._PolicyId = params.get("PolicyId")
|
|
26285
26292
|
memeber_set = set(params.keys())
|
|
26286
26293
|
for name, value in vars(self).items():
|
|
26287
26294
|
property_name = name[1:]
|
|
@@ -26299,7 +26306,7 @@ class DescribeUserInfoResponse(AbstractModel):
|
|
|
26299
26306
|
|
|
26300
26307
|
def __init__(self):
|
|
26301
26308
|
r"""
|
|
26302
|
-
:param _UserInfo:
|
|
26309
|
+
:param _UserInfo: <p>用户详细信息</p>
|
|
26303
26310
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26304
26311
|
:type UserInfo: :class:`tencentcloud.dlc.v20210125.models.UserDetailInfo`
|
|
26305
26312
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -26310,7 +26317,7 @@ class DescribeUserInfoResponse(AbstractModel):
|
|
|
26310
26317
|
|
|
26311
26318
|
@property
|
|
26312
26319
|
def UserInfo(self):
|
|
26313
|
-
r"""
|
|
26320
|
+
r"""<p>用户详细信息</p>
|
|
26314
26321
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26315
26322
|
:rtype: :class:`tencentcloud.dlc.v20210125.models.UserDetailInfo`
|
|
26316
26323
|
"""
|
|
@@ -27233,44 +27240,22 @@ class DescribeWorkGroupInfoRequest(AbstractModel):
|
|
|
27233
27240
|
|
|
27234
27241
|
def __init__(self):
|
|
27235
27242
|
r"""
|
|
27236
|
-
:param _WorkGroupId:
|
|
27243
|
+
:param _WorkGroupId: <p>工作组Id</p>
|
|
27237
27244
|
:type WorkGroupId: int
|
|
27238
|
-
:param _Type:
|
|
27245
|
+
:param _Type: <p>查询信息类型:User:用户信息 DataAuth:数据权限 EngineAuth:引擎权限</p>
|
|
27239
27246
|
:type Type: str
|
|
27240
|
-
:param _Filters:
|
|
27241
|
-
|
|
27242
|
-
当Type为User时,支持Key为user-name的模糊搜索;
|
|
27243
|
-
|
|
27244
|
-
当Type为DataAuth时,支持key:
|
|
27245
|
-
|
|
27246
|
-
policy-type:权限类型。
|
|
27247
|
-
|
|
27248
|
-
policy-source:数据来源。
|
|
27249
|
-
|
|
27250
|
-
data-name:库表的模糊搜索。
|
|
27251
|
-
|
|
27252
|
-
当Type为EngineAuth时,支持key:
|
|
27253
|
-
|
|
27254
|
-
policy-type:权限类型。
|
|
27255
|
-
|
|
27256
|
-
policy-source:数据来源。
|
|
27257
|
-
|
|
27258
|
-
engine-name:库表的模糊搜索。
|
|
27247
|
+
:param _Filters: <p>查询的过滤条件。</p><p>当Type为User时,支持Key为user-name的模糊搜索;</p><p>当Type为DataAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>data-name:库表的模糊搜索。</p><p>当Type为EngineAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>engine-name:库表的模糊搜索。</p>
|
|
27259
27248
|
:type Filters: list of Filter
|
|
27260
|
-
:param _SortBy:
|
|
27261
|
-
|
|
27262
|
-
当Type为User时,支持create-time、user-name
|
|
27263
|
-
|
|
27264
|
-
当Type为DataAuth时,支持create-time
|
|
27265
|
-
|
|
27266
|
-
当Type为EngineAuth时,支持create-time
|
|
27249
|
+
:param _SortBy: <p>排序字段。</p><p>当Type为User时,支持create-time、user-name</p><p>当Type为DataAuth时,支持create-time</p><p>当Type为EngineAuth时,支持create-time</p>
|
|
27267
27250
|
:type SortBy: str
|
|
27268
|
-
:param _Sorting:
|
|
27251
|
+
:param _Sorting: <p>排序方式,desc表示正序,asc表示反序, 默认为asc</p>
|
|
27269
27252
|
:type Sorting: str
|
|
27270
|
-
:param _Limit:
|
|
27253
|
+
:param _Limit: <p>返回数量,默认20,最大值100</p>
|
|
27271
27254
|
:type Limit: int
|
|
27272
|
-
:param _Offset:
|
|
27255
|
+
:param _Offset: <p>偏移量,默认为0</p>
|
|
27273
27256
|
:type Offset: int
|
|
27257
|
+
:param _PolicyId: <p>要授权的策略列表</p>
|
|
27258
|
+
:type PolicyId: str
|
|
27274
27259
|
"""
|
|
27275
27260
|
self._WorkGroupId = None
|
|
27276
27261
|
self._Type = None
|
|
@@ -27279,10 +27264,11 @@ engine-name:库表的模糊搜索。
|
|
|
27279
27264
|
self._Sorting = None
|
|
27280
27265
|
self._Limit = None
|
|
27281
27266
|
self._Offset = None
|
|
27267
|
+
self._PolicyId = None
|
|
27282
27268
|
|
|
27283
27269
|
@property
|
|
27284
27270
|
def WorkGroupId(self):
|
|
27285
|
-
r"""
|
|
27271
|
+
r"""<p>工作组Id</p>
|
|
27286
27272
|
:rtype: int
|
|
27287
27273
|
"""
|
|
27288
27274
|
return self._WorkGroupId
|
|
@@ -27293,7 +27279,7 @@ engine-name:库表的模糊搜索。
|
|
|
27293
27279
|
|
|
27294
27280
|
@property
|
|
27295
27281
|
def Type(self):
|
|
27296
|
-
r"""
|
|
27282
|
+
r"""<p>查询信息类型:User:用户信息 DataAuth:数据权限 EngineAuth:引擎权限</p>
|
|
27297
27283
|
:rtype: str
|
|
27298
27284
|
"""
|
|
27299
27285
|
return self._Type
|
|
@@ -27304,25 +27290,7 @@ engine-name:库表的模糊搜索。
|
|
|
27304
27290
|
|
|
27305
27291
|
@property
|
|
27306
27292
|
def Filters(self):
|
|
27307
|
-
r"""
|
|
27308
|
-
|
|
27309
|
-
当Type为User时,支持Key为user-name的模糊搜索;
|
|
27310
|
-
|
|
27311
|
-
当Type为DataAuth时,支持key:
|
|
27312
|
-
|
|
27313
|
-
policy-type:权限类型。
|
|
27314
|
-
|
|
27315
|
-
policy-source:数据来源。
|
|
27316
|
-
|
|
27317
|
-
data-name:库表的模糊搜索。
|
|
27318
|
-
|
|
27319
|
-
当Type为EngineAuth时,支持key:
|
|
27320
|
-
|
|
27321
|
-
policy-type:权限类型。
|
|
27322
|
-
|
|
27323
|
-
policy-source:数据来源。
|
|
27324
|
-
|
|
27325
|
-
engine-name:库表的模糊搜索。
|
|
27293
|
+
r"""<p>查询的过滤条件。</p><p>当Type为User时,支持Key为user-name的模糊搜索;</p><p>当Type为DataAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>data-name:库表的模糊搜索。</p><p>当Type为EngineAuth时,支持key:</p><p>policy-type:权限类型。</p><p>policy-source:数据来源。</p><p>engine-name:库表的模糊搜索。</p>
|
|
27326
27294
|
:rtype: list of Filter
|
|
27327
27295
|
"""
|
|
27328
27296
|
return self._Filters
|
|
@@ -27333,13 +27301,7 @@ engine-name:库表的模糊搜索。
|
|
|
27333
27301
|
|
|
27334
27302
|
@property
|
|
27335
27303
|
def SortBy(self):
|
|
27336
|
-
r"""
|
|
27337
|
-
|
|
27338
|
-
当Type为User时,支持create-time、user-name
|
|
27339
|
-
|
|
27340
|
-
当Type为DataAuth时,支持create-time
|
|
27341
|
-
|
|
27342
|
-
当Type为EngineAuth时,支持create-time
|
|
27304
|
+
r"""<p>排序字段。</p><p>当Type为User时,支持create-time、user-name</p><p>当Type为DataAuth时,支持create-time</p><p>当Type为EngineAuth时,支持create-time</p>
|
|
27343
27305
|
:rtype: str
|
|
27344
27306
|
"""
|
|
27345
27307
|
return self._SortBy
|
|
@@ -27350,7 +27312,7 @@ engine-name:库表的模糊搜索。
|
|
|
27350
27312
|
|
|
27351
27313
|
@property
|
|
27352
27314
|
def Sorting(self):
|
|
27353
|
-
r"""
|
|
27315
|
+
r"""<p>排序方式,desc表示正序,asc表示反序, 默认为asc</p>
|
|
27354
27316
|
:rtype: str
|
|
27355
27317
|
"""
|
|
27356
27318
|
return self._Sorting
|
|
@@ -27361,7 +27323,7 @@ engine-name:库表的模糊搜索。
|
|
|
27361
27323
|
|
|
27362
27324
|
@property
|
|
27363
27325
|
def Limit(self):
|
|
27364
|
-
r"""
|
|
27326
|
+
r"""<p>返回数量,默认20,最大值100</p>
|
|
27365
27327
|
:rtype: int
|
|
27366
27328
|
"""
|
|
27367
27329
|
return self._Limit
|
|
@@ -27372,7 +27334,7 @@ engine-name:库表的模糊搜索。
|
|
|
27372
27334
|
|
|
27373
27335
|
@property
|
|
27374
27336
|
def Offset(self):
|
|
27375
|
-
r"""
|
|
27337
|
+
r"""<p>偏移量,默认为0</p>
|
|
27376
27338
|
:rtype: int
|
|
27377
27339
|
"""
|
|
27378
27340
|
return self._Offset
|
|
@@ -27381,6 +27343,17 @@ engine-name:库表的模糊搜索。
|
|
|
27381
27343
|
def Offset(self, Offset):
|
|
27382
27344
|
self._Offset = Offset
|
|
27383
27345
|
|
|
27346
|
+
@property
|
|
27347
|
+
def PolicyId(self):
|
|
27348
|
+
r"""<p>要授权的策略列表</p>
|
|
27349
|
+
:rtype: str
|
|
27350
|
+
"""
|
|
27351
|
+
return self._PolicyId
|
|
27352
|
+
|
|
27353
|
+
@PolicyId.setter
|
|
27354
|
+
def PolicyId(self, PolicyId):
|
|
27355
|
+
self._PolicyId = PolicyId
|
|
27356
|
+
|
|
27384
27357
|
|
|
27385
27358
|
def _deserialize(self, params):
|
|
27386
27359
|
self._WorkGroupId = params.get("WorkGroupId")
|
|
@@ -27395,6 +27368,7 @@ engine-name:库表的模糊搜索。
|
|
|
27395
27368
|
self._Sorting = params.get("Sorting")
|
|
27396
27369
|
self._Limit = params.get("Limit")
|
|
27397
27370
|
self._Offset = params.get("Offset")
|
|
27371
|
+
self._PolicyId = params.get("PolicyId")
|
|
27398
27372
|
memeber_set = set(params.keys())
|
|
27399
27373
|
for name, value in vars(self).items():
|
|
27400
27374
|
property_name = name[1:]
|
|
@@ -27412,7 +27386,7 @@ class DescribeWorkGroupInfoResponse(AbstractModel):
|
|
|
27412
27386
|
|
|
27413
27387
|
def __init__(self):
|
|
27414
27388
|
r"""
|
|
27415
|
-
:param _WorkGroupInfo:
|
|
27389
|
+
:param _WorkGroupInfo: <p>工作组详细信息</p>
|
|
27416
27390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27417
27391
|
:type WorkGroupInfo: :class:`tencentcloud.dlc.v20210125.models.WorkGroupDetailInfo`
|
|
27418
27392
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -27423,7 +27397,7 @@ class DescribeWorkGroupInfoResponse(AbstractModel):
|
|
|
27423
27397
|
|
|
27424
27398
|
@property
|
|
27425
27399
|
def WorkGroupInfo(self):
|
|
27426
|
-
r"""
|
|
27400
|
+
r"""<p>工作组详细信息</p>
|
|
27427
27401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27428
27402
|
:rtype: :class:`tencentcloud.dlc.v20210125.models.WorkGroupDetailInfo`
|
|
27429
27403
|
"""
|
|
@@ -27638,20 +27612,23 @@ class DetachUserPolicyRequest(AbstractModel):
|
|
|
27638
27612
|
|
|
27639
27613
|
def __init__(self):
|
|
27640
27614
|
r"""
|
|
27641
|
-
:param _UserId:
|
|
27615
|
+
:param _UserId: <p>用户Id,和CAM侧Uin匹配</p>
|
|
27642
27616
|
:type UserId: str
|
|
27643
|
-
:param _PolicySet:
|
|
27617
|
+
:param _PolicySet: <p>解绑的权限集合</p>
|
|
27644
27618
|
:type PolicySet: list of Policy
|
|
27645
|
-
:param _AccountType:
|
|
27619
|
+
:param _AccountType: <p>用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)</p>
|
|
27646
27620
|
:type AccountType: str
|
|
27621
|
+
:param _PolicyIds: <p>要授权的策略列表</p>
|
|
27622
|
+
:type PolicyIds: list of str
|
|
27647
27623
|
"""
|
|
27648
27624
|
self._UserId = None
|
|
27649
27625
|
self._PolicySet = None
|
|
27650
27626
|
self._AccountType = None
|
|
27627
|
+
self._PolicyIds = None
|
|
27651
27628
|
|
|
27652
27629
|
@property
|
|
27653
27630
|
def UserId(self):
|
|
27654
|
-
r"""
|
|
27631
|
+
r"""<p>用户Id,和CAM侧Uin匹配</p>
|
|
27655
27632
|
:rtype: str
|
|
27656
27633
|
"""
|
|
27657
27634
|
return self._UserId
|
|
@@ -27662,7 +27639,7 @@ class DetachUserPolicyRequest(AbstractModel):
|
|
|
27662
27639
|
|
|
27663
27640
|
@property
|
|
27664
27641
|
def PolicySet(self):
|
|
27665
|
-
r"""
|
|
27642
|
+
r"""<p>解绑的权限集合</p>
|
|
27666
27643
|
:rtype: list of Policy
|
|
27667
27644
|
"""
|
|
27668
27645
|
return self._PolicySet
|
|
@@ -27673,7 +27650,7 @@ class DetachUserPolicyRequest(AbstractModel):
|
|
|
27673
27650
|
|
|
27674
27651
|
@property
|
|
27675
27652
|
def AccountType(self):
|
|
27676
|
-
r"""
|
|
27653
|
+
r"""<p>用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)</p>
|
|
27677
27654
|
:rtype: str
|
|
27678
27655
|
"""
|
|
27679
27656
|
return self._AccountType
|
|
@@ -27682,6 +27659,17 @@ class DetachUserPolicyRequest(AbstractModel):
|
|
|
27682
27659
|
def AccountType(self, AccountType):
|
|
27683
27660
|
self._AccountType = AccountType
|
|
27684
27661
|
|
|
27662
|
+
@property
|
|
27663
|
+
def PolicyIds(self):
|
|
27664
|
+
r"""<p>要授权的策略列表</p>
|
|
27665
|
+
:rtype: list of str
|
|
27666
|
+
"""
|
|
27667
|
+
return self._PolicyIds
|
|
27668
|
+
|
|
27669
|
+
@PolicyIds.setter
|
|
27670
|
+
def PolicyIds(self, PolicyIds):
|
|
27671
|
+
self._PolicyIds = PolicyIds
|
|
27672
|
+
|
|
27685
27673
|
|
|
27686
27674
|
def _deserialize(self, params):
|
|
27687
27675
|
self._UserId = params.get("UserId")
|
|
@@ -27692,6 +27680,7 @@ class DetachUserPolicyRequest(AbstractModel):
|
|
|
27692
27680
|
obj._deserialize(item)
|
|
27693
27681
|
self._PolicySet.append(obj)
|
|
27694
27682
|
self._AccountType = params.get("AccountType")
|
|
27683
|
+
self._PolicyIds = params.get("PolicyIds")
|
|
27695
27684
|
memeber_set = set(params.keys())
|
|
27696
27685
|
for name, value in vars(self).items():
|
|
27697
27686
|
property_name = name[1:]
|
|
@@ -27737,17 +27726,20 @@ class DetachWorkGroupPolicyRequest(AbstractModel):
|
|
|
27737
27726
|
|
|
27738
27727
|
def __init__(self):
|
|
27739
27728
|
r"""
|
|
27740
|
-
:param _WorkGroupId:
|
|
27729
|
+
:param _WorkGroupId: <p>工作组Id</p>
|
|
27741
27730
|
:type WorkGroupId: int
|
|
27742
|
-
:param _PolicySet:
|
|
27731
|
+
:param _PolicySet: <p>解绑的权限集合</p>
|
|
27743
27732
|
:type PolicySet: list of Policy
|
|
27733
|
+
:param _PolicyIds: <p>要授权的策略列表</p>
|
|
27734
|
+
:type PolicyIds: list of str
|
|
27744
27735
|
"""
|
|
27745
27736
|
self._WorkGroupId = None
|
|
27746
27737
|
self._PolicySet = None
|
|
27738
|
+
self._PolicyIds = None
|
|
27747
27739
|
|
|
27748
27740
|
@property
|
|
27749
27741
|
def WorkGroupId(self):
|
|
27750
|
-
r"""
|
|
27742
|
+
r"""<p>工作组Id</p>
|
|
27751
27743
|
:rtype: int
|
|
27752
27744
|
"""
|
|
27753
27745
|
return self._WorkGroupId
|
|
@@ -27758,7 +27750,7 @@ class DetachWorkGroupPolicyRequest(AbstractModel):
|
|
|
27758
27750
|
|
|
27759
27751
|
@property
|
|
27760
27752
|
def PolicySet(self):
|
|
27761
|
-
r"""
|
|
27753
|
+
r"""<p>解绑的权限集合</p>
|
|
27762
27754
|
:rtype: list of Policy
|
|
27763
27755
|
"""
|
|
27764
27756
|
return self._PolicySet
|
|
@@ -27767,6 +27759,17 @@ class DetachWorkGroupPolicyRequest(AbstractModel):
|
|
|
27767
27759
|
def PolicySet(self, PolicySet):
|
|
27768
27760
|
self._PolicySet = PolicySet
|
|
27769
27761
|
|
|
27762
|
+
@property
|
|
27763
|
+
def PolicyIds(self):
|
|
27764
|
+
r"""<p>要授权的策略列表</p>
|
|
27765
|
+
:rtype: list of str
|
|
27766
|
+
"""
|
|
27767
|
+
return self._PolicyIds
|
|
27768
|
+
|
|
27769
|
+
@PolicyIds.setter
|
|
27770
|
+
def PolicyIds(self, PolicyIds):
|
|
27771
|
+
self._PolicyIds = PolicyIds
|
|
27772
|
+
|
|
27770
27773
|
|
|
27771
27774
|
def _deserialize(self, params):
|
|
27772
27775
|
self._WorkGroupId = params.get("WorkGroupId")
|
|
@@ -27776,6 +27779,7 @@ class DetachWorkGroupPolicyRequest(AbstractModel):
|
|
|
27776
27779
|
obj = Policy()
|
|
27777
27780
|
obj._deserialize(item)
|
|
27778
27781
|
self._PolicySet.append(obj)
|
|
27782
|
+
self._PolicyIds = params.get("PolicyIds")
|
|
27779
27783
|
memeber_set = set(params.keys())
|
|
27780
27784
|
for name, value in vars(self).items():
|
|
27781
27785
|
property_name = name[1:]
|
|
@@ -35185,59 +35189,60 @@ class Policy(AbstractModel):
|
|
|
35185
35189
|
|
|
35186
35190
|
def __init__(self):
|
|
35187
35191
|
r"""
|
|
35188
|
-
:param _Database:
|
|
35192
|
+
:param _Database: <p>需要授权的数据库名,填 * 代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填 “*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。</p>
|
|
35189
35193
|
:type Database: str
|
|
35190
|
-
:param _Catalog:
|
|
35194
|
+
:param _Catalog: <p>需要授权的数据源名称,管理员级别下只支持填 * (代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。</p>
|
|
35191
35195
|
:type Catalog: str
|
|
35192
|
-
:param _Table:
|
|
35196
|
+
:param _Table: <p>需要授权的表名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。</p>
|
|
35193
35197
|
:type Table: str
|
|
35194
|
-
:param _Operation:
|
|
35198
|
+
:param _Operation: <p>授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:CREATE;数据库级别鉴权:ALL、CREATE、ALTER、DROP;数据表权限:ALL、SELECT、INSERT、ALTER、DELETE、DROP、UPDATE。注意:在数据表权限下,指定的数据源不为COSDataCatalog的时候,只支持SELECT操作。</p>
|
|
35195
35199
|
:type Operation: str
|
|
35196
|
-
:param _PolicyType:
|
|
35200
|
+
:param _PolicyType: <p>授权类型,现在支持八种授权类型:ADMIN:管理员级别鉴权 DATASOURCE:数据连接级别鉴权 DATABASE:数据库级别鉴权 TABLE:表级别鉴权 VIEW:视图级别鉴权 FUNCTION:函数级别鉴权 COLUMN:列级别鉴权 ENGINE:数据引擎鉴权。不填默认为管理员级别鉴权。</p>
|
|
35197
35201
|
:type PolicyType: str
|
|
35198
|
-
:param _Function:
|
|
35202
|
+
:param _Function: <p>需要授权的函数名,填 * 代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。</p>
|
|
35199
35203
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35200
35204
|
:type Function: str
|
|
35201
|
-
:param _View:
|
|
35205
|
+
:param _View: <p>需要授权的视图,填 * 代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。</p>
|
|
35202
35206
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35203
35207
|
:type View: str
|
|
35204
|
-
:param _Column:
|
|
35208
|
+
:param _Column: <p>需要授权的列,填 * 代表当前所有列。当授权类型为管理员级别时,只允许填“*”</p>
|
|
35205
35209
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35206
35210
|
:type Column: str
|
|
35207
|
-
:param _DataEngine:
|
|
35211
|
+
:param _DataEngine: <p>需要授权的数据引擎,填 * 代表当前所有引擎。当授权类型为管理员级别时,只允许填“*”</p>
|
|
35208
35212
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35209
35213
|
:type DataEngine: str
|
|
35210
|
-
:param _ReAuth:
|
|
35214
|
+
:param _ReAuth: <p>用户是否可以进行二次授权。当为true的时候,被授权的用户可以将本次获取的权限再次授权给其他子用户。默认为false</p>
|
|
35211
35215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35212
35216
|
:type ReAuth: bool
|
|
35213
|
-
:param _Source:
|
|
35217
|
+
:param _Source: <p>权限来源,入参不填。USER:权限来自用户本身;WORKGROUP:权限来自绑定的工作组</p>
|
|
35214
35218
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35215
35219
|
:type Source: str
|
|
35216
|
-
:param _Mode:
|
|
35220
|
+
:param _Mode: <p>授权模式,入参不填。COMMON:普通模式;SENIOR:高级模式。</p>
|
|
35217
35221
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35218
35222
|
:type Mode: str
|
|
35219
|
-
:param _Operator:
|
|
35223
|
+
:param _Operator: <p>操作者,入参不填。</p>
|
|
35220
35224
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35221
35225
|
:type Operator: str
|
|
35222
|
-
:param _CreateTime:
|
|
35226
|
+
:param _CreateTime: <p>权限创建的时间,入参不填</p>
|
|
35223
35227
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35224
35228
|
:type CreateTime: str
|
|
35225
|
-
:param _SourceId:
|
|
35229
|
+
:param _SourceId: <p>权限所属工作组的ID,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。</p>
|
|
35226
35230
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35227
35231
|
:type SourceId: int
|
|
35228
|
-
:param _SourceName:
|
|
35232
|
+
:param _SourceName: <p>权限所属工作组的名称,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。</p>
|
|
35229
35233
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35230
35234
|
:type SourceName: str
|
|
35231
|
-
:param _Id:
|
|
35235
|
+
:param _Id: <p>策略ID</p>
|
|
35232
35236
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35233
35237
|
:type Id: int
|
|
35234
|
-
:param _EngineGeneration:
|
|
35235
|
-
|
|
35238
|
+
:param _EngineGeneration: <p>引擎类型</p>
|
|
35236
35239
|
:type EngineGeneration: str
|
|
35237
|
-
:param _Model:
|
|
35240
|
+
:param _Model: <p>需要授权的Model名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。</p>
|
|
35238
35241
|
:type Model: str
|
|
35239
|
-
:param _IsAdminPolicy:
|
|
35242
|
+
:param _IsAdminPolicy: <p>权限来源是否为管理员</p>
|
|
35240
35243
|
:type IsAdminPolicy: bool
|
|
35244
|
+
:param _PolicyId: <p>user和workgroup对应的确定性字符串PolicyId</p>
|
|
35245
|
+
:type PolicyId: str
|
|
35241
35246
|
"""
|
|
35242
35247
|
self._Database = None
|
|
35243
35248
|
self._Catalog = None
|
|
@@ -35259,10 +35264,11 @@ class Policy(AbstractModel):
|
|
|
35259
35264
|
self._EngineGeneration = None
|
|
35260
35265
|
self._Model = None
|
|
35261
35266
|
self._IsAdminPolicy = None
|
|
35267
|
+
self._PolicyId = None
|
|
35262
35268
|
|
|
35263
35269
|
@property
|
|
35264
35270
|
def Database(self):
|
|
35265
|
-
r"""
|
|
35271
|
+
r"""<p>需要授权的数据库名,填 * 代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填 “*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。</p>
|
|
35266
35272
|
:rtype: str
|
|
35267
35273
|
"""
|
|
35268
35274
|
return self._Database
|
|
@@ -35273,7 +35279,7 @@ class Policy(AbstractModel):
|
|
|
35273
35279
|
|
|
35274
35280
|
@property
|
|
35275
35281
|
def Catalog(self):
|
|
35276
|
-
r"""
|
|
35282
|
+
r"""<p>需要授权的数据源名称,管理员级别下只支持填 * (代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。</p>
|
|
35277
35283
|
:rtype: str
|
|
35278
35284
|
"""
|
|
35279
35285
|
return self._Catalog
|
|
@@ -35284,7 +35290,7 @@ class Policy(AbstractModel):
|
|
|
35284
35290
|
|
|
35285
35291
|
@property
|
|
35286
35292
|
def Table(self):
|
|
35287
|
-
r"""
|
|
35293
|
+
r"""<p>需要授权的表名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。</p>
|
|
35288
35294
|
:rtype: str
|
|
35289
35295
|
"""
|
|
35290
35296
|
return self._Table
|
|
@@ -35295,7 +35301,7 @@ class Policy(AbstractModel):
|
|
|
35295
35301
|
|
|
35296
35302
|
@property
|
|
35297
35303
|
def Operation(self):
|
|
35298
|
-
r"""
|
|
35304
|
+
r"""<p>授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:CREATE;数据库级别鉴权:ALL、CREATE、ALTER、DROP;数据表权限:ALL、SELECT、INSERT、ALTER、DELETE、DROP、UPDATE。注意:在数据表权限下,指定的数据源不为COSDataCatalog的时候,只支持SELECT操作。</p>
|
|
35299
35305
|
:rtype: str
|
|
35300
35306
|
"""
|
|
35301
35307
|
return self._Operation
|
|
@@ -35306,7 +35312,7 @@ class Policy(AbstractModel):
|
|
|
35306
35312
|
|
|
35307
35313
|
@property
|
|
35308
35314
|
def PolicyType(self):
|
|
35309
|
-
r"""
|
|
35315
|
+
r"""<p>授权类型,现在支持八种授权类型:ADMIN:管理员级别鉴权 DATASOURCE:数据连接级别鉴权 DATABASE:数据库级别鉴权 TABLE:表级别鉴权 VIEW:视图级别鉴权 FUNCTION:函数级别鉴权 COLUMN:列级别鉴权 ENGINE:数据引擎鉴权。不填默认为管理员级别鉴权。</p>
|
|
35310
35316
|
:rtype: str
|
|
35311
35317
|
"""
|
|
35312
35318
|
return self._PolicyType
|
|
@@ -35317,7 +35323,7 @@ class Policy(AbstractModel):
|
|
|
35317
35323
|
|
|
35318
35324
|
@property
|
|
35319
35325
|
def Function(self):
|
|
35320
|
-
r"""
|
|
35326
|
+
r"""<p>需要授权的函数名,填 * 代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。</p>
|
|
35321
35327
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35322
35328
|
:rtype: str
|
|
35323
35329
|
"""
|
|
@@ -35329,7 +35335,7 @@ class Policy(AbstractModel):
|
|
|
35329
35335
|
|
|
35330
35336
|
@property
|
|
35331
35337
|
def View(self):
|
|
35332
|
-
r"""
|
|
35338
|
+
r"""<p>需要授权的视图,填 * 代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。</p>
|
|
35333
35339
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35334
35340
|
:rtype: str
|
|
35335
35341
|
"""
|
|
@@ -35341,7 +35347,7 @@ class Policy(AbstractModel):
|
|
|
35341
35347
|
|
|
35342
35348
|
@property
|
|
35343
35349
|
def Column(self):
|
|
35344
|
-
r"""
|
|
35350
|
+
r"""<p>需要授权的列,填 * 代表当前所有列。当授权类型为管理员级别时,只允许填“*”</p>
|
|
35345
35351
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35346
35352
|
:rtype: str
|
|
35347
35353
|
"""
|
|
@@ -35353,7 +35359,7 @@ class Policy(AbstractModel):
|
|
|
35353
35359
|
|
|
35354
35360
|
@property
|
|
35355
35361
|
def DataEngine(self):
|
|
35356
|
-
r"""
|
|
35362
|
+
r"""<p>需要授权的数据引擎,填 * 代表当前所有引擎。当授权类型为管理员级别时,只允许填“*”</p>
|
|
35357
35363
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35358
35364
|
:rtype: str
|
|
35359
35365
|
"""
|
|
@@ -35365,7 +35371,7 @@ class Policy(AbstractModel):
|
|
|
35365
35371
|
|
|
35366
35372
|
@property
|
|
35367
35373
|
def ReAuth(self):
|
|
35368
|
-
r"""
|
|
35374
|
+
r"""<p>用户是否可以进行二次授权。当为true的时候,被授权的用户可以将本次获取的权限再次授权给其他子用户。默认为false</p>
|
|
35369
35375
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35370
35376
|
:rtype: bool
|
|
35371
35377
|
"""
|
|
@@ -35377,7 +35383,7 @@ class Policy(AbstractModel):
|
|
|
35377
35383
|
|
|
35378
35384
|
@property
|
|
35379
35385
|
def Source(self):
|
|
35380
|
-
r"""
|
|
35386
|
+
r"""<p>权限来源,入参不填。USER:权限来自用户本身;WORKGROUP:权限来自绑定的工作组</p>
|
|
35381
35387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35382
35388
|
:rtype: str
|
|
35383
35389
|
"""
|
|
@@ -35389,7 +35395,7 @@ class Policy(AbstractModel):
|
|
|
35389
35395
|
|
|
35390
35396
|
@property
|
|
35391
35397
|
def Mode(self):
|
|
35392
|
-
r"""
|
|
35398
|
+
r"""<p>授权模式,入参不填。COMMON:普通模式;SENIOR:高级模式。</p>
|
|
35393
35399
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35394
35400
|
:rtype: str
|
|
35395
35401
|
"""
|
|
@@ -35401,7 +35407,7 @@ class Policy(AbstractModel):
|
|
|
35401
35407
|
|
|
35402
35408
|
@property
|
|
35403
35409
|
def Operator(self):
|
|
35404
|
-
r"""
|
|
35410
|
+
r"""<p>操作者,入参不填。</p>
|
|
35405
35411
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35406
35412
|
:rtype: str
|
|
35407
35413
|
"""
|
|
@@ -35413,7 +35419,7 @@ class Policy(AbstractModel):
|
|
|
35413
35419
|
|
|
35414
35420
|
@property
|
|
35415
35421
|
def CreateTime(self):
|
|
35416
|
-
r"""
|
|
35422
|
+
r"""<p>权限创建的时间,入参不填</p>
|
|
35417
35423
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35418
35424
|
:rtype: str
|
|
35419
35425
|
"""
|
|
@@ -35425,7 +35431,7 @@ class Policy(AbstractModel):
|
|
|
35425
35431
|
|
|
35426
35432
|
@property
|
|
35427
35433
|
def SourceId(self):
|
|
35428
|
-
r"""
|
|
35434
|
+
r"""<p>权限所属工作组的ID,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。</p>
|
|
35429
35435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35430
35436
|
:rtype: int
|
|
35431
35437
|
"""
|
|
@@ -35437,7 +35443,7 @@ class Policy(AbstractModel):
|
|
|
35437
35443
|
|
|
35438
35444
|
@property
|
|
35439
35445
|
def SourceName(self):
|
|
35440
|
-
r"""
|
|
35446
|
+
r"""<p>权限所属工作组的名称,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。</p>
|
|
35441
35447
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35442
35448
|
:rtype: str
|
|
35443
35449
|
"""
|
|
@@ -35449,7 +35455,7 @@ class Policy(AbstractModel):
|
|
|
35449
35455
|
|
|
35450
35456
|
@property
|
|
35451
35457
|
def Id(self):
|
|
35452
|
-
r"""
|
|
35458
|
+
r"""<p>策略ID</p>
|
|
35453
35459
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35454
35460
|
:rtype: int
|
|
35455
35461
|
"""
|
|
@@ -35461,8 +35467,7 @@ class Policy(AbstractModel):
|
|
|
35461
35467
|
|
|
35462
35468
|
@property
|
|
35463
35469
|
def EngineGeneration(self):
|
|
35464
|
-
r"""
|
|
35465
|
-
|
|
35470
|
+
r"""<p>引擎类型</p>
|
|
35466
35471
|
:rtype: str
|
|
35467
35472
|
"""
|
|
35468
35473
|
return self._EngineGeneration
|
|
@@ -35473,7 +35478,7 @@ class Policy(AbstractModel):
|
|
|
35473
35478
|
|
|
35474
35479
|
@property
|
|
35475
35480
|
def Model(self):
|
|
35476
|
-
r"""
|
|
35481
|
+
r"""<p>需要授权的Model名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。</p>
|
|
35477
35482
|
:rtype: str
|
|
35478
35483
|
"""
|
|
35479
35484
|
return self._Model
|
|
@@ -35484,7 +35489,7 @@ class Policy(AbstractModel):
|
|
|
35484
35489
|
|
|
35485
35490
|
@property
|
|
35486
35491
|
def IsAdminPolicy(self):
|
|
35487
|
-
r"""
|
|
35492
|
+
r"""<p>权限来源是否为管理员</p>
|
|
35488
35493
|
:rtype: bool
|
|
35489
35494
|
"""
|
|
35490
35495
|
return self._IsAdminPolicy
|
|
@@ -35493,6 +35498,17 @@ class Policy(AbstractModel):
|
|
|
35493
35498
|
def IsAdminPolicy(self, IsAdminPolicy):
|
|
35494
35499
|
self._IsAdminPolicy = IsAdminPolicy
|
|
35495
35500
|
|
|
35501
|
+
@property
|
|
35502
|
+
def PolicyId(self):
|
|
35503
|
+
r"""<p>user和workgroup对应的确定性字符串PolicyId</p>
|
|
35504
|
+
:rtype: str
|
|
35505
|
+
"""
|
|
35506
|
+
return self._PolicyId
|
|
35507
|
+
|
|
35508
|
+
@PolicyId.setter
|
|
35509
|
+
def PolicyId(self, PolicyId):
|
|
35510
|
+
self._PolicyId = PolicyId
|
|
35511
|
+
|
|
35496
35512
|
|
|
35497
35513
|
def _deserialize(self, params):
|
|
35498
35514
|
self._Database = params.get("Database")
|
|
@@ -35515,6 +35531,7 @@ class Policy(AbstractModel):
|
|
|
35515
35531
|
self._EngineGeneration = params.get("EngineGeneration")
|
|
35516
35532
|
self._Model = params.get("Model")
|
|
35517
35533
|
self._IsAdminPolicy = params.get("IsAdminPolicy")
|
|
35534
|
+
self._PolicyId = params.get("PolicyId")
|
|
35518
35535
|
memeber_set = set(params.keys())
|
|
35519
35536
|
for name, value in vars(self).items():
|
|
35520
35537
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dlc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.131
|
|
4
4
|
Summary: Tencent Cloud Dlc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.130
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|