tencentcloud-sdk-python 3.0.866__py2.py3-none-any.whl → 3.0.867__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/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +13 -12
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +4 -4
- tencentcloud/cfw/v20190904/models.py +51 -1
- tencentcloud/cloudaudit/v20190319/models.py +1 -1
- tencentcloud/cloudstudio/v20210524/cloudstudio_client.py +23 -0
- tencentcloud/cloudstudio/v20210524/models.py +53 -0
- tencentcloud/cls/v20201016/models.py +4 -0
- tencentcloud/essbasic/v20210526/models.py +25 -2
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/pts/v20210728/models.py +123 -0
- tencentcloud/pts/v20210728/pts_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +226 -0
- tencentcloud/tke/v20180525/models.py +4 -0
- tencentcloud/trro/v20220325/models.py +496 -0
- tencentcloud/trro/v20220325/trro_client.py +138 -0
- tencentcloud/waf/v20180125/models.py +209 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python-3.0.866.dist-info → tencentcloud_sdk_python-3.0.867.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.866.dist-info → tencentcloud_sdk_python-3.0.867.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.866.dist-info → tencentcloud_sdk_python-3.0.867.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.866.dist-info → tencentcloud_sdk_python-3.0.867.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.866.dist-info → tencentcloud_sdk_python-3.0.867.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -421,7 +421,7 @@ class AsrClient(AbstractClient):
|
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
def SentenceRecognition(self, request):
|
|
424
|
-
"""本接口用于对60秒之内的短音频文件进行识别。<br>•
|
|
424
|
+
"""本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
|
425
425
|
|
|
426
426
|
:param request: Request instance for SentenceRecognition.
|
|
427
427
|
:type request: :class:`tencentcloud.asr.v20190614.models.SentenceRecognitionRequest`
|
|
@@ -1202,10 +1202,6 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
|
1202
1202
|
|
|
1203
1203
|
def __init__(self):
|
|
1204
1204
|
r"""
|
|
1205
|
-
:param ProjectId: 腾讯云项目 ID,废弃参数,填写0即可。
|
|
1206
|
-
:type ProjectId: int
|
|
1207
|
-
:param SubServiceType: 子服务类型。2: 一句话识别。
|
|
1208
|
-
:type SubServiceType: int
|
|
1209
1205
|
:param EngSerViceType: 引擎模型类型。
|
|
1210
1206
|
电话场景:
|
|
1211
1207
|
• 8k_zh:中文电话通用;
|
|
@@ -1223,16 +1219,21 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
|
1223
1219
|
• 16k_ms:马来语;
|
|
1224
1220
|
• 16k_id:印度尼西亚语;
|
|
1225
1221
|
• 16k_fil:菲律宾语;
|
|
1222
|
+
• 16k_th:泰语;
|
|
1226
1223
|
• 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
1227
1224
|
:type EngSerViceType: str
|
|
1228
1225
|
:param SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
|
|
1229
1226
|
:type SourceType: int
|
|
1230
1227
|
:param VoiceFormat: 识别音频的音频格式,支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。
|
|
1231
1228
|
:type VoiceFormat: str
|
|
1232
|
-
:param
|
|
1233
|
-
:type
|
|
1229
|
+
:param ProjectId: 腾讯云项目 ID,废弃参数,填写0即可。
|
|
1230
|
+
:type ProjectId: int
|
|
1231
|
+
:param SubServiceType: 子服务类型。2: 一句话识别。
|
|
1232
|
+
:type SubServiceType: int
|
|
1234
1233
|
:param Url: 语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
|
|
1235
1234
|
:type Url: str
|
|
1235
|
+
:param UsrAudioKey: 废弃参数,填写任意字符串即可。
|
|
1236
|
+
:type UsrAudioKey: str
|
|
1236
1237
|
:param Data: 语音数据,当SourceType 值为1(本地语音数据上传)时必须填写,当SourceType 值为0(语音 URL上传)可不写。要使用base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。音频时长不能超过60s,音频文件大小不能超过3MB(Base64后)。
|
|
1237
1238
|
:type Data: str
|
|
1238
1239
|
:param DataLen: 数据长度,单位为字节。当 SourceType 值为1(本地语音数据上传)时必须填写,当 SourceType 值为0(语音 URL上传)可不写(此数据长度为数据未进行base64编码时的数据长度)。
|
|
@@ -1254,13 +1255,13 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
|
1254
1255
|
:param ReinforceHotword: 热词增强功能。1:开启后(仅支持8k_zh,16k_zh),将开启同音替换功能,同音字、词在热词中配置。举例:热词配置“蜜制”并开启增强功能后,与“蜜制”同拼音(mizhi)的“秘制”、“蜜汁”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。
|
|
1255
1256
|
:type ReinforceHotword: int
|
|
1256
1257
|
"""
|
|
1257
|
-
self.ProjectId = None
|
|
1258
|
-
self.SubServiceType = None
|
|
1259
1258
|
self.EngSerViceType = None
|
|
1260
1259
|
self.SourceType = None
|
|
1261
1260
|
self.VoiceFormat = None
|
|
1262
|
-
self.
|
|
1261
|
+
self.ProjectId = None
|
|
1262
|
+
self.SubServiceType = None
|
|
1263
1263
|
self.Url = None
|
|
1264
|
+
self.UsrAudioKey = None
|
|
1264
1265
|
self.Data = None
|
|
1265
1266
|
self.DataLen = None
|
|
1266
1267
|
self.WordInfo = None
|
|
@@ -1274,13 +1275,13 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
|
1274
1275
|
|
|
1275
1276
|
|
|
1276
1277
|
def _deserialize(self, params):
|
|
1277
|
-
self.ProjectId = params.get("ProjectId")
|
|
1278
|
-
self.SubServiceType = params.get("SubServiceType")
|
|
1279
1278
|
self.EngSerViceType = params.get("EngSerViceType")
|
|
1280
1279
|
self.SourceType = params.get("SourceType")
|
|
1281
1280
|
self.VoiceFormat = params.get("VoiceFormat")
|
|
1282
|
-
self.
|
|
1281
|
+
self.ProjectId = params.get("ProjectId")
|
|
1282
|
+
self.SubServiceType = params.get("SubServiceType")
|
|
1283
1283
|
self.Url = params.get("Url")
|
|
1284
|
+
self.UsrAudioKey = params.get("UsrAudioKey")
|
|
1284
1285
|
self.Data = params.get("Data")
|
|
1285
1286
|
self.DataLen = params.get("DataLen")
|
|
1286
1287
|
self.WordInfo = params.get("WordInfo")
|
|
@@ -2885,9 +2885,9 @@ class DescribeDealsByCondRequest(AbstractModel):
|
|
|
2885
2885
|
|
|
2886
2886
|
def __init__(self):
|
|
2887
2887
|
r"""
|
|
2888
|
-
:param StartTime: 开始时间
|
|
2888
|
+
:param StartTime: 开始时间 2016-01-01 00:00:00
|
|
2889
2889
|
:type StartTime: str
|
|
2890
|
-
:param EndTime: 结束时间
|
|
2890
|
+
:param EndTime: 结束时间 2016-02-01 00:00:00 建议跨度不超过3个月
|
|
2891
2891
|
:type EndTime: str
|
|
2892
2892
|
:param Limit: 一页多少条数据,默认是20条,最大不超过1000
|
|
2893
2893
|
:type Limit: int
|
|
@@ -883,7 +883,7 @@ class CbsClient(AbstractClient):
|
|
|
883
883
|
def ModifyDiskExtraPerformance(self, request):
|
|
884
884
|
"""本接口(ModifyDiskExtraPerformance)用于调整云硬盘额外的性能。
|
|
885
885
|
|
|
886
|
-
*
|
|
886
|
+
* 目前仅支持增强型SSD云硬盘(CLOUD_HSSD)和极速型SSD云硬盘(CLOUD_TSSD)。
|
|
887
887
|
|
|
888
888
|
:param request: Request instance for ModifyDiskExtraPerformance.
|
|
889
889
|
:type request: :class:`tencentcloud.cbs.v20170312.models.ModifyDiskExtraPerformanceRequest`
|
|
@@ -2934,18 +2934,18 @@ class ModifyDiskExtraPerformanceRequest(AbstractModel):
|
|
|
2934
2934
|
|
|
2935
2935
|
def __init__(self):
|
|
2936
2936
|
r"""
|
|
2937
|
-
:param DiskId: 需要创建快照的云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。
|
|
2938
|
-
:type DiskId: str
|
|
2939
2937
|
:param ThroughputPerformance: 额外购买的云硬盘性能值,单位MB/s。
|
|
2940
2938
|
:type ThroughputPerformance: int
|
|
2939
|
+
:param DiskId: 需要创建快照的云硬盘ID,可通过[DescribeDisks](/document/product/362/16315)接口查询。
|
|
2940
|
+
:type DiskId: str
|
|
2941
2941
|
"""
|
|
2942
|
-
self.DiskId = None
|
|
2943
2942
|
self.ThroughputPerformance = None
|
|
2943
|
+
self.DiskId = None
|
|
2944
2944
|
|
|
2945
2945
|
|
|
2946
2946
|
def _deserialize(self, params):
|
|
2947
|
-
self.DiskId = params.get("DiskId")
|
|
2948
2947
|
self.ThroughputPerformance = params.get("ThroughputPerformance")
|
|
2948
|
+
self.DiskId = params.get("DiskId")
|
|
2949
2949
|
memeber_set = set(params.keys())
|
|
2950
2950
|
for name, value in vars(self).items():
|
|
2951
2951
|
if name in memeber_set:
|
|
@@ -436,6 +436,41 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
436
436
|
|
|
437
437
|
|
|
438
438
|
|
|
439
|
+
class BetaInfoByACL(AbstractModel):
|
|
440
|
+
"""规则关联的beta任务
|
|
441
|
+
|
|
442
|
+
"""
|
|
443
|
+
|
|
444
|
+
def __init__(self):
|
|
445
|
+
r"""
|
|
446
|
+
:param TaskId: 任务id
|
|
447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
448
|
+
:type TaskId: int
|
|
449
|
+
:param TaskName: 任务名称
|
|
450
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
451
|
+
:type TaskName: str
|
|
452
|
+
:param LastTime: 上次执行时间
|
|
453
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
454
|
+
:type LastTime: str
|
|
455
|
+
"""
|
|
456
|
+
self.TaskId = None
|
|
457
|
+
self.TaskName = None
|
|
458
|
+
self.LastTime = None
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
def _deserialize(self, params):
|
|
462
|
+
self.TaskId = params.get("TaskId")
|
|
463
|
+
self.TaskName = params.get("TaskName")
|
|
464
|
+
self.LastTime = params.get("LastTime")
|
|
465
|
+
memeber_set = set(params.keys())
|
|
466
|
+
for name, value in vars(self).items():
|
|
467
|
+
if name in memeber_set:
|
|
468
|
+
memeber_set.remove(name)
|
|
469
|
+
if len(memeber_set) > 0:
|
|
470
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
439
474
|
class BlockIgnoreRule(AbstractModel):
|
|
440
475
|
"""入侵防御放通封禁规则
|
|
441
476
|
|
|
@@ -1555,6 +1590,9 @@ class DescAcItem(AbstractModel):
|
|
|
1555
1590
|
:param Status: 规则状态,查询规则命中详情时该字段有效,0:新增,1: 已删除, 2: 编辑删除
|
|
1556
1591
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1557
1592
|
:type Status: int
|
|
1593
|
+
:param BetaList: 关联任务详情
|
|
1594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1595
|
+
:type BetaList: list of BetaInfoByACL
|
|
1558
1596
|
"""
|
|
1559
1597
|
self.SourceContent = None
|
|
1560
1598
|
self.TargetContent = None
|
|
@@ -1580,6 +1618,7 @@ class DescAcItem(AbstractModel):
|
|
|
1580
1618
|
self.InstanceName = None
|
|
1581
1619
|
self.InternalUuid = None
|
|
1582
1620
|
self.Status = None
|
|
1621
|
+
self.BetaList = None
|
|
1583
1622
|
|
|
1584
1623
|
|
|
1585
1624
|
def _deserialize(self, params):
|
|
@@ -1607,6 +1646,12 @@ class DescAcItem(AbstractModel):
|
|
|
1607
1646
|
self.InstanceName = params.get("InstanceName")
|
|
1608
1647
|
self.InternalUuid = params.get("InternalUuid")
|
|
1609
1648
|
self.Status = params.get("Status")
|
|
1649
|
+
if params.get("BetaList") is not None:
|
|
1650
|
+
self.BetaList = []
|
|
1651
|
+
for item in params.get("BetaList"):
|
|
1652
|
+
obj = BetaInfoByACL()
|
|
1653
|
+
obj._deserialize(item)
|
|
1654
|
+
self.BetaList.append(obj)
|
|
1610
1655
|
memeber_set = set(params.keys())
|
|
1611
1656
|
for name, value in vars(self).items():
|
|
1612
1657
|
if name in memeber_set:
|
|
@@ -3177,7 +3222,12 @@ class DescribeTLogInfoResponse(AbstractModel):
|
|
|
3177
3222
|
|
|
3178
3223
|
def __init__(self):
|
|
3179
3224
|
r"""
|
|
3180
|
-
:param Data:
|
|
3225
|
+
:param Data: "NetworkNum":网络扫描探测
|
|
3226
|
+
"HandleNum": 待处理事件
|
|
3227
|
+
"BanNum":
|
|
3228
|
+
"VulNum": 漏洞利用
|
|
3229
|
+
"OutNum": 失陷主机
|
|
3230
|
+
"BruteForceNum": 0
|
|
3181
3231
|
:type Data: :class:`tencentcloud.cfw.v20190904.models.TLogInfo`
|
|
3182
3232
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3183
3233
|
:type RequestId: str
|
|
@@ -642,7 +642,7 @@ class DescribeEventsRequest(AbstractModel):
|
|
|
642
642
|
:type NextToken: int
|
|
643
643
|
:param MaxResults: 返回日志的最大条数(最大 50 条)
|
|
644
644
|
:type MaxResults: int
|
|
645
|
-
:param LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}]
|
|
645
|
+
:param LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
|
|
646
646
|
:type LookupAttributes: list of LookupAttribute
|
|
647
647
|
:param IsReturnLocation: 是否返回 IP 归属地(1 返回,0 不返回)
|
|
648
648
|
:type IsReturnLocation: int
|
|
@@ -256,6 +256,29 @@ class CloudstudioClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(e.message, e.message)
|
|
257
257
|
|
|
258
258
|
|
|
259
|
+
def DescribeWorkspaceIsReady(self, request):
|
|
260
|
+
"""获取工作空间是否已经启动就绪
|
|
261
|
+
|
|
262
|
+
:param request: Request instance for DescribeWorkspaceIsReady.
|
|
263
|
+
:type request: :class:`tencentcloud.cloudstudio.v20210524.models.DescribeWorkspaceIsReadyRequest`
|
|
264
|
+
:rtype: :class:`tencentcloud.cloudstudio.v20210524.models.DescribeWorkspaceIsReadyResponse`
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
try:
|
|
268
|
+
params = request._serialize()
|
|
269
|
+
headers = request.headers
|
|
270
|
+
body = self.call("DescribeWorkspaceIsReady", params, headers=headers)
|
|
271
|
+
response = json.loads(body)
|
|
272
|
+
model = models.DescribeWorkspaceIsReadyResponse()
|
|
273
|
+
model._deserialize(response["Response"])
|
|
274
|
+
return model
|
|
275
|
+
except Exception as e:
|
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
|
277
|
+
raise
|
|
278
|
+
else:
|
|
279
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
280
|
+
|
|
281
|
+
|
|
259
282
|
def DescribeWorkspaceNameExist(self, request):
|
|
260
283
|
"""检查工作空间是否存在
|
|
261
284
|
|
|
@@ -630,6 +630,52 @@ class DescribeWorkspaceEnvListResponse(AbstractModel):
|
|
|
630
630
|
self.RequestId = params.get("RequestId")
|
|
631
631
|
|
|
632
632
|
|
|
633
|
+
class DescribeWorkspaceIsReadyRequest(AbstractModel):
|
|
634
|
+
"""DescribeWorkspaceIsReady请求参数结构体
|
|
635
|
+
|
|
636
|
+
"""
|
|
637
|
+
|
|
638
|
+
def __init__(self):
|
|
639
|
+
r"""
|
|
640
|
+
:param SpaceKey: 工作空间 spaceKey
|
|
641
|
+
:type SpaceKey: str
|
|
642
|
+
"""
|
|
643
|
+
self.SpaceKey = None
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
def _deserialize(self, params):
|
|
647
|
+
self.SpaceKey = params.get("SpaceKey")
|
|
648
|
+
memeber_set = set(params.keys())
|
|
649
|
+
for name, value in vars(self).items():
|
|
650
|
+
if name in memeber_set:
|
|
651
|
+
memeber_set.remove(name)
|
|
652
|
+
if len(memeber_set) > 0:
|
|
653
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
class DescribeWorkspaceIsReadyResponse(AbstractModel):
|
|
658
|
+
"""DescribeWorkspaceIsReady返回参数结构体
|
|
659
|
+
|
|
660
|
+
"""
|
|
661
|
+
|
|
662
|
+
def __init__(self):
|
|
663
|
+
r"""
|
|
664
|
+
:param Data: 工作空间是否就绪
|
|
665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
666
|
+
:type Data: bool
|
|
667
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
668
|
+
:type RequestId: str
|
|
669
|
+
"""
|
|
670
|
+
self.Data = None
|
|
671
|
+
self.RequestId = None
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
def _deserialize(self, params):
|
|
675
|
+
self.Data = params.get("Data")
|
|
676
|
+
self.RequestId = params.get("RequestId")
|
|
677
|
+
|
|
678
|
+
|
|
633
679
|
class DescribeWorkspaceNameExistRequest(AbstractModel):
|
|
634
680
|
"""DescribeWorkspaceNameExist请求参数结构体
|
|
635
681
|
|
|
@@ -669,13 +715,20 @@ class DescribeWorkspaceNameExistResponse(AbstractModel):
|
|
|
669
715
|
|
|
670
716
|
def __init__(self):
|
|
671
717
|
r"""
|
|
718
|
+
:param Data: 工作空间信息
|
|
719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
720
|
+
:type Data: :class:`tencentcloud.cloudstudio.v20210524.models.WorkspaceInfoDTO`
|
|
672
721
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
673
722
|
:type RequestId: str
|
|
674
723
|
"""
|
|
724
|
+
self.Data = None
|
|
675
725
|
self.RequestId = None
|
|
676
726
|
|
|
677
727
|
|
|
678
728
|
def _deserialize(self, params):
|
|
729
|
+
if params.get("Data") is not None:
|
|
730
|
+
self.Data = WorkspaceInfoDTO()
|
|
731
|
+
self.Data._deserialize(params.get("Data"))
|
|
679
732
|
self.RequestId = params.get("RequestId")
|
|
680
733
|
|
|
681
734
|
|
|
@@ -357,12 +357,16 @@ class AnalysisDimensional(AbstractModel):
|
|
|
357
357
|
def __init__(self):
|
|
358
358
|
r"""
|
|
359
359
|
:param Name: 分析名称
|
|
360
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
361
|
:type Name: str
|
|
361
362
|
:param Type: 分析类型:query,field ,original
|
|
363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
362
364
|
:type Type: str
|
|
363
365
|
:param Content: 分析内容
|
|
366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
364
367
|
:type Content: str
|
|
365
368
|
:param ConfigInfo: 配置
|
|
369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
366
370
|
:type ConfigInfo: list of AlarmAnalysisConfig
|
|
367
371
|
"""
|
|
368
372
|
self.Name = None
|
|
@@ -3664,7 +3664,21 @@ class FlowApproverDetail(AbstractModel):
|
|
|
3664
3664
|
:param ApproveName: 签署人姓名
|
|
3665
3665
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3666
3666
|
:type ApproveName: str
|
|
3667
|
-
:param ApproveStatus:
|
|
3667
|
+
:param ApproveStatus: 当前签署人的状态, 状态如下
|
|
3668
|
+
|
|
3669
|
+
PENDING 流程等待中
|
|
3670
|
+
FILLPENDING 待填写状态
|
|
3671
|
+
FILLACCEPT 参与人已经填写
|
|
3672
|
+
FILLREJECT 参与人解决填写
|
|
3673
|
+
WAITPICKUP 待签收
|
|
3674
|
+
ACCEPT 签收
|
|
3675
|
+
REJECT 拒签
|
|
3676
|
+
DEADLINE 过期没有处理
|
|
3677
|
+
CANCEL 取消
|
|
3678
|
+
FORWARD 已经转他人处理
|
|
3679
|
+
STOP 流程因为其他原因终止
|
|
3680
|
+
RELIEVED 已经解除
|
|
3681
|
+
|
|
3668
3682
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3669
3683
|
:type ApproveStatus: str
|
|
3670
3684
|
:param ApproveMessage: 签署人信息
|
|
@@ -3888,7 +3902,16 @@ class FlowDetailInfo(AbstractModel):
|
|
|
3888
3902
|
:type FlowName: str
|
|
3889
3903
|
:param FlowType: 合同(流程)的类型
|
|
3890
3904
|
:type FlowType: str
|
|
3891
|
-
:param FlowStatus: 合同(流程)
|
|
3905
|
+
:param FlowStatus: 合同(流程)的状态, 状态如下
|
|
3906
|
+
|
|
3907
|
+
INIT 还没发起
|
|
3908
|
+
PART 部分签署
|
|
3909
|
+
REJECT 拒签
|
|
3910
|
+
ALL 全部签署
|
|
3911
|
+
DEADLINE 流签
|
|
3912
|
+
CANCEL 取消
|
|
3913
|
+
RELIEVED 解除
|
|
3914
|
+
|
|
3892
3915
|
:type FlowStatus: str
|
|
3893
3916
|
:param FlowMessage: 合同(流程)的信息
|
|
3894
3917
|
:type FlowMessage: str
|
|
@@ -882,7 +882,7 @@ video 纯视频
|
|
|
882
882
|
:type DisableRecord: int
|
|
883
883
|
:param Assistants: 助教Id列表。通过[注册用户]接口获取的UserId。指定后该用户在房间内拥有助教权限。
|
|
884
884
|
:type Assistants: list of str
|
|
885
|
-
:param RecordLayout:
|
|
885
|
+
:param RecordLayout: 录制布局。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744
|
|
886
886
|
:type RecordLayout: int
|
|
887
887
|
:param GroupId: 房间绑定的群组ID,非空时限制组成员进入
|
|
888
888
|
:type GroupId: str
|
|
@@ -2553,7 +2553,7 @@ class GetRoomMessageRequest(AbstractModel):
|
|
|
2553
2553
|
:type SdkAppId: int
|
|
2554
2554
|
:param RoomId: 房间Id。
|
|
2555
2555
|
:type RoomId: int
|
|
2556
|
-
:param Seq:
|
|
2556
|
+
:param Seq: 消息序列。获取该序列以前的消息(不包含该seq消息)
|
|
2557
2557
|
:type Seq: int
|
|
2558
2558
|
:param Limit: 消息拉取的条数。最大数量不能超过套餐包限制。
|
|
2559
2559
|
:type Limit: int
|
|
@@ -514,11 +514,15 @@ class Concurrency(AbstractModel):
|
|
|
514
514
|
:param GracefulStopSeconds: 优雅终止任务的等待时间
|
|
515
515
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
516
516
|
:type GracefulStopSeconds: int
|
|
517
|
+
:param Resources: 资源数
|
|
518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
519
|
+
:type Resources: int
|
|
517
520
|
"""
|
|
518
521
|
self.Stages = None
|
|
519
522
|
self.IterationCount = None
|
|
520
523
|
self.MaxRequestsPerSecond = None
|
|
521
524
|
self.GracefulStopSeconds = None
|
|
525
|
+
self.Resources = None
|
|
522
526
|
|
|
523
527
|
|
|
524
528
|
def _deserialize(self, params):
|
|
@@ -531,6 +535,7 @@ class Concurrency(AbstractModel):
|
|
|
531
535
|
self.IterationCount = params.get("IterationCount")
|
|
532
536
|
self.MaxRequestsPerSecond = params.get("MaxRequestsPerSecond")
|
|
533
537
|
self.GracefulStopSeconds = params.get("GracefulStopSeconds")
|
|
538
|
+
self.Resources = params.get("Resources")
|
|
534
539
|
memeber_set = set(params.keys())
|
|
535
540
|
for name, value in vars(self).items():
|
|
536
541
|
if name in memeber_set:
|
|
@@ -1893,6 +1898,74 @@ class DescribeCronJobsResponse(AbstractModel):
|
|
|
1893
1898
|
self.RequestId = params.get("RequestId")
|
|
1894
1899
|
|
|
1895
1900
|
|
|
1901
|
+
class DescribeErrorSummaryRequest(AbstractModel):
|
|
1902
|
+
"""DescribeErrorSummary请求参数结构体
|
|
1903
|
+
|
|
1904
|
+
"""
|
|
1905
|
+
|
|
1906
|
+
def __init__(self):
|
|
1907
|
+
r"""
|
|
1908
|
+
:param JobId: 任务ID
|
|
1909
|
+
:type JobId: str
|
|
1910
|
+
:param ScenarioId: 场景ID
|
|
1911
|
+
:type ScenarioId: str
|
|
1912
|
+
:param ProjectId: 项目ID
|
|
1913
|
+
:type ProjectId: str
|
|
1914
|
+
:param Filters: 过滤参数
|
|
1915
|
+
:type Filters: list of Filter
|
|
1916
|
+
"""
|
|
1917
|
+
self.JobId = None
|
|
1918
|
+
self.ScenarioId = None
|
|
1919
|
+
self.ProjectId = None
|
|
1920
|
+
self.Filters = None
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
def _deserialize(self, params):
|
|
1924
|
+
self.JobId = params.get("JobId")
|
|
1925
|
+
self.ScenarioId = params.get("ScenarioId")
|
|
1926
|
+
self.ProjectId = params.get("ProjectId")
|
|
1927
|
+
if params.get("Filters") is not None:
|
|
1928
|
+
self.Filters = []
|
|
1929
|
+
for item in params.get("Filters"):
|
|
1930
|
+
obj = Filter()
|
|
1931
|
+
obj._deserialize(item)
|
|
1932
|
+
self.Filters.append(obj)
|
|
1933
|
+
memeber_set = set(params.keys())
|
|
1934
|
+
for name, value in vars(self).items():
|
|
1935
|
+
if name in memeber_set:
|
|
1936
|
+
memeber_set.remove(name)
|
|
1937
|
+
if len(memeber_set) > 0:
|
|
1938
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
|
|
1942
|
+
class DescribeErrorSummaryResponse(AbstractModel):
|
|
1943
|
+
"""DescribeErrorSummary返回参数结构体
|
|
1944
|
+
|
|
1945
|
+
"""
|
|
1946
|
+
|
|
1947
|
+
def __init__(self):
|
|
1948
|
+
r"""
|
|
1949
|
+
:param ErrorSummarySet: 错误汇总信息
|
|
1950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1951
|
+
:type ErrorSummarySet: list of ErrorSummary
|
|
1952
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1953
|
+
:type RequestId: str
|
|
1954
|
+
"""
|
|
1955
|
+
self.ErrorSummarySet = None
|
|
1956
|
+
self.RequestId = None
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
def _deserialize(self, params):
|
|
1960
|
+
if params.get("ErrorSummarySet") is not None:
|
|
1961
|
+
self.ErrorSummarySet = []
|
|
1962
|
+
for item in params.get("ErrorSummarySet"):
|
|
1963
|
+
obj = ErrorSummary()
|
|
1964
|
+
obj._deserialize(item)
|
|
1965
|
+
self.ErrorSummarySet.append(obj)
|
|
1966
|
+
self.RequestId = params.get("RequestId")
|
|
1967
|
+
|
|
1968
|
+
|
|
1896
1969
|
class DescribeFilesRequest(AbstractModel):
|
|
1897
1970
|
"""DescribeFiles请求参数结构体
|
|
1898
1971
|
|
|
@@ -3095,6 +3168,56 @@ class DomainNameConfig(AbstractModel):
|
|
|
3095
3168
|
|
|
3096
3169
|
|
|
3097
3170
|
|
|
3171
|
+
class ErrorSummary(AbstractModel):
|
|
3172
|
+
"""错误信息汇总
|
|
3173
|
+
|
|
3174
|
+
"""
|
|
3175
|
+
|
|
3176
|
+
def __init__(self):
|
|
3177
|
+
r"""
|
|
3178
|
+
:param Status: 状态码
|
|
3179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3180
|
+
:type Status: str
|
|
3181
|
+
:param Result: 结果码
|
|
3182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3183
|
+
:type Result: str
|
|
3184
|
+
:param Count: 错误出现次数
|
|
3185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3186
|
+
:type Count: int
|
|
3187
|
+
:param Rate: 错误率
|
|
3188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3189
|
+
:type Rate: float
|
|
3190
|
+
:param Message: 错误信息
|
|
3191
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3192
|
+
:type Message: str
|
|
3193
|
+
:param Proto: 请求协议类型
|
|
3194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3195
|
+
:type Proto: str
|
|
3196
|
+
"""
|
|
3197
|
+
self.Status = None
|
|
3198
|
+
self.Result = None
|
|
3199
|
+
self.Count = None
|
|
3200
|
+
self.Rate = None
|
|
3201
|
+
self.Message = None
|
|
3202
|
+
self.Proto = None
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
def _deserialize(self, params):
|
|
3206
|
+
self.Status = params.get("Status")
|
|
3207
|
+
self.Result = params.get("Result")
|
|
3208
|
+
self.Count = params.get("Count")
|
|
3209
|
+
self.Rate = params.get("Rate")
|
|
3210
|
+
self.Message = params.get("Message")
|
|
3211
|
+
self.Proto = params.get("Proto")
|
|
3212
|
+
memeber_set = set(params.keys())
|
|
3213
|
+
for name, value in vars(self).items():
|
|
3214
|
+
if name in memeber_set:
|
|
3215
|
+
memeber_set.remove(name)
|
|
3216
|
+
if len(memeber_set) > 0:
|
|
3217
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
|
|
3098
3221
|
class File(AbstractModel):
|
|
3099
3222
|
"""文件列表
|
|
3100
3223
|
|
|
@@ -486,6 +486,29 @@ class PtsClient(AbstractClient):
|
|
|
486
486
|
raise TencentCloudSDKException(e.message, e.message)
|
|
487
487
|
|
|
488
488
|
|
|
489
|
+
def DescribeErrorSummary(self, request):
|
|
490
|
+
"""查询错误详情汇总信息
|
|
491
|
+
|
|
492
|
+
:param request: Request instance for DescribeErrorSummary.
|
|
493
|
+
:type request: :class:`tencentcloud.pts.v20210728.models.DescribeErrorSummaryRequest`
|
|
494
|
+
:rtype: :class:`tencentcloud.pts.v20210728.models.DescribeErrorSummaryResponse`
|
|
495
|
+
|
|
496
|
+
"""
|
|
497
|
+
try:
|
|
498
|
+
params = request._serialize()
|
|
499
|
+
headers = request.headers
|
|
500
|
+
body = self.call("DescribeErrorSummary", params, headers=headers)
|
|
501
|
+
response = json.loads(body)
|
|
502
|
+
model = models.DescribeErrorSummaryResponse()
|
|
503
|
+
model._deserialize(response["Response"])
|
|
504
|
+
return model
|
|
505
|
+
except Exception as e:
|
|
506
|
+
if isinstance(e, TencentCloudSDKException):
|
|
507
|
+
raise
|
|
508
|
+
else:
|
|
509
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
510
|
+
|
|
511
|
+
|
|
489
512
|
def DescribeFiles(self, request):
|
|
490
513
|
"""查询文件列表
|
|
491
514
|
|