tencentcloud-sdk-python-tcb 3.1.70__tar.gz → 3.1.72__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_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/tcb/v20180608/models.py +0 -173
  5. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/tcb/v20180608/tcb_client.py +0 -46
  6. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -36
  7. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tcb-3.1.72/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tcb-3.1.70/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/tcb/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/tcb/v20180608/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud/tcb/v20180608/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.72}/tencentcloud_sdk_python_tcb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.70
3
+ Version: 3.1.72
4
4
  Summary: Tencent Cloud Tcb 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.70
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.72
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-tcb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.70,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.72,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tcb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.70'
17
+ __version__ = '3.1.72'
@@ -9242,115 +9242,6 @@ class DropIndex(AbstractModel):
9242
9242
 
9243
9243
 
9244
9244
 
9245
- class EditAuthConfigRequest(AbstractModel):
9246
- r"""EditAuthConfig请求参数结构体
9247
-
9248
- """
9249
-
9250
- def __init__(self):
9251
- r"""
9252
- :param _EnvId: 环境id
9253
- :type EnvId: str
9254
- :param _PhoneNumberLogin: 手机号登录配置 "TRUE", "FALSE", "LOGIN_ONLY"
9255
- :type PhoneNumberLogin: str
9256
- :param _AnonymousLogin: 匿名登录配置 "TRUE", "FALSE"
9257
- :type AnonymousLogin: str
9258
- :param _UsernameLogin: 用户名密码登录配置 "TRUE", "FALSE"
9259
- :type UsernameLogin: str
9260
- """
9261
- self._EnvId = None
9262
- self._PhoneNumberLogin = None
9263
- self._AnonymousLogin = None
9264
- self._UsernameLogin = None
9265
-
9266
- @property
9267
- def EnvId(self):
9268
- r"""环境id
9269
- :rtype: str
9270
- """
9271
- return self._EnvId
9272
-
9273
- @EnvId.setter
9274
- def EnvId(self, EnvId):
9275
- self._EnvId = EnvId
9276
-
9277
- @property
9278
- def PhoneNumberLogin(self):
9279
- r"""手机号登录配置 "TRUE", "FALSE", "LOGIN_ONLY"
9280
- :rtype: str
9281
- """
9282
- return self._PhoneNumberLogin
9283
-
9284
- @PhoneNumberLogin.setter
9285
- def PhoneNumberLogin(self, PhoneNumberLogin):
9286
- self._PhoneNumberLogin = PhoneNumberLogin
9287
-
9288
- @property
9289
- def AnonymousLogin(self):
9290
- r"""匿名登录配置 "TRUE", "FALSE"
9291
- :rtype: str
9292
- """
9293
- return self._AnonymousLogin
9294
-
9295
- @AnonymousLogin.setter
9296
- def AnonymousLogin(self, AnonymousLogin):
9297
- self._AnonymousLogin = AnonymousLogin
9298
-
9299
- @property
9300
- def UsernameLogin(self):
9301
- r"""用户名密码登录配置 "TRUE", "FALSE"
9302
- :rtype: str
9303
- """
9304
- return self._UsernameLogin
9305
-
9306
- @UsernameLogin.setter
9307
- def UsernameLogin(self, UsernameLogin):
9308
- self._UsernameLogin = UsernameLogin
9309
-
9310
-
9311
- def _deserialize(self, params):
9312
- self._EnvId = params.get("EnvId")
9313
- self._PhoneNumberLogin = params.get("PhoneNumberLogin")
9314
- self._AnonymousLogin = params.get("AnonymousLogin")
9315
- self._UsernameLogin = params.get("UsernameLogin")
9316
- memeber_set = set(params.keys())
9317
- for name, value in vars(self).items():
9318
- property_name = name[1:]
9319
- if property_name in memeber_set:
9320
- memeber_set.remove(property_name)
9321
- if len(memeber_set) > 0:
9322
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9323
-
9324
-
9325
-
9326
- class EditAuthConfigResponse(AbstractModel):
9327
- r"""EditAuthConfig返回参数结构体
9328
-
9329
- """
9330
-
9331
- def __init__(self):
9332
- r"""
9333
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9334
- :type RequestId: str
9335
- """
9336
- self._RequestId = None
9337
-
9338
- @property
9339
- def RequestId(self):
9340
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9341
- :rtype: str
9342
- """
9343
- return self._RequestId
9344
-
9345
- @RequestId.setter
9346
- def RequestId(self, RequestId):
9347
- self._RequestId = RequestId
9348
-
9349
-
9350
- def _deserialize(self, params):
9351
- self._RequestId = params.get("RequestId")
9352
-
9353
-
9354
9245
  class EmailProviderConfig(AbstractModel):
9355
9246
  r"""邮箱登录配置
9356
9247
 
@@ -16482,70 +16373,6 @@ class ProviderResponseParametersMap(AbstractModel):
16482
16373
 
16483
16374
 
16484
16375
 
16485
- class ReinstateEnvRequest(AbstractModel):
16486
- r"""ReinstateEnv请求参数结构体
16487
-
16488
- """
16489
-
16490
- def __init__(self):
16491
- r"""
16492
- :param _EnvId: 环境ID
16493
- :type EnvId: str
16494
- """
16495
- self._EnvId = None
16496
-
16497
- @property
16498
- def EnvId(self):
16499
- r"""环境ID
16500
- :rtype: str
16501
- """
16502
- return self._EnvId
16503
-
16504
- @EnvId.setter
16505
- def EnvId(self, EnvId):
16506
- self._EnvId = EnvId
16507
-
16508
-
16509
- def _deserialize(self, params):
16510
- self._EnvId = params.get("EnvId")
16511
- memeber_set = set(params.keys())
16512
- for name, value in vars(self).items():
16513
- property_name = name[1:]
16514
- if property_name in memeber_set:
16515
- memeber_set.remove(property_name)
16516
- if len(memeber_set) > 0:
16517
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16518
-
16519
-
16520
-
16521
- class ReinstateEnvResponse(AbstractModel):
16522
- r"""ReinstateEnv返回参数结构体
16523
-
16524
- """
16525
-
16526
- def __init__(self):
16527
- r"""
16528
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16529
- :type RequestId: str
16530
- """
16531
- self._RequestId = None
16532
-
16533
- @property
16534
- def RequestId(self):
16535
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16536
- :rtype: str
16537
- """
16538
- return self._RequestId
16539
-
16540
- @RequestId.setter
16541
- def RequestId(self, RequestId):
16542
- self._RequestId = RequestId
16543
-
16544
-
16545
- def _deserialize(self, params):
16546
- self._RequestId = params.get("RequestId")
16547
-
16548
-
16549
16376
  class RenewEnvRequest(AbstractModel):
16550
16377
  r"""RenewEnv请求参数结构体
16551
16378
 
@@ -1299,29 +1299,6 @@ class TcbClient(AbstractClient):
1299
1299
  raise TencentCloudSDKException(type(e).__name__, str(e))
1300
1300
 
1301
1301
 
1302
- def EditAuthConfig(self, request):
1303
- r"""修改登录配置
1304
-
1305
- :param request: Request instance for EditAuthConfig.
1306
- :type request: :class:`tencentcloud.tcb.v20180608.models.EditAuthConfigRequest`
1307
- :rtype: :class:`tencentcloud.tcb.v20180608.models.EditAuthConfigResponse`
1308
-
1309
- """
1310
- try:
1311
- params = request._serialize()
1312
- headers = request.headers
1313
- body = self.call("EditAuthConfig", params, headers=headers)
1314
- response = json.loads(body)
1315
- model = models.EditAuthConfigResponse()
1316
- model._deserialize(response["Response"])
1317
- return model
1318
- except Exception as e:
1319
- if isinstance(e, TencentCloudSDKException):
1320
- raise
1321
- else:
1322
- raise TencentCloudSDKException(type(e).__name__, str(e))
1323
-
1324
-
1325
1302
  def GetProviders(self, request):
1326
1303
  r"""查询指定云开发环境下的身份认证源列表。返回该环境已配置的所有身份认证源信息,包括第三方登录(OAuth、OIDC、SAML)、微信小程序登录、自定义登录和邮箱登录等。返回结果包含认证源基本信息、关联应用、配置状态及启用情况。若自定义登录或邮箱登录的身份源尚未创建,接口会自动追加一个默认关闭状态的身份源记录。
1327
1304
 
@@ -1630,29 +1607,6 @@ class TcbClient(AbstractClient):
1630
1607
  raise TencentCloudSDKException(type(e).__name__, str(e))
1631
1608
 
1632
1609
 
1633
- def ReinstateEnv(self, request):
1634
- r"""针对已隔离的免费环境,可以通过本接口将其恢复访问。
1635
-
1636
- :param request: Request instance for ReinstateEnv.
1637
- :type request: :class:`tencentcloud.tcb.v20180608.models.ReinstateEnvRequest`
1638
- :rtype: :class:`tencentcloud.tcb.v20180608.models.ReinstateEnvResponse`
1639
-
1640
- """
1641
- try:
1642
- params = request._serialize()
1643
- headers = request.headers
1644
- body = self.call("ReinstateEnv", params, headers=headers)
1645
- response = json.loads(body)
1646
- model = models.ReinstateEnvResponse()
1647
- model._deserialize(response["Response"])
1648
- return model
1649
- except Exception as e:
1650
- if isinstance(e, TencentCloudSDKException):
1651
- raise
1652
- else:
1653
- raise TencentCloudSDKException(type(e).__name__, str(e))
1654
-
1655
-
1656
1610
  def RenewEnv(self, request):
1657
1611
  r"""本接口用于云开发环境套餐续费。
1658
1612
  该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
@@ -1038,24 +1038,6 @@ class TcbClient(AbstractClient):
1038
1038
 
1039
1039
  return await self.call_and_deserialize(**kwargs)
1040
1040
 
1041
- async def EditAuthConfig(
1042
- self,
1043
- request: models.EditAuthConfigRequest,
1044
- opts: Dict = None,
1045
- ) -> models.EditAuthConfigResponse:
1046
- """
1047
- 修改登录配置
1048
- """
1049
-
1050
- kwargs = {}
1051
- kwargs["action"] = "EditAuthConfig"
1052
- kwargs["params"] = request._serialize()
1053
- kwargs["resp_cls"] = models.EditAuthConfigResponse
1054
- kwargs["headers"] = request.headers
1055
- kwargs["opts"] = opts or {}
1056
-
1057
- return await self.call_and_deserialize(**kwargs)
1058
-
1059
1041
  async def GetProviders(
1060
1042
  self,
1061
1043
  request: models.GetProvidersRequest,
@@ -1299,24 +1281,6 @@ class TcbClient(AbstractClient):
1299
1281
 
1300
1282
  return await self.call_and_deserialize(**kwargs)
1301
1283
 
1302
- async def ReinstateEnv(
1303
- self,
1304
- request: models.ReinstateEnvRequest,
1305
- opts: Dict = None,
1306
- ) -> models.ReinstateEnvResponse:
1307
- """
1308
- 针对已隔离的免费环境,可以通过本接口将其恢复访问。
1309
- """
1310
-
1311
- kwargs = {}
1312
- kwargs["action"] = "ReinstateEnv"
1313
- kwargs["params"] = request._serialize()
1314
- kwargs["resp_cls"] = models.ReinstateEnvResponse
1315
- kwargs["headers"] = request.headers
1316
- kwargs["opts"] = opts or {}
1317
-
1318
- return await self.call_and_deserialize(**kwargs)
1319
-
1320
1284
  async def RenewEnv(
1321
1285
  self,
1322
1286
  request: models.RenewEnvRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.70
3
+ Version: 3.1.72
4
4
  Summary: Tencent Cloud Tcb 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.70
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.72
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.72
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.70