tencentcloud-sdk-python-tcb 3.1.162__tar.gz → 3.1.164__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_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/tcb/v20180608/models.py +126 -20
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.164/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.162/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/tcb/v20180608/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.162 → tencentcloud_sdk_python_tcb-3.1.164}/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.
|
|
3
|
+
Version: 3.1.164
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.164,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcb SDK for Python',
|
|
@@ -18510,20 +18510,23 @@ class MgoKeySchema(AbstractModel):
|
|
|
18510
18510
|
|
|
18511
18511
|
def __init__(self):
|
|
18512
18512
|
r"""
|
|
18513
|
-
:param _MgoIndexKeys:
|
|
18513
|
+
:param _MgoIndexKeys: <p>索引字段</p>
|
|
18514
18514
|
:type MgoIndexKeys: list of MgoIndexKeys
|
|
18515
|
-
:param _MgoIsUnique:
|
|
18515
|
+
:param _MgoIsUnique: <p>是否唯一索引</p>
|
|
18516
18516
|
:type MgoIsUnique: bool
|
|
18517
|
-
:param _MgoIsSparse:
|
|
18517
|
+
:param _MgoIsSparse: <p>是否稀疏索引</p>
|
|
18518
18518
|
:type MgoIsSparse: bool
|
|
18519
|
+
:param _PartialFilterExpression: <p>稀疏索引表达式</p>
|
|
18520
|
+
:type PartialFilterExpression: str
|
|
18519
18521
|
"""
|
|
18520
18522
|
self._MgoIndexKeys = None
|
|
18521
18523
|
self._MgoIsUnique = None
|
|
18522
18524
|
self._MgoIsSparse = None
|
|
18525
|
+
self._PartialFilterExpression = None
|
|
18523
18526
|
|
|
18524
18527
|
@property
|
|
18525
18528
|
def MgoIndexKeys(self):
|
|
18526
|
-
r"""
|
|
18529
|
+
r"""<p>索引字段</p>
|
|
18527
18530
|
:rtype: list of MgoIndexKeys
|
|
18528
18531
|
"""
|
|
18529
18532
|
return self._MgoIndexKeys
|
|
@@ -18534,7 +18537,7 @@ class MgoKeySchema(AbstractModel):
|
|
|
18534
18537
|
|
|
18535
18538
|
@property
|
|
18536
18539
|
def MgoIsUnique(self):
|
|
18537
|
-
r"""
|
|
18540
|
+
r"""<p>是否唯一索引</p>
|
|
18538
18541
|
:rtype: bool
|
|
18539
18542
|
"""
|
|
18540
18543
|
return self._MgoIsUnique
|
|
@@ -18545,7 +18548,7 @@ class MgoKeySchema(AbstractModel):
|
|
|
18545
18548
|
|
|
18546
18549
|
@property
|
|
18547
18550
|
def MgoIsSparse(self):
|
|
18548
|
-
r"""
|
|
18551
|
+
r"""<p>是否稀疏索引</p>
|
|
18549
18552
|
:rtype: bool
|
|
18550
18553
|
"""
|
|
18551
18554
|
return self._MgoIsSparse
|
|
@@ -18554,6 +18557,17 @@ class MgoKeySchema(AbstractModel):
|
|
|
18554
18557
|
def MgoIsSparse(self, MgoIsSparse):
|
|
18555
18558
|
self._MgoIsSparse = MgoIsSparse
|
|
18556
18559
|
|
|
18560
|
+
@property
|
|
18561
|
+
def PartialFilterExpression(self):
|
|
18562
|
+
r"""<p>稀疏索引表达式</p>
|
|
18563
|
+
:rtype: str
|
|
18564
|
+
"""
|
|
18565
|
+
return self._PartialFilterExpression
|
|
18566
|
+
|
|
18567
|
+
@PartialFilterExpression.setter
|
|
18568
|
+
def PartialFilterExpression(self, PartialFilterExpression):
|
|
18569
|
+
self._PartialFilterExpression = PartialFilterExpression
|
|
18570
|
+
|
|
18557
18571
|
|
|
18558
18572
|
def _deserialize(self, params):
|
|
18559
18573
|
if params.get("MgoIndexKeys") is not None:
|
|
@@ -18564,6 +18578,7 @@ class MgoKeySchema(AbstractModel):
|
|
|
18564
18578
|
self._MgoIndexKeys.append(obj)
|
|
18565
18579
|
self._MgoIsUnique = params.get("MgoIsUnique")
|
|
18566
18580
|
self._MgoIsSparse = params.get("MgoIsSparse")
|
|
18581
|
+
self._PartialFilterExpression = params.get("PartialFilterExpression")
|
|
18567
18582
|
memeber_set = set(params.keys())
|
|
18568
18583
|
for name, value in vars(self).items():
|
|
18569
18584
|
property_name = name[1:]
|
|
@@ -23775,6 +23790,44 @@ class RunSqlResponse(AbstractModel):
|
|
|
23775
23790
|
self._RequestId = params.get("RequestId")
|
|
23776
23791
|
|
|
23777
23792
|
|
|
23793
|
+
class SMSCloudFunctionConfig(AbstractModel):
|
|
23794
|
+
r"""云函数短信通道配置。适用于第三方短信服务商场景:用户在环境下部署名为 SendVerificationCode 的云函数,平台在发送验证码时调用该函数,函数体内由用户自行调用任意短信服务商 SDK 完成下发。
|
|
23795
|
+
|
|
23796
|
+
"""
|
|
23797
|
+
|
|
23798
|
+
def __init__(self):
|
|
23799
|
+
r"""
|
|
23800
|
+
:param _FunctionName: <p>发送验证码的云函数名,当前仅支持 SendVerificationCode。</p><p>函数入参:</p><ul><li>Mobile:字符串(手机号,连续 E.164 格式,如 +8613800000000)</li><li>VerificationCode:字符串(验证码,如 123456)</li></ul><p>函数返回值:</p><ul><li>ErrorCode:int(0 表示成功,非 0 表示失败)</li><li>ErrorMessage:字符串(ErrorCode 非 0 时返回错误信息)</li></ul>
|
|
23801
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23802
|
+
:type FunctionName: str
|
|
23803
|
+
"""
|
|
23804
|
+
self._FunctionName = None
|
|
23805
|
+
|
|
23806
|
+
@property
|
|
23807
|
+
def FunctionName(self):
|
|
23808
|
+
r"""<p>发送验证码的云函数名,当前仅支持 SendVerificationCode。</p><p>函数入参:</p><ul><li>Mobile:字符串(手机号,连续 E.164 格式,如 +8613800000000)</li><li>VerificationCode:字符串(验证码,如 123456)</li></ul><p>函数返回值:</p><ul><li>ErrorCode:int(0 表示成功,非 0 表示失败)</li><li>ErrorMessage:字符串(ErrorCode 非 0 时返回错误信息)</li></ul>
|
|
23809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23810
|
+
:rtype: str
|
|
23811
|
+
"""
|
|
23812
|
+
return self._FunctionName
|
|
23813
|
+
|
|
23814
|
+
@FunctionName.setter
|
|
23815
|
+
def FunctionName(self, FunctionName):
|
|
23816
|
+
self._FunctionName = FunctionName
|
|
23817
|
+
|
|
23818
|
+
|
|
23819
|
+
def _deserialize(self, params):
|
|
23820
|
+
self._FunctionName = params.get("FunctionName")
|
|
23821
|
+
memeber_set = set(params.keys())
|
|
23822
|
+
for name, value in vars(self).items():
|
|
23823
|
+
property_name = name[1:]
|
|
23824
|
+
if property_name in memeber_set:
|
|
23825
|
+
memeber_set.remove(property_name)
|
|
23826
|
+
if len(memeber_set) > 0:
|
|
23827
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23828
|
+
|
|
23829
|
+
|
|
23830
|
+
|
|
23778
23831
|
class SMSProviderTemplateConfig(AbstractModel):
|
|
23779
23832
|
r"""自定义短信服务商模板配置
|
|
23780
23833
|
|
|
@@ -23794,6 +23847,9 @@ class SMSProviderTemplateConfig(AbstractModel):
|
|
|
23794
23847
|
:param _SignName: <p>短信服务商侧申请并审核通过的签名,按照服务商的文档和要求填写。</p><ul><li>腾讯云短信服务商,签名信息可前往 <a href="https://console.cloud.tencent.com/smsv2/csms-sign">国内短信</a> 或 <a href="https://console.cloud.tencent.com/smsv2/isms-sign">国际/港澳台短信</a> 的签名管理查看。<br> 注意:<ol><li>发送国内短信该参数必填,且需填写签名内容而非签名ID。</li><li>发送国际/港澳台短信该参数非必填。</li></ol></li></ul>
|
|
23795
23848
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23796
23849
|
:type SignName: str
|
|
23850
|
+
:param _AuthType: <p>凭证获取方式,不传默认为 SMS_AUTH_SECRET_KEY。</p><p>枚举值:</p><ul><li>SMS_AUTH_SECRET_KEY: 密钥授权,适用于跨账号腾讯云短信 / 其它厂商短信,AK/SK 加密托管至云开发平台控制台—扩展功能—授权管理</li><li>SMS_AUTH_ASSUME_ROLE: 策略授权(角色扮演),适用于同账号腾讯云短信,需预先将短信预设策略 QcloudSMSFullAccess 授权给云开发服务角色,平台以临时凭证代发,不保存任何长期密钥。选择该方式时 SecretId / SecretKey / CredentialAuthKeyId 必须为空</li></ul><p>枚举值:</p><ul><li>SMS_AUTH_SECRET_KEY: 密钥授权,适用于跨账号腾讯云短信 / 其它厂商短信,AK/SK 加密托管至云开发平台控制台—扩展功能—授权管理</li><li>SMS_AUTH_ASSUME_ROLE: 策略授权(角色扮演),适用于同账号腾讯云短信,需预先将短信预设策略 QcloudSMSFullAccess 授权给云开发服务角色,平台以临时凭证代发,不保存任何长期密钥。选择该方式时 SecretId / SecretKey / CredentialAuthKeyId 必须为空</li></ul><p>默认值:SMS_AUTH_SECRET_KEY</p>
|
|
23851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23852
|
+
:type AuthType: str
|
|
23797
23853
|
:param _SecretId: <p>调用短信服务商发送短信接口的调用秘钥对应的ID。</p><ul><li>调用api秘钥会保存在云开发平台控制台—扩展功能—授权管理中,如果对于短信调用的api秘钥有删除需求,可在此处进行删除,删除后,短信将无法正常发送。</li><li>腾讯云的调用api秘钥在腾讯云控制台获取,建议使用子账号的秘钥ID,并且按照最小权限配置。</li></ul>
|
|
23798
23854
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23799
23855
|
:type SecretId: str
|
|
@@ -23806,15 +23862,20 @@ class SMSProviderTemplateConfig(AbstractModel):
|
|
|
23806
23862
|
:param _TemplateExtendParam: <p>当短信自定义模板含多个占位符时,平台只负责生成验证码值,其余占位符由调用方在此提供。</p><ul><li>无需提供验证码对应的占位的值,验证码由云开发平台侧生成。</li><li>如果是命名占位的服务商的短信模板,这里的参数按照需要对应的占位的key和value,会按照对应的key和value在发送短信时,填充到模板中。</li><li>如果是序号占位的服务商的短信模板,这里的参数不需要key, 只需要填写对应的value, 会按照填写的顺序依次填充到模板中。</li></ul>
|
|
23807
23863
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23808
23864
|
:type TemplateExtendParam: list of SMSTemplateParams
|
|
23865
|
+
:param _CredentialAuthKeyId: <p>授权管理中密钥的自定义标识(创建 / 引用二合一),与 SecretId / SecretKey 组合决定行为:</p><ul><li>非空 + 带 SecretId/SecretKey → 以该标识创建新密钥;标识已存在时报错(keyID already exists)</li><li>非空 + 不带 SecretId/SecretKey → 引用授权管理中已存在的密钥(需归属当前环境)</li><li>空 + 带 SecretId/SecretKey → 使用平台按服务商生成的固定标识,覆盖更新(存量兼容)</li><li>空 + 不带 SecretId/SecretKey → 不修改密钥,沿用既有配置</li></ul><p>AuthType 为 SMS_AUTH_ASSUME_ROLE 时此参数必须为空。</p>
|
|
23866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23867
|
+
:type CredentialAuthKeyId: str
|
|
23809
23868
|
"""
|
|
23810
23869
|
self._Vendor = None
|
|
23811
23870
|
self._TemplateId = None
|
|
23812
23871
|
self._SdkAppId = None
|
|
23813
23872
|
self._SignName = None
|
|
23873
|
+
self._AuthType = None
|
|
23814
23874
|
self._SecretId = None
|
|
23815
23875
|
self._SecretKey = None
|
|
23816
23876
|
self._SenderId = None
|
|
23817
23877
|
self._TemplateExtendParam = None
|
|
23878
|
+
self._CredentialAuthKeyId = None
|
|
23818
23879
|
|
|
23819
23880
|
@property
|
|
23820
23881
|
def Vendor(self):
|
|
@@ -23864,6 +23925,18 @@ class SMSProviderTemplateConfig(AbstractModel):
|
|
|
23864
23925
|
def SignName(self, SignName):
|
|
23865
23926
|
self._SignName = SignName
|
|
23866
23927
|
|
|
23928
|
+
@property
|
|
23929
|
+
def AuthType(self):
|
|
23930
|
+
r"""<p>凭证获取方式,不传默认为 SMS_AUTH_SECRET_KEY。</p><p>枚举值:</p><ul><li>SMS_AUTH_SECRET_KEY: 密钥授权,适用于跨账号腾讯云短信 / 其它厂商短信,AK/SK 加密托管至云开发平台控制台—扩展功能—授权管理</li><li>SMS_AUTH_ASSUME_ROLE: 策略授权(角色扮演),适用于同账号腾讯云短信,需预先将短信预设策略 QcloudSMSFullAccess 授权给云开发服务角色,平台以临时凭证代发,不保存任何长期密钥。选择该方式时 SecretId / SecretKey / CredentialAuthKeyId 必须为空</li></ul><p>枚举值:</p><ul><li>SMS_AUTH_SECRET_KEY: 密钥授权,适用于跨账号腾讯云短信 / 其它厂商短信,AK/SK 加密托管至云开发平台控制台—扩展功能—授权管理</li><li>SMS_AUTH_ASSUME_ROLE: 策略授权(角色扮演),适用于同账号腾讯云短信,需预先将短信预设策略 QcloudSMSFullAccess 授权给云开发服务角色,平台以临时凭证代发,不保存任何长期密钥。选择该方式时 SecretId / SecretKey / CredentialAuthKeyId 必须为空</li></ul><p>默认值:SMS_AUTH_SECRET_KEY</p>
|
|
23931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23932
|
+
:rtype: str
|
|
23933
|
+
"""
|
|
23934
|
+
return self._AuthType
|
|
23935
|
+
|
|
23936
|
+
@AuthType.setter
|
|
23937
|
+
def AuthType(self, AuthType):
|
|
23938
|
+
self._AuthType = AuthType
|
|
23939
|
+
|
|
23867
23940
|
@property
|
|
23868
23941
|
def SecretId(self):
|
|
23869
23942
|
r"""<p>调用短信服务商发送短信接口的调用秘钥对应的ID。</p><ul><li>调用api秘钥会保存在云开发平台控制台—扩展功能—授权管理中,如果对于短信调用的api秘钥有删除需求,可在此处进行删除,删除后,短信将无法正常发送。</li><li>腾讯云的调用api秘钥在腾讯云控制台获取,建议使用子账号的秘钥ID,并且按照最小权限配置。</li></ul>
|
|
@@ -23912,12 +23985,25 @@ class SMSProviderTemplateConfig(AbstractModel):
|
|
|
23912
23985
|
def TemplateExtendParam(self, TemplateExtendParam):
|
|
23913
23986
|
self._TemplateExtendParam = TemplateExtendParam
|
|
23914
23987
|
|
|
23988
|
+
@property
|
|
23989
|
+
def CredentialAuthKeyId(self):
|
|
23990
|
+
r"""<p>授权管理中密钥的自定义标识(创建 / 引用二合一),与 SecretId / SecretKey 组合决定行为:</p><ul><li>非空 + 带 SecretId/SecretKey → 以该标识创建新密钥;标识已存在时报错(keyID already exists)</li><li>非空 + 不带 SecretId/SecretKey → 引用授权管理中已存在的密钥(需归属当前环境)</li><li>空 + 带 SecretId/SecretKey → 使用平台按服务商生成的固定标识,覆盖更新(存量兼容)</li><li>空 + 不带 SecretId/SecretKey → 不修改密钥,沿用既有配置</li></ul><p>AuthType 为 SMS_AUTH_ASSUME_ROLE 时此参数必须为空。</p>
|
|
23991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23992
|
+
:rtype: str
|
|
23993
|
+
"""
|
|
23994
|
+
return self._CredentialAuthKeyId
|
|
23995
|
+
|
|
23996
|
+
@CredentialAuthKeyId.setter
|
|
23997
|
+
def CredentialAuthKeyId(self, CredentialAuthKeyId):
|
|
23998
|
+
self._CredentialAuthKeyId = CredentialAuthKeyId
|
|
23999
|
+
|
|
23915
24000
|
|
|
23916
24001
|
def _deserialize(self, params):
|
|
23917
24002
|
self._Vendor = params.get("Vendor")
|
|
23918
24003
|
self._TemplateId = params.get("TemplateId")
|
|
23919
24004
|
self._SdkAppId = params.get("SdkAppId")
|
|
23920
24005
|
self._SignName = params.get("SignName")
|
|
24006
|
+
self._AuthType = params.get("AuthType")
|
|
23921
24007
|
self._SecretId = params.get("SecretId")
|
|
23922
24008
|
self._SecretKey = params.get("SecretKey")
|
|
23923
24009
|
self._SenderId = params.get("SenderId")
|
|
@@ -23927,6 +24013,7 @@ class SMSProviderTemplateConfig(AbstractModel):
|
|
|
23927
24013
|
obj = SMSTemplateParams()
|
|
23928
24014
|
obj._deserialize(item)
|
|
23929
24015
|
self._TemplateExtendParam.append(obj)
|
|
24016
|
+
self._CredentialAuthKeyId = params.get("CredentialAuthKeyId")
|
|
23930
24017
|
memeber_set = set(params.keys())
|
|
23931
24018
|
for name, value in vars(self).items():
|
|
23932
24019
|
property_name = name[1:]
|
|
@@ -25339,17 +25426,17 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25339
25426
|
|
|
25340
25427
|
def __init__(self):
|
|
25341
25428
|
r"""
|
|
25342
|
-
:param _TableName:
|
|
25429
|
+
:param _TableName: <p>表名</p>
|
|
25343
25430
|
:type TableName: str
|
|
25344
|
-
:param _Tag: FlexDB实例ID
|
|
25431
|
+
:param _Tag: <p>FlexDB实例ID</p>
|
|
25345
25432
|
:type Tag: str
|
|
25346
|
-
:param _DropIndexes:
|
|
25433
|
+
:param _DropIndexes: <p>待删除索引信息</p>
|
|
25347
25434
|
:type DropIndexes: list of DropIndex
|
|
25348
|
-
:param _CreateIndexes:
|
|
25435
|
+
:param _CreateIndexes: <p>待创建索引信息</p>
|
|
25349
25436
|
:type CreateIndexes: list of CreateIndex
|
|
25350
|
-
:param _EnvId:
|
|
25437
|
+
:param _EnvId: <p>云开发环境ID</p>
|
|
25351
25438
|
:type EnvId: str
|
|
25352
|
-
:param _MongoConnector: MongoDB
|
|
25439
|
+
:param _MongoConnector: <p>MongoDB连接器配置</p>
|
|
25353
25440
|
:type MongoConnector: :class:`tencentcloud.tcb.v20180608.models.MongoConnector`
|
|
25354
25441
|
"""
|
|
25355
25442
|
self._TableName = None
|
|
@@ -25361,7 +25448,7 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25361
25448
|
|
|
25362
25449
|
@property
|
|
25363
25450
|
def TableName(self):
|
|
25364
|
-
r"""
|
|
25451
|
+
r"""<p>表名</p>
|
|
25365
25452
|
:rtype: str
|
|
25366
25453
|
"""
|
|
25367
25454
|
return self._TableName
|
|
@@ -25372,7 +25459,7 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25372
25459
|
|
|
25373
25460
|
@property
|
|
25374
25461
|
def Tag(self):
|
|
25375
|
-
r"""FlexDB实例ID
|
|
25462
|
+
r"""<p>FlexDB实例ID</p>
|
|
25376
25463
|
:rtype: str
|
|
25377
25464
|
"""
|
|
25378
25465
|
return self._Tag
|
|
@@ -25383,7 +25470,7 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25383
25470
|
|
|
25384
25471
|
@property
|
|
25385
25472
|
def DropIndexes(self):
|
|
25386
|
-
r"""
|
|
25473
|
+
r"""<p>待删除索引信息</p>
|
|
25387
25474
|
:rtype: list of DropIndex
|
|
25388
25475
|
"""
|
|
25389
25476
|
return self._DropIndexes
|
|
@@ -25394,7 +25481,7 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25394
25481
|
|
|
25395
25482
|
@property
|
|
25396
25483
|
def CreateIndexes(self):
|
|
25397
|
-
r"""
|
|
25484
|
+
r"""<p>待创建索引信息</p>
|
|
25398
25485
|
:rtype: list of CreateIndex
|
|
25399
25486
|
"""
|
|
25400
25487
|
return self._CreateIndexes
|
|
@@ -25405,7 +25492,7 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25405
25492
|
|
|
25406
25493
|
@property
|
|
25407
25494
|
def EnvId(self):
|
|
25408
|
-
r"""
|
|
25495
|
+
r"""<p>云开发环境ID</p>
|
|
25409
25496
|
:rtype: str
|
|
25410
25497
|
"""
|
|
25411
25498
|
return self._EnvId
|
|
@@ -25416,7 +25503,7 @@ class UpdateTableRequest(AbstractModel):
|
|
|
25416
25503
|
|
|
25417
25504
|
@property
|
|
25418
25505
|
def MongoConnector(self):
|
|
25419
|
-
r"""MongoDB
|
|
25506
|
+
r"""<p>MongoDB连接器配置</p>
|
|
25420
25507
|
:rtype: :class:`tencentcloud.tcb.v20180608.models.MongoConnector`
|
|
25421
25508
|
"""
|
|
25422
25509
|
return self._MongoConnector
|
|
@@ -26135,7 +26222,7 @@ class VerificationConfig(AbstractModel):
|
|
|
26135
26222
|
|
|
26136
26223
|
def __init__(self):
|
|
26137
26224
|
r"""
|
|
26138
|
-
:param _Type: <p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li></ul>
|
|
26225
|
+
:param _Type: <p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li><li>function: 云函数通道(第三方短信服务商),需要配置CloudFunction</li></ul>
|
|
26139
26226
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26140
26227
|
:type Type: str
|
|
26141
26228
|
:param _Name: <p>自定义 APIs 数据源唯一标识,当 Type 为 apis 时必填。用于定位微搭 APIs 中对应的数据源。</p>
|
|
@@ -26150,16 +26237,20 @@ class VerificationConfig(AbstractModel):
|
|
|
26150
26237
|
:param _TemplateProvider: <p>自定义短信服务商模板配置</p>
|
|
26151
26238
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26152
26239
|
:type TemplateProvider: :class:`tencentcloud.tcb.v20180608.models.SMSProviderTemplateConfig`
|
|
26240
|
+
:param _CloudFunction: <p>云函数短信通道配置,当 Type 为 function 时必填</p>
|
|
26241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26242
|
+
:type CloudFunction: :class:`tencentcloud.tcb.v20180608.models.SMSCloudFunctionConfig`
|
|
26153
26243
|
"""
|
|
26154
26244
|
self._Type = None
|
|
26155
26245
|
self._Name = None
|
|
26156
26246
|
self._Method = None
|
|
26157
26247
|
self._SmsDayLimit = None
|
|
26158
26248
|
self._TemplateProvider = None
|
|
26249
|
+
self._CloudFunction = None
|
|
26159
26250
|
|
|
26160
26251
|
@property
|
|
26161
26252
|
def Type(self):
|
|
26162
|
-
r"""<p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li></ul>
|
|
26253
|
+
r"""<p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li><li>function: 云函数通道(第三方短信服务商),需要配置CloudFunction</li></ul>
|
|
26163
26254
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26164
26255
|
:rtype: str
|
|
26165
26256
|
"""
|
|
@@ -26217,6 +26308,18 @@ class VerificationConfig(AbstractModel):
|
|
|
26217
26308
|
def TemplateProvider(self, TemplateProvider):
|
|
26218
26309
|
self._TemplateProvider = TemplateProvider
|
|
26219
26310
|
|
|
26311
|
+
@property
|
|
26312
|
+
def CloudFunction(self):
|
|
26313
|
+
r"""<p>云函数短信通道配置,当 Type 为 function 时必填</p>
|
|
26314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26315
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.SMSCloudFunctionConfig`
|
|
26316
|
+
"""
|
|
26317
|
+
return self._CloudFunction
|
|
26318
|
+
|
|
26319
|
+
@CloudFunction.setter
|
|
26320
|
+
def CloudFunction(self, CloudFunction):
|
|
26321
|
+
self._CloudFunction = CloudFunction
|
|
26322
|
+
|
|
26220
26323
|
|
|
26221
26324
|
def _deserialize(self, params):
|
|
26222
26325
|
self._Type = params.get("Type")
|
|
@@ -26226,6 +26329,9 @@ class VerificationConfig(AbstractModel):
|
|
|
26226
26329
|
if params.get("TemplateProvider") is not None:
|
|
26227
26330
|
self._TemplateProvider = SMSProviderTemplateConfig()
|
|
26228
26331
|
self._TemplateProvider._deserialize(params.get("TemplateProvider"))
|
|
26332
|
+
if params.get("CloudFunction") is not None:
|
|
26333
|
+
self._CloudFunction = SMSCloudFunctionConfig()
|
|
26334
|
+
self._CloudFunction._deserialize(params.get("CloudFunction"))
|
|
26229
26335
|
memeber_set = set(params.keys())
|
|
26230
26336
|
for name, value in vars(self).items():
|
|
26231
26337
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.164
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
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
|