tencentcloud-sdk-python-dlc 3.1.35__tar.gz → 3.1.44__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/dlc/v20210125/models.py +105 -2
  6. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_dlc-3.1.44/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_dlc-3.1.35/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/README.rst +0 -0
  10. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/dlc/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  13. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/dlc/v20210125/dlc_client.py +0 -0
  14. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud/dlc/v20210125/dlc_client_async.py +0 -0
  15. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dlc-3.1.35 → tencentcloud_sdk_python_dlc-3.1.44}/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.35
3
+ Version: 3.1.44
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.35
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.44
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.35,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.44,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dlc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.35'
17
+ __version__ = '3.1.44'
@@ -494,6 +494,9 @@ INVALIDPARAMETER_PARAMETERILLEGAL = 'InvalidParameter.ParameterIllegal'
494
494
  # 找不到参数或参数为空
495
495
  INVALIDPARAMETER_PARAMETERNOTFOUNDORBENONE = 'InvalidParameter.ParameterNotFoundOrBeNone'
496
496
 
497
+ # 权限类型冲突。
498
+ INVALIDPARAMETER_POLICYTYPECONFLICT = 'InvalidParameter.PolicyTypeConflict'
499
+
497
500
  # SQL脚本Base64解析失败
498
501
  INVALIDPARAMETER_SQLBASE64DECODEFAIL = 'InvalidParameter.SQLBase64DecodeFail'
499
502
 
@@ -30272,7 +30272,7 @@ class LakeFsInfo(AbstractModel):
30272
30272
  :type Name: str
30273
30273
  :param _Type: 托管存储类型
30274
30274
  :type Type: str
30275
- :param _SpaceUsedSize: 容量
30275
+ :param _SpaceUsedSize: 存储用量
30276
30276
  :type SpaceUsedSize: float
30277
30277
  :param _CreateTimeStamp: 创建时候的时间戳
30278
30278
  :type CreateTimeStamp: int
@@ -30284,6 +30284,8 @@ class LakeFsInfo(AbstractModel):
30284
30284
  :type Description: str
30285
30285
  :param _Status: 托管桶状态,当前取值为:creating、bind、readOnly、isolate
30286
30286
  :type Status: str
30287
+ :param _TagList: 托管存储桶标签列表
30288
+ :type TagList: list of TagInfo
30287
30289
  """
30288
30290
  self._Name = None
30289
30291
  self._Type = None
@@ -30293,6 +30295,7 @@ class LakeFsInfo(AbstractModel):
30293
30295
  self._ShortName = None
30294
30296
  self._Description = None
30295
30297
  self._Status = None
30298
+ self._TagList = None
30296
30299
 
30297
30300
  @property
30298
30301
  def Name(self):
@@ -30318,7 +30321,7 @@ class LakeFsInfo(AbstractModel):
30318
30321
 
30319
30322
  @property
30320
30323
  def SpaceUsedSize(self):
30321
- r"""容量
30324
+ r"""存储用量
30322
30325
  :rtype: float
30323
30326
  """
30324
30327
  return self._SpaceUsedSize
@@ -30382,6 +30385,17 @@ class LakeFsInfo(AbstractModel):
30382
30385
  def Status(self, Status):
30383
30386
  self._Status = Status
30384
30387
 
30388
+ @property
30389
+ def TagList(self):
30390
+ r"""托管存储桶标签列表
30391
+ :rtype: list of TagInfo
30392
+ """
30393
+ return self._TagList
30394
+
30395
+ @TagList.setter
30396
+ def TagList(self, TagList):
30397
+ self._TagList = TagList
30398
+
30385
30399
 
30386
30400
  def _deserialize(self, params):
30387
30401
  self._Name = params.get("Name")
@@ -30392,6 +30406,12 @@ class LakeFsInfo(AbstractModel):
30392
30406
  self._ShortName = params.get("ShortName")
30393
30407
  self._Description = params.get("Description")
30394
30408
  self._Status = params.get("Status")
30409
+ if params.get("TagList") is not None:
30410
+ self._TagList = []
30411
+ for item in params.get("TagList"):
30412
+ obj = TagInfo()
30413
+ obj._deserialize(item)
30414
+ self._TagList.append(obj)
30395
30415
  memeber_set = set(params.keys())
30396
30416
  for name, value in vars(self).items():
30397
30417
  property_name = name[1:]
@@ -34719,6 +34739,8 @@ class Policy(AbstractModel):
34719
34739
  :type EngineGeneration: str
34720
34740
  :param _Model: 需要授权的Model名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
34721
34741
  :type Model: str
34742
+ :param _IsAdminPolicy: 权限来源是否为管理员
34743
+ :type IsAdminPolicy: bool
34722
34744
  """
34723
34745
  self._Database = None
34724
34746
  self._Catalog = None
@@ -34739,6 +34761,7 @@ class Policy(AbstractModel):
34739
34761
  self._Id = None
34740
34762
  self._EngineGeneration = None
34741
34763
  self._Model = None
34764
+ self._IsAdminPolicy = None
34742
34765
 
34743
34766
  @property
34744
34767
  def Database(self):
@@ -34962,6 +34985,17 @@ class Policy(AbstractModel):
34962
34985
  def Model(self, Model):
34963
34986
  self._Model = Model
34964
34987
 
34988
+ @property
34989
+ def IsAdminPolicy(self):
34990
+ r"""权限来源是否为管理员
34991
+ :rtype: bool
34992
+ """
34993
+ return self._IsAdminPolicy
34994
+
34995
+ @IsAdminPolicy.setter
34996
+ def IsAdminPolicy(self, IsAdminPolicy):
34997
+ self._IsAdminPolicy = IsAdminPolicy
34998
+
34965
34999
 
34966
35000
  def _deserialize(self, params):
34967
35001
  self._Database = params.get("Database")
@@ -34983,6 +35017,7 @@ class Policy(AbstractModel):
34983
35017
  self._Id = params.get("Id")
34984
35018
  self._EngineGeneration = params.get("EngineGeneration")
34985
35019
  self._Model = params.get("Model")
35020
+ self._IsAdminPolicy = params.get("IsAdminPolicy")
34986
35021
  memeber_set = set(params.keys())
34987
35022
  for name, value in vars(self).items():
34988
35023
  property_name = name[1:]
@@ -37013,6 +37048,8 @@ class SmartOptimizerPolicy(AbstractModel):
37013
37048
  :param _ChangeTable: SmartOptimizerChangeTablePolicy
37014
37049
  注意:此字段可能返回 null,表示取不到有效值。
37015
37050
  :type ChangeTable: :class:`tencentcloud.dlc.v20210125.models.SmartOptimizerChangeTablePolicy`
37051
+ :param _TableExpiration: 表过期策略
37052
+ :type TableExpiration: :class:`tencentcloud.dlc.v20210125.models.TableExpirationPolicy`
37016
37053
  """
37017
37054
  self._Inherit = None
37018
37055
  self._Resources = None
@@ -37020,6 +37057,7 @@ class SmartOptimizerPolicy(AbstractModel):
37020
37057
  self._Lifecycle = None
37021
37058
  self._Index = None
37022
37059
  self._ChangeTable = None
37060
+ self._TableExpiration = None
37023
37061
 
37024
37062
  @property
37025
37063
  def Inherit(self):
@@ -37092,6 +37130,17 @@ class SmartOptimizerPolicy(AbstractModel):
37092
37130
  def ChangeTable(self, ChangeTable):
37093
37131
  self._ChangeTable = ChangeTable
37094
37132
 
37133
+ @property
37134
+ def TableExpiration(self):
37135
+ r"""表过期策略
37136
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.TableExpirationPolicy`
37137
+ """
37138
+ return self._TableExpiration
37139
+
37140
+ @TableExpiration.setter
37141
+ def TableExpiration(self, TableExpiration):
37142
+ self._TableExpiration = TableExpiration
37143
+
37095
37144
 
37096
37145
  def _deserialize(self, params):
37097
37146
  self._Inherit = params.get("Inherit")
@@ -37113,6 +37162,9 @@ class SmartOptimizerPolicy(AbstractModel):
37113
37162
  if params.get("ChangeTable") is not None:
37114
37163
  self._ChangeTable = SmartOptimizerChangeTablePolicy()
37115
37164
  self._ChangeTable._deserialize(params.get("ChangeTable"))
37165
+ if params.get("TableExpiration") is not None:
37166
+ self._TableExpiration = TableExpirationPolicy()
37167
+ self._TableExpiration._deserialize(params.get("TableExpiration"))
37116
37168
  memeber_set = set(params.keys())
37117
37169
  for name, value in vars(self).items():
37118
37170
  property_name = name[1:]
@@ -40737,6 +40789,57 @@ class TableBaseInfo(AbstractModel):
40737
40789
 
40738
40790
 
40739
40791
 
40792
+ class TableExpirationPolicy(AbstractModel):
40793
+ r"""表过期策略
40794
+
40795
+ """
40796
+
40797
+ def __init__(self):
40798
+ r"""
40799
+ :param _Enabled: 是否启用策略
40800
+ :type Enabled: bool
40801
+ :param _Expiration: 表过期时间,单位:天
40802
+ :type Expiration: int
40803
+ """
40804
+ self._Enabled = None
40805
+ self._Expiration = None
40806
+
40807
+ @property
40808
+ def Enabled(self):
40809
+ r"""是否启用策略
40810
+ :rtype: bool
40811
+ """
40812
+ return self._Enabled
40813
+
40814
+ @Enabled.setter
40815
+ def Enabled(self, Enabled):
40816
+ self._Enabled = Enabled
40817
+
40818
+ @property
40819
+ def Expiration(self):
40820
+ r"""表过期时间,单位:天
40821
+ :rtype: int
40822
+ """
40823
+ return self._Expiration
40824
+
40825
+ @Expiration.setter
40826
+ def Expiration(self, Expiration):
40827
+ self._Expiration = Expiration
40828
+
40829
+
40830
+ def _deserialize(self, params):
40831
+ self._Enabled = params.get("Enabled")
40832
+ self._Expiration = params.get("Expiration")
40833
+ memeber_set = set(params.keys())
40834
+ for name, value in vars(self).items():
40835
+ property_name = name[1:]
40836
+ if property_name in memeber_set:
40837
+ memeber_set.remove(property_name)
40838
+ if len(memeber_set) > 0:
40839
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40840
+
40841
+
40842
+
40740
40843
  class TableInfo(AbstractModel):
40741
40844
  r"""返回数据表的相关信息。
40742
40845
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.35
3
+ Version: 3.1.44
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.35
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.44
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.44
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.35