tencentcloud-sdk-python 3.0.1193__py2.py3-none-any.whl → 3.0.1194__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/models.py +6 -1
- tencentcloud/cdb/v20170320/models.py +2 -1
- tencentcloud/ckafka/v20190819/ckafka_client.py +23 -0
- tencentcloud/ckafka/v20190819/models.py +192 -0
- tencentcloud/cvm/v20170312/cvm_client.py +46 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +152 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +298 -0
- tencentcloud/es/v20180416/models.py +48 -0
- tencentcloud/ess/v20201111/ess_client.py +37 -21
- tencentcloud/ess/v20201111/models.py +9 -16
- tencentcloud/essbasic/v20210526/essbasic_client.py +45 -30
- tencentcloud/essbasic/v20210526/models.py +13 -13
- tencentcloud/hunyuan/v20230901/models.py +129 -3
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +138 -0
- tencentcloud/mna/v20210119/models.py +651 -0
- tencentcloud/vpc/v20170312/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1194.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1194.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1194.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1194.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1194.dist-info}/top_level.txt +0 -0
@@ -217,7 +217,7 @@ class EssbasicClient(AbstractClient):
|
|
217
217
|
- 参与人点击链接后需短信验证码才能查看合同内容。
|
218
218
|
- 个人用户批量签署,需要传Name,Mobile,IdCardNumber(IdCardType) 参数。
|
219
219
|
- saas企业员工用户批量签署,在传递了姓名等基本信息参数的情况下,还需要传OrganizationName(参与方所在企业名称)参数生成签署链接,<font color="red">请确保此企业已完成腾讯电子签企业认证</font>。
|
220
|
-
-
|
220
|
+
- 子客企业员工用户批量签署,需要传递员工OpenId和子客企业的OrganizationOpenId。<font color="red">请确保此OrganizationOpenId对应子客已经认证,且OpenId对应员工此子客下已经实名</font>。Name,Mobile, IdCard等信息此时可以不传,系统会查询此OpenId实名信息自动补充。
|
221
221
|
- 生成批量签署链接时,合同目标参与方状态需为<font color="red">待签署</font>状态。
|
222
222
|
- 个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
|
223
223
|
|
@@ -315,14 +315,18 @@ class EssbasicClient(AbstractClient):
|
|
315
315
|
|
316
316
|
|
317
317
|
def ChannelCreateEmbedWebUrl(self, request):
|
318
|
-
"""本接口(ChannelCreateEmbedWebUrl
|
318
|
+
"""本接口(ChannelCreateEmbedWebUrl)用于创建可嵌入web页面的URL(此web页面可以通过iframe方式嵌入到贵方系统的网页中),支持以下类型的Web链接创建:
|
319
|
+
1. 创建印章
|
320
|
+
2. 创建模板
|
321
|
+
3. 修改模板
|
322
|
+
4. 预览模板
|
323
|
+
5. 预览合同流程
|
319
324
|
|
320
|
-
|
321
|
-
-
|
322
|
-
|
323
|
-
|
324
|
-
-
|
325
|
-
- 预览合同流程
|
325
|
+
预览模板的嵌入页面长相如下:
|
326
|
+

|
327
|
+
|
328
|
+
预览合同流程的嵌入页面长相如下:
|
329
|
+

|
326
330
|
|
327
331
|
:param request: Request instance for ChannelCreateEmbedWebUrl.
|
328
332
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateEmbedWebUrlRequest`
|
@@ -740,6 +744,9 @@ class EssbasicClient(AbstractClient):
|
|
740
744
|
- 仅支持传入待签署或者待领取的合同,待填写暂不支持。
|
741
745
|
- 员工批量签署,支持多种签名方式,包括手写签名、临摹签名、系统签名、个人印章、签批控件等。
|
742
746
|
|
747
|
+
签署的嵌入页面长相如下:
|
748
|
+

|
749
|
+
|
743
750
|
:param request: Request instance for ChannelCreateOrganizationBatchSignUrl.
|
744
751
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateOrganizationBatchSignUrlRequest`
|
745
752
|
:rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateOrganizationBatchSignUrlResponse`
|
@@ -1490,16 +1497,20 @@ class EssbasicClient(AbstractClient):
|
|
1490
1497
|
|
1491
1498
|
|
1492
1499
|
def CreateBatchOrganizationRegistrationTasks(self, request):
|
1493
|
-
"""
|
1494
|
-
|
1500
|
+
"""该接口用于批量创建企业认证链接, 可以支持PC浏览器,H5和小程序三种途径。
|
1501
|
+
此接口为异步提交任务接口,需要与[查询子企业批量认证链接](https://qcloudimg.tencent-cloud.cn/raw/1d3737991b2a3be78002bd78a47d6917.png)配合使用,整体流程如下图。
|
1502
|
+

|
1503
|
+
|
1504
|
+
|
1505
|
+
|
1506
|
+
**注意**
|
1507
|
+
|
1508
|
+
1. 单次最多创建10个子企业。
|
1509
|
+
2. 一天内,同一家企业最多创建8000个子企业。
|
1510
|
+
3. 同一批创建的子客户不能重复,包括企业名称、企业统一信用代码和子客户经办人openId。
|
1511
|
+
4. 跳转到小程序的实现,请参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式)。如何配置跳转电子签小程序,可参考:<a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
|
1495
1512
|
|
1496
|
-
批量创建链接有以下限制:
|
1497
|
-
1. 单次最多创建10个子客。
|
1498
|
-
2. 一天同一家企业最多创建8000个子客。
|
1499
|
-
3. 同一批创建的子客不能重复 其中包括 企业名称,企业统一信用代码,子客经办人openId。
|
1500
|
-
4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
|
1501
1513
|
|
1502
|
-
注: 1. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
1503
1514
|
|
1504
1515
|
**腾讯电子签小程序的AppID 和 原始Id如下:**
|
1505
1516
|
|
@@ -1995,11 +2006,12 @@ class EssbasicClient(AbstractClient):
|
|
1995
2006
|
|
1996
2007
|
|
1997
2008
|
def DescribeBatchOrganizationRegistrationUrls(self, request):
|
1998
|
-
"""
|
2009
|
+
"""此接口用于获取企业批量认证异步任务的状态及结果。需要先调用接口<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks" target="_blank">提交子企业批量认证链接创建任务</a>获取到任务ID,然后再调用此接口获取到各个子企业的注册认证链接。整体流程如下图。
|
2010
|
+

|
1999
2011
|
|
2000
|
-
前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
2001
2012
|
|
2002
|
-
|
2013
|
+
注:
|
2014
|
+
`异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间`
|
2003
2015
|
|
2004
2016
|
:param request: Request instance for DescribeBatchOrganizationRegistrationUrls.
|
2005
2017
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationUrlsRequest`
|
@@ -2405,17 +2417,20 @@ class EssbasicClient(AbstractClient):
|
|
2405
2417
|
|
2406
2418
|
|
2407
2419
|
def ModifyFlowDeadline(self, request):
|
2408
|
-
"""
|
2409
|
-
1.
|
2410
|
-
2.
|
2411
|
-
|
2412
|
-
|
2413
|
-
1.
|
2414
|
-
2.
|
2415
|
-
3.
|
2416
|
-
4.
|
2417
|
-
5.
|
2418
|
-
6.
|
2420
|
+
"""在已启动的签署流程中,可对签署截止日期进行延期操作,主要分为以下两个层面:
|
2421
|
+
1. <b> 合同(流程)层面</b>:仅需提供签署流程ID。此操作将对整个签署流程以及未单独设置签署截止时间的签署人进行延期。
|
2422
|
+
2. <b> 签署人层面</b> :需提供流程ID和签署人ID。此操作针对特定签署人进行延期,特别是对于有序合同(流程),签署截止时间不得超过后续签署人的流程截止时间。
|
2423
|
+
|
2424
|
+
此接口存在以下限制:
|
2425
|
+
1. 执行操作的员工须为<font color="red">发起方企业的超级管理员、法定代表人或签署流程发起人</font>。
|
2426
|
+
2. 延长整个签署流程时,<font color="red">应至少有一方尚未签署</font>(即签署流程不能处于已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
|
2427
|
+
3. 延长整个签署流程时,新的签署截止日期应晚于已设定的签署截止日期和当前日期。
|
2428
|
+
4. 延长签署方截止时间时,<font color="red">签署方不能处于流程完结或已终止状态</font>(即签署人不能处于已签署、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
|
2429
|
+
5. 延长签署方截止时间时,新的签署截止日期应晚于当前日期和已设定的截止日期。若为有序合同,还需早于或等于下一签署人的截止日期,且早于签署流程整体的截止日期。
|
2430
|
+
6. <font color="red">不支持操作合同组合同</font>。
|
2431
|
+
|
2432
|
+
合同(流程)层面截止时间子企业控制台展示的位置:
|
2433
|
+

|
2419
2434
|
|
2420
2435
|
:param request: Request instance for ModifyFlowDeadline.
|
2421
2436
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.ModifyFlowDeadlineRequest`
|
@@ -9631,8 +9631,7 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
9631
9631
|
</ul>
|
9632
9632
|
第三方平台子客企业和员工必须已经经过实名认证
|
9633
9633
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
9634
|
-
:param _RegistrationOrganizations:
|
9635
|
-
一次最多支持10条认证流
|
9634
|
+
:param _RegistrationOrganizations: 当前应用下子企业的组织机构注册信息。最多支持查询10子企业。
|
9636
9635
|
:type RegistrationOrganizations: list of RegistrationOrganizationInfo
|
9637
9636
|
:param _Endpoint: 生成链接的类型:
|
9638
9637
|
<ul><li>**PC**:(默认)web控制台链接, 需要在PC浏览器中打开</li>
|
@@ -9641,7 +9640,7 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
9641
9640
|
<li>**APP**:第三方APP或小程序跳转电子签小程序链接, 一般用于贵方小程序或者APP跳转过来, 打开后进入腾讯电子签小程序</li>
|
9642
9641
|
<li>**H5**:第三方H5跳转到电子签H5长链接, 一般用于贵方H5跳转过来, 打开后进入腾讯电子签H5页面</li>
|
9643
9642
|
<li>**SHORT_H5**:第三方H5跳转到电子签H5短链接, 一般用于贵方H5跳转过来, 打开后进入腾讯电子签H5页面</li></ul>
|
9644
|
-
|
9643
|
+
|
9645
9644
|
|
9646
9645
|
:type Endpoint: str
|
9647
9646
|
"""
|
@@ -9702,14 +9701,15 @@ class CreateBatchOrganizationRegistrationTasksResponse(AbstractModel):
|
|
9702
9701
|
|
9703
9702
|
def __init__(self):
|
9704
9703
|
r"""
|
9705
|
-
:param _TaskId: 生成注册链接的任务
|
9706
|
-
|
9707
|
-
|
9704
|
+
:param _TaskId: 生成注册链接的任务ID,后序根据这个任务ID, 调用<a href="https://qian.tencent.com/developers/partnerApis/accounts/DescribeBatchOrganizationRegistrationUrls" target="_blank">查询子企业批量认证链接</a>获取生成的链接,发给对应的客户使用。
|
9705
|
+
|
9706
|
+
注:`如果有错误,则不会返回任务ID`
|
9708
9707
|
:type TaskId: str
|
9709
|
-
:param _ErrorMessages:
|
9710
|
-
|
9711
|
-
|
9712
|
-
|
9708
|
+
:param _ErrorMessages: 批量生成企业认证链接的详细错误信息,顺序与输入参数子企业列表顺序一致。
|
9709
|
+
<ul>
|
9710
|
+
<li>如果所有企业认证链接都成功生成,将不返回错误信息</li>
|
9711
|
+
<li>如果存在任何错误,将返回具体的错误描述。(没有错误的企业返回空字符串)</li>
|
9712
|
+
</ul>
|
9713
9713
|
:type ErrorMessages: list of str
|
9714
9714
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9715
9715
|
:type RequestId: str
|
@@ -12001,7 +12001,7 @@ class DescribeBatchOrganizationRegistrationUrlsRequest(AbstractModel):
|
|
12001
12001
|
</ul>
|
12002
12002
|
第三方平台子客企业和员工必须已经经过实名认证
|
12003
12003
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
12004
|
-
:param _TaskId:
|
12004
|
+
:param _TaskId: 通过接口<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks" target="_blank">提交子企业批量认证链接创建任务</a>调用得到的任务ID。
|
12005
12005
|
:type TaskId: str
|
12006
12006
|
"""
|
12007
12007
|
self._Agent = None
|
@@ -12046,7 +12046,7 @@ class DescribeBatchOrganizationRegistrationUrlsResponse(AbstractModel):
|
|
12046
12046
|
|
12047
12047
|
def __init__(self):
|
12048
12048
|
r"""
|
12049
|
-
:param _OrganizationAuthUrls:
|
12049
|
+
:param _OrganizationAuthUrls: 子企业注册认证的的链接列表
|
12050
12050
|
:type OrganizationAuthUrls: list of OrganizationAuthUrl
|
12051
12051
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12052
12052
|
:type RequestId: str
|
@@ -14557,7 +14557,7 @@ class FlowApproverInfo(AbstractModel):
|
|
14557
14557
|
:param _ApproverSignTypes: 签署人签署合同时的认证方式
|
14558
14558
|
<ul><li> **1** :人脸认证</li>
|
14559
14559
|
<li> **2** :签署密码</li>
|
14560
|
-
<li> **3**
|
14560
|
+
<li> **3** :运营商三要素(如果是港澳台客户,建议不要选择这个)</li></ul>
|
14561
14561
|
|
14562
14562
|
默认为1(人脸认证 ),2(签署密码),3(运营商三要素)
|
14563
14563
|
|
@@ -87,6 +87,8 @@ class ChatCompletionsRequest(AbstractModel):
|
|
87
87
|
:type ToolChoice: str
|
88
88
|
:param _CustomTool: 强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
|
89
89
|
:type CustomTool: :class:`tencentcloud.hunyuan.v20230901.models.Tool`
|
90
|
+
:param _SearchInfo: 默认是false,在值为true且命中搜索时,接口会返回SearchInfo
|
91
|
+
:type SearchInfo: bool
|
90
92
|
"""
|
91
93
|
self._Model = None
|
92
94
|
self._Messages = None
|
@@ -98,6 +100,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
98
100
|
self._Tools = None
|
99
101
|
self._ToolChoice = None
|
100
102
|
self._CustomTool = None
|
103
|
+
self._SearchInfo = None
|
101
104
|
|
102
105
|
@property
|
103
106
|
def Model(self):
|
@@ -179,6 +182,14 @@ class ChatCompletionsRequest(AbstractModel):
|
|
179
182
|
def CustomTool(self, CustomTool):
|
180
183
|
self._CustomTool = CustomTool
|
181
184
|
|
185
|
+
@property
|
186
|
+
def SearchInfo(self):
|
187
|
+
return self._SearchInfo
|
188
|
+
|
189
|
+
@SearchInfo.setter
|
190
|
+
def SearchInfo(self, SearchInfo):
|
191
|
+
self._SearchInfo = SearchInfo
|
192
|
+
|
182
193
|
|
183
194
|
def _deserialize(self, params):
|
184
195
|
self._Model = params.get("Model")
|
@@ -203,6 +214,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
203
214
|
if params.get("CustomTool") is not None:
|
204
215
|
self._CustomTool = Tool()
|
205
216
|
self._CustomTool._deserialize(params.get("CustomTool"))
|
217
|
+
self._SearchInfo = params.get("SearchInfo")
|
206
218
|
memeber_set = set(params.keys())
|
207
219
|
for name, value in vars(self).items():
|
208
220
|
property_name = name[1:]
|
@@ -237,6 +249,8 @@ class ChatCompletionsResponse(AbstractModel):
|
|
237
249
|
:type ErrorMsg: :class:`tencentcloud.hunyuan.v20230901.models.ErrorMsg`
|
238
250
|
:param _ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
|
239
251
|
:type ModerationLevel: str
|
252
|
+
:param _SearchInfo: 搜索结果信息
|
253
|
+
:type SearchInfo: :class:`tencentcloud.hunyuan.v20230901.models.SearchInfo`
|
240
254
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
241
255
|
:type RequestId: str
|
242
256
|
"""
|
@@ -247,6 +261,7 @@ class ChatCompletionsResponse(AbstractModel):
|
|
247
261
|
self._Choices = None
|
248
262
|
self._ErrorMsg = None
|
249
263
|
self._ModerationLevel = None
|
264
|
+
self._SearchInfo = None
|
250
265
|
self._RequestId = None
|
251
266
|
|
252
267
|
@property
|
@@ -305,6 +320,14 @@ class ChatCompletionsResponse(AbstractModel):
|
|
305
320
|
def ModerationLevel(self, ModerationLevel):
|
306
321
|
self._ModerationLevel = ModerationLevel
|
307
322
|
|
323
|
+
@property
|
324
|
+
def SearchInfo(self):
|
325
|
+
return self._SearchInfo
|
326
|
+
|
327
|
+
@SearchInfo.setter
|
328
|
+
def SearchInfo(self, SearchInfo):
|
329
|
+
self._SearchInfo = SearchInfo
|
330
|
+
|
308
331
|
@property
|
309
332
|
def RequestId(self):
|
310
333
|
return self._RequestId
|
@@ -331,6 +354,9 @@ class ChatCompletionsResponse(AbstractModel):
|
|
331
354
|
self._ErrorMsg = ErrorMsg()
|
332
355
|
self._ErrorMsg._deserialize(params.get("ErrorMsg"))
|
333
356
|
self._ModerationLevel = params.get("ModerationLevel")
|
357
|
+
if params.get("SearchInfo") is not None:
|
358
|
+
self._SearchInfo = SearchInfo()
|
359
|
+
self._SearchInfo._deserialize(params.get("SearchInfo"))
|
334
360
|
self._RequestId = params.get("RequestId")
|
335
361
|
|
336
362
|
|
@@ -1140,6 +1166,105 @@ class QueryHunyuanImageJobResponse(AbstractModel):
|
|
1140
1166
|
self._RequestId = params.get("RequestId")
|
1141
1167
|
|
1142
1168
|
|
1169
|
+
class SearchInfo(AbstractModel):
|
1170
|
+
"""搜索结果信息
|
1171
|
+
|
1172
|
+
"""
|
1173
|
+
|
1174
|
+
def __init__(self):
|
1175
|
+
r"""
|
1176
|
+
:param _SearchResults: 搜索引文信息
|
1177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1178
|
+
:type SearchResults: list of SearchResult
|
1179
|
+
"""
|
1180
|
+
self._SearchResults = None
|
1181
|
+
|
1182
|
+
@property
|
1183
|
+
def SearchResults(self):
|
1184
|
+
return self._SearchResults
|
1185
|
+
|
1186
|
+
@SearchResults.setter
|
1187
|
+
def SearchResults(self, SearchResults):
|
1188
|
+
self._SearchResults = SearchResults
|
1189
|
+
|
1190
|
+
|
1191
|
+
def _deserialize(self, params):
|
1192
|
+
if params.get("SearchResults") is not None:
|
1193
|
+
self._SearchResults = []
|
1194
|
+
for item in params.get("SearchResults"):
|
1195
|
+
obj = SearchResult()
|
1196
|
+
obj._deserialize(item)
|
1197
|
+
self._SearchResults.append(obj)
|
1198
|
+
memeber_set = set(params.keys())
|
1199
|
+
for name, value in vars(self).items():
|
1200
|
+
property_name = name[1:]
|
1201
|
+
if property_name in memeber_set:
|
1202
|
+
memeber_set.remove(property_name)
|
1203
|
+
if len(memeber_set) > 0:
|
1204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1205
|
+
|
1206
|
+
|
1207
|
+
|
1208
|
+
class SearchResult(AbstractModel):
|
1209
|
+
"""搜索引文信息
|
1210
|
+
|
1211
|
+
"""
|
1212
|
+
|
1213
|
+
def __init__(self):
|
1214
|
+
r"""
|
1215
|
+
:param _Index: 搜索引文序号
|
1216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1217
|
+
:type Index: str
|
1218
|
+
:param _Title: 搜索引文标题
|
1219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1220
|
+
:type Title: str
|
1221
|
+
:param _Url: 搜索引文链接
|
1222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1223
|
+
:type Url: str
|
1224
|
+
"""
|
1225
|
+
self._Index = None
|
1226
|
+
self._Title = None
|
1227
|
+
self._Url = None
|
1228
|
+
|
1229
|
+
@property
|
1230
|
+
def Index(self):
|
1231
|
+
return self._Index
|
1232
|
+
|
1233
|
+
@Index.setter
|
1234
|
+
def Index(self, Index):
|
1235
|
+
self._Index = Index
|
1236
|
+
|
1237
|
+
@property
|
1238
|
+
def Title(self):
|
1239
|
+
return self._Title
|
1240
|
+
|
1241
|
+
@Title.setter
|
1242
|
+
def Title(self, Title):
|
1243
|
+
self._Title = Title
|
1244
|
+
|
1245
|
+
@property
|
1246
|
+
def Url(self):
|
1247
|
+
return self._Url
|
1248
|
+
|
1249
|
+
@Url.setter
|
1250
|
+
def Url(self, Url):
|
1251
|
+
self._Url = Url
|
1252
|
+
|
1253
|
+
|
1254
|
+
def _deserialize(self, params):
|
1255
|
+
self._Index = params.get("Index")
|
1256
|
+
self._Title = params.get("Title")
|
1257
|
+
self._Url = params.get("Url")
|
1258
|
+
memeber_set = set(params.keys())
|
1259
|
+
for name, value in vars(self).items():
|
1260
|
+
property_name = name[1:]
|
1261
|
+
if property_name in memeber_set:
|
1262
|
+
memeber_set.remove(property_name)
|
1263
|
+
if len(memeber_set) > 0:
|
1264
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1265
|
+
|
1266
|
+
|
1267
|
+
|
1143
1268
|
class SubmitHunyuanImageJobRequest(AbstractModel):
|
1144
1269
|
"""SubmitHunyuanImageJob请求参数结构体
|
1145
1270
|
|
@@ -1286,8 +1411,7 @@ class TextToImageLiteRequest(AbstractModel):
|
|
1286
1411
|
推荐使用中文。最多可传256个 utf-8 字符。
|
1287
1412
|
:type NegativePrompt: str
|
1288
1413
|
:param _Style: 绘画风格。
|
1289
|
-
请在 [
|
1290
|
-
推荐使用且只使用一种风格。不传默认使用201(日系动漫风格)。
|
1414
|
+
请在 [文生图轻量版风格列表](https://cloud.tencent.com/document/product/1729/108992) 中选择期望的风格,传入风格编号。不传默认使用201(日系动漫风格)。
|
1291
1415
|
:type Style: str
|
1292
1416
|
:param _Resolution: 生成图分辨率。
|
1293
1417
|
支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。
|
@@ -1381,7 +1505,9 @@ class TextToImageLiteResponse(AbstractModel):
|
|
1381
1505
|
|
1382
1506
|
def __init__(self):
|
1383
1507
|
r"""
|
1384
|
-
:param _ResultImage: 根据入参 RspImgType
|
1508
|
+
:param _ResultImage: 根据入参 RspImgType 填入不同,返回不同的内容。
|
1509
|
+
如果传入 base64 则返回生成图 Base64 编码。
|
1510
|
+
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
1385
1511
|
:type ResultImage: str
|
1386
1512
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1387
1513
|
:type RequestId: str
|
@@ -86,6 +86,12 @@ OPERATIONDENIED_ILLEGALREQUEST = 'OperationDenied.IllegalRequest'
|
|
86
86
|
# 余额不足
|
87
87
|
OPERATIONDENIED_INSUFFICIENTBALANCE = 'OperationDenied.InsufficientBalance'
|
88
88
|
|
89
|
+
# 互通规则CIDR重叠
|
90
|
+
OPERATIONDENIED_L3CIDROVERLAP = 'OperationDenied.L3CidrOverLap'
|
91
|
+
|
92
|
+
# 互通规则数超过最大限制150条
|
93
|
+
OPERATIONDENIED_L3CONNECTIONOVERSIZE = 'OperationDenied.L3ConnectionOverSize'
|
94
|
+
|
89
95
|
# 资源包已经变配或续费
|
90
96
|
OPERATIONDENIED_MODIFIEDORRENEWED = 'OperationDenied.ModifiedOrRenewed'
|
91
97
|
|
@@ -118,6 +118,29 @@ class MnaClient(AbstractClient):
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
119
|
|
120
120
|
|
121
|
+
def AddL3Conn(self, request):
|
122
|
+
"""新建互通规则
|
123
|
+
|
124
|
+
:param request: Request instance for AddL3Conn.
|
125
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.AddL3ConnRequest`
|
126
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.AddL3ConnResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("AddL3Conn", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.AddL3ConnResponse()
|
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 CreateEncryptedKey(self, request):
|
122
145
|
"""通过此接口设置和更新预置密钥
|
123
146
|
|
@@ -210,6 +233,29 @@ class MnaClient(AbstractClient):
|
|
210
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
211
234
|
|
212
235
|
|
236
|
+
def DeleteL3Conn(self, request):
|
237
|
+
"""删除互通规则
|
238
|
+
|
239
|
+
:param request: Request instance for DeleteL3Conn.
|
240
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.DeleteL3ConnRequest`
|
241
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.DeleteL3ConnResponse`
|
242
|
+
|
243
|
+
"""
|
244
|
+
try:
|
245
|
+
params = request._serialize()
|
246
|
+
headers = request.headers
|
247
|
+
body = self.call("DeleteL3Conn", params, headers=headers)
|
248
|
+
response = json.loads(body)
|
249
|
+
model = models.DeleteL3ConnResponse()
|
250
|
+
model._deserialize(response["Response"])
|
251
|
+
return model
|
252
|
+
except Exception as e:
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
254
|
+
raise
|
255
|
+
else:
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
|
+
|
258
|
+
|
213
259
|
def DeleteQos(self, request):
|
214
260
|
"""移动网络停止Qos加速过程
|
215
261
|
|
@@ -509,6 +555,29 @@ class MnaClient(AbstractClient):
|
|
509
555
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
510
556
|
|
511
557
|
|
558
|
+
def GetL3ConnList(self, request):
|
559
|
+
"""获取互通规则列表
|
560
|
+
|
561
|
+
:param request: Request instance for GetL3ConnList.
|
562
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.GetL3ConnListRequest`
|
563
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.GetL3ConnListResponse`
|
564
|
+
|
565
|
+
"""
|
566
|
+
try:
|
567
|
+
params = request._serialize()
|
568
|
+
headers = request.headers
|
569
|
+
body = self.call("GetL3ConnList", params, headers=headers)
|
570
|
+
response = json.loads(body)
|
571
|
+
model = models.GetL3ConnListResponse()
|
572
|
+
model._deserialize(response["Response"])
|
573
|
+
return model
|
574
|
+
except Exception as e:
|
575
|
+
if isinstance(e, TencentCloudSDKException):
|
576
|
+
raise
|
577
|
+
else:
|
578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
579
|
+
|
580
|
+
|
512
581
|
def GetMultiFlowStatistic(self, request):
|
513
582
|
"""批量获取设备流量统计曲线
|
514
583
|
|
@@ -801,6 +870,75 @@ class MnaClient(AbstractClient):
|
|
801
870
|
model = models.UpdateHardwareResponse()
|
802
871
|
model._deserialize(response["Response"])
|
803
872
|
return model
|
873
|
+
except Exception as e:
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
875
|
+
raise
|
876
|
+
else:
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
878
|
+
|
879
|
+
|
880
|
+
def UpdateL3Cidr(self, request):
|
881
|
+
"""更新互通规则CIDR
|
882
|
+
|
883
|
+
:param request: Request instance for UpdateL3Cidr.
|
884
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.UpdateL3CidrRequest`
|
885
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.UpdateL3CidrResponse`
|
886
|
+
|
887
|
+
"""
|
888
|
+
try:
|
889
|
+
params = request._serialize()
|
890
|
+
headers = request.headers
|
891
|
+
body = self.call("UpdateL3Cidr", params, headers=headers)
|
892
|
+
response = json.loads(body)
|
893
|
+
model = models.UpdateL3CidrResponse()
|
894
|
+
model._deserialize(response["Response"])
|
895
|
+
return model
|
896
|
+
except Exception as e:
|
897
|
+
if isinstance(e, TencentCloudSDKException):
|
898
|
+
raise
|
899
|
+
else:
|
900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
901
|
+
|
902
|
+
|
903
|
+
def UpdateL3Conn(self, request):
|
904
|
+
"""更新互通规则备注
|
905
|
+
|
906
|
+
:param request: Request instance for UpdateL3Conn.
|
907
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.UpdateL3ConnRequest`
|
908
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.UpdateL3ConnResponse`
|
909
|
+
|
910
|
+
"""
|
911
|
+
try:
|
912
|
+
params = request._serialize()
|
913
|
+
headers = request.headers
|
914
|
+
body = self.call("UpdateL3Conn", params, headers=headers)
|
915
|
+
response = json.loads(body)
|
916
|
+
model = models.UpdateL3ConnResponse()
|
917
|
+
model._deserialize(response["Response"])
|
918
|
+
return model
|
919
|
+
except Exception as e:
|
920
|
+
if isinstance(e, TencentCloudSDKException):
|
921
|
+
raise
|
922
|
+
else:
|
923
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
924
|
+
|
925
|
+
|
926
|
+
def UpdateL3Switch(self, request):
|
927
|
+
"""更新互通规则开关
|
928
|
+
|
929
|
+
:param request: Request instance for UpdateL3Switch.
|
930
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.UpdateL3SwitchRequest`
|
931
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.UpdateL3SwitchResponse`
|
932
|
+
|
933
|
+
"""
|
934
|
+
try:
|
935
|
+
params = request._serialize()
|
936
|
+
headers = request.headers
|
937
|
+
body = self.call("UpdateL3Switch", params, headers=headers)
|
938
|
+
response = json.loads(body)
|
939
|
+
model = models.UpdateL3SwitchResponse()
|
940
|
+
model._deserialize(response["Response"])
|
941
|
+
return model
|
804
942
|
except Exception as e:
|
805
943
|
if isinstance(e, TencentCloudSDKException):
|
806
944
|
raise
|