tencentcloud-sdk-python 3.0.1124__py2.py3-none-any.whl → 3.0.1126__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +1 -2
- tencentcloud/bri/v20190328/bri_client.py +3 -1
- tencentcloud/ccc/v20200210/models.py +18 -0
- tencentcloud/dts/v20211206/models.py +27 -2
- tencentcloud/ess/v20201111/models.py +33 -2
- tencentcloud/essbasic/v20210526/models.py +40 -3
- tencentcloud/faceid/v20180301/models.py +2 -0
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +70 -0
- tencentcloud/lcic/v20220817/models.py +5 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +7 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +9 -0
- tencentcloud/mongodb/v20190725/models.py +281 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +24 -0
- tencentcloud/organization/v20210331/models.py +55 -55
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +12 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +42 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- {tencentcloud_sdk_python-3.0.1124.dist-info → tencentcloud_sdk_python-3.0.1126.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1124.dist-info → tencentcloud_sdk_python-3.0.1126.dist-info}/RECORD +28 -28
- {tencentcloud_sdk_python-3.0.1124.dist-info → tencentcloud_sdk_python-3.0.1126.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1124.dist-info → tencentcloud_sdk_python-3.0.1126.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1124.dist-info → tencentcloud_sdk_python-3.0.1126.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -391,8 +391,7 @@ class QueryTextToImageProJobResponse(AbstractModel):
|
|
|
391
391
|
def __init__(self):
|
|
392
392
|
r"""
|
|
393
393
|
:param _JobStatusCode: 当前任务状态码:
|
|
394
|
-
1
|
|
395
|
-
|
|
394
|
+
1:等待中、2:运行中、4:处理失败、5:处理完成。
|
|
396
395
|
:type JobStatusCode: str
|
|
397
396
|
:param _JobStatusMsg: 当前任务状态:排队中、处理中、处理失败或者处理完成。
|
|
398
397
|
|
|
@@ -27,7 +27,9 @@ class BriClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def DescribeBRI(self, request):
|
|
30
|
-
"""
|
|
30
|
+
"""产品不在使用,业务已经下线
|
|
31
|
+
|
|
32
|
+
输入业务名 (bri_num, bri_dev, bri_ip, bri_apk, bri_url, bri_social 六种之一) 及其 相应字段, 获取业务风险分数和标签。
|
|
31
33
|
|
|
32
34
|
当业务名为bri_num时,必须填PhoneNumber字段.
|
|
33
35
|
|
|
@@ -11118,10 +11118,14 @@ class UploadIvrAudioResponse(AbstractModel):
|
|
|
11118
11118
|
:param _FailedFileList: 上传失败的文件列表
|
|
11119
11119
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11120
11120
|
:type FailedFileList: list of UploadIvrAudioFailedInfo
|
|
11121
|
+
:param _SuccessFileList: 上传成功文件列表
|
|
11122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11123
|
+
:type SuccessFileList: list of AudioFileInfo
|
|
11121
11124
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11122
11125
|
:type RequestId: str
|
|
11123
11126
|
"""
|
|
11124
11127
|
self._FailedFileList = None
|
|
11128
|
+
self._SuccessFileList = None
|
|
11125
11129
|
self._RequestId = None
|
|
11126
11130
|
|
|
11127
11131
|
@property
|
|
@@ -11132,6 +11136,14 @@ class UploadIvrAudioResponse(AbstractModel):
|
|
|
11132
11136
|
def FailedFileList(self, FailedFileList):
|
|
11133
11137
|
self._FailedFileList = FailedFileList
|
|
11134
11138
|
|
|
11139
|
+
@property
|
|
11140
|
+
def SuccessFileList(self):
|
|
11141
|
+
return self._SuccessFileList
|
|
11142
|
+
|
|
11143
|
+
@SuccessFileList.setter
|
|
11144
|
+
def SuccessFileList(self, SuccessFileList):
|
|
11145
|
+
self._SuccessFileList = SuccessFileList
|
|
11146
|
+
|
|
11135
11147
|
@property
|
|
11136
11148
|
def RequestId(self):
|
|
11137
11149
|
return self._RequestId
|
|
@@ -11148,6 +11160,12 @@ class UploadIvrAudioResponse(AbstractModel):
|
|
|
11148
11160
|
obj = UploadIvrAudioFailedInfo()
|
|
11149
11161
|
obj._deserialize(item)
|
|
11150
11162
|
self._FailedFileList.append(obj)
|
|
11163
|
+
if params.get("SuccessFileList") is not None:
|
|
11164
|
+
self._SuccessFileList = []
|
|
11165
|
+
for item in params.get("SuccessFileList"):
|
|
11166
|
+
obj = AudioFileInfo()
|
|
11167
|
+
obj._deserialize(item)
|
|
11168
|
+
self._SuccessFileList.append(obj)
|
|
11151
11169
|
self._RequestId = params.get("RequestId")
|
|
11152
11170
|
|
|
11153
11171
|
|
|
@@ -1543,6 +1543,8 @@ class ConfigureSyncJobRequest(AbstractModel):
|
|
|
1543
1543
|
:type RunMode: str
|
|
1544
1544
|
:param _ExpectRunTime: 期待启动时间,当RunMode取值为Timed时,此值必填,形如:"2006-01-02 15:04:05"
|
|
1545
1545
|
:type ExpectRunTime: str
|
|
1546
|
+
:param _SrcConnectType: 源端tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,SrcInfos中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
|
1547
|
+
:type SrcConnectType: str
|
|
1546
1548
|
:param _SrcInfo: 源端信息,单节点数据库使用,且SrcNodeType传single
|
|
1547
1549
|
:type SrcInfo: :class:`tencentcloud.dts.v20211206.models.Endpoint`
|
|
1548
1550
|
:param _SrcInfos: 源端信息,多节点数据库使用,且SrcNodeType传cluster
|
|
@@ -1568,6 +1570,7 @@ class ConfigureSyncJobRequest(AbstractModel):
|
|
|
1568
1570
|
self._JobMode = None
|
|
1569
1571
|
self._RunMode = None
|
|
1570
1572
|
self._ExpectRunTime = None
|
|
1573
|
+
self._SrcConnectType = None
|
|
1571
1574
|
self._SrcInfo = None
|
|
1572
1575
|
self._SrcInfos = None
|
|
1573
1576
|
self._SrcNodeType = None
|
|
@@ -1641,6 +1644,14 @@ class ConfigureSyncJobRequest(AbstractModel):
|
|
|
1641
1644
|
def ExpectRunTime(self, ExpectRunTime):
|
|
1642
1645
|
self._ExpectRunTime = ExpectRunTime
|
|
1643
1646
|
|
|
1647
|
+
@property
|
|
1648
|
+
def SrcConnectType(self):
|
|
1649
|
+
return self._SrcConnectType
|
|
1650
|
+
|
|
1651
|
+
@SrcConnectType.setter
|
|
1652
|
+
def SrcConnectType(self, SrcConnectType):
|
|
1653
|
+
self._SrcConnectType = SrcConnectType
|
|
1654
|
+
|
|
1644
1655
|
@property
|
|
1645
1656
|
def SrcInfo(self):
|
|
1646
1657
|
return self._SrcInfo
|
|
@@ -1717,6 +1728,7 @@ class ConfigureSyncJobRequest(AbstractModel):
|
|
|
1717
1728
|
self._JobMode = params.get("JobMode")
|
|
1718
1729
|
self._RunMode = params.get("RunMode")
|
|
1719
1730
|
self._ExpectRunTime = params.get("ExpectRunTime")
|
|
1731
|
+
self._SrcConnectType = params.get("SrcConnectType")
|
|
1720
1732
|
if params.get("SrcInfo") is not None:
|
|
1721
1733
|
self._SrcInfo = Endpoint()
|
|
1722
1734
|
self._SrcInfo._deserialize(params.get("SrcInfo"))
|
|
@@ -2988,6 +3000,9 @@ class DBEndpointInfo(AbstractModel):
|
|
|
2988
3000
|
:param _DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
|
2989
3001
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2990
3002
|
:type DatabaseNetEnv: str
|
|
3003
|
+
:param _ConnectType: tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
|
3004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3005
|
+
:type ConnectType: str
|
|
2991
3006
|
"""
|
|
2992
3007
|
self._Region = None
|
|
2993
3008
|
self._AccessType = None
|
|
@@ -2997,6 +3012,7 @@ class DBEndpointInfo(AbstractModel):
|
|
|
2997
3012
|
self._Supplier = None
|
|
2998
3013
|
self._ExtraAttr = None
|
|
2999
3014
|
self._DatabaseNetEnv = None
|
|
3015
|
+
self._ConnectType = None
|
|
3000
3016
|
|
|
3001
3017
|
@property
|
|
3002
3018
|
def Region(self):
|
|
@@ -3062,6 +3078,14 @@ class DBEndpointInfo(AbstractModel):
|
|
|
3062
3078
|
def DatabaseNetEnv(self, DatabaseNetEnv):
|
|
3063
3079
|
self._DatabaseNetEnv = DatabaseNetEnv
|
|
3064
3080
|
|
|
3081
|
+
@property
|
|
3082
|
+
def ConnectType(self):
|
|
3083
|
+
return self._ConnectType
|
|
3084
|
+
|
|
3085
|
+
@ConnectType.setter
|
|
3086
|
+
def ConnectType(self, ConnectType):
|
|
3087
|
+
self._ConnectType = ConnectType
|
|
3088
|
+
|
|
3065
3089
|
|
|
3066
3090
|
def _deserialize(self, params):
|
|
3067
3091
|
self._Region = params.get("Region")
|
|
@@ -3082,6 +3106,7 @@ class DBEndpointInfo(AbstractModel):
|
|
|
3082
3106
|
obj._deserialize(item)
|
|
3083
3107
|
self._ExtraAttr.append(obj)
|
|
3084
3108
|
self._DatabaseNetEnv = params.get("DatabaseNetEnv")
|
|
3109
|
+
self._ConnectType = params.get("ConnectType")
|
|
3085
3110
|
memeber_set = set(params.keys())
|
|
3086
3111
|
for name, value in vars(self).items():
|
|
3087
3112
|
property_name = name[1:]
|
|
@@ -3099,7 +3124,7 @@ class DBInfo(AbstractModel):
|
|
|
3099
3124
|
|
|
3100
3125
|
def __init__(self):
|
|
3101
3126
|
r"""
|
|
3102
|
-
:param _Role: 表示节点角色,针对分布式数据库,如mongodb中的mongos
|
|
3127
|
+
:param _Role: 表示节点角色,针对分布式数据库,如mongodb中的mongos节点。tdsqlmysql的可选项:proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填。
|
|
3103
3128
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3104
3129
|
:type Role: str
|
|
3105
3130
|
:param _DbKernel: 内核版本,针对mariadb的不同内核版本等
|
|
@@ -3159,7 +3184,7 @@ class DBInfo(AbstractModel):
|
|
|
3159
3184
|
:param _TmpToken: 临时Token,可通过 获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195
|
|
3160
3185
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3161
3186
|
:type TmpToken: str
|
|
3162
|
-
:param _SetId: tdsql
|
|
3187
|
+
:param _SetId: tdsql的分片id。如节点类型为set必填。
|
|
3163
3188
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3164
3189
|
:type SetId: str
|
|
3165
3190
|
"""
|
|
@@ -1009,6 +1009,17 @@ class AutoSignConfig(AbstractModel):
|
|
|
1009
1009
|
<ul><li>**0**: (默认) 使用个人自动签账号许可进行开通,个人自动签账号许可有效期1年,注: `不可解绑释放更换他人`</li>
|
|
1010
1010
|
<li>**1**: 不绑定自动签账号许可开通,后续使用合同份额进行合同发起</li></ul>
|
|
1011
1011
|
:type LicenseType: int
|
|
1012
|
+
:param _JumpUrl: 开通成功后前端页面跳转的url,此字段的用法场景请联系客户经理确认。
|
|
1013
|
+
|
|
1014
|
+
注:`仅支持H5开通场景`, `跳转链接仅支持 https:// , qianapp:// 开头`
|
|
1015
|
+
|
|
1016
|
+
跳转场景:
|
|
1017
|
+
<ul><li>**贵方H5 -> 腾讯电子签H5 -> 贵方H5** : JumpUrl格式: https://YOUR_CUSTOM_URL/xxxx,只需满足 https:// 开头的正确且合规的网址即可。</li>
|
|
1018
|
+
<li>**贵方原生App -> 腾讯电子签H5 -> 贵方原生App** : JumpUrl格式: qianapp://YOUR_CUSTOM_URL,只需满足 qianapp:// 开头的URL即可。`APP实现方,需要拦截Webview地址跳转,发现url是qianapp:// 开头时跳转到原生页面。`APP拦截地址跳转可参考:<a href='https://stackoverflow.com/questions/41693263/android-webview-err-unknown-url-scheme'>Android</a>,<a href='https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios/'>IOS</a> </li></ul>
|
|
1019
|
+
|
|
1020
|
+
成功结果返回:
|
|
1021
|
+
若贵方需要在跳转回时通过链接query参数提示开通成功,JumpUrl中的query应携带如下参数:`appendResult=qian`。这样腾讯电子签H5会在跳转回的url后面会添加query参数提示贵方签署成功,比如 qianapp://YOUR_CUSTOM_URL?action=sign&result=success&from=tencent_ess
|
|
1022
|
+
:type JumpUrl: str
|
|
1012
1023
|
"""
|
|
1013
1024
|
self._UserInfo = None
|
|
1014
1025
|
self._CertInfoCallback = None
|
|
@@ -1017,6 +1028,7 @@ class AutoSignConfig(AbstractModel):
|
|
|
1017
1028
|
self._CallbackUrl = None
|
|
1018
1029
|
self._VerifyChannels = None
|
|
1019
1030
|
self._LicenseType = None
|
|
1031
|
+
self._JumpUrl = None
|
|
1020
1032
|
|
|
1021
1033
|
@property
|
|
1022
1034
|
def UserInfo(self):
|
|
@@ -1078,6 +1090,14 @@ class AutoSignConfig(AbstractModel):
|
|
|
1078
1090
|
def LicenseType(self, LicenseType):
|
|
1079
1091
|
self._LicenseType = LicenseType
|
|
1080
1092
|
|
|
1093
|
+
@property
|
|
1094
|
+
def JumpUrl(self):
|
|
1095
|
+
return self._JumpUrl
|
|
1096
|
+
|
|
1097
|
+
@JumpUrl.setter
|
|
1098
|
+
def JumpUrl(self, JumpUrl):
|
|
1099
|
+
self._JumpUrl = JumpUrl
|
|
1100
|
+
|
|
1081
1101
|
|
|
1082
1102
|
def _deserialize(self, params):
|
|
1083
1103
|
if params.get("UserInfo") is not None:
|
|
@@ -1089,6 +1109,7 @@ class AutoSignConfig(AbstractModel):
|
|
|
1089
1109
|
self._CallbackUrl = params.get("CallbackUrl")
|
|
1090
1110
|
self._VerifyChannels = params.get("VerifyChannels")
|
|
1091
1111
|
self._LicenseType = params.get("LicenseType")
|
|
1112
|
+
self._JumpUrl = params.get("JumpUrl")
|
|
1092
1113
|
memeber_set = set(params.keys())
|
|
1093
1114
|
for name, value in vars(self).items():
|
|
1094
1115
|
property_name = name[1:]
|
|
@@ -2063,8 +2084,6 @@ class Component(AbstractModel):
|
|
|
2063
2084
|
|
|
2064
2085
|
- 如传入的关键字<font color="red">"^甲方签署^"</font >,则会在PDF文件中有且仅有"甲方签署"关键字的地方(<font color="red">前后不能有其他字符</font >)进行对应操作。
|
|
2065
2086
|
- 如传入的关键字为<font color="red">"甲方签署</font >",则PDF文件中每个出现关键字的位置(<font color="red">前后可以有其他字符</font >)都会执行相应操作。
|
|
2066
|
-
- 如传入的关键字为<font color="red">"^甲方签署</font >",则PDF文件中每个出现关键字的位置(<font color="red">前面不能有其他字符</font >)都会执行相应操作。
|
|
2067
|
-
- 如传入的关键字为<font color="red">"甲方签署^</font >",则PDF文件中每个出现关键字的位置(<font color="red">后面不能有其他字符</font >)都会执行相应操作。
|
|
2068
2087
|
|
|
2069
2088
|
|
|
2070
2089
|
注:`控件ID可以在一个PDF中不可重复`
|
|
@@ -9058,6 +9077,8 @@ class CreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
9058
9077
|
:param _Agent: 代理企业和员工的信息。
|
|
9059
9078
|
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
9060
9079
|
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
9080
|
+
:param _UserData: 调用方自定义的个性化字段(可自定义此字段的值),并以base64方式编码,支持的最大数据大小为 20480长度。 在个人自动签的开通、关闭等回调信息场景中,该字段的信息将原封不动地透传给贵方。
|
|
9081
|
+
:type UserData: str
|
|
9061
9082
|
"""
|
|
9062
9083
|
self._Operator = None
|
|
9063
9084
|
self._SceneKey = None
|
|
@@ -9067,6 +9088,7 @@ class CreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
9067
9088
|
self._NotifyAddress = None
|
|
9068
9089
|
self._ExpiredTime = None
|
|
9069
9090
|
self._Agent = None
|
|
9091
|
+
self._UserData = None
|
|
9070
9092
|
|
|
9071
9093
|
@property
|
|
9072
9094
|
def Operator(self):
|
|
@@ -9132,6 +9154,14 @@ class CreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
9132
9154
|
def Agent(self, Agent):
|
|
9133
9155
|
self._Agent = Agent
|
|
9134
9156
|
|
|
9157
|
+
@property
|
|
9158
|
+
def UserData(self):
|
|
9159
|
+
return self._UserData
|
|
9160
|
+
|
|
9161
|
+
@UserData.setter
|
|
9162
|
+
def UserData(self, UserData):
|
|
9163
|
+
self._UserData = UserData
|
|
9164
|
+
|
|
9135
9165
|
|
|
9136
9166
|
def _deserialize(self, params):
|
|
9137
9167
|
if params.get("Operator") is not None:
|
|
@@ -9148,6 +9178,7 @@ class CreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
9148
9178
|
if params.get("Agent") is not None:
|
|
9149
9179
|
self._Agent = Agent()
|
|
9150
9180
|
self._Agent._deserialize(params.get("Agent"))
|
|
9181
|
+
self._UserData = params.get("UserData")
|
|
9151
9182
|
memeber_set = set(params.keys())
|
|
9152
9183
|
for name, value in vars(self).items():
|
|
9153
9184
|
property_name = name[1:]
|
|
@@ -614,6 +614,17 @@ class AutoSignConfig(AbstractModel):
|
|
|
614
614
|
<ul><li>**0**: (默认) 使用个人自动签账号许可进行开通,个人自动签账号许可有效期1年,注: `不可解绑释放更换他人`</li>
|
|
615
615
|
<li>**1**: 不绑定自动签账号许可开通,后续使用合同份额进行合同发起</li></ul>
|
|
616
616
|
:type LicenseType: int
|
|
617
|
+
:param _JumpUrl: 开通成功后前端页面跳转的url,此字段的用法场景请联系客户经理确认。
|
|
618
|
+
|
|
619
|
+
注:`仅支持H5开通场景`, `跳转链接仅支持 https:// , qianapp:// 开头`
|
|
620
|
+
|
|
621
|
+
跳转场景:
|
|
622
|
+
<ul><li>**贵方H5 -> 腾讯电子签H5 -> 贵方H5** : JumpUrl格式: https://YOUR_CUSTOM_URL/xxxx,只需满足 https:// 开头的正确且合规的网址即可。</li>
|
|
623
|
+
<li>**贵方原生App -> 腾讯电子签H5 -> 贵方原生App** : JumpUrl格式: qianapp://YOUR_CUSTOM_URL,只需满足 qianapp:// 开头的URL即可。`APP实现方,需要拦截Webview地址跳转,发现url是qianapp:// 开头时跳转到原生页面。`APP拦截地址跳转可参考:<a href='https://stackoverflow.com/questions/41693263/android-webview-err-unknown-url-scheme'>Android</a>,<a href='https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios/'>IOS</a> </li></ul>
|
|
624
|
+
|
|
625
|
+
成功结果返回:
|
|
626
|
+
若贵方需要在跳转回时通过链接query参数提示开通成功,JumpUrl中的query应携带如下参数:`appendResult=qian`。这样腾讯电子签H5会在跳转回的url后面会添加query参数提示贵方签署成功,比如 qianapp://YOUR_CUSTOM_URL?action=sign&result=success&from=tencent_ess
|
|
627
|
+
:type JumpUrl: str
|
|
617
628
|
"""
|
|
618
629
|
self._UserInfo = None
|
|
619
630
|
self._CertInfoCallback = None
|
|
@@ -622,6 +633,7 @@ class AutoSignConfig(AbstractModel):
|
|
|
622
633
|
self._CallbackUrl = None
|
|
623
634
|
self._VerifyChannels = None
|
|
624
635
|
self._LicenseType = None
|
|
636
|
+
self._JumpUrl = None
|
|
625
637
|
|
|
626
638
|
@property
|
|
627
639
|
def UserInfo(self):
|
|
@@ -679,6 +691,14 @@ class AutoSignConfig(AbstractModel):
|
|
|
679
691
|
def LicenseType(self, LicenseType):
|
|
680
692
|
self._LicenseType = LicenseType
|
|
681
693
|
|
|
694
|
+
@property
|
|
695
|
+
def JumpUrl(self):
|
|
696
|
+
return self._JumpUrl
|
|
697
|
+
|
|
698
|
+
@JumpUrl.setter
|
|
699
|
+
def JumpUrl(self, JumpUrl):
|
|
700
|
+
self._JumpUrl = JumpUrl
|
|
701
|
+
|
|
682
702
|
|
|
683
703
|
def _deserialize(self, params):
|
|
684
704
|
if params.get("UserInfo") is not None:
|
|
@@ -690,6 +710,7 @@ class AutoSignConfig(AbstractModel):
|
|
|
690
710
|
self._CallbackUrl = params.get("CallbackUrl")
|
|
691
711
|
self._VerifyChannels = params.get("VerifyChannels")
|
|
692
712
|
self._LicenseType = params.get("LicenseType")
|
|
713
|
+
self._JumpUrl = params.get("JumpUrl")
|
|
693
714
|
memeber_set = set(params.keys())
|
|
694
715
|
for name, value in vars(self).items():
|
|
695
716
|
property_name = name[1:]
|
|
@@ -5479,6 +5500,8 @@ class ChannelCreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
5479
5500
|
:type NotifyAddress: str
|
|
5480
5501
|
:param _ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为当前时间往后30天。`如果不传,默认过期时间为当前时间往后7天。`
|
|
5481
5502
|
:type ExpiredTime: int
|
|
5503
|
+
:param _UserData: 调用方自定义的个性化字段(可自定义此字段的值),并以base64方式编码,支持的最大数据大小为 20480长度。 在个人自动签的开通、关闭等回调信息场景中,该字段的信息将原封不动地透传给贵方。
|
|
5504
|
+
:type UserData: str
|
|
5482
5505
|
"""
|
|
5483
5506
|
self._Agent = None
|
|
5484
5507
|
self._SceneKey = None
|
|
@@ -5488,6 +5511,7 @@ class ChannelCreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
5488
5511
|
self._NotifyType = None
|
|
5489
5512
|
self._NotifyAddress = None
|
|
5490
5513
|
self._ExpiredTime = None
|
|
5514
|
+
self._UserData = None
|
|
5491
5515
|
|
|
5492
5516
|
@property
|
|
5493
5517
|
def Agent(self):
|
|
@@ -5553,6 +5577,14 @@ class ChannelCreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
5553
5577
|
def ExpiredTime(self, ExpiredTime):
|
|
5554
5578
|
self._ExpiredTime = ExpiredTime
|
|
5555
5579
|
|
|
5580
|
+
@property
|
|
5581
|
+
def UserData(self):
|
|
5582
|
+
return self._UserData
|
|
5583
|
+
|
|
5584
|
+
@UserData.setter
|
|
5585
|
+
def UserData(self, UserData):
|
|
5586
|
+
self._UserData = UserData
|
|
5587
|
+
|
|
5556
5588
|
|
|
5557
5589
|
def _deserialize(self, params):
|
|
5558
5590
|
if params.get("Agent") is not None:
|
|
@@ -5569,6 +5601,7 @@ class ChannelCreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
|
5569
5601
|
self._NotifyType = params.get("NotifyType")
|
|
5570
5602
|
self._NotifyAddress = params.get("NotifyAddress")
|
|
5571
5603
|
self._ExpiredTime = params.get("ExpiredTime")
|
|
5604
|
+
self._UserData = params.get("UserData")
|
|
5572
5605
|
memeber_set = set(params.keys())
|
|
5573
5606
|
for name, value in vars(self).items():
|
|
5574
5607
|
property_name = name[1:]
|
|
@@ -8953,8 +8986,6 @@ class Component(AbstractModel):
|
|
|
8953
8986
|
|
|
8954
8987
|
- 如传入的关键字<font color="red">"^甲方签署^"</font >,则会在PDF文件中有且仅有"甲方签署"关键字的地方(<font color="red">前后不能有其他字符</font >)进行对应操作。
|
|
8955
8988
|
- 如传入的关键字为<font color="red">"甲方签署</font >",则PDF文件中每个出现关键字的位置(<font color="red">前后可以有其他字符</font >)都会执行相应操作。
|
|
8956
|
-
- 如传入的关键字为<font color="red">"^甲方签署</font >",则PDF文件中每个出现关键字的位置(<font color="red">前面不能有其他字符</font >)都会执行相应操作。
|
|
8957
|
-
- 如传入的关键字为<font color="red">"甲方签署^</font >",则PDF文件中每个出现关键字的位置(<font color="red">后面不能有其他字符</font >)都会执行相应操作。
|
|
8958
8989
|
|
|
8959
8990
|
|
|
8960
8991
|
注:`控件ID可以在一个PDF中不可重复`
|
|
@@ -16630,7 +16661,13 @@ class OccupiedSeal(AbstractModel):
|
|
|
16630
16661
|
:type FailReason: str
|
|
16631
16662
|
:param _Url: 印章图片url,5分钟内有效
|
|
16632
16663
|
:type Url: str
|
|
16633
|
-
:param _SealType:
|
|
16664
|
+
:param _SealType: 电子印章类型 , 可选类型如下:
|
|
16665
|
+
<ul><li>**OFFICIAL**: (默认)公章</li>
|
|
16666
|
+
<li>**CONTRACT**: 合同专用章;</li>
|
|
16667
|
+
<li>**FINANCE**: 财务专用章;</li>
|
|
16668
|
+
<li>**PERSONNEL**: 人事专用章</li>
|
|
16669
|
+
<li>**INVOICE**: 发票专用章</li>
|
|
16670
|
+
</ul>
|
|
16634
16671
|
:type SealType: str
|
|
16635
16672
|
:param _IsAllTime: 用印申请是否为永久授权
|
|
16636
16673
|
:type IsAllTime: bool
|
|
@@ -118,6 +118,29 @@ class GsClient(AbstractClient):
|
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
def StartPublishStreamToCSS(self, request):
|
|
122
|
+
"""开始云端推流
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for StartPublishStreamToCSS.
|
|
125
|
+
:type request: :class:`tencentcloud.gs.v20191118.models.StartPublishStreamToCSSRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.gs.v20191118.models.StartPublishStreamToCSSResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("StartPublishStreamToCSS", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.StartPublishStreamToCSSResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
121
144
|
def StopGame(self, request):
|
|
122
145
|
"""强制退出游戏
|
|
123
146
|
|
|
@@ -578,6 +578,76 @@ class StartPublishStreamResponse(AbstractModel):
|
|
|
578
578
|
self._RequestId = params.get("RequestId")
|
|
579
579
|
|
|
580
580
|
|
|
581
|
+
class StartPublishStreamToCSSRequest(AbstractModel):
|
|
582
|
+
"""StartPublishStreamToCSS请求参数结构体
|
|
583
|
+
|
|
584
|
+
"""
|
|
585
|
+
|
|
586
|
+
def __init__(self):
|
|
587
|
+
r"""
|
|
588
|
+
:param _UserId: 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
|
|
589
|
+
:type UserId: str
|
|
590
|
+
:param _PublishStreamArgs: 推流参数,推流时携带自定义参数。
|
|
591
|
+
:type PublishStreamArgs: str
|
|
592
|
+
"""
|
|
593
|
+
self._UserId = None
|
|
594
|
+
self._PublishStreamArgs = None
|
|
595
|
+
|
|
596
|
+
@property
|
|
597
|
+
def UserId(self):
|
|
598
|
+
return self._UserId
|
|
599
|
+
|
|
600
|
+
@UserId.setter
|
|
601
|
+
def UserId(self, UserId):
|
|
602
|
+
self._UserId = UserId
|
|
603
|
+
|
|
604
|
+
@property
|
|
605
|
+
def PublishStreamArgs(self):
|
|
606
|
+
return self._PublishStreamArgs
|
|
607
|
+
|
|
608
|
+
@PublishStreamArgs.setter
|
|
609
|
+
def PublishStreamArgs(self, PublishStreamArgs):
|
|
610
|
+
self._PublishStreamArgs = PublishStreamArgs
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
def _deserialize(self, params):
|
|
614
|
+
self._UserId = params.get("UserId")
|
|
615
|
+
self._PublishStreamArgs = params.get("PublishStreamArgs")
|
|
616
|
+
memeber_set = set(params.keys())
|
|
617
|
+
for name, value in vars(self).items():
|
|
618
|
+
property_name = name[1:]
|
|
619
|
+
if property_name in memeber_set:
|
|
620
|
+
memeber_set.remove(property_name)
|
|
621
|
+
if len(memeber_set) > 0:
|
|
622
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class StartPublishStreamToCSSResponse(AbstractModel):
|
|
627
|
+
"""StartPublishStreamToCSS返回参数结构体
|
|
628
|
+
|
|
629
|
+
"""
|
|
630
|
+
|
|
631
|
+
def __init__(self):
|
|
632
|
+
r"""
|
|
633
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
634
|
+
:type RequestId: str
|
|
635
|
+
"""
|
|
636
|
+
self._RequestId = None
|
|
637
|
+
|
|
638
|
+
@property
|
|
639
|
+
def RequestId(self):
|
|
640
|
+
return self._RequestId
|
|
641
|
+
|
|
642
|
+
@RequestId.setter
|
|
643
|
+
def RequestId(self, RequestId):
|
|
644
|
+
self._RequestId = RequestId
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
def _deserialize(self, params):
|
|
648
|
+
self._RequestId = params.get("RequestId")
|
|
649
|
+
|
|
650
|
+
|
|
581
651
|
class StopGameRequest(AbstractModel):
|
|
582
652
|
"""StopGame请求参数结构体
|
|
583
653
|
|
|
@@ -1883,6 +1883,7 @@ video 纯视频
|
|
|
1883
1883
|
:param _IsGradingRequiredPostClass: 开启课后评分。 0:不开启(默认) 1:开启
|
|
1884
1884
|
:type IsGradingRequiredPostClass: int
|
|
1885
1885
|
:param _RoomType: 房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (预留参数,暂未开放)
|
|
1886
|
+
注:大班课的布局(layout)只有三分屏
|
|
1886
1887
|
:type RoomType: int
|
|
1887
1888
|
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
1888
1889
|
:type EndDelayTime: int
|
|
@@ -4567,6 +4568,7 @@ video 纯视频
|
|
|
4567
4568
|
:param _IsGradingRequiredPostClass: 该房间是否开启了课后评分功能。0:未开启 1:开启
|
|
4568
4569
|
:type IsGradingRequiredPostClass: int
|
|
4569
4570
|
:param _RoomType: 房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)
|
|
4571
|
+
注:大班课的布局(layout)只有三分屏
|
|
4570
4572
|
:type RoomType: int
|
|
4571
4573
|
:param _VideoDuration: 录制时长
|
|
4572
4574
|
:type VideoDuration: int
|
|
@@ -7986,6 +7988,7 @@ video 纯视频
|
|
|
7986
7988
|
:param _IsGradingRequiredPostClass: 开启课后评分。 0:不开启(默认) 1:开启
|
|
7987
7989
|
:type IsGradingRequiredPostClass: int
|
|
7988
7990
|
:param _RoomType: 房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (预留参数、暂未开放)
|
|
7991
|
+
注:大班课的布局(layout)只有三分屏
|
|
7989
7992
|
:type RoomType: int
|
|
7990
7993
|
:param _RecordLayout: 录制模板。仅可修改还未开始的房间。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744
|
|
7991
7994
|
:type RecordLayout: int
|
|
@@ -8779,6 +8782,7 @@ class RoomInfo(AbstractModel):
|
|
|
8779
8782
|
:param _IsGradingRequiredPostClass: 开启课后评分。 0:不开启(默认) 1:开启
|
|
8780
8783
|
:type IsGradingRequiredPostClass: int
|
|
8781
8784
|
:param _RoomType: 房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)
|
|
8785
|
+
注:大班课的布局(layout)只有三分屏
|
|
8782
8786
|
:type RoomType: int
|
|
8783
8787
|
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
8784
8788
|
:type EndDelayTime: int
|
|
@@ -9150,6 +9154,7 @@ class RoomItem(AbstractModel):
|
|
|
9150
9154
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9151
9155
|
:type IsGradingRequiredPostClass: int
|
|
9152
9156
|
:param _RoomType: 房间类型。0:小班课(默认值);1:大班课;2:1V1(后续扩展)
|
|
9157
|
+
注:大班课的布局(layout)只有三分屏
|
|
9153
9158
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9154
9159
|
:type RoomType: int
|
|
9155
9160
|
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
@@ -95,6 +95,9 @@ FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = 'FailedOperation.ModifyInstancesBu
|
|
|
95
95
|
# 变更资源属性失败,请稍后重新操作。
|
|
96
96
|
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = 'FailedOperation.ModifyResourcesAttributeFailed'
|
|
97
97
|
|
|
98
|
+
# 修改资源自动续费失败
|
|
99
|
+
FAILEDOPERATION_MODIFYRESOURCESRENEWFLAGFAILED = 'FailedOperation.ModifyResourcesRenewFlagFailed'
|
|
100
|
+
|
|
98
101
|
# 续费资源失败。
|
|
99
102
|
FAILEDOPERATION_RENEWRESOURCESFAILED = 'FailedOperation.RenewResourcesFailed'
|
|
100
103
|
|
|
@@ -12571,7 +12571,13 @@ class ModifyInstancesRenewFlagRequest(AbstractModel):
|
|
|
12571
12571
|
r"""
|
|
12572
12572
|
:param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
|
12573
12573
|
:type InstanceIds: list of str
|
|
12574
|
-
:param _RenewFlag:
|
|
12574
|
+
:param _RenewFlag: 自动续费标识。取值范围:
|
|
12575
|
+
|
|
12576
|
+
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
12577
|
+
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
12578
|
+
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
12579
|
+
|
|
12580
|
+
若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
12575
12581
|
:type RenewFlag: str
|
|
12576
12582
|
"""
|
|
12577
12583
|
self._InstanceIds = None
|
|
@@ -20,6 +20,9 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# 操作失败。
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
# 按key回档未开启
|
|
24
|
+
FAILEDOPERATION_FLASHBACKBYKEYNOTOPEN = 'FailedOperation.FlashbackByKeyNotOpen'
|
|
25
|
+
|
|
23
26
|
# 内核响应超时。
|
|
24
27
|
FAILEDOPERATION_KERNELRESPONSETIMEOUT = 'FailedOperation.KernelResponseTimeout'
|
|
25
28
|
|
|
@@ -47,6 +50,9 @@ INVALIDPARAMETER_CURRENTINSTANCENOTSUPPORTMODIFYPARAMS = 'InvalidParameter.Curre
|
|
|
47
50
|
# 无效Vip信息。
|
|
48
51
|
INVALIDPARAMETER_INVALIDVIP = 'InvalidParameter.InvalidVip'
|
|
49
52
|
|
|
53
|
+
# 接口参数为空。
|
|
54
|
+
INVALIDPARAMETER_PARAMETERSNIL = 'InvalidParameter.ParametersNil'
|
|
55
|
+
|
|
50
56
|
# 当前子账号无权执行该操作。
|
|
51
57
|
INVALIDPARAMETER_PERMISSIONDENIED = 'InvalidParameter.PermissionDenied'
|
|
52
58
|
|
|
@@ -188,5 +194,8 @@ RESOURCENOTFOUND = 'ResourceNotFound'
|
|
|
188
194
|
# 操作不支持。
|
|
189
195
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
190
196
|
|
|
197
|
+
# 内核版本不支持。
|
|
198
|
+
UNSUPPORTEDOPERATION_KERNELVERSIONNOTSUPPORT = 'UnsupportedOperation.KernelVersionNotSupport'
|
|
199
|
+
|
|
191
200
|
# 当前版本不支持该操作。
|
|
192
201
|
UNSUPPORTEDOPERATION_VERSIONNOTSUPPORT = 'UnsupportedOperation.VersionNotSupport'
|