diff --git a/CHANGELOG.md b/CHANGELOG.md index f682213a7..184b70041 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,273 @@ +# Release 3.0.651 + +## 应用合规平台(acp) 版本:2022-01-05 + +### 第 1 次发布 + +发布时间:2022-06-08 15:18:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateAppScanTask](https://cloud.tencent.com/document/api/1553/75166) +* [CreateAppScanTaskRepeat](https://cloud.tencent.com/document/api/1553/75165) +* [DescribeFileTicket](https://cloud.tencent.com/document/api/1553/75164) +* [DescribeScanTaskList](https://cloud.tencent.com/document/api/1553/75163) +* [DescribeScanTaskReportUrl](https://cloud.tencent.com/document/api/1553/75162) +* [DescribeScanTaskStatus](https://cloud.tencent.com/document/api/1553/75161) + +新增数据结构: + +* [AppInfoItem](https://cloud.tencent.com/document/api/1553/75167#AppInfoItem) +* [AppTaskData](https://cloud.tencent.com/document/api/1553/75167#AppTaskData) +* [TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1553/75167#TaskFlowStepsInfo) + + + +## 音频内容检测(ams) 版本:2020-12-29 + +### 第 5 次发布 + +发布时间:2022-06-09 06:05:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [RecognitionResult](https://cloud.tencent.com/document/api/1219/53259#RecognitionResult) +* [Tag](https://cloud.tencent.com/document/api/1219/53259#Tag) + +修改数据结构: + +* [AudioResult](https://cloud.tencent.com/document/api/1219/53259#AudioResult) + + * 新增成员:RecognitionResults + + + + +## 音频内容检测(ams) 版本:2020-06-08 + + + +## 二进制软件成分分析(bsca) 版本:2021-08-11 + +### 第 2 次发布 + +发布时间:2022-06-09 06:06:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [MatchKBPURLList](https://cloud.tencent.com/document/api/1483/75192) + + + +## 边缘计算机器(ecm) 版本:2019-07-19 + +### 第 61 次发布 + +发布时间:2022-06-09 06:11:09 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AssignIpv6Addresses](https://cloud.tencent.com/document/api/1108/51094) + + * 新增入参:Ipv6ISP + + + + +## 弹性 MapReduce(emr) 版本:2019-01-03 + +### 第 34 次发布 + +发布时间:2022-06-09 06:11:36 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter) + + * 新增成员:UserName + + + + +## 小程序安全(mmps) 版本:2020-07-10 + +### 第 2 次发布 + +发布时间:2022-06-08 15:18:22 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateAppScanTask](https://cloud.tencent.com/document/api/1223/75159) +* [CreateAppScanTaskRepeat](https://cloud.tencent.com/document/api/1223/75158) +* [DescribeScanTaskList](https://cloud.tencent.com/document/api/1223/75157) +* [DescribeScanTaskReportUrl](https://cloud.tencent.com/document/api/1223/75156) +* [DescribeScanTaskStatus](https://cloud.tencent.com/document/api/1223/75155) + +新增数据结构: + +* [AppInfoItem](https://cloud.tencent.com/document/api/1223/75143#AppInfoItem) +* [AppTaskData](https://cloud.tencent.com/document/api/1223/75143#AppTaskData) +* [TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1223/75143#TaskFlowStepsInfo) + +### 第 1 次发布 + +发布时间:2022-06-08 15:12:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateFlySecMiniAppScanTask](https://cloud.tencent.com/document/api/1223/75142) +* [CreateFlySecMiniAppScanTaskRepeat](https://cloud.tencent.com/document/api/1223/75141) +* [DescribeFlySecMiniAppReportUrl](https://cloud.tencent.com/document/api/1223/75140) +* [DescribeFlySecMiniAppScanTaskList](https://cloud.tencent.com/document/api/1223/75139) +* [DescribeFlySecMiniAppScanTaskParam](https://cloud.tencent.com/document/api/1223/75138) +* [DescribeFlySecMiniAppScanTaskStatus](https://cloud.tencent.com/document/api/1223/75137) + +新增数据结构: + +* [FlySecMiniAppTaskData](https://cloud.tencent.com/document/api/1223/75143#FlySecMiniAppTaskData) + + + +## 文字识别(ocr) 版本:2018-11-19 + +### 第 68 次发布 + +发布时间:2022-06-09 06:15:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [RecognizeIndonesiaIDCardOCR](https://cloud.tencent.com/document/api/866/75195) +* [RecognizePhilippinesDrivingLicenseOCR](https://cloud.tencent.com/document/api/866/75194) +* [RecognizePhilippinesVoteIDOCR](https://cloud.tencent.com/document/api/866/75193) + +新增数据结构: + +* [TextDetectionResult](https://cloud.tencent.com/document/api/866/33527#TextDetectionResult) + + + +## 弹性微服务(tem) 版本:2021-07-01 + +### 第 17 次发布 + +发布时间:2022-06-09 06:18:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DeployApplication](https://cloud.tencent.com/document/api/1371/60158) + + * 新增入参:EnableTracing + + + + +## 弹性微服务(tem) 版本:2020-12-21 + + + +## 图像分析(tiia) 版本:2019-05-29 + +### 第 22 次发布 + +发布时间:2022-06-09 06:18:37 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DetectLabelPro](https://cloud.tencent.com/document/api/865/75196) + + + +## 容器服务(tke) 版本:2018-05-25 + +### 第 104 次发布 + +发布时间:2022-06-09 06:18:50 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateEKSCluster](https://cloud.tencent.com/document/api/457/52353) + + * 新增入参:SubnetInfos + + +新增数据结构: + +* [SubnetInfos](https://cloud.tencent.com/document/api/457/31866#SubnetInfos) + + + +## 视频内容安全(vm) 版本:2020-12-29 + +### 第 4 次发布 + +发布时间:2022-06-09 06:19:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [RecognitionResult](https://cloud.tencent.com/document/api/1265/51881#RecognitionResult) +* [Tag](https://cloud.tencent.com/document/api/1265/51881#Tag) + +修改数据结构: + +* [AudioResult](https://cloud.tencent.com/document/api/1265/51881#AudioResult) + + * 新增成员:RecognitionResults + + + + +## 视频内容安全(vm) 版本:2020-07-09 + + + # Release 3.0.650 ## 云顾问(advisor) 版本:2020-07-21 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 890949b01..29bb45117 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,124 +1,81 @@ # 本版本更新包含以下内容: -## 云顾问(advisor) 版本:2020-07-21 +## 应用合规平台(acp) 版本:2022-01-05 -### 第 4 次发布 +### 第 1 次发布 -发布时间:2022-06-08 06:03:05 +发布时间:2022-06-08 15:18:26 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增接口: -* [DescribeTaskStrategyRisks](https://cloud.tencent.com/document/api/1264/63112) +* [CreateAppScanTask](https://cloud.tencent.com/document/api/1553/75166) +* [CreateAppScanTaskRepeat](https://cloud.tencent.com/document/api/1553/75165) +* [DescribeFileTicket](https://cloud.tencent.com/document/api/1553/75164) +* [DescribeScanTaskList](https://cloud.tencent.com/document/api/1553/75163) +* [DescribeScanTaskReportUrl](https://cloud.tencent.com/document/api/1553/75162) +* [DescribeScanTaskStatus](https://cloud.tencent.com/document/api/1553/75161) - * 新增入参:Env, TaskType +新增数据结构: - * 新增出参:ResourceCount +* [AppInfoItem](https://cloud.tencent.com/document/api/1553/75167#AppInfoItem) +* [AppTaskData](https://cloud.tencent.com/document/api/1553/75167#AppTaskData) +* [TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1553/75167#TaskFlowStepsInfo) +## 音频内容检测(ams) 版本:2020-12-29 -## 计费相关(billing) 版本:2018-07-09 +### 第 5 次发布 -### 第 34 次发布 - -发布时间:2022-06-08 06:04:08 +发布时间:2022-06-09 06:05:24 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [BillDetailComponent](https://cloud.tencent.com/document/api/555/19183#BillDetailComponent) - - * 新增成员:InstanceType, RiTimeSpan, OriginalCostWithRI, SPDeductionRate, SPDeduction, OriginalCostWithSP, BlendedDiscount - -* [BillResourceSummary](https://cloud.tencent.com/document/api/555/19183#BillResourceSummary) - - * 新增成员:InstanceType, OriginalCostWithRI, SPDeduction, OriginalCostWithSP - - - - -## 云数据库 MySQL(cdb) 版本:2017-03-20 - -### 第 94 次发布 - -发布时间:2022-06-08 06:05:02 +新增数据结构: -本次发布包含了以下内容: - -改善已有的文档。 +* [RecognitionResult](https://cloud.tencent.com/document/api/1219/53259#RecognitionResult) +* [Tag](https://cloud.tencent.com/document/api/1219/53259#Tag) 修改数据结构: -* [SellConfig](https://cloud.tencent.com/document/api/236/15878#SellConfig) - - * 新增成员:EngineType - - - - -## 日志服务(cls) 版本:2020-10-16 - -### 第 22 次发布 - -发布时间:2022-06-08 06:06:22 - -本次发布包含了以下内容: +* [AudioResult](https://cloud.tencent.com/document/api/1219/53259#AudioResult) -改善已有的文档。 + * 新增成员:RecognitionResults -修改数据结构: -* [ConsumerContent](https://cloud.tencent.com/document/api/614/56471#ConsumerContent) - * 新增成员:TimestampAccuracy +## 音频内容检测(ams) 版本:2020-06-08 -## 弹性 MapReduce(emr) 版本:2019-01-03 +## 二进制软件成分分析(bsca) 版本:2021-08-11 -### 第 33 次发布 +### 第 2 次发布 -发布时间:2022-06-08 06:09:23 +发布时间:2022-06-09 06:06:39 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [AddUsersForUserManager](https://cloud.tencent.com/document/api/589/74069) - - * 新增入参:InstanceId - - * 新增出参:SuccessUserList, FailedUserList - -* [DescribeUsersForUserManager](https://cloud.tencent.com/document/api/589/74225) - - * 新增入参:InstanceId, PageNo, PageSize, UserManagerFilter - - * 新增出参:TotalCnt, UserManagerUserList - - -新增数据结构: +新增接口: -* [UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter) -* [UserManagerUserBriefInfo](https://cloud.tencent.com/document/api/589/33981#UserManagerUserBriefInfo) +* [MatchKBPURLList](https://cloud.tencent.com/document/api/1483/75192) -## 云直播(live) 版本:2018-08-01 +## 边缘计算机器(ecm) 版本:2019-07-19 -### 第 77 次发布 +### 第 61 次发布 -发布时间:2022-06-08 06:11:54 +发布时间:2022-06-09 06:11:09 本次发布包含了以下内容: @@ -126,56 +83,37 @@ 修改接口: -* [CreateLivePullStreamTask](https://cloud.tencent.com/document/api/267/56245) - - * 新增入参:ToUrl - -* [CreateLiveRecordTemplate](https://cloud.tencent.com/document/api/267/32614) - - * 新增入参:FlvSpecialParam - -* [ModifyLiveRecordTemplate](https://cloud.tencent.com/document/api/267/32608) - - * 新增入参:FlvSpecialParam - - -新增数据结构: - -* [FlvSpecialParam](https://cloud.tencent.com/document/api/267/20474#FlvSpecialParam) - -修改数据结构: - -* [RecordTemplateInfo](https://cloud.tencent.com/document/api/267/20474#RecordTemplateInfo) +* [AssignIpv6Addresses](https://cloud.tencent.com/document/api/1108/51094) - * 新增成员:FlvSpecialParam + * 新增入参:Ipv6ISP -## 医疗报告结构化(mrs) 版本:2020-09-10 +## 弹性 MapReduce(emr) 版本:2019-01-03 -### 第 11 次发布 +### 第 34 次发布 -发布时间:2022-06-08 06:12:58 +发布时间:2022-06-09 06:11:36 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +修改数据结构: -* [ImageToObject](https://cloud.tencent.com/document/api/1314/56228) +* [UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter) - * 新增出参:TextTypeList + * 新增成员:UserName -## 流计算 Oceanus(oceanus) 版本:2019-04-22 +## 小程序安全(mmps) 版本:2020-07-10 -### 第 18 次发布 +### 第 2 次发布 -发布时间:2022-06-08 06:13:07 +发布时间:2022-06-08 15:18:22 本次发布包含了以下内容: @@ -183,96 +121,78 @@ 新增接口: -* [TriggerJobSavepoint](https://cloud.tencent.com/document/api/849/75095) - +* [CreateAppScanTask](https://cloud.tencent.com/document/api/1223/75159) +* [CreateAppScanTaskRepeat](https://cloud.tencent.com/document/api/1223/75158) +* [DescribeScanTaskList](https://cloud.tencent.com/document/api/1223/75157) +* [DescribeScanTaskReportUrl](https://cloud.tencent.com/document/api/1223/75156) +* [DescribeScanTaskStatus](https://cloud.tencent.com/document/api/1223/75155) +新增数据结构: -## 文字识别(ocr) 版本:2018-11-19 +* [AppInfoItem](https://cloud.tencent.com/document/api/1223/75143#AppInfoItem) +* [AppTaskData](https://cloud.tencent.com/document/api/1223/75143#AppTaskData) +* [TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1223/75143#TaskFlowStepsInfo) -### 第 67 次发布 +### 第 1 次发布 -发布时间:2022-06-08 06:13:12 +发布时间:2022-06-08 15:12:00 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [MixedInvoiceOCR](https://cloud.tencent.com/document/api/866/37835) - - * 新增入参:ReturnOther - - - - -## 服务网格(tcm) 版本:2021-04-13 - -### 第 9 次发布 - -发布时间:2022-06-08 06:15:21 - -本次发布包含了以下内容: +新增接口: -改善已有的文档。 +* [CreateFlySecMiniAppScanTask](https://cloud.tencent.com/document/api/1223/75142) +* [CreateFlySecMiniAppScanTaskRepeat](https://cloud.tencent.com/document/api/1223/75141) +* [DescribeFlySecMiniAppReportUrl](https://cloud.tencent.com/document/api/1223/75140) +* [DescribeFlySecMiniAppScanTaskList](https://cloud.tencent.com/document/api/1223/75139) +* [DescribeFlySecMiniAppScanTaskParam](https://cloud.tencent.com/document/api/1223/75138) +* [DescribeFlySecMiniAppScanTaskStatus](https://cloud.tencent.com/document/api/1223/75137) 新增数据结构: -* [CustomPromConfig](https://cloud.tencent.com/document/api/1261/63843#CustomPromConfig) - -修改数据结构: - -* [AccessLogConfig](https://cloud.tencent.com/document/api/1261/63843#AccessLogConfig) - - * 新增成员:Address, EnableServer, EnableStdout - -* [PrometheusConfig](https://cloud.tencent.com/document/api/1261/63843#PrometheusConfig) - - * 新增成员:CustomProm +* [FlySecMiniAppTaskData](https://cloud.tencent.com/document/api/1223/75143#FlySecMiniAppTaskData) +## 文字识别(ocr) 版本:2018-11-19 -## 容器安全服务(tcss) 版本:2020-11-01 - -### 第 18 次发布 +### 第 68 次发布 -发布时间:2022-06-08 06:15:35 +发布时间:2022-06-09 06:15:14 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增接口: -* [DescribeVirusSummary](https://cloud.tencent.com/document/api/1285/65577) +* [RecognizeIndonesiaIDCardOCR](https://cloud.tencent.com/document/api/866/75195) +* [RecognizePhilippinesDrivingLicenseOCR](https://cloud.tencent.com/document/api/866/75194) +* [RecognizePhilippinesVoteIDOCR](https://cloud.tencent.com/document/api/866/75193) - * 新增出参:IsolateIncrease, IsolateCnt +新增数据结构: +* [TextDetectionResult](https://cloud.tencent.com/document/api/866/33527#TextDetectionResult) ## 弹性微服务(tem) 版本:2021-07-01 -### 第 16 次发布 +### 第 17 次发布 -发布时间:2022-06-08 06:16:15 +发布时间:2022-06-09 06:18:14 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [CronHorizontalAutoscaler](https://cloud.tencent.com/document/api/1371/60171#CronHorizontalAutoscaler) - - * **修改成员**:Name, Period, Schedules, Enabled - -* [HorizontalAutoscaler](https://cloud.tencent.com/document/api/1371/60171#HorizontalAutoscaler) +修改接口: - * 新增成员:Enabled +* [DeployApplication](https://cloud.tencent.com/document/api/1371/60158) - * **修改成员**:MinReplicas, MaxReplicas, Metrics, Threshold + * 新增入参:EnableTracing @@ -281,11 +201,11 @@ -## 边缘安全加速平台(teo) 版本:2022-01-06 +## 图像分析(tiia) 版本:2019-05-29 -### 第 6 次发布 +### 第 22 次发布 -发布时间:2022-06-08 06:16:20 +发布时间:2022-06-09 06:18:37 本次发布包含了以下内容: @@ -293,222 +213,58 @@ 新增接口: -* [CreateCustomErrorPage](https://cloud.tencent.com/document/api/1552/75112) -* [CreateOriginGroup](https://cloud.tencent.com/document/api/1552/75113) -* [DeleteOriginGroup](https://cloud.tencent.com/document/api/1552/75099) -* [DescribeBotManagedRules](https://cloud.tencent.com/document/api/1552/75111) -* [DescribeDDoSPolicy](https://cloud.tencent.com/document/api/1552/75110) -* [DescribeOriginGroup](https://cloud.tencent.com/document/api/1552/75098) -* [DescribeOriginGroupDetail](https://cloud.tencent.com/document/api/1552/75097) -* [DescribeSecurityPolicy](https://cloud.tencent.com/document/api/1552/75109) -* [DescribeSecurityPolicyList](https://cloud.tencent.com/document/api/1552/75108) -* [DescribeSecurityPolicyManagedRules](https://cloud.tencent.com/document/api/1552/75107) -* [DescribeSecurityPolicyManagedRulesId](https://cloud.tencent.com/document/api/1552/75106) -* [DescribeSecurityPolicyRegions](https://cloud.tencent.com/document/api/1552/75105) -* [DescribeZoneDDoSPolicy](https://cloud.tencent.com/document/api/1552/75104) -* [ModifyDDoSPolicy](https://cloud.tencent.com/document/api/1552/75103) -* [ModifyDDoSPolicyHost](https://cloud.tencent.com/document/api/1552/75102) -* [ModifyOriginGroup](https://cloud.tencent.com/document/api/1552/75096) -* [ModifySecurityPolicy](https://cloud.tencent.com/document/api/1552/75101) - -新增数据结构: - -* [ACLCondition](https://cloud.tencent.com/document/api/1552/73155#ACLCondition) -* [ACLUserRule](https://cloud.tencent.com/document/api/1552/73155#ACLUserRule) -* [AclConfig](https://cloud.tencent.com/document/api/1552/73155#AclConfig) -* [AiRule](https://cloud.tencent.com/document/api/1552/73155#AiRule) -* [BotConfig](https://cloud.tencent.com/document/api/1552/73155#BotConfig) -* [BotManagedRule](https://cloud.tencent.com/document/api/1552/73155#BotManagedRule) -* [BotManagedRuleDetail](https://cloud.tencent.com/document/api/1552/73155#BotManagedRuleDetail) -* [BotPortraitRule](https://cloud.tencent.com/document/api/1552/73155#BotPortraitRule) -* [DDoSAcl](https://cloud.tencent.com/document/api/1552/73155#DDoSAcl) -* [DDoSAntiPly](https://cloud.tencent.com/document/api/1552/73155#DDoSAntiPly) -* [DDoSApplication](https://cloud.tencent.com/document/api/1552/73155#DDoSApplication) -* [DDoSConfig](https://cloud.tencent.com/document/api/1552/73155#DDoSConfig) -* [DDoSFeaturesFilter](https://cloud.tencent.com/document/api/1552/73155#DDoSFeaturesFilter) -* [DDoSGeoIp](https://cloud.tencent.com/document/api/1552/73155#DDoSGeoIp) -* [DDoSStatusInfo](https://cloud.tencent.com/document/api/1552/73155#DDoSStatusInfo) -* [DDoSUserAllowBlockIP](https://cloud.tencent.com/document/api/1552/73155#DDoSUserAllowBlockIP) -* [DdosAcls](https://cloud.tencent.com/document/api/1552/73155#DdosAcls) -* [DdosAllowBlock](https://cloud.tencent.com/document/api/1552/73155#DdosAllowBlock) -* [DdosPacketFilter](https://cloud.tencent.com/document/api/1552/73155#DdosPacketFilter) -* [DdosRule](https://cloud.tencent.com/document/api/1552/73155#DdosRule) -* [GeoIp](https://cloud.tencent.com/document/api/1552/73155#GeoIp) -* [ManagedRule](https://cloud.tencent.com/document/api/1552/73155#ManagedRule) -* [OriginFilter](https://cloud.tencent.com/document/api/1552/73155#OriginFilter) -* [RateLimitConfig](https://cloud.tencent.com/document/api/1552/73155#RateLimitConfig) -* [RateLimitTemplate](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplate) -* [RateLimitTemplateDetail](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplateDetail) -* [RateLimitUserRule](https://cloud.tencent.com/document/api/1552/73155#RateLimitUserRule) -* [SecurityConfig](https://cloud.tencent.com/document/api/1552/73155#SecurityConfig) -* [SecurityEntity](https://cloud.tencent.com/document/api/1552/73155#SecurityEntity) -* [ShieldArea](https://cloud.tencent.com/document/api/1552/73155#ShieldArea) -* [SwitchConfig](https://cloud.tencent.com/document/api/1552/73155#SwitchConfig) -* [WafConfig](https://cloud.tencent.com/document/api/1552/73155#WafConfig) -* [WafRule](https://cloud.tencent.com/document/api/1552/73155#WafRule) +* [DetectLabelPro](https://cloud.tencent.com/document/api/865/75196) -## 腾讯云 TI 平台 TI-ONE(tione) 版本:2021-11-11 +## 容器服务(tke) 版本:2018-05-25 -### 第 2 次发布 +### 第 104 次发布 -发布时间:2022-06-07 21:53:13 +发布时间:2022-06-09 06:18:50 本次发布包含了以下内容: 改善已有的文档。 -新增接口: - -* [CreateTrainingModel](https://cloud.tencent.com/document/api/851/75074) -* [CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094) -* [DeleteDataset](https://cloud.tencent.com/document/api/851/75080) -* [DeleteTrainingModel](https://cloud.tencent.com/document/api/851/75073) -* [DeleteTrainingModelVersion](https://cloud.tencent.com/document/api/851/75072) -* [DeleteTrainingTask](https://cloud.tencent.com/document/api/851/75093) -* [DescribeBillingResourceGroups](https://cloud.tencent.com/document/api/851/75065) -* [DescribeBillingSpecsPrice](https://cloud.tencent.com/document/api/851/75067) -* [DescribeDatasetDetailStructured](https://cloud.tencent.com/document/api/851/75079) -* [DescribeDatasetDetailUnstructured](https://cloud.tencent.com/document/api/851/75078) -* [DescribeDatasets](https://cloud.tencent.com/document/api/851/75077) -* [DescribeInferTemplates](https://cloud.tencent.com/document/api/851/75082) -* [DescribeLatestTrainingMetrics](https://cloud.tencent.com/document/api/851/75092) -* [DescribeLogs](https://cloud.tencent.com/document/api/851/75076) -* [DescribeTrainingFrameworks](https://cloud.tencent.com/document/api/851/75091) -* [DescribeTrainingMetrics](https://cloud.tencent.com/document/api/851/75090) -* [DescribeTrainingModelVersion](https://cloud.tencent.com/document/api/851/75071) -* [DescribeTrainingModelVersions](https://cloud.tencent.com/document/api/851/75070) -* [DescribeTrainingModels](https://cloud.tencent.com/document/api/851/75069) -* [DescribeTrainingTask](https://cloud.tencent.com/document/api/851/75089) -* [DescribeTrainingTaskPods](https://cloud.tencent.com/document/api/851/75088) -* [DescribeTrainingTasks](https://cloud.tencent.com/document/api/851/75087) -* [PushTrainingMetrics](https://cloud.tencent.com/document/api/851/75086) -* [StartTrainingTask](https://cloud.tencent.com/document/api/851/75085) -* [StopTrainingTask](https://cloud.tencent.com/document/api/851/75084) - -新增数据结构: - -* [CFSConfig](https://cloud.tencent.com/document/api/851/75051#CFSConfig) -* [CustomTrainingData](https://cloud.tencent.com/document/api/851/75051#CustomTrainingData) -* [CustomTrainingMetric](https://cloud.tencent.com/document/api/851/75051#CustomTrainingMetric) -* [CustomTrainingPoint](https://cloud.tencent.com/document/api/851/75051#CustomTrainingPoint) -* [DataConfig](https://cloud.tencent.com/document/api/851/75051#DataConfig) -* [DataPoint](https://cloud.tencent.com/document/api/851/75051#DataPoint) -* [DataSetConfig](https://cloud.tencent.com/document/api/851/75051#DataSetConfig) -* [DatasetGroup](https://cloud.tencent.com/document/api/851/75051#DatasetGroup) -* [DatasetInfo](https://cloud.tencent.com/document/api/851/75051#DatasetInfo) -* [DetectionLabelInfo](https://cloud.tencent.com/document/api/851/75051#DetectionLabelInfo) -* [Filter](https://cloud.tencent.com/document/api/851/75051#Filter) -* [FilterLabelInfo](https://cloud.tencent.com/document/api/851/75051#FilterLabelInfo) -* [FrameworkInfo](https://cloud.tencent.com/document/api/851/75051#FrameworkInfo) -* [FrameworkVersion](https://cloud.tencent.com/document/api/851/75051#FrameworkVersion) -* [GpuDetail](https://cloud.tencent.com/document/api/851/75051#GpuDetail) -* [GroupResource](https://cloud.tencent.com/document/api/851/75051#GroupResource) -* [HDFSConfig](https://cloud.tencent.com/document/api/851/75051#HDFSConfig) -* [ImageInfo](https://cloud.tencent.com/document/api/851/75051#ImageInfo) -* [InferTemplate](https://cloud.tencent.com/document/api/851/75051#InferTemplate) -* [InferTemplateGroup](https://cloud.tencent.com/document/api/851/75051#InferTemplateGroup) -* [Instance](https://cloud.tencent.com/document/api/851/75051#Instance) -* [LogConfig](https://cloud.tencent.com/document/api/851/75051#LogConfig) -* [LogIdentity](https://cloud.tencent.com/document/api/851/75051#LogIdentity) -* [MetricData](https://cloud.tencent.com/document/api/851/75051#MetricData) -* [OcrLabelInfo](https://cloud.tencent.com/document/api/851/75051#OcrLabelInfo) -* [PointInfo](https://cloud.tencent.com/document/api/851/75051#PointInfo) -* [ResourceConfigInfo](https://cloud.tencent.com/document/api/851/75051#ResourceConfigInfo) -* [ResourceGroup](https://cloud.tencent.com/document/api/851/75051#ResourceGroup) -* [ResourceInfo](https://cloud.tencent.com/document/api/851/75051#ResourceInfo) -* [RowItem](https://cloud.tencent.com/document/api/851/75051#RowItem) -* [RowValue](https://cloud.tencent.com/document/api/851/75051#RowValue) -* [SegmentationInfo](https://cloud.tencent.com/document/api/851/75051#SegmentationInfo) -* [SpecPrice](https://cloud.tencent.com/document/api/851/75051#SpecPrice) -* [SpecUnit](https://cloud.tencent.com/document/api/851/75051#SpecUnit) -* [StartCmdInfo](https://cloud.tencent.com/document/api/851/75051#StartCmdInfo) -* [TagFilter](https://cloud.tencent.com/document/api/851/75051#TagFilter) -* [TrainingDataPoint](https://cloud.tencent.com/document/api/851/75051#TrainingDataPoint) -* [TrainingMetric](https://cloud.tencent.com/document/api/851/75051#TrainingMetric) -* [TrainingModelDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelDTO) -* [TrainingModelVersionDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelVersionDTO) -* [TrainingTaskDetail](https://cloud.tencent.com/document/api/851/75051#TrainingTaskDetail) -* [TrainingTaskSetItem](https://cloud.tencent.com/document/api/851/75051#TrainingTaskSetItem) - -### 第 1 次发布 +修改接口: -发布时间:2022-06-07 20:01:24 +* [CreateEKSCluster](https://cloud.tencent.com/document/api/457/52353) -本次发布包含了以下内容: + * 新增入参:SubnetInfos -改善已有的文档。 -新增接口: +新增数据结构: -* [CreateDataset](https://cloud.tencent.com/document/api/851/75050) +* [SubnetInfos](https://cloud.tencent.com/document/api/457/31866#SubnetInfos) -新增数据结构: -* [CosPathInfo](https://cloud.tencent.com/document/api/851/75051#CosPathInfo) -* [SchemaInfo](https://cloud.tencent.com/document/api/851/75051#SchemaInfo) -* [Tag](https://cloud.tencent.com/document/api/851/75051#Tag) +## 视频内容安全(vm) 版本:2020-12-29 +### 第 4 次发布 -## 腾讯云 TI 平台 TI-ONE(tione) 版本:2019-10-22 +发布时间:2022-06-09 06:19:53 +本次发布包含了以下内容: +改善已有的文档。 -## T-Sec-安心平台(RP)(trp) 版本:2021-05-15 +新增数据结构: -### 第 1 次发布 +* [RecognitionResult](https://cloud.tencent.com/document/api/1265/51881#RecognitionResult) +* [Tag](https://cloud.tencent.com/document/api/1265/51881#Tag) -发布时间:2022-06-07 16:18:00 +修改数据结构: -本次发布包含了以下内容: +* [AudioResult](https://cloud.tencent.com/document/api/1265/51881#AudioResult) -改善已有的文档。 + * 新增成员:RecognitionResults -新增接口: -* [CreateCodeBatch](https://cloud.tencent.com/document/api/1458/75029) -* [CreateCodePack](https://cloud.tencent.com/document/api/1458/75028) -* [CreateMerchant](https://cloud.tencent.com/document/api/1458/75027) -* [CreateProduct](https://cloud.tencent.com/document/api/1458/75026) -* [CreateTraceChain](https://cloud.tencent.com/document/api/1458/75025) -* [CreateTraceCodes](https://cloud.tencent.com/document/api/1458/75024) -* [CreateTraceData](https://cloud.tencent.com/document/api/1458/75023) -* [DeleteCodeBatch](https://cloud.tencent.com/document/api/1458/75022) -* [DeleteMerchant](https://cloud.tencent.com/document/api/1458/75021) -* [DeleteProduct](https://cloud.tencent.com/document/api/1458/75020) -* [DeleteTraceData](https://cloud.tencent.com/document/api/1458/75019) -* [DescribeCodeBatchById](https://cloud.tencent.com/document/api/1458/75018) -* [DescribeCodeBatchs](https://cloud.tencent.com/document/api/1458/75017) -* [DescribeCodePacks](https://cloud.tencent.com/document/api/1458/75016) -* [DescribeCodesByPack](https://cloud.tencent.com/document/api/1458/75015) -* [DescribeMerchantById](https://cloud.tencent.com/document/api/1458/75014) -* [DescribeMerchants](https://cloud.tencent.com/document/api/1458/75013) -* [DescribeProductById](https://cloud.tencent.com/document/api/1458/75012) -* [DescribeProducts](https://cloud.tencent.com/document/api/1458/75011) -* [DescribeTraceCodeById](https://cloud.tencent.com/document/api/1458/75010) -* [DescribeTraceCodes](https://cloud.tencent.com/document/api/1458/75009) -* [DescribeTraceDataList](https://cloud.tencent.com/document/api/1458/75008) -* [ModifyCodeBatch](https://cloud.tencent.com/document/api/1458/75007) -* [ModifyMerchant](https://cloud.tencent.com/document/api/1458/75006) -* [ModifyProduct](https://cloud.tencent.com/document/api/1458/75005) -* [ModifyTraceCode](https://cloud.tencent.com/document/api/1458/75004) -* [ModifyTraceData](https://cloud.tencent.com/document/api/1458/75003) -* [ModifyTraceDataRanks](https://cloud.tencent.com/document/api/1458/75002) -新增数据结构: -* [ChainData](https://cloud.tencent.com/document/api/1458/75030#ChainData) -* [CodeBatch](https://cloud.tencent.com/document/api/1458/75030#CodeBatch) -* [CodeItem](https://cloud.tencent.com/document/api/1458/75030#CodeItem) -* [Ext](https://cloud.tencent.com/document/api/1458/75030#Ext) -* [Merchant](https://cloud.tencent.com/document/api/1458/75030#Merchant) -* [PackSpec](https://cloud.tencent.com/document/api/1458/75030#PackSpec) -* [Product](https://cloud.tencent.com/document/api/1458/75030#Product) -* [TraceCode](https://cloud.tencent.com/document/api/1458/75030#TraceCode) -* [TraceData](https://cloud.tencent.com/document/api/1458/75030#TraceData) -* [TraceItem](https://cloud.tencent.com/document/api/1458/75030#TraceItem) +## 视频内容安全(vm) 版本:2020-07-09 @@ -731,6 +487,34 @@ +## 应用合规平台(acp) 版本:2022-01-05 + +### 第 1 次发布 + +发布时间:2022-06-08 15:18:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateAppScanTask](https://cloud.tencent.com/document/api/1553/75166)](https://cloud.tencent.com/document/api/#/#) +* [[CreateAppScanTaskRepeat](https://cloud.tencent.com/document/api/1553/75165)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeFileTicket](https://cloud.tencent.com/document/api/1553/75164)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScanTaskList](https://cloud.tencent.com/document/api/1553/75163)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScanTaskReportUrl](https://cloud.tencent.com/document/api/1553/75162)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScanTaskStatus](https://cloud.tencent.com/document/api/1553/75161)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AppInfoItem](https://cloud.tencent.com/document/api/1553/75167#AppInfoItem)](https://cloud.tencent.com/document/api/1553/75167#[AppInfoItem](https://cloud.tencent.com/document/api/1553/75167#AppInfoItem)) +* [[AppTaskData](https://cloud.tencent.com/document/api/1553/75167#AppTaskData)](https://cloud.tencent.com/document/api/1553/75167#[AppTaskData](https://cloud.tencent.com/document/api/1553/75167#AppTaskData)) +* [[TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1553/75167#TaskFlowStepsInfo)](https://cloud.tencent.com/document/api/1553/75167#[TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1553/75167#TaskFlowStepsInfo)) + + + + ## 云顾问(advisor) 版本:2020-07-21 ### 第 4 次发布 @@ -1727,6 +1511,26 @@ ## 音频内容检测(ams) 版本:2020-12-29 +### 第 5 次发布 + +发布时间:2022-06-09 06:05:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [[RecognitionResult](https://cloud.tencent.com/document/api/1219/53259#RecognitionResult)](https://cloud.tencent.com/document/api/1219/53259#[RecognitionResult](https://cloud.tencent.com/document/api/1219/53259#RecognitionResult)) +* [[Tag](https://cloud.tencent.com/document/api/1219/53259#Tag)](https://cloud.tencent.com/document/api/1219/53259#[Tag](https://cloud.tencent.com/document/api/1219/53259#Tag)) + +修改数据结构: + +* [AudioResult](https://cloud.tencent.com/document/api/1219/53259#AudioResult) + + * 新增成员:RecognitionResults + + ### 第 4 次发布 发布时间:2022-04-01 06:03:20 @@ -8102,6 +7906,18 @@ ## 二进制软件成分分析(bsca) 版本:2021-08-11 +### 第 2 次发布 + +发布时间:2022-06-09 06:06:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[MatchKBPURLList](https://cloud.tencent.com/document/api/1483/75192)](https://cloud.tencent.com/document/api/#/#) + ### 第 1 次发布 发布时间:2022-04-02 17:37:22 @@ -30966,6 +30782,21 @@ ## 边缘计算机器(ecm) 版本:2019-07-19 +### 第 61 次发布 + +发布时间:2022-06-09 06:11:09 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AssignIpv6Addresses](https://cloud.tencent.com/document/api/1108/51094) + + * 新增入参:Ipv6ISP + + ### 第 60 次发布 发布时间:2022-05-20 06:11:20 @@ -32756,6 +32587,21 @@ ## 弹性 MapReduce(emr) 版本:2019-01-03 +### 第 34 次发布 + +发布时间:2022-06-09 06:11:36 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter) + + * 新增成员:UserName + + ### 第 33 次发布 发布时间:2022-06-08 06:09:23 @@ -32781,8 +32627,8 @@ 新增数据结构: -* [[UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter)](https://cloud.tencent.com/document/api/589/33981#[UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter)) -* [[UserManagerUserBriefInfo](https://cloud.tencent.com/document/api/589/33981#UserManagerUserBriefInfo)](https://cloud.tencent.com/document/api/589/33981#[UserManagerUserBriefInfo](https://cloud.tencent.com/document/api/589/33981#UserManagerUserBriefInfo)) +* [UserManagerFilter](https://cloud.tencent.com/document/api/589/33981#UserManagerFilter) +* [UserManagerUserBriefInfo](https://cloud.tencent.com/document/api/589/33981#UserManagerUserBriefInfo) ### 第 32 次发布 @@ -44404,7 +44250,7 @@ 新增数据结构: -* [[FlvSpecialParam](https://cloud.tencent.com/document/api/267/20474#FlvSpecialParam)](https://cloud.tencent.com/document/api/267/20474#[FlvSpecialParam](https://cloud.tencent.com/document/api/267/20474#FlvSpecialParam)) +* [FlvSpecialParam](https://cloud.tencent.com/document/api/267/20474#FlvSpecialParam) 修改数据结构: @@ -47042,6 +46888,54 @@ +## 小程序安全(mmps) 版本:2020-07-10 + +### 第 2 次发布 + +发布时间:2022-06-08 15:18:22 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateAppScanTask](https://cloud.tencent.com/document/api/1223/75159)](https://cloud.tencent.com/document/api/#/#) +* [[CreateAppScanTaskRepeat](https://cloud.tencent.com/document/api/1223/75158)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScanTaskList](https://cloud.tencent.com/document/api/1223/75157)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScanTaskReportUrl](https://cloud.tencent.com/document/api/1223/75156)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScanTaskStatus](https://cloud.tencent.com/document/api/1223/75155)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AppInfoItem](https://cloud.tencent.com/document/api/1223/75143#AppInfoItem)](https://cloud.tencent.com/document/api/1223/75143#[AppInfoItem](https://cloud.tencent.com/document/api/1223/75143#AppInfoItem)) +* [[AppTaskData](https://cloud.tencent.com/document/api/1223/75143#AppTaskData)](https://cloud.tencent.com/document/api/1223/75143#[AppTaskData](https://cloud.tencent.com/document/api/1223/75143#AppTaskData)) +* [[TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1223/75143#TaskFlowStepsInfo)](https://cloud.tencent.com/document/api/1223/75143#[TaskFlowStepsInfo](https://cloud.tencent.com/document/api/1223/75143#TaskFlowStepsInfo)) + +### 第 1 次发布 + +发布时间:2022-06-08 15:12:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateFlySecMiniAppScanTask](https://cloud.tencent.com/document/api/1223/75142)](https://cloud.tencent.com/document/api/#/#) +* [[CreateFlySecMiniAppScanTaskRepeat](https://cloud.tencent.com/document/api/1223/75141)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeFlySecMiniAppReportUrl](https://cloud.tencent.com/document/api/1223/75140)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeFlySecMiniAppScanTaskList](https://cloud.tencent.com/document/api/1223/75139)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeFlySecMiniAppScanTaskParam](https://cloud.tencent.com/document/api/1223/75138)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeFlySecMiniAppScanTaskStatus](https://cloud.tencent.com/document/api/1223/75137)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[FlySecMiniAppTaskData](https://cloud.tencent.com/document/api/1223/75143#FlySecMiniAppTaskData)](https://cloud.tencent.com/document/api/1223/75143#[FlySecMiniAppTaskData](https://cloud.tencent.com/document/api/1223/75143#FlySecMiniAppTaskData)) + + + + ## 移动网络加速(mna) 版本:2021-01-19 ### 第 5 次发布 @@ -50763,7 +50657,7 @@ 新增接口: -* [[TriggerJobSavepoint](https://cloud.tencent.com/document/api/849/75095)](https://cloud.tencent.com/document/api/#/#) +* [TriggerJobSavepoint](https://cloud.tencent.com/document/api/849/75095) ### 第 17 次发布 @@ -51147,6 +51041,24 @@ ## 文字识别(ocr) 版本:2018-11-19 +### 第 68 次发布 + +发布时间:2022-06-09 06:15:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[RecognizeIndonesiaIDCardOCR](https://cloud.tencent.com/document/api/866/75195)](https://cloud.tencent.com/document/api/#/#) +* [[RecognizePhilippinesDrivingLicenseOCR](https://cloud.tencent.com/document/api/866/75194)](https://cloud.tencent.com/document/api/#/#) +* [[RecognizePhilippinesVoteIDOCR](https://cloud.tencent.com/document/api/866/75193)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[TextDetectionResult](https://cloud.tencent.com/document/api/866/33527#TextDetectionResult)](https://cloud.tencent.com/document/api/866/33527#[TextDetectionResult](https://cloud.tencent.com/document/api/866/33527#TextDetectionResult)) + ### 第 67 次发布 发布时间:2022-06-08 06:13:12 @@ -62573,7 +62485,7 @@ 新增数据结构: -* [[CustomPromConfig](https://cloud.tencent.com/document/api/1261/63843#CustomPromConfig)](https://cloud.tencent.com/document/api/1261/63843#[CustomPromConfig](https://cloud.tencent.com/document/api/1261/63843#CustomPromConfig)) +* [CustomPromConfig](https://cloud.tencent.com/document/api/1261/63843#CustomPromConfig) 修改数据结构: @@ -65474,6 +65386,21 @@ ## 弹性微服务(tem) 版本:2021-07-01 +### 第 17 次发布 + +发布时间:2022-06-09 06:18:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DeployApplication](https://cloud.tencent.com/document/api/1371/60158) + + * 新增入参:EnableTracing + + ### 第 16 次发布 发布时间:2022-06-08 06:16:15 @@ -65832,59 +65759,59 @@ 新增接口: -* [[CreateCustomErrorPage](https://cloud.tencent.com/document/api/1552/75112)](https://cloud.tencent.com/document/api/#/#) -* [[CreateOriginGroup](https://cloud.tencent.com/document/api/1552/75113)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteOriginGroup](https://cloud.tencent.com/document/api/1552/75099)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeBotManagedRules](https://cloud.tencent.com/document/api/1552/75111)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeDDoSPolicy](https://cloud.tencent.com/document/api/1552/75110)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeOriginGroup](https://cloud.tencent.com/document/api/1552/75098)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeOriginGroupDetail](https://cloud.tencent.com/document/api/1552/75097)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeSecurityPolicy](https://cloud.tencent.com/document/api/1552/75109)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeSecurityPolicyList](https://cloud.tencent.com/document/api/1552/75108)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeSecurityPolicyManagedRules](https://cloud.tencent.com/document/api/1552/75107)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeSecurityPolicyManagedRulesId](https://cloud.tencent.com/document/api/1552/75106)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeSecurityPolicyRegions](https://cloud.tencent.com/document/api/1552/75105)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeZoneDDoSPolicy](https://cloud.tencent.com/document/api/1552/75104)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyDDoSPolicy](https://cloud.tencent.com/document/api/1552/75103)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyDDoSPolicyHost](https://cloud.tencent.com/document/api/1552/75102)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyOriginGroup](https://cloud.tencent.com/document/api/1552/75096)](https://cloud.tencent.com/document/api/#/#) -* [[ModifySecurityPolicy](https://cloud.tencent.com/document/api/1552/75101)](https://cloud.tencent.com/document/api/#/#) - -新增数据结构: - -* [[ACLCondition](https://cloud.tencent.com/document/api/1552/73155#ACLCondition)](https://cloud.tencent.com/document/api/1552/73155#[ACLCondition](https://cloud.tencent.com/document/api/1552/73155#ACLCondition)) -* [[ACLUserRule](https://cloud.tencent.com/document/api/1552/73155#ACLUserRule)](https://cloud.tencent.com/document/api/1552/73155#[ACLUserRule](https://cloud.tencent.com/document/api/1552/73155#ACLUserRule)) -* [[AclConfig](https://cloud.tencent.com/document/api/1552/73155#AclConfig)](https://cloud.tencent.com/document/api/1552/73155#[AclConfig](https://cloud.tencent.com/document/api/1552/73155#AclConfig)) -* [[AiRule](https://cloud.tencent.com/document/api/1552/73155#AiRule)](https://cloud.tencent.com/document/api/1552/73155#[AiRule](https://cloud.tencent.com/document/api/1552/73155#AiRule)) -* [[BotConfig](https://cloud.tencent.com/document/api/1552/73155#BotConfig)](https://cloud.tencent.com/document/api/1552/73155#[BotConfig](https://cloud.tencent.com/document/api/1552/73155#BotConfig)) -* [[BotManagedRule](https://cloud.tencent.com/document/api/1552/73155#BotManagedRule)](https://cloud.tencent.com/document/api/1552/73155#[BotManagedRule](https://cloud.tencent.com/document/api/1552/73155#BotManagedRule)) -* [[BotManagedRuleDetail](https://cloud.tencent.com/document/api/1552/73155#BotManagedRuleDetail)](https://cloud.tencent.com/document/api/1552/73155#[BotManagedRuleDetail](https://cloud.tencent.com/document/api/1552/73155#BotManagedRuleDetail)) -* [[BotPortraitRule](https://cloud.tencent.com/document/api/1552/73155#BotPortraitRule)](https://cloud.tencent.com/document/api/1552/73155#[BotPortraitRule](https://cloud.tencent.com/document/api/1552/73155#BotPortraitRule)) -* [[DDoSAcl](https://cloud.tencent.com/document/api/1552/73155#DDoSAcl)](https://cloud.tencent.com/document/api/1552/73155#[DDoSAcl](https://cloud.tencent.com/document/api/1552/73155#DDoSAcl)) -* [[DDoSAntiPly](https://cloud.tencent.com/document/api/1552/73155#DDoSAntiPly)](https://cloud.tencent.com/document/api/1552/73155#[DDoSAntiPly](https://cloud.tencent.com/document/api/1552/73155#DDoSAntiPly)) -* [[DDoSApplication](https://cloud.tencent.com/document/api/1552/73155#DDoSApplication)](https://cloud.tencent.com/document/api/1552/73155#[DDoSApplication](https://cloud.tencent.com/document/api/1552/73155#DDoSApplication)) -* [[DDoSConfig](https://cloud.tencent.com/document/api/1552/73155#DDoSConfig)](https://cloud.tencent.com/document/api/1552/73155#[DDoSConfig](https://cloud.tencent.com/document/api/1552/73155#DDoSConfig)) -* [[DDoSFeaturesFilter](https://cloud.tencent.com/document/api/1552/73155#DDoSFeaturesFilter)](https://cloud.tencent.com/document/api/1552/73155#[DDoSFeaturesFilter](https://cloud.tencent.com/document/api/1552/73155#DDoSFeaturesFilter)) -* [[DDoSGeoIp](https://cloud.tencent.com/document/api/1552/73155#DDoSGeoIp)](https://cloud.tencent.com/document/api/1552/73155#[DDoSGeoIp](https://cloud.tencent.com/document/api/1552/73155#DDoSGeoIp)) -* [[DDoSStatusInfo](https://cloud.tencent.com/document/api/1552/73155#DDoSStatusInfo)](https://cloud.tencent.com/document/api/1552/73155#[DDoSStatusInfo](https://cloud.tencent.com/document/api/1552/73155#DDoSStatusInfo)) -* [[DDoSUserAllowBlockIP](https://cloud.tencent.com/document/api/1552/73155#DDoSUserAllowBlockIP)](https://cloud.tencent.com/document/api/1552/73155#[DDoSUserAllowBlockIP](https://cloud.tencent.com/document/api/1552/73155#DDoSUserAllowBlockIP)) -* [[DdosAcls](https://cloud.tencent.com/document/api/1552/73155#DdosAcls)](https://cloud.tencent.com/document/api/1552/73155#[DdosAcls](https://cloud.tencent.com/document/api/1552/73155#DdosAcls)) -* [[DdosAllowBlock](https://cloud.tencent.com/document/api/1552/73155#DdosAllowBlock)](https://cloud.tencent.com/document/api/1552/73155#[DdosAllowBlock](https://cloud.tencent.com/document/api/1552/73155#DdosAllowBlock)) -* [[DdosPacketFilter](https://cloud.tencent.com/document/api/1552/73155#DdosPacketFilter)](https://cloud.tencent.com/document/api/1552/73155#[DdosPacketFilter](https://cloud.tencent.com/document/api/1552/73155#DdosPacketFilter)) -* [[DdosRule](https://cloud.tencent.com/document/api/1552/73155#DdosRule)](https://cloud.tencent.com/document/api/1552/73155#[DdosRule](https://cloud.tencent.com/document/api/1552/73155#DdosRule)) -* [[GeoIp](https://cloud.tencent.com/document/api/1552/73155#GeoIp)](https://cloud.tencent.com/document/api/1552/73155#[GeoIp](https://cloud.tencent.com/document/api/1552/73155#GeoIp)) -* [[ManagedRule](https://cloud.tencent.com/document/api/1552/73155#ManagedRule)](https://cloud.tencent.com/document/api/1552/73155#[ManagedRule](https://cloud.tencent.com/document/api/1552/73155#ManagedRule)) -* [[OriginFilter](https://cloud.tencent.com/document/api/1552/73155#OriginFilter)](https://cloud.tencent.com/document/api/1552/73155#[OriginFilter](https://cloud.tencent.com/document/api/1552/73155#OriginFilter)) -* [[RateLimitConfig](https://cloud.tencent.com/document/api/1552/73155#RateLimitConfig)](https://cloud.tencent.com/document/api/1552/73155#[RateLimitConfig](https://cloud.tencent.com/document/api/1552/73155#RateLimitConfig)) -* [[RateLimitTemplate](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplate)](https://cloud.tencent.com/document/api/1552/73155#[RateLimitTemplate](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplate)) -* [[RateLimitTemplateDetail](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplateDetail)](https://cloud.tencent.com/document/api/1552/73155#[RateLimitTemplateDetail](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplateDetail)) -* [[RateLimitUserRule](https://cloud.tencent.com/document/api/1552/73155#RateLimitUserRule)](https://cloud.tencent.com/document/api/1552/73155#[RateLimitUserRule](https://cloud.tencent.com/document/api/1552/73155#RateLimitUserRule)) -* [[SecurityConfig](https://cloud.tencent.com/document/api/1552/73155#SecurityConfig)](https://cloud.tencent.com/document/api/1552/73155#[SecurityConfig](https://cloud.tencent.com/document/api/1552/73155#SecurityConfig)) -* [[SecurityEntity](https://cloud.tencent.com/document/api/1552/73155#SecurityEntity)](https://cloud.tencent.com/document/api/1552/73155#[SecurityEntity](https://cloud.tencent.com/document/api/1552/73155#SecurityEntity)) -* [[ShieldArea](https://cloud.tencent.com/document/api/1552/73155#ShieldArea)](https://cloud.tencent.com/document/api/1552/73155#[ShieldArea](https://cloud.tencent.com/document/api/1552/73155#ShieldArea)) -* [[SwitchConfig](https://cloud.tencent.com/document/api/1552/73155#SwitchConfig)](https://cloud.tencent.com/document/api/1552/73155#[SwitchConfig](https://cloud.tencent.com/document/api/1552/73155#SwitchConfig)) -* [[WafConfig](https://cloud.tencent.com/document/api/1552/73155#WafConfig)](https://cloud.tencent.com/document/api/1552/73155#[WafConfig](https://cloud.tencent.com/document/api/1552/73155#WafConfig)) -* [[WafRule](https://cloud.tencent.com/document/api/1552/73155#WafRule)](https://cloud.tencent.com/document/api/1552/73155#[WafRule](https://cloud.tencent.com/document/api/1552/73155#WafRule)) +* [CreateCustomErrorPage](https://cloud.tencent.com/document/api/1552/75112) +* [CreateOriginGroup](https://cloud.tencent.com/document/api/1552/75113) +* [DeleteOriginGroup](https://cloud.tencent.com/document/api/1552/75099) +* [DescribeBotManagedRules](https://cloud.tencent.com/document/api/1552/75111) +* [DescribeDDoSPolicy](https://cloud.tencent.com/document/api/1552/75110) +* [DescribeOriginGroup](https://cloud.tencent.com/document/api/1552/75098) +* [DescribeOriginGroupDetail](https://cloud.tencent.com/document/api/1552/75097) +* [DescribeSecurityPolicy](https://cloud.tencent.com/document/api/1552/75109) +* [DescribeSecurityPolicyList](https://cloud.tencent.com/document/api/1552/75108) +* [DescribeSecurityPolicyManagedRules](https://cloud.tencent.com/document/api/1552/75107) +* [DescribeSecurityPolicyManagedRulesId](https://cloud.tencent.com/document/api/1552/75106) +* [DescribeSecurityPolicyRegions](https://cloud.tencent.com/document/api/1552/75105) +* [DescribeZoneDDoSPolicy](https://cloud.tencent.com/document/api/1552/75104) +* [ModifyDDoSPolicy](https://cloud.tencent.com/document/api/1552/75103) +* [ModifyDDoSPolicyHost](https://cloud.tencent.com/document/api/1552/75102) +* [ModifyOriginGroup](https://cloud.tencent.com/document/api/1552/75096) +* [ModifySecurityPolicy](https://cloud.tencent.com/document/api/1552/75101) + +新增数据结构: + +* [ACLCondition](https://cloud.tencent.com/document/api/1552/73155#ACLCondition) +* [ACLUserRule](https://cloud.tencent.com/document/api/1552/73155#ACLUserRule) +* [AclConfig](https://cloud.tencent.com/document/api/1552/73155#AclConfig) +* [AiRule](https://cloud.tencent.com/document/api/1552/73155#AiRule) +* [BotConfig](https://cloud.tencent.com/document/api/1552/73155#BotConfig) +* [BotManagedRule](https://cloud.tencent.com/document/api/1552/73155#BotManagedRule) +* [BotManagedRuleDetail](https://cloud.tencent.com/document/api/1552/73155#BotManagedRuleDetail) +* [BotPortraitRule](https://cloud.tencent.com/document/api/1552/73155#BotPortraitRule) +* [DDoSAcl](https://cloud.tencent.com/document/api/1552/73155#DDoSAcl) +* [DDoSAntiPly](https://cloud.tencent.com/document/api/1552/73155#DDoSAntiPly) +* [DDoSApplication](https://cloud.tencent.com/document/api/1552/73155#DDoSApplication) +* [DDoSConfig](https://cloud.tencent.com/document/api/1552/73155#DDoSConfig) +* [DDoSFeaturesFilter](https://cloud.tencent.com/document/api/1552/73155#DDoSFeaturesFilter) +* [DDoSGeoIp](https://cloud.tencent.com/document/api/1552/73155#DDoSGeoIp) +* [DDoSStatusInfo](https://cloud.tencent.com/document/api/1552/73155#DDoSStatusInfo) +* [DDoSUserAllowBlockIP](https://cloud.tencent.com/document/api/1552/73155#DDoSUserAllowBlockIP) +* [DdosAcls](https://cloud.tencent.com/document/api/1552/73155#DdosAcls) +* [DdosAllowBlock](https://cloud.tencent.com/document/api/1552/73155#DdosAllowBlock) +* [DdosPacketFilter](https://cloud.tencent.com/document/api/1552/73155#DdosPacketFilter) +* [DdosRule](https://cloud.tencent.com/document/api/1552/73155#DdosRule) +* [GeoIp](https://cloud.tencent.com/document/api/1552/73155#GeoIp) +* [ManagedRule](https://cloud.tencent.com/document/api/1552/73155#ManagedRule) +* [OriginFilter](https://cloud.tencent.com/document/api/1552/73155#OriginFilter) +* [RateLimitConfig](https://cloud.tencent.com/document/api/1552/73155#RateLimitConfig) +* [RateLimitTemplate](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplate) +* [RateLimitTemplateDetail](https://cloud.tencent.com/document/api/1552/73155#RateLimitTemplateDetail) +* [RateLimitUserRule](https://cloud.tencent.com/document/api/1552/73155#RateLimitUserRule) +* [SecurityConfig](https://cloud.tencent.com/document/api/1552/73155#SecurityConfig) +* [SecurityEntity](https://cloud.tencent.com/document/api/1552/73155#SecurityEntity) +* [ShieldArea](https://cloud.tencent.com/document/api/1552/73155#ShieldArea) +* [SwitchConfig](https://cloud.tencent.com/document/api/1552/73155#SwitchConfig) +* [WafConfig](https://cloud.tencent.com/document/api/1552/73155#WafConfig) +* [WafRule](https://cloud.tencent.com/document/api/1552/73155#WafRule) ### 第 5 次发布 @@ -66790,6 +66717,18 @@ ## 图像分析(tiia) 版本:2019-05-29 +### 第 22 次发布 + +发布时间:2022-06-09 06:18:37 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DetectLabelPro](https://cloud.tencent.com/document/api/865/75196)](https://cloud.tencent.com/document/api/#/#) + ### 第 21 次发布 发布时间:2022-06-03 06:14:26 @@ -67513,76 +67452,76 @@ 新增接口: -* [[CreateTrainingModel](https://cloud.tencent.com/document/api/851/75074)](https://cloud.tencent.com/document/api/#/#) -* [[CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteDataset](https://cloud.tencent.com/document/api/851/75080)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteTrainingModel](https://cloud.tencent.com/document/api/851/75073)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteTrainingModelVersion](https://cloud.tencent.com/document/api/851/75072)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteTrainingTask](https://cloud.tencent.com/document/api/851/75093)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeBillingResourceGroups](https://cloud.tencent.com/document/api/851/75065)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeBillingSpecsPrice](https://cloud.tencent.com/document/api/851/75067)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeDatasetDetailStructured](https://cloud.tencent.com/document/api/851/75079)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeDatasetDetailUnstructured](https://cloud.tencent.com/document/api/851/75078)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeDatasets](https://cloud.tencent.com/document/api/851/75077)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeInferTemplates](https://cloud.tencent.com/document/api/851/75082)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeLatestTrainingMetrics](https://cloud.tencent.com/document/api/851/75092)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeLogs](https://cloud.tencent.com/document/api/851/75076)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingFrameworks](https://cloud.tencent.com/document/api/851/75091)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingMetrics](https://cloud.tencent.com/document/api/851/75090)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingModelVersion](https://cloud.tencent.com/document/api/851/75071)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingModelVersions](https://cloud.tencent.com/document/api/851/75070)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingModels](https://cloud.tencent.com/document/api/851/75069)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingTask](https://cloud.tencent.com/document/api/851/75089)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingTaskPods](https://cloud.tencent.com/document/api/851/75088)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTrainingTasks](https://cloud.tencent.com/document/api/851/75087)](https://cloud.tencent.com/document/api/#/#) -* [[PushTrainingMetrics](https://cloud.tencent.com/document/api/851/75086)](https://cloud.tencent.com/document/api/#/#) -* [[StartTrainingTask](https://cloud.tencent.com/document/api/851/75085)](https://cloud.tencent.com/document/api/#/#) -* [[StopTrainingTask](https://cloud.tencent.com/document/api/851/75084)](https://cloud.tencent.com/document/api/#/#) - -新增数据结构: - -* [[CFSConfig](https://cloud.tencent.com/document/api/851/75051#CFSConfig)](https://cloud.tencent.com/document/api/851/75051#[CFSConfig](https://cloud.tencent.com/document/api/851/75051#CFSConfig)) -* [[CustomTrainingData](https://cloud.tencent.com/document/api/851/75051#CustomTrainingData)](https://cloud.tencent.com/document/api/851/75051#[CustomTrainingData](https://cloud.tencent.com/document/api/851/75051#CustomTrainingData)) -* [[CustomTrainingMetric](https://cloud.tencent.com/document/api/851/75051#CustomTrainingMetric)](https://cloud.tencent.com/document/api/851/75051#[CustomTrainingMetric](https://cloud.tencent.com/document/api/851/75051#CustomTrainingMetric)) -* [[CustomTrainingPoint](https://cloud.tencent.com/document/api/851/75051#CustomTrainingPoint)](https://cloud.tencent.com/document/api/851/75051#[CustomTrainingPoint](https://cloud.tencent.com/document/api/851/75051#CustomTrainingPoint)) -* [[DataConfig](https://cloud.tencent.com/document/api/851/75051#DataConfig)](https://cloud.tencent.com/document/api/851/75051#[DataConfig](https://cloud.tencent.com/document/api/851/75051#DataConfig)) -* [[DataPoint](https://cloud.tencent.com/document/api/851/75051#DataPoint)](https://cloud.tencent.com/document/api/851/75051#[DataPoint](https://cloud.tencent.com/document/api/851/75051#DataPoint)) -* [[DataSetConfig](https://cloud.tencent.com/document/api/851/75051#DataSetConfig)](https://cloud.tencent.com/document/api/851/75051#[DataSetConfig](https://cloud.tencent.com/document/api/851/75051#DataSetConfig)) -* [[DatasetGroup](https://cloud.tencent.com/document/api/851/75051#DatasetGroup)](https://cloud.tencent.com/document/api/851/75051#[DatasetGroup](https://cloud.tencent.com/document/api/851/75051#DatasetGroup)) -* [[DatasetInfo](https://cloud.tencent.com/document/api/851/75051#DatasetInfo)](https://cloud.tencent.com/document/api/851/75051#[DatasetInfo](https://cloud.tencent.com/document/api/851/75051#DatasetInfo)) -* [[DetectionLabelInfo](https://cloud.tencent.com/document/api/851/75051#DetectionLabelInfo)](https://cloud.tencent.com/document/api/851/75051#[DetectionLabelInfo](https://cloud.tencent.com/document/api/851/75051#DetectionLabelInfo)) -* [[Filter](https://cloud.tencent.com/document/api/851/75051#Filter)](https://cloud.tencent.com/document/api/851/75051#[Filter](https://cloud.tencent.com/document/api/851/75051#Filter)) -* [[FilterLabelInfo](https://cloud.tencent.com/document/api/851/75051#FilterLabelInfo)](https://cloud.tencent.com/document/api/851/75051#[FilterLabelInfo](https://cloud.tencent.com/document/api/851/75051#FilterLabelInfo)) -* [[FrameworkInfo](https://cloud.tencent.com/document/api/851/75051#FrameworkInfo)](https://cloud.tencent.com/document/api/851/75051#[FrameworkInfo](https://cloud.tencent.com/document/api/851/75051#FrameworkInfo)) -* [[FrameworkVersion](https://cloud.tencent.com/document/api/851/75051#FrameworkVersion)](https://cloud.tencent.com/document/api/851/75051#[FrameworkVersion](https://cloud.tencent.com/document/api/851/75051#FrameworkVersion)) -* [[GpuDetail](https://cloud.tencent.com/document/api/851/75051#GpuDetail)](https://cloud.tencent.com/document/api/851/75051#[GpuDetail](https://cloud.tencent.com/document/api/851/75051#GpuDetail)) -* [[GroupResource](https://cloud.tencent.com/document/api/851/75051#GroupResource)](https://cloud.tencent.com/document/api/851/75051#[GroupResource](https://cloud.tencent.com/document/api/851/75051#GroupResource)) -* [[HDFSConfig](https://cloud.tencent.com/document/api/851/75051#HDFSConfig)](https://cloud.tencent.com/document/api/851/75051#[HDFSConfig](https://cloud.tencent.com/document/api/851/75051#HDFSConfig)) -* [[ImageInfo](https://cloud.tencent.com/document/api/851/75051#ImageInfo)](https://cloud.tencent.com/document/api/851/75051#[ImageInfo](https://cloud.tencent.com/document/api/851/75051#ImageInfo)) -* [[InferTemplate](https://cloud.tencent.com/document/api/851/75051#InferTemplate)](https://cloud.tencent.com/document/api/851/75051#[InferTemplate](https://cloud.tencent.com/document/api/851/75051#InferTemplate)) -* [[InferTemplateGroup](https://cloud.tencent.com/document/api/851/75051#InferTemplateGroup)](https://cloud.tencent.com/document/api/851/75051#[InferTemplateGroup](https://cloud.tencent.com/document/api/851/75051#InferTemplateGroup)) -* [[Instance](https://cloud.tencent.com/document/api/851/75051#Instance)](https://cloud.tencent.com/document/api/851/75051#[Instance](https://cloud.tencent.com/document/api/851/75051#Instance)) -* [[LogConfig](https://cloud.tencent.com/document/api/851/75051#LogConfig)](https://cloud.tencent.com/document/api/851/75051#[LogConfig](https://cloud.tencent.com/document/api/851/75051#LogConfig)) -* [[LogIdentity](https://cloud.tencent.com/document/api/851/75051#LogIdentity)](https://cloud.tencent.com/document/api/851/75051#[LogIdentity](https://cloud.tencent.com/document/api/851/75051#LogIdentity)) -* [[MetricData](https://cloud.tencent.com/document/api/851/75051#MetricData)](https://cloud.tencent.com/document/api/851/75051#[MetricData](https://cloud.tencent.com/document/api/851/75051#MetricData)) -* [[OcrLabelInfo](https://cloud.tencent.com/document/api/851/75051#OcrLabelInfo)](https://cloud.tencent.com/document/api/851/75051#[OcrLabelInfo](https://cloud.tencent.com/document/api/851/75051#OcrLabelInfo)) -* [[PointInfo](https://cloud.tencent.com/document/api/851/75051#PointInfo)](https://cloud.tencent.com/document/api/851/75051#[PointInfo](https://cloud.tencent.com/document/api/851/75051#PointInfo)) -* [[ResourceConfigInfo](https://cloud.tencent.com/document/api/851/75051#ResourceConfigInfo)](https://cloud.tencent.com/document/api/851/75051#[ResourceConfigInfo](https://cloud.tencent.com/document/api/851/75051#ResourceConfigInfo)) -* [[ResourceGroup](https://cloud.tencent.com/document/api/851/75051#ResourceGroup)](https://cloud.tencent.com/document/api/851/75051#[ResourceGroup](https://cloud.tencent.com/document/api/851/75051#ResourceGroup)) -* [[ResourceInfo](https://cloud.tencent.com/document/api/851/75051#ResourceInfo)](https://cloud.tencent.com/document/api/851/75051#[ResourceInfo](https://cloud.tencent.com/document/api/851/75051#ResourceInfo)) -* [[RowItem](https://cloud.tencent.com/document/api/851/75051#RowItem)](https://cloud.tencent.com/document/api/851/75051#[RowItem](https://cloud.tencent.com/document/api/851/75051#RowItem)) -* [[RowValue](https://cloud.tencent.com/document/api/851/75051#RowValue)](https://cloud.tencent.com/document/api/851/75051#[RowValue](https://cloud.tencent.com/document/api/851/75051#RowValue)) -* [[SegmentationInfo](https://cloud.tencent.com/document/api/851/75051#SegmentationInfo)](https://cloud.tencent.com/document/api/851/75051#[SegmentationInfo](https://cloud.tencent.com/document/api/851/75051#SegmentationInfo)) -* [[SpecPrice](https://cloud.tencent.com/document/api/851/75051#SpecPrice)](https://cloud.tencent.com/document/api/851/75051#[SpecPrice](https://cloud.tencent.com/document/api/851/75051#SpecPrice)) -* [[SpecUnit](https://cloud.tencent.com/document/api/851/75051#SpecUnit)](https://cloud.tencent.com/document/api/851/75051#[SpecUnit](https://cloud.tencent.com/document/api/851/75051#SpecUnit)) -* [[StartCmdInfo](https://cloud.tencent.com/document/api/851/75051#StartCmdInfo)](https://cloud.tencent.com/document/api/851/75051#[StartCmdInfo](https://cloud.tencent.com/document/api/851/75051#StartCmdInfo)) -* [[TagFilter](https://cloud.tencent.com/document/api/851/75051#TagFilter)](https://cloud.tencent.com/document/api/851/75051#[TagFilter](https://cloud.tencent.com/document/api/851/75051#TagFilter)) -* [[TrainingDataPoint](https://cloud.tencent.com/document/api/851/75051#TrainingDataPoint)](https://cloud.tencent.com/document/api/851/75051#[TrainingDataPoint](https://cloud.tencent.com/document/api/851/75051#TrainingDataPoint)) -* [[TrainingMetric](https://cloud.tencent.com/document/api/851/75051#TrainingMetric)](https://cloud.tencent.com/document/api/851/75051#[TrainingMetric](https://cloud.tencent.com/document/api/851/75051#TrainingMetric)) -* [[TrainingModelDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelDTO)](https://cloud.tencent.com/document/api/851/75051#[TrainingModelDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelDTO)) -* [[TrainingModelVersionDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelVersionDTO)](https://cloud.tencent.com/document/api/851/75051#[TrainingModelVersionDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelVersionDTO)) -* [[TrainingTaskDetail](https://cloud.tencent.com/document/api/851/75051#TrainingTaskDetail)](https://cloud.tencent.com/document/api/851/75051#[TrainingTaskDetail](https://cloud.tencent.com/document/api/851/75051#TrainingTaskDetail)) -* [[TrainingTaskSetItem](https://cloud.tencent.com/document/api/851/75051#TrainingTaskSetItem)](https://cloud.tencent.com/document/api/851/75051#[TrainingTaskSetItem](https://cloud.tencent.com/document/api/851/75051#TrainingTaskSetItem)) +* [CreateTrainingModel](https://cloud.tencent.com/document/api/851/75074) +* [CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094) +* [DeleteDataset](https://cloud.tencent.com/document/api/851/75080) +* [DeleteTrainingModel](https://cloud.tencent.com/document/api/851/75073) +* [DeleteTrainingModelVersion](https://cloud.tencent.com/document/api/851/75072) +* [DeleteTrainingTask](https://cloud.tencent.com/document/api/851/75093) +* [DescribeBillingResourceGroups](https://cloud.tencent.com/document/api/851/75065) +* [DescribeBillingSpecsPrice](https://cloud.tencent.com/document/api/851/75067) +* [DescribeDatasetDetailStructured](https://cloud.tencent.com/document/api/851/75079) +* [DescribeDatasetDetailUnstructured](https://cloud.tencent.com/document/api/851/75078) +* [DescribeDatasets](https://cloud.tencent.com/document/api/851/75077) +* [DescribeInferTemplates](https://cloud.tencent.com/document/api/851/75082) +* [DescribeLatestTrainingMetrics](https://cloud.tencent.com/document/api/851/75092) +* [DescribeLogs](https://cloud.tencent.com/document/api/851/75076) +* [DescribeTrainingFrameworks](https://cloud.tencent.com/document/api/851/75091) +* [DescribeTrainingMetrics](https://cloud.tencent.com/document/api/851/75090) +* [DescribeTrainingModelVersion](https://cloud.tencent.com/document/api/851/75071) +* [DescribeTrainingModelVersions](https://cloud.tencent.com/document/api/851/75070) +* [DescribeTrainingModels](https://cloud.tencent.com/document/api/851/75069) +* [DescribeTrainingTask](https://cloud.tencent.com/document/api/851/75089) +* [DescribeTrainingTaskPods](https://cloud.tencent.com/document/api/851/75088) +* [DescribeTrainingTasks](https://cloud.tencent.com/document/api/851/75087) +* [PushTrainingMetrics](https://cloud.tencent.com/document/api/851/75086) +* [StartTrainingTask](https://cloud.tencent.com/document/api/851/75085) +* [StopTrainingTask](https://cloud.tencent.com/document/api/851/75084) + +新增数据结构: + +* [CFSConfig](https://cloud.tencent.com/document/api/851/75051#CFSConfig) +* [CustomTrainingData](https://cloud.tencent.com/document/api/851/75051#CustomTrainingData) +* [CustomTrainingMetric](https://cloud.tencent.com/document/api/851/75051#CustomTrainingMetric) +* [CustomTrainingPoint](https://cloud.tencent.com/document/api/851/75051#CustomTrainingPoint) +* [DataConfig](https://cloud.tencent.com/document/api/851/75051#DataConfig) +* [DataPoint](https://cloud.tencent.com/document/api/851/75051#DataPoint) +* [DataSetConfig](https://cloud.tencent.com/document/api/851/75051#DataSetConfig) +* [DatasetGroup](https://cloud.tencent.com/document/api/851/75051#DatasetGroup) +* [DatasetInfo](https://cloud.tencent.com/document/api/851/75051#DatasetInfo) +* [DetectionLabelInfo](https://cloud.tencent.com/document/api/851/75051#DetectionLabelInfo) +* [Filter](https://cloud.tencent.com/document/api/851/75051#Filter) +* [FilterLabelInfo](https://cloud.tencent.com/document/api/851/75051#FilterLabelInfo) +* [FrameworkInfo](https://cloud.tencent.com/document/api/851/75051#FrameworkInfo) +* [FrameworkVersion](https://cloud.tencent.com/document/api/851/75051#FrameworkVersion) +* [GpuDetail](https://cloud.tencent.com/document/api/851/75051#GpuDetail) +* [GroupResource](https://cloud.tencent.com/document/api/851/75051#GroupResource) +* [HDFSConfig](https://cloud.tencent.com/document/api/851/75051#HDFSConfig) +* [ImageInfo](https://cloud.tencent.com/document/api/851/75051#ImageInfo) +* [InferTemplate](https://cloud.tencent.com/document/api/851/75051#InferTemplate) +* [InferTemplateGroup](https://cloud.tencent.com/document/api/851/75051#InferTemplateGroup) +* [Instance](https://cloud.tencent.com/document/api/851/75051#Instance) +* [LogConfig](https://cloud.tencent.com/document/api/851/75051#LogConfig) +* [LogIdentity](https://cloud.tencent.com/document/api/851/75051#LogIdentity) +* [MetricData](https://cloud.tencent.com/document/api/851/75051#MetricData) +* [OcrLabelInfo](https://cloud.tencent.com/document/api/851/75051#OcrLabelInfo) +* [PointInfo](https://cloud.tencent.com/document/api/851/75051#PointInfo) +* [ResourceConfigInfo](https://cloud.tencent.com/document/api/851/75051#ResourceConfigInfo) +* [ResourceGroup](https://cloud.tencent.com/document/api/851/75051#ResourceGroup) +* [ResourceInfo](https://cloud.tencent.com/document/api/851/75051#ResourceInfo) +* [RowItem](https://cloud.tencent.com/document/api/851/75051#RowItem) +* [RowValue](https://cloud.tencent.com/document/api/851/75051#RowValue) +* [SegmentationInfo](https://cloud.tencent.com/document/api/851/75051#SegmentationInfo) +* [SpecPrice](https://cloud.tencent.com/document/api/851/75051#SpecPrice) +* [SpecUnit](https://cloud.tencent.com/document/api/851/75051#SpecUnit) +* [StartCmdInfo](https://cloud.tencent.com/document/api/851/75051#StartCmdInfo) +* [TagFilter](https://cloud.tencent.com/document/api/851/75051#TagFilter) +* [TrainingDataPoint](https://cloud.tencent.com/document/api/851/75051#TrainingDataPoint) +* [TrainingMetric](https://cloud.tencent.com/document/api/851/75051#TrainingMetric) +* [TrainingModelDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelDTO) +* [TrainingModelVersionDTO](https://cloud.tencent.com/document/api/851/75051#TrainingModelVersionDTO) +* [TrainingTaskDetail](https://cloud.tencent.com/document/api/851/75051#TrainingTaskDetail) +* [TrainingTaskSetItem](https://cloud.tencent.com/document/api/851/75051#TrainingTaskSetItem) ### 第 1 次发布 @@ -67594,13 +67533,13 @@ 新增接口: -* [[CreateDataset](https://cloud.tencent.com/document/api/851/75050)](https://cloud.tencent.com/document/api/#/#) +* [CreateDataset](https://cloud.tencent.com/document/api/851/75050) 新增数据结构: -* [[CosPathInfo](https://cloud.tencent.com/document/api/851/75051#CosPathInfo)](https://cloud.tencent.com/document/api/851/75051#[CosPathInfo](https://cloud.tencent.com/document/api/851/75051#CosPathInfo)) -* [[SchemaInfo](https://cloud.tencent.com/document/api/851/75051#SchemaInfo)](https://cloud.tencent.com/document/api/851/75051#[SchemaInfo](https://cloud.tencent.com/document/api/851/75051#SchemaInfo)) -* [[Tag](https://cloud.tencent.com/document/api/851/75051#Tag)](https://cloud.tencent.com/document/api/851/75051#[Tag](https://cloud.tencent.com/document/api/851/75051#Tag)) +* [CosPathInfo](https://cloud.tencent.com/document/api/851/75051#CosPathInfo) +* [SchemaInfo](https://cloud.tencent.com/document/api/851/75051#SchemaInfo) +* [Tag](https://cloud.tencent.com/document/api/851/75051#Tag) @@ -68083,6 +68022,25 @@ ## 容器服务(tke) 版本:2018-05-25 +### 第 104 次发布 + +发布时间:2022-06-09 06:18:50 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateEKSCluster](https://cloud.tencent.com/document/api/457/52353) + + * 新增入参:SubnetInfos + + +新增数据结构: + +* [[SubnetInfos](https://cloud.tencent.com/document/api/457/31866#SubnetInfos)](https://cloud.tencent.com/document/api/457/31866#[SubnetInfos](https://cloud.tencent.com/document/api/457/31866#SubnetInfos)) + ### 第 103 次发布 发布时间:2022-06-03 06:14:39 @@ -70526,47 +70484,47 @@ 新增接口: -* [[CreateCodeBatch](https://cloud.tencent.com/document/api/1458/75029)](https://cloud.tencent.com/document/api/#/#) -* [[CreateCodePack](https://cloud.tencent.com/document/api/1458/75028)](https://cloud.tencent.com/document/api/#/#) -* [[CreateMerchant](https://cloud.tencent.com/document/api/1458/75027)](https://cloud.tencent.com/document/api/#/#) -* [[CreateProduct](https://cloud.tencent.com/document/api/1458/75026)](https://cloud.tencent.com/document/api/#/#) -* [[CreateTraceChain](https://cloud.tencent.com/document/api/1458/75025)](https://cloud.tencent.com/document/api/#/#) -* [[CreateTraceCodes](https://cloud.tencent.com/document/api/1458/75024)](https://cloud.tencent.com/document/api/#/#) -* [[CreateTraceData](https://cloud.tencent.com/document/api/1458/75023)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteCodeBatch](https://cloud.tencent.com/document/api/1458/75022)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteMerchant](https://cloud.tencent.com/document/api/1458/75021)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteProduct](https://cloud.tencent.com/document/api/1458/75020)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteTraceData](https://cloud.tencent.com/document/api/1458/75019)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCodeBatchById](https://cloud.tencent.com/document/api/1458/75018)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCodeBatchs](https://cloud.tencent.com/document/api/1458/75017)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCodePacks](https://cloud.tencent.com/document/api/1458/75016)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCodesByPack](https://cloud.tencent.com/document/api/1458/75015)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeMerchantById](https://cloud.tencent.com/document/api/1458/75014)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeMerchants](https://cloud.tencent.com/document/api/1458/75013)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeProductById](https://cloud.tencent.com/document/api/1458/75012)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeProducts](https://cloud.tencent.com/document/api/1458/75011)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTraceCodeById](https://cloud.tencent.com/document/api/1458/75010)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTraceCodes](https://cloud.tencent.com/document/api/1458/75009)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTraceDataList](https://cloud.tencent.com/document/api/1458/75008)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyCodeBatch](https://cloud.tencent.com/document/api/1458/75007)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyMerchant](https://cloud.tencent.com/document/api/1458/75006)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyProduct](https://cloud.tencent.com/document/api/1458/75005)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyTraceCode](https://cloud.tencent.com/document/api/1458/75004)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyTraceData](https://cloud.tencent.com/document/api/1458/75003)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyTraceDataRanks](https://cloud.tencent.com/document/api/1458/75002)](https://cloud.tencent.com/document/api/#/#) +* [CreateCodeBatch](https://cloud.tencent.com/document/api/1458/75029) +* [CreateCodePack](https://cloud.tencent.com/document/api/1458/75028) +* [CreateMerchant](https://cloud.tencent.com/document/api/1458/75027) +* [CreateProduct](https://cloud.tencent.com/document/api/1458/75026) +* [CreateTraceChain](https://cloud.tencent.com/document/api/1458/75025) +* [CreateTraceCodes](https://cloud.tencent.com/document/api/1458/75024) +* [CreateTraceData](https://cloud.tencent.com/document/api/1458/75023) +* [DeleteCodeBatch](https://cloud.tencent.com/document/api/1458/75022) +* [DeleteMerchant](https://cloud.tencent.com/document/api/1458/75021) +* [DeleteProduct](https://cloud.tencent.com/document/api/1458/75020) +* [DeleteTraceData](https://cloud.tencent.com/document/api/1458/75019) +* [DescribeCodeBatchById](https://cloud.tencent.com/document/api/1458/75018) +* [DescribeCodeBatchs](https://cloud.tencent.com/document/api/1458/75017) +* [DescribeCodePacks](https://cloud.tencent.com/document/api/1458/75016) +* [DescribeCodesByPack](https://cloud.tencent.com/document/api/1458/75015) +* [DescribeMerchantById](https://cloud.tencent.com/document/api/1458/75014) +* [DescribeMerchants](https://cloud.tencent.com/document/api/1458/75013) +* [DescribeProductById](https://cloud.tencent.com/document/api/1458/75012) +* [DescribeProducts](https://cloud.tencent.com/document/api/1458/75011) +* [DescribeTraceCodeById](https://cloud.tencent.com/document/api/1458/75010) +* [DescribeTraceCodes](https://cloud.tencent.com/document/api/1458/75009) +* [DescribeTraceDataList](https://cloud.tencent.com/document/api/1458/75008) +* [ModifyCodeBatch](https://cloud.tencent.com/document/api/1458/75007) +* [ModifyMerchant](https://cloud.tencent.com/document/api/1458/75006) +* [ModifyProduct](https://cloud.tencent.com/document/api/1458/75005) +* [ModifyTraceCode](https://cloud.tencent.com/document/api/1458/75004) +* [ModifyTraceData](https://cloud.tencent.com/document/api/1458/75003) +* [ModifyTraceDataRanks](https://cloud.tencent.com/document/api/1458/75002) 新增数据结构: -* [[ChainData](https://cloud.tencent.com/document/api/1458/75030#ChainData)](https://cloud.tencent.com/document/api/1458/75030#[ChainData](https://cloud.tencent.com/document/api/1458/75030#ChainData)) -* [[CodeBatch](https://cloud.tencent.com/document/api/1458/75030#CodeBatch)](https://cloud.tencent.com/document/api/1458/75030#[CodeBatch](https://cloud.tencent.com/document/api/1458/75030#CodeBatch)) -* [[CodeItem](https://cloud.tencent.com/document/api/1458/75030#CodeItem)](https://cloud.tencent.com/document/api/1458/75030#[CodeItem](https://cloud.tencent.com/document/api/1458/75030#CodeItem)) -* [[Ext](https://cloud.tencent.com/document/api/1458/75030#Ext)](https://cloud.tencent.com/document/api/1458/75030#[Ext](https://cloud.tencent.com/document/api/1458/75030#Ext)) -* [[Merchant](https://cloud.tencent.com/document/api/1458/75030#Merchant)](https://cloud.tencent.com/document/api/1458/75030#[Merchant](https://cloud.tencent.com/document/api/1458/75030#Merchant)) -* [[PackSpec](https://cloud.tencent.com/document/api/1458/75030#PackSpec)](https://cloud.tencent.com/document/api/1458/75030#[PackSpec](https://cloud.tencent.com/document/api/1458/75030#PackSpec)) -* [[Product](https://cloud.tencent.com/document/api/1458/75030#Product)](https://cloud.tencent.com/document/api/1458/75030#[Product](https://cloud.tencent.com/document/api/1458/75030#Product)) -* [[TraceCode](https://cloud.tencent.com/document/api/1458/75030#TraceCode)](https://cloud.tencent.com/document/api/1458/75030#[TraceCode](https://cloud.tencent.com/document/api/1458/75030#TraceCode)) -* [[TraceData](https://cloud.tencent.com/document/api/1458/75030#TraceData)](https://cloud.tencent.com/document/api/1458/75030#[TraceData](https://cloud.tencent.com/document/api/1458/75030#TraceData)) -* [[TraceItem](https://cloud.tencent.com/document/api/1458/75030#TraceItem)](https://cloud.tencent.com/document/api/1458/75030#[TraceItem](https://cloud.tencent.com/document/api/1458/75030#TraceItem)) +* [ChainData](https://cloud.tencent.com/document/api/1458/75030#ChainData) +* [CodeBatch](https://cloud.tencent.com/document/api/1458/75030#CodeBatch) +* [CodeItem](https://cloud.tencent.com/document/api/1458/75030#CodeItem) +* [Ext](https://cloud.tencent.com/document/api/1458/75030#Ext) +* [Merchant](https://cloud.tencent.com/document/api/1458/75030#Merchant) +* [PackSpec](https://cloud.tencent.com/document/api/1458/75030#PackSpec) +* [Product](https://cloud.tencent.com/document/api/1458/75030#Product) +* [TraceCode](https://cloud.tencent.com/document/api/1458/75030#TraceCode) +* [TraceData](https://cloud.tencent.com/document/api/1458/75030#TraceData) +* [TraceItem](https://cloud.tencent.com/document/api/1458/75030#TraceItem) @@ -73782,6 +73740,26 @@ ## 视频内容安全(vm) 版本:2020-12-29 +### 第 4 次发布 + +发布时间:2022-06-09 06:19:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [[RecognitionResult](https://cloud.tencent.com/document/api/1265/51881#RecognitionResult)](https://cloud.tencent.com/document/api/1265/51881#[RecognitionResult](https://cloud.tencent.com/document/api/1265/51881#RecognitionResult)) +* [[Tag](https://cloud.tencent.com/document/api/1265/51881#Tag)](https://cloud.tencent.com/document/api/1265/51881#[Tag](https://cloud.tencent.com/document/api/1265/51881#Tag)) + +修改数据结构: + +* [AudioResult](https://cloud.tencent.com/document/api/1265/51881#AudioResult) + + * 新增成员:RecognitionResults + + ### 第 3 次发布 发布时间:2021-12-20 08:14:38 diff --git a/products.md b/products.md index effc89cde..55c7de49b 100644 --- a/products.md +++ b/products.md @@ -2,11 +2,12 @@ |-|-|-| | aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-04-04 06:03:06 | | aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 | +| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-06-08 15:18:26 | | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-06-08 06:03:05 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 | | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 | -| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-04-04 06:03:33 | +| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-06-09 06:05:24 | | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-05-17 06:03:35 | | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 | | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 | @@ -14,7 +15,7 @@ | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-04-21 06:05:25 | | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-05-17 11:59:15 | | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-06-02 06:02:22 | -| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-05-26 06:06:08 | +| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-06-09 06:06:03 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 | | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 | | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-05-31 06:04:46 | @@ -27,7 +28,7 @@ | bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2022-04-04 06:09:37 | | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-04-15 06:02:36 | | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 | -| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-04-25 06:01:56 | +| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-06-09 06:06:39 | | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-04-04 06:10:17 | | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-05-25 06:03:56 | | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-04-12 06:07:13 | @@ -77,10 +78,10 @@ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-05-26 06:11:01 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 | | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 | -| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-05-20 06:11:20 | +| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-06-09 06:11:09 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 | | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 | -| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-08 06:09:23 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-09 06:11:36 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-06-08 06:09:29 | | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-07 06:07:22 | | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-02 06:08:13 | @@ -111,13 +112,14 @@ | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-05-26 17:59:01 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-06-01 06:12:55 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-06-01 06:13:02 | -| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-08 06:11:54 | +| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-09 06:14:00 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 | | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-05-25 06:11:46 | | market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 | | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 | | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 | +| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-08 15:18:22 | | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 | | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-26 06:14:37 | @@ -129,7 +131,7 @@ | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-06-08 06:13:07 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-08 06:13:12 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-09 06:15:14 | | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-05-30 06:11:27 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 | | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 | @@ -171,7 +173,7 @@ | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 | | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-05-25 06:15:53 | -| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-08 06:16:15 | +| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-09 06:18:14 | | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-08 06:16:20 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | @@ -179,10 +181,10 @@ | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 | | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 | | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-04-04 07:17:01 | -| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-03 06:14:26 | +| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-09 06:18:37 | | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-06-07 22:05:59 | | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 | -| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-03 06:14:39 | +| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-09 06:18:50 | | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 | | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 | | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 | @@ -193,9 +195,9 @@ | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 | | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 | | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 | -| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-05-10 06:14:42 | +| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-09 06:19:53 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 | -| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-01 06:18:42 | +| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-09 06:19:56 | | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-02 06:17:13 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-12 06:19:46 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 | diff --git a/tencentcloud/__init__.py b/tencentcloud/__init__.py index dfc2f1393..28a567c47 100644 --- a/tencentcloud/__init__.py +++ b/tencentcloud/__init__.py @@ -14,4 +14,4 @@ # limitations under the License. -__version__ = '3.0.650' +__version__ = '3.0.651' diff --git a/tencentcloud/acp/__init__.py b/tencentcloud/acp/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tencentcloud/acp/v20220105/__init__.py b/tencentcloud/acp/v20220105/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tencentcloud/acp/v20220105/acp_client.py b/tencentcloud/acp/v20220105/acp_client.py new file mode 100644 index 000000000..160eafb55 --- /dev/null +++ b/tencentcloud/acp/v20220105/acp_client.py @@ -0,0 +1,200 @@ +# -*- coding: utf8 -*- +# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import json + +from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException +from tencentcloud.common.abstract_client import AbstractClient +from tencentcloud.acp.v20220105 import models + + +class AcpClient(AbstractClient): + _apiVersion = '2022-01-05' + _endpoint = 'acp.tencentcloudapi.com' + _service = 'acp' + + + def CreateAppScanTask(self, request): + """创建应用合规隐私诊断任务 + + :param request: Request instance for CreateAppScanTask. + :type request: :class:`tencentcloud.acp.v20220105.models.CreateAppScanTaskRequest` + :rtype: :class:`tencentcloud.acp.v20220105.models.CreateAppScanTaskResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("CreateAppScanTask", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.CreateAppScanTaskResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def CreateAppScanTaskRepeat(self, request): + """App应用合规隐私诊断重试任务 + + :param request: Request instance for CreateAppScanTaskRepeat. + :type request: :class:`tencentcloud.acp.v20220105.models.CreateAppScanTaskRepeatRequest` + :rtype: :class:`tencentcloud.acp.v20220105.models.CreateAppScanTaskRepeatResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("CreateAppScanTaskRepeat", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.CreateAppScanTaskRepeatResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeFileTicket(self, request): + """获取应用合规文件上传凭证,用于上传诊断文件 + + :param request: Request instance for DescribeFileTicket. + :type request: :class:`tencentcloud.acp.v20220105.models.DescribeFileTicketRequest` + :rtype: :class:`tencentcloud.acp.v20220105.models.DescribeFileTicketResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeFileTicket", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeFileTicketResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeScanTaskList(self, request): + """获取App隐私合规诊断任务列表 + + :param request: Request instance for DescribeScanTaskList. + :type request: :class:`tencentcloud.acp.v20220105.models.DescribeScanTaskListRequest` + :rtype: :class:`tencentcloud.acp.v20220105.models.DescribeScanTaskListResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeScanTaskList", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeScanTaskListResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeScanTaskReportUrl(self, request): + """获取App合规诊断任务报告url + + :param request: Request instance for DescribeScanTaskReportUrl. + :type request: :class:`tencentcloud.acp.v20220105.models.DescribeScanTaskReportUrlRequest` + :rtype: :class:`tencentcloud.acp.v20220105.models.DescribeScanTaskReportUrlResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeScanTaskReportUrl", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeScanTaskReportUrlResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeScanTaskStatus(self, request): + """查询App隐私合规诊断任务状态 + + :param request: Request instance for DescribeScanTaskStatus. + :type request: :class:`tencentcloud.acp.v20220105.models.DescribeScanTaskStatusRequest` + :rtype: :class:`tencentcloud.acp.v20220105.models.DescribeScanTaskStatusResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeScanTaskStatus", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeScanTaskStatusResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) \ No newline at end of file diff --git a/tencentcloud/acp/v20220105/errorcodes.py b/tencentcloud/acp/v20220105/errorcodes.py new file mode 100644 index 000000000..263af87af --- /dev/null +++ b/tencentcloud/acp/v20220105/errorcodes.py @@ -0,0 +1,21 @@ +# -*- coding: utf8 -*- +# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +# 操作失败。 +FAILEDOPERATION = 'FailedOperation' + +# 操作不支持。 +UNSUPPORTEDOPERATION = 'UnsupportedOperation' diff --git a/tencentcloud/acp/v20220105/models.py b/tencentcloud/acp/v20220105/models.py new file mode 100644 index 000000000..4e9d13c7f --- /dev/null +++ b/tencentcloud/acp/v20220105/models.py @@ -0,0 +1,704 @@ +# -*- coding: utf8 -*- +# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import warnings + +from tencentcloud.common.abstract_model import AbstractModel + + +class AppInfoItem(AbstractModel): + """应用合规隐私诊断任务应用数据信息 + + """ + + def __init__(self): + r""" + :param AppPackage: App包名 + :type AppPackage: str + :param AppName: App名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type AppName: str + :param AppVersion: App版本 +注意:此字段可能返回 null,表示取不到有效值。 + :type AppVersion: str + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param ReportUrl: App隐私诊断报告下载链接 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportUrl: str + :param ReportTitle: App隐私诊断报告名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportTitle: str + :param BehaviorUrl: App诊断堆栈报告下载链接 +注意:此字段可能返回 null,表示取不到有效值。 + :type BehaviorUrl: str + :param BehaviorTitle: App诊断堆栈报告名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type BehaviorTitle: str + :param HighRiskCount: 诊断高风险项数量 +注意:此字段可能返回 null,表示取不到有效值。 + :type HighRiskCount: int + :param PrivacyTextName: 隐私申明文件名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type PrivacyTextName: str + :param SoftwareMD5: 软件MD5 +注意:此字段可能返回 null,表示取不到有效值。 + :type SoftwareMD5: str + :param PrivacyTextMD5: 隐私文本MD5 +注意:此字段可能返回 null,表示取不到有效值。 + :type PrivacyTextMD5: str + """ + self.AppPackage = None + self.AppName = None + self.AppVersion = None + self.Platform = None + self.ReportUrl = None + self.ReportTitle = None + self.BehaviorUrl = None + self.BehaviorTitle = None + self.HighRiskCount = None + self.PrivacyTextName = None + self.SoftwareMD5 = None + self.PrivacyTextMD5 = None + + + def _deserialize(self, params): + self.AppPackage = params.get("AppPackage") + self.AppName = params.get("AppName") + self.AppVersion = params.get("AppVersion") + self.Platform = params.get("Platform") + self.ReportUrl = params.get("ReportUrl") + self.ReportTitle = params.get("ReportTitle") + self.BehaviorUrl = params.get("BehaviorUrl") + self.BehaviorTitle = params.get("BehaviorTitle") + self.HighRiskCount = params.get("HighRiskCount") + self.PrivacyTextName = params.get("PrivacyTextName") + self.SoftwareMD5 = params.get("SoftwareMD5") + self.PrivacyTextMD5 = params.get("PrivacyTextMD5") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class AppTaskData(AbstractModel): + """应用合规隐私诊断任务数据 + + """ + + def __init__(self): + r""" + :param TaskID: 任务ID + :type TaskID: str + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param TaskStatus: 0:默认值(待检测/待咨询), 1.检测中, 2:待评估, 3:评估中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中; + :type TaskStatus: int + :param TaskErrMsg: 错误信息 +注意:此字段可能返回 null,表示取不到有效值。 + :type TaskErrMsg: str + :param Source: 任务来源,0:默认值(私域), 1:灵犀, 2:灵鲲 + :type Source: int + :param AppInfo: 应用信息 + :type AppInfo: :class:`tencentcloud.acp.v20220105.models.AppInfoItem` + :param StartTime: 任务启动时间 + :type StartTime: str + :param EndTime: 任务完成时间(更新时间) + :type EndTime: str + :param ContactName: 联系人信息 +注意:此字段可能返回 null,表示取不到有效值。 + :type ContactName: str + """ + self.TaskID = None + self.TaskType = None + self.TaskStatus = None + self.TaskErrMsg = None + self.Source = None + self.AppInfo = None + self.StartTime = None + self.EndTime = None + self.ContactName = None + + + def _deserialize(self, params): + self.TaskID = params.get("TaskID") + self.TaskType = params.get("TaskType") + self.TaskStatus = params.get("TaskStatus") + self.TaskErrMsg = params.get("TaskErrMsg") + self.Source = params.get("Source") + if params.get("AppInfo") is not None: + self.AppInfo = AppInfoItem() + self.AppInfo._deserialize(params.get("AppInfo")) + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + self.ContactName = params.get("ContactName") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateAppScanTaskRepeatRequest(AbstractModel): + """CreateAppScanTaskRepeat请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param OrgTaskID: 原诊断任务ID + :type OrgTaskID: str + :param AppPackage: App包名 + :type AppPackage: str + :param FileID: 上传的文件ID(灵犀诊断必填) + :type FileID: str + :param AppDownloadUrl: 软件下载链接地址(灵鲲诊断必填) + :type AppDownloadUrl: str + :param PrivacyTextUrl: 隐私文本下载地址(灵鲲诊断必填) + :type PrivacyTextUrl: str + :param AppName: 应用名称 + :type AppName: str + :param PrivacyTextName: 隐私申明文件名称 + :type PrivacyTextName: str + """ + self.Source = None + self.Platform = None + self.TaskType = None + self.OrgTaskID = None + self.AppPackage = None + self.FileID = None + self.AppDownloadUrl = None + self.PrivacyTextUrl = None + self.AppName = None + self.PrivacyTextName = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.Platform = params.get("Platform") + self.TaskType = params.get("TaskType") + self.OrgTaskID = params.get("OrgTaskID") + self.AppPackage = params.get("AppPackage") + self.FileID = params.get("FileID") + self.AppDownloadUrl = params.get("AppDownloadUrl") + self.PrivacyTextUrl = params.get("PrivacyTextUrl") + self.AppName = params.get("AppName") + self.PrivacyTextName = params.get("PrivacyTextName") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateAppScanTaskRepeatResponse(AbstractModel): + """CreateAppScanTaskRepeat返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param TaskID: 任务id + :type TaskID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.TaskID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.TaskID = params.get("TaskID") + self.RequestId = params.get("RequestId") + + +class CreateAppScanTaskRequest(AbstractModel): + """CreateAppScanTask请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param AppPackage: App包名 + :type AppPackage: str + :param AppName: App名称 + :type AppName: str + :param AppVersion: App版本 + :type AppVersion: str + :param FileID: 上传的软件文件ID(灵犀诊断必填) + :type FileID: str + :param AppDownloadUrl: 软件下载链接地址(灵鲲诊断必填) + :type AppDownloadUrl: str + :param PrivacyTextUrl: 隐私文本下载地址(灵鲲诊断必填) + :type PrivacyTextUrl: str + :param ContactName: 联系人信息 + :type ContactName: str + :param TelNumber: 联系电话 + :type TelNumber: str + :param Email: 公司邮箱 + :type Email: str + :param CorpName: 公司名称 + :type CorpName: str + :param SalesPerson: 商务对接人员 + :type SalesPerson: str + :param Remark: 备注信息 + :type Remark: str + :param IsAgreePrivacy: 是否同意隐私条款,0:不同意(默认), 1:同意 + :type IsAgreePrivacy: int + :param PrivacyTextName: 隐私申明文件名称 + :type PrivacyTextName: str + """ + self.TaskType = None + self.Source = None + self.Platform = None + self.AppPackage = None + self.AppName = None + self.AppVersion = None + self.FileID = None + self.AppDownloadUrl = None + self.PrivacyTextUrl = None + self.ContactName = None + self.TelNumber = None + self.Email = None + self.CorpName = None + self.SalesPerson = None + self.Remark = None + self.IsAgreePrivacy = None + self.PrivacyTextName = None + + + def _deserialize(self, params): + self.TaskType = params.get("TaskType") + self.Source = params.get("Source") + self.Platform = params.get("Platform") + self.AppPackage = params.get("AppPackage") + self.AppName = params.get("AppName") + self.AppVersion = params.get("AppVersion") + self.FileID = params.get("FileID") + self.AppDownloadUrl = params.get("AppDownloadUrl") + self.PrivacyTextUrl = params.get("PrivacyTextUrl") + self.ContactName = params.get("ContactName") + self.TelNumber = params.get("TelNumber") + self.Email = params.get("Email") + self.CorpName = params.get("CorpName") + self.SalesPerson = params.get("SalesPerson") + self.Remark = params.get("Remark") + self.IsAgreePrivacy = params.get("IsAgreePrivacy") + self.PrivacyTextName = params.get("PrivacyTextName") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateAppScanTaskResponse(AbstractModel): + """CreateAppScanTask返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param TaskID: 任务ID +注意:此字段可能返回 null,表示取不到有效值。 + :type TaskID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.TaskID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.TaskID = params.get("TaskID") + self.RequestId = params.get("RequestId") + + +class DescribeFileTicketRequest(AbstractModel): + """DescribeFileTicket请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + """ + self.Source = None + self.Platform = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.Platform = params.get("Platform") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeFileTicketResponse(AbstractModel): + """DescribeFileTicket返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param UploadUrl: 上传url(灵鲲:Post方法(100:apk,101:txt), 灵犀:put方法) + :type UploadUrl: str + :param UploadSign: 上传url鉴权信息(灵犀上传需要, Authorization参数值) +注意:此字段可能返回 null,表示取不到有效值。 + :type UploadSign: str + :param FildID: 上传文件ID(灵犀提交诊断任务需要) +注意:此字段可能返回 null,表示取不到有效值。 + :type FildID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.UploadUrl = None + self.UploadSign = None + self.FildID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.UploadUrl = params.get("UploadUrl") + self.UploadSign = params.get("UploadSign") + self.FildID = params.get("FildID") + self.RequestId = params.get("RequestId") + + +class DescribeScanTaskListRequest(AbstractModel): + """DescribeScanTaskList请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, -1:所有, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param TaskStatuses: 任务状态,可多值查询,比如:"1,2,3" 0:默认值(待检测/待咨询), 1.检测中, 2:待评估, 3:评估中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中; + :type TaskStatuses: str + :param TaskTypes: 任务类型,可多值查询,采用逗号分隔,比如:"0,1" 0:基础版, 1:专家版, 2:本地化 + :type TaskTypes: str + :param PageNo: 页码 + :type PageNo: int + :param PageSize: 页码大小 + :type PageSize: int + :param AppName: 应用名称或小程序名称(可选参数) + :type AppName: str + :param StartTime: 查询时间范围, 查询开始时间(2021-09-30 或 2021-09-30 10:57:34) + :type StartTime: str + :param EndTime: 查询时间范围, 查询结束时间(2021-09-30 或 2021-09-30 10:57:34) + :type EndTime: str + """ + self.Source = None + self.Platform = None + self.TaskStatuses = None + self.TaskTypes = None + self.PageNo = None + self.PageSize = None + self.AppName = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.Platform = params.get("Platform") + self.TaskStatuses = params.get("TaskStatuses") + self.TaskTypes = params.get("TaskTypes") + self.PageNo = params.get("PageNo") + self.PageSize = params.get("PageSize") + self.AppName = params.get("AppName") + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeScanTaskListResponse(AbstractModel): + """DescribeScanTaskList返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param Total: 任务总数量 + :type Total: int + :param Data: 诊断任务数据列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type Data: list of AppTaskData + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.Total = None + self.Data = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.Total = params.get("Total") + if params.get("Data") is not None: + self.Data = [] + for item in params.get("Data"): + obj = AppTaskData() + obj._deserialize(item) + self.Data.append(obj) + self.RequestId = params.get("RequestId") + + +class DescribeScanTaskReportUrlRequest(AbstractModel): + """DescribeScanTaskReportUrl请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param TaskID: 任务id + :type TaskID: str + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param ReportType: 报告类型, 0:诊断报告, 1:堆栈报告 + :type ReportType: int + """ + self.Source = None + self.Platform = None + self.TaskID = None + self.TaskType = None + self.ReportType = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.Platform = params.get("Platform") + self.TaskID = params.get("TaskID") + self.TaskType = params.get("TaskType") + self.ReportType = params.get("ReportType") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeScanTaskReportUrlResponse(AbstractModel): + """DescribeScanTaskReportUrl返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param ReportUrl: 诊断报告/堆栈信息下载链接 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportUrl: str + :param ReportTitle: 诊断报告/堆栈名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportTitle: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.ReportUrl = None + self.ReportTitle = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.ReportUrl = params.get("ReportUrl") + self.ReportTitle = params.get("ReportTitle") + self.RequestId = params.get("RequestId") + + +class DescribeScanTaskStatusRequest(AbstractModel): + """DescribeScanTaskStatus请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param TaskID: 任务id + :type TaskID: str + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + """ + self.Source = None + self.Platform = None + self.TaskID = None + self.TaskType = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.Platform = params.get("Platform") + self.TaskID = params.get("TaskID") + self.TaskType = params.get("TaskType") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeScanTaskStatusResponse(AbstractModel): + """DescribeScanTaskStatus返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param Status: 0:默认值(待检测/待咨询), 1.检测中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中; + :type Status: int + :param ErrMsg: 诊断失败的错误信息 +注意:此字段可能返回 null,表示取不到有效值。 + :type ErrMsg: str + :param FlowSteps: 任务流详情 +注意:此字段可能返回 null,表示取不到有效值。 + :type FlowSteps: list of TaskFlowStepsInfo + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.Status = None + self.ErrMsg = None + self.FlowSteps = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.Status = params.get("Status") + self.ErrMsg = params.get("ErrMsg") + if params.get("FlowSteps") is not None: + self.FlowSteps = [] + for item in params.get("FlowSteps"): + obj = TaskFlowStepsInfo() + obj._deserialize(item) + self.FlowSteps.append(obj) + self.RequestId = params.get("RequestId") + + +class TaskFlowStepsInfo(AbstractModel): + """任务流步骤详情 + + """ + + def __init__(self): + r""" + :param FlowNo: 流程编号 +注意:此字段可能返回 null,表示取不到有效值。 + :type FlowNo: str + :param FlowName: 流程名称 + :type FlowName: str + :param FlowStatus: 流程状态, 其他值:进行中, 2:成功, 3:失败 + :type FlowStatus: int + :param FlowStateDesc: 流程状态描述 +注意:此字段可能返回 null,表示取不到有效值。 + :type FlowStateDesc: str + :param StartTime: 流程启动时间 +注意:此字段可能返回 null,表示取不到有效值。 + :type StartTime: str + :param EndTime: 流程完成时间 +注意:此字段可能返回 null,表示取不到有效值。 + :type EndTime: str + """ + self.FlowNo = None + self.FlowName = None + self.FlowStatus = None + self.FlowStateDesc = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.FlowNo = params.get("FlowNo") + self.FlowName = params.get("FlowName") + self.FlowStatus = params.get("FlowStatus") + self.FlowStateDesc = params.get("FlowStateDesc") + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + \ No newline at end of file diff --git a/tencentcloud/ams/v20201229/models.py b/tencentcloud/ams/v20201229/models.py index ad7217908..07db4c76c 100644 --- a/tencentcloud/ams/v20201229/models.py +++ b/tencentcloud/ams/v20201229/models.py @@ -57,6 +57,9 @@ def __init__(self): :param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。 注意:此字段可能返回 null,表示取不到有效值。 :type SubLabel: str + :param RecognitionResults: 识别类标签结果信息列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type RecognitionResults: list of RecognitionResult """ self.HitFlag = None self.Label = None @@ -70,6 +73,7 @@ def __init__(self): self.MoanResults = None self.LanguageResults = None self.SubLabel = None + self.RecognitionResults = None def _deserialize(self, params): @@ -100,6 +104,12 @@ def _deserialize(self, params): obj._deserialize(item) self.LanguageResults.append(obj) self.SubLabel = params.get("SubLabel") + if params.get("RecognitionResults") is not None: + self.RecognitionResults = [] + for item in params.get("RecognitionResults"): + obj = RecognitionResult() + obj._deserialize(item) + self.RecognitionResults.append(obj) memeber_set = set(params.keys()) for name, value in vars(self).items(): if name in memeber_set: @@ -893,6 +903,41 @@ def _deserialize(self, params): +class RecognitionResult(AbstractModel): + """识别类标签结果信息 + + """ + + def __init__(self): + r""" + :param Label: 可能的取值有:Teenager 、Gender +注意:此字段可能返回 null,表示取不到有效值。 + :type Label: str + :param Tags: 识别标签列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type Tags: list of Tag + """ + self.Label = None + self.Tags = None + + + def _deserialize(self, params): + self.Label = params.get("Label") + if params.get("Tags") is not None: + self.Tags = [] + for item in params.get("Tags"): + obj = Tag() + obj._deserialize(item) + self.Tags.append(obj) + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + class StorageInfo(AbstractModel): """用于表示数据存储的相关信息 @@ -927,6 +972,48 @@ def _deserialize(self, params): +class Tag(AbstractModel): + """音频切片识别标签 + + """ + + def __init__(self): + r""" + :param Name: 根据Label字段确定具体名称: +当Label 为Teenager 时 Name可能取值有:Teenager +当Label 为Gender 时 Name可能取值有:Male 、Female +注意:此字段可能返回 null,表示取不到有效值。 + :type Name: str + :param Score: 置信分:0~100,数值越大表示置信度越高 +注意:此字段可能返回 null,表示取不到有效值。 + :type Score: int + :param StartTime: 识别开始偏移时间,单位:毫秒 +注意:此字段可能返回 null,表示取不到有效值。 + :type StartTime: float + :param EndTime: 识别结束偏移时间,单位:毫秒 +注意:此字段可能返回 null,表示取不到有效值。 + :type EndTime: float + """ + self.Name = None + self.Score = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.Name = params.get("Name") + self.Score = params.get("Score") + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + class TaskData(AbstractModel): """任务数据 diff --git a/tencentcloud/asr/v20190614/models.py b/tencentcloud/asr/v20190614/models.py index 18e559f77..29370179f 100644 --- a/tencentcloud/asr/v20190614/models.py +++ b/tencentcloud/asr/v20190614/models.py @@ -350,7 +350,7 @@ def __init__(self): • 16k_zh_medical 医疗; • 16k_th 泰语; • 16k_wuu-SH:16k 上海话方言; -• 16k_zh_dialect:多方言。 +• 16k_zh_dialect:多方言,支持23种方言。 :type EngineModelType: str :param ChannelNum: 识别声道数。1:单声道(非电话场景,直接选择单声道即可,忽略音频声道数);2:双声道(仅支持8k_zh电话场景,双声道应分别对应通话双方)。注意:双声道的电话音频已物理分离说话人,无需再开启说话人分离功能。 :type ChannelNum: int @@ -1178,7 +1178,7 @@ def __init__(self): • 16k_ca:16k 粤语; • 16k_ja:16k 日语; • 16k_zh_medical:16k 医疗; -• 16k_zh_dialect:多方言。 +• 16k_zh_dialect:多方言,支持23种方言。 :type EngSerViceType: str :param SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。 :type SourceType: int diff --git a/tencentcloud/bsca/v20210811/bsca_client.py b/tencentcloud/bsca/v20210811/bsca_client.py index c7712145a..febb67a16 100644 --- a/tencentcloud/bsca/v20210811/bsca_client.py +++ b/tencentcloud/bsca/v20210811/bsca_client.py @@ -135,6 +135,35 @@ def DescribeKBVulnerability(self, request): message = response["Response"]["Error"]["Message"] reqid = response["Response"]["RequestId"] raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def MatchKBPURLList(self, request): + """本接口(MatchKBPURLList)用于在知识库中匹配与特征对应的开源组件列表。 + + :param request: Request instance for MatchKBPURLList. + :type request: :class:`tencentcloud.bsca.v20210811.models.MatchKBPURLListRequest` + :rtype: :class:`tencentcloud.bsca.v20210811.models.MatchKBPURLListResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("MatchKBPURLList", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.MatchKBPURLListResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) except Exception as e: if isinstance(e, TencentCloudSDKException): raise diff --git a/tencentcloud/bsca/v20210811/models.py b/tencentcloud/bsca/v20210811/models.py index f98458f15..aa4bb8fa1 100644 --- a/tencentcloud/bsca/v20210811/models.py +++ b/tencentcloud/bsca/v20210811/models.py @@ -678,6 +678,56 @@ def _deserialize(self, params): +class MatchKBPURLListRequest(AbstractModel): + """MatchKBPURLList请求参数结构体 + + """ + + def __init__(self): + r""" + :param SHA1: SHA1。 + :type SHA1: str + """ + self.SHA1 = None + + + def _deserialize(self, params): + self.SHA1 = params.get("SHA1") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class MatchKBPURLListResponse(AbstractModel): + """MatchKBPURLList返回参数结构体 + + """ + + def __init__(self): + r""" + :param PURLList: 组件列表。 + :type PURLList: list of PURL + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.PURLList = None + self.RequestId = None + + + def _deserialize(self, params): + if params.get("PURLList") is not None: + self.PURLList = [] + for item in params.get("PURLList"): + obj = PURL() + obj._deserialize(item) + self.PURLList.append(obj) + self.RequestId = params.get("RequestId") + + class PURL(AbstractModel): """PURL(Package URL)用于定位一个产品或组件,见 https://github.com/package-url/purl-spec。 diff --git a/tencentcloud/cls/v20201016/errorcodes.py b/tencentcloud/cls/v20201016/errorcodes.py index 2b40b490f..525abd21d 100644 --- a/tencentcloud/cls/v20201016/errorcodes.py +++ b/tencentcloud/cls/v20201016/errorcodes.py @@ -156,7 +156,7 @@ LIMITEXCEEDED_MACHINEGROUPIP = 'LimitExceeded.MachineGroupIp' # 机器组Label超过限制。 -LIMITEXCEEDED_MACHINEGROUPLABELS = 'LimitExceeded.MachineGroupLabels' +LIMITEXCEEDED_MACHINEGROUPIPLABELS = 'LimitExceeded.MachineGroupIpLabels' # 分区超过限制。 LIMITEXCEEDED_PARTITION = 'LimitExceeded.Partition' diff --git a/tencentcloud/ecm/v20190719/errorcodes.py b/tencentcloud/ecm/v20190719/errorcodes.py index 644f7b796..e25f2373d 100644 --- a/tencentcloud/ecm/v20190719/errorcodes.py +++ b/tencentcloud/ecm/v20190719/errorcodes.py @@ -377,6 +377,9 @@ # LimitExceeded.AttachedDiskLimitExceeded LIMITEXCEEDED_ATTACHEDDISKLIMITEXCEEDED = 'LimitExceeded.AttachedDiskLimitExceeded' +# 分配IPv6网段数量达到上限。 +LIMITEXCEEDED_CIDRBLOCK = 'LimitExceeded.CidrBlock' + # 网卡配额不足。 LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = 'LimitExceeded.EniQuotaLimitExceeded' diff --git a/tencentcloud/ecm/v20190719/models.py b/tencentcloud/ecm/v20190719/models.py index 4443cb048..a88c2216d 100644 --- a/tencentcloud/ecm/v20190719/models.py +++ b/tencentcloud/ecm/v20190719/models.py @@ -305,11 +305,17 @@ def __init__(self): :type Ipv6Addresses: list of Ipv6Address :param Ipv6AddressCount: 自动分配IPv6地址个数,内网IP地址个数总和不能超过配数。与入参Ipv6Addresses合并计算配额。与Ipv6Addresses必填一个。 :type Ipv6AddressCount: int + :param Ipv6ISP: ipv6运营商如下: +CTCC:中国电信 +CUCC:中国联通 +CMCC:中国移动 + :type Ipv6ISP: str """ self.EcmRegion = None self.NetworkInterfaceId = None self.Ipv6Addresses = None self.Ipv6AddressCount = None + self.Ipv6ISP = None def _deserialize(self, params): @@ -322,6 +328,7 @@ def _deserialize(self, params): obj._deserialize(item) self.Ipv6Addresses.append(obj) self.Ipv6AddressCount = params.get("Ipv6AddressCount") + self.Ipv6ISP = params.get("Ipv6ISP") memeber_set = set(params.keys()) for name, value in vars(self).items(): if name in memeber_set: diff --git a/tencentcloud/emr/v20190103/emr_client.py b/tencentcloud/emr/v20190103/emr_client.py index f5d370548..dd8821ede 100644 --- a/tencentcloud/emr/v20190103/emr_client.py +++ b/tencentcloud/emr/v20190103/emr_client.py @@ -27,7 +27,8 @@ class EmrClient(AbstractClient): def AddUsersForUserManager(self, request): - """新增用户列表(用户管理) + """该接口支持安装了OpenLdap组件的集群。 + 新增用户列表(用户管理)。 :param request: Request instance for AddUsersForUserManager. :type request: :class:`tencentcloud.emr.v20190103.models.AddUsersForUserManagerRequest` @@ -288,7 +289,8 @@ def DescribeResourceSchedule(self, request): def DescribeUsersForUserManager(self, request): - """批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成) + """该接口支持安装了OpenLdap组件的集群。 + 批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)。 :param request: Request instance for DescribeUsersForUserManager. :type request: :class:`tencentcloud.emr.v20190103.models.DescribeUsersForUserManagerRequest` diff --git a/tencentcloud/emr/v20190103/models.py b/tencentcloud/emr/v20190103/models.py index 5a4bc8914..5619d739e 100644 --- a/tencentcloud/emr/v20190103/models.py +++ b/tencentcloud/emr/v20190103/models.py @@ -4995,6 +4995,25 @@ class UserManagerFilter(AbstractModel): """ + def __init__(self): + r""" + :param UserName: 用户名 +注意:此字段可能返回 null,表示取不到有效值。 + :type UserName: str + """ + self.UserName = None + + + def _deserialize(self, params): + self.UserName = params.get("UserName") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + class UserManagerUserBriefInfo(AbstractModel): """用户管理中用户的简要信息 diff --git a/tencentcloud/live/v20180801/live_client.py b/tencentcloud/live/v20180801/live_client.py index ea7405774..a642a21b5 100644 --- a/tencentcloud/live/v20180801/live_client.py +++ b/tencentcloud/live/v20180801/live_client.py @@ -297,7 +297,7 @@ def CreateLiveCert(self, request): def CreateLivePullStreamTask(self, request): - """创建直播拉流任务。支持将外部已有的点播文件,或者直播源拉取过来转推到直播系统。 + """创建直播拉流任务。支持将外部已有的点播文件,或者直播源拉取过来转推到指定的目标地址。 注意: 1. 默认支持任务数上限20个,如有特殊需求,可通过提单到售后进行评估增加上限。 2. 源流视频编码目前只支持: H264, H265。其他编码格式建议先进行转码处理。 diff --git a/tencentcloud/live/v20180801/models.py b/tencentcloud/live/v20180801/models.py index 51537fac6..625c7e018 100644 --- a/tencentcloud/live/v20180801/models.py +++ b/tencentcloud/live/v20180801/models.py @@ -7531,7 +7531,7 @@ def __init__(self): :type StreamName: str :param ResumeTime: 恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。 注意: -1. 默认禁播7天,且最长支持禁播90天。 +1. 默认禁推7天,且最长支持禁推90天。 2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 :type ResumeTime: str :param Reason: 禁推原因。 diff --git a/tencentcloud/mmps/__init__.py b/tencentcloud/mmps/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tencentcloud/mmps/v20200710/__init__.py b/tencentcloud/mmps/v20200710/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tencentcloud/mmps/v20200710/errorcodes.py b/tencentcloud/mmps/v20200710/errorcodes.py new file mode 100644 index 000000000..76de084ed --- /dev/null +++ b/tencentcloud/mmps/v20200710/errorcodes.py @@ -0,0 +1,18 @@ +# -*- coding: utf8 -*- +# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +# 操作失败。 +FAILEDOPERATION = 'FailedOperation' diff --git a/tencentcloud/mmps/v20200710/mmps_client.py b/tencentcloud/mmps/v20200710/mmps_client.py new file mode 100644 index 000000000..9bd223948 --- /dev/null +++ b/tencentcloud/mmps/v20200710/mmps_client.py @@ -0,0 +1,345 @@ +# -*- coding: utf8 -*- +# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import json + +from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException +from tencentcloud.common.abstract_client import AbstractClient +from tencentcloud.mmps.v20200710 import models + + +class MmpsClient(AbstractClient): + _apiVersion = '2020-07-10' + _endpoint = 'mmps.tencentcloudapi.com' + _service = 'mmps' + + + def CreateAppScanTask(self, request): + """创建小程序隐私合规诊断任务 + + :param request: Request instance for CreateAppScanTask. + :type request: :class:`tencentcloud.mmps.v20200710.models.CreateAppScanTaskRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.CreateAppScanTaskResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("CreateAppScanTask", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.CreateAppScanTaskResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def CreateAppScanTaskRepeat(self, request): + """小程序隐私合规诊断重试任务 + + :param request: Request instance for CreateAppScanTaskRepeat. + :type request: :class:`tencentcloud.mmps.v20200710.models.CreateAppScanTaskRepeatRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.CreateAppScanTaskRepeatResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("CreateAppScanTaskRepeat", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.CreateAppScanTaskRepeatResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def CreateFlySecMiniAppScanTask(self, request): + """创建小程序翼扬安全的基础或深度诊断任务 + + :param request: Request instance for CreateFlySecMiniAppScanTask. + :type request: :class:`tencentcloud.mmps.v20200710.models.CreateFlySecMiniAppScanTaskRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.CreateFlySecMiniAppScanTaskResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("CreateFlySecMiniAppScanTask", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.CreateFlySecMiniAppScanTaskResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def CreateFlySecMiniAppScanTaskRepeat(self, request): + """重新提交基础诊断任务 + + :param request: Request instance for CreateFlySecMiniAppScanTaskRepeat. + :type request: :class:`tencentcloud.mmps.v20200710.models.CreateFlySecMiniAppScanTaskRepeatRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.CreateFlySecMiniAppScanTaskRepeatResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("CreateFlySecMiniAppScanTaskRepeat", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.CreateFlySecMiniAppScanTaskRepeatResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeFlySecMiniAppReportUrl(self, request): + """获取翼扬诊断任务报告链接地址 + + :param request: Request instance for DescribeFlySecMiniAppReportUrl. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppReportUrlRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppReportUrlResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeFlySecMiniAppReportUrl", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeFlySecMiniAppReportUrlResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeFlySecMiniAppScanTaskList(self, request): + """获取翼扬安全诊断任务列表 + + :param request: Request instance for DescribeFlySecMiniAppScanTaskList. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppScanTaskListRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppScanTaskListResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeFlySecMiniAppScanTaskList", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeFlySecMiniAppScanTaskListResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeFlySecMiniAppScanTaskParam(self, request): + """获取用户提交的基础诊断任务参数信息 + + :param request: Request instance for DescribeFlySecMiniAppScanTaskParam. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppScanTaskParamRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppScanTaskParamResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeFlySecMiniAppScanTaskParam", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeFlySecMiniAppScanTaskParamResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeFlySecMiniAppScanTaskStatus(self, request): + """查询翼扬安全诊断任务状态 + + :param request: Request instance for DescribeFlySecMiniAppScanTaskStatus. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppScanTaskStatusRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeFlySecMiniAppScanTaskStatusResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeFlySecMiniAppScanTaskStatus", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeFlySecMiniAppScanTaskStatusResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeScanTaskList(self, request): + """获取小程序隐私合规诊断任务列表 + + :param request: Request instance for DescribeScanTaskList. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeScanTaskListRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeScanTaskListResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeScanTaskList", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeScanTaskListResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeScanTaskReportUrl(self, request): + """获取小程序合规诊断任务报告url + + :param request: Request instance for DescribeScanTaskReportUrl. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeScanTaskReportUrlRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeScanTaskReportUrlResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeScanTaskReportUrl", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeScanTaskReportUrlResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def DescribeScanTaskStatus(self, request): + """查询小程序隐私合规诊断任务状态 + + :param request: Request instance for DescribeScanTaskStatus. + :type request: :class:`tencentcloud.mmps.v20200710.models.DescribeScanTaskStatusRequest` + :rtype: :class:`tencentcloud.mmps.v20200710.models.DescribeScanTaskStatusResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DescribeScanTaskStatus", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DescribeScanTaskStatusResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) \ No newline at end of file diff --git a/tencentcloud/mmps/v20200710/models.py b/tencentcloud/mmps/v20200710/models.py new file mode 100644 index 000000000..bc13ecf64 --- /dev/null +++ b/tencentcloud/mmps/v20200710/models.py @@ -0,0 +1,1043 @@ +# -*- coding: utf8 -*- +# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import warnings + +from tencentcloud.common.abstract_model import AbstractModel + + +class AppInfoItem(AbstractModel): + """隐私合规应用信息 + + """ + + def __init__(self): + r""" + :param AppPackage: 小程序apiiid + :type AppPackage: str + :param AppName: 小程序应用名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type AppName: str + :param AppVersion: 小程序应用版本 +注意:此字段可能返回 null,表示取不到有效值。 + :type AppVersion: str + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param ReportUrl: 小程序隐私诊断报告下载链接 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportUrl: str + :param ReportTitle: 小程序隐私诊断报告名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportTitle: str + :param BehaviorUrl: 小程序隐私诊断堆栈报告下载链接 +注意:此字段可能返回 null,表示取不到有效值。 + :type BehaviorUrl: str + :param BehaviorTitle: 小程序隐私诊断堆栈报告名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type BehaviorTitle: str + """ + self.AppPackage = None + self.AppName = None + self.AppVersion = None + self.Platform = None + self.ReportUrl = None + self.ReportTitle = None + self.BehaviorUrl = None + self.BehaviorTitle = None + + + def _deserialize(self, params): + self.AppPackage = params.get("AppPackage") + self.AppName = params.get("AppName") + self.AppVersion = params.get("AppVersion") + self.Platform = params.get("Platform") + self.ReportUrl = params.get("ReportUrl") + self.ReportTitle = params.get("ReportTitle") + self.BehaviorUrl = params.get("BehaviorUrl") + self.BehaviorTitle = params.get("BehaviorTitle") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class AppTaskData(AbstractModel): + """应用隐私合规诊断任务数据 + + """ + + def __init__(self): + r""" + :param TaskID: 任务id + :type TaskID: str + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param TaskStatus: 0:默认值(待检测/待咨询), 1.检测中, 2:待评估, 3:评估中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中; + :type TaskStatus: int + :param TaskErrMsg: 错误信息 +注意:此字段可能返回 null,表示取不到有效值。 + :type TaskErrMsg: str + :param Source: 来源,0:默认值(私域), 1:灵犀, 2:灵鲲 + :type Source: int + :param AppInfo: 应用信息 + :type AppInfo: :class:`tencentcloud.mmps.v20200710.models.AppInfoItem` + :param StartTime: 任务启动时间 + :type StartTime: str + :param EndTime: 任务完成时间(更新时间) + :type EndTime: str + """ + self.TaskID = None + self.TaskType = None + self.TaskStatus = None + self.TaskErrMsg = None + self.Source = None + self.AppInfo = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.TaskID = params.get("TaskID") + self.TaskType = params.get("TaskType") + self.TaskStatus = params.get("TaskStatus") + self.TaskErrMsg = params.get("TaskErrMsg") + self.Source = params.get("Source") + if params.get("AppInfo") is not None: + self.AppInfo = AppInfoItem() + self.AppInfo._deserialize(params.get("AppInfo")) + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateAppScanTaskRepeatRequest(AbstractModel): + """CreateAppScanTaskRepeat请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param AppPackage: 小程序AppID + :type AppPackage: str + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param OrgTaskID: 原诊断任务ID + :type OrgTaskID: str + """ + self.TaskType = None + self.Source = None + self.AppPackage = None + self.Platform = None + self.OrgTaskID = None + + + def _deserialize(self, params): + self.TaskType = params.get("TaskType") + self.Source = params.get("Source") + self.AppPackage = params.get("AppPackage") + self.Platform = params.get("Platform") + self.OrgTaskID = params.get("OrgTaskID") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateAppScanTaskRepeatResponse(AbstractModel): + """CreateAppScanTaskRepeat返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param TaskID: 任务id + :type TaskID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.TaskID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.TaskID = params.get("TaskID") + self.RequestId = params.get("RequestId") + + +class CreateAppScanTaskRequest(AbstractModel): + """CreateAppScanTask请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param AppPackage: 小程序AppID + :type AppPackage: str + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param AppName: 小程序名称 + :type AppName: str + :param AppVersion: 小程序版本 + :type AppVersion: str + :param ContactName: 联系人信息 + :type ContactName: str + :param TelNumber: 联系电话 + :type TelNumber: str + :param CorpName: 公司名称 + :type CorpName: str + :param SalesPerson: 商务对接人员 + :type SalesPerson: str + :param Email: 公司邮箱 + :type Email: str + """ + self.TaskType = None + self.Source = None + self.AppPackage = None + self.Platform = None + self.AppName = None + self.AppVersion = None + self.ContactName = None + self.TelNumber = None + self.CorpName = None + self.SalesPerson = None + self.Email = None + + + def _deserialize(self, params): + self.TaskType = params.get("TaskType") + self.Source = params.get("Source") + self.AppPackage = params.get("AppPackage") + self.Platform = params.get("Platform") + self.AppName = params.get("AppName") + self.AppVersion = params.get("AppVersion") + self.ContactName = params.get("ContactName") + self.TelNumber = params.get("TelNumber") + self.CorpName = params.get("CorpName") + self.SalesPerson = params.get("SalesPerson") + self.Email = params.get("Email") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateAppScanTaskResponse(AbstractModel): + """CreateAppScanTask返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param TaskID: 任务id + :type TaskID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.TaskID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.TaskID = params.get("TaskID") + self.RequestId = params.get("RequestId") + + +class CreateFlySecMiniAppScanTaskRepeatRequest(AbstractModel): + """CreateFlySecMiniAppScanTaskRepeat请求参数结构体 + + """ + + def __init__(self): + r""" + :param MiniAppID: 小程序AppID + :type MiniAppID: str + :param Mode: 诊断模式 1:基础诊断,2:深度诊断 + :type Mode: int + :param OrgTaskID: 原任务id + :type OrgTaskID: str + :param MiniAppTestAccount: 小程序测试账号(自有账号体系需提供,其他情况不需要) + :type MiniAppTestAccount: str + :param MiniAppTestPwd: 小程序测试密码(自有账号体系需提供,其他情况不需要) + :type MiniAppTestPwd: str + :param ScanVersion: 诊断扫描版本 0:正式版 1:体验版 + :type ScanVersion: int + """ + self.MiniAppID = None + self.Mode = None + self.OrgTaskID = None + self.MiniAppTestAccount = None + self.MiniAppTestPwd = None + self.ScanVersion = None + + + def _deserialize(self, params): + self.MiniAppID = params.get("MiniAppID") + self.Mode = params.get("Mode") + self.OrgTaskID = params.get("OrgTaskID") + self.MiniAppTestAccount = params.get("MiniAppTestAccount") + self.MiniAppTestPwd = params.get("MiniAppTestPwd") + self.ScanVersion = params.get("ScanVersion") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateFlySecMiniAppScanTaskRepeatResponse(AbstractModel): + """CreateFlySecMiniAppScanTaskRepeat返回参数结构体 + + """ + + def __init__(self): + r""" + :param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Ret: int + :param TaskID: 任务id + :type TaskID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Ret = None + self.TaskID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Ret = params.get("Ret") + self.TaskID = params.get("TaskID") + self.RequestId = params.get("RequestId") + + +class CreateFlySecMiniAppScanTaskRequest(AbstractModel): + """CreateFlySecMiniAppScanTask请求参数结构体 + + """ + + def __init__(self): + r""" + :param MiniAppID: 小程序AppID + :type MiniAppID: str + :param Mode: 诊断模式 1:基础诊断,2:深度诊断 + :type Mode: int + :param MiniAppTestAccount: 小程序测试账号(自有账号体系需提供,其他情况不需要) + :type MiniAppTestAccount: str + :param MiniAppTestPwd: 小程序测试密码(自有账号体系需提供,其他情况不需要) + :type MiniAppTestPwd: str + :param Industry: 小程序所属行业 + :type Industry: str + :param SurveyContent: 小程序调查问卷json字符串 + :type SurveyContent: str + :param Mobile: 手机号码 + :type Mobile: str + :param Email: 邮箱地址 + :type Email: str + :param SalesPerson: 商务合作接口人 + :type SalesPerson: str + :param ScanVersion: 诊断扫描版本 0:正式版 1:体验版 + :type ScanVersion: int + """ + self.MiniAppID = None + self.Mode = None + self.MiniAppTestAccount = None + self.MiniAppTestPwd = None + self.Industry = None + self.SurveyContent = None + self.Mobile = None + self.Email = None + self.SalesPerson = None + self.ScanVersion = None + + + def _deserialize(self, params): + self.MiniAppID = params.get("MiniAppID") + self.Mode = params.get("Mode") + self.MiniAppTestAccount = params.get("MiniAppTestAccount") + self.MiniAppTestPwd = params.get("MiniAppTestPwd") + self.Industry = params.get("Industry") + self.SurveyContent = params.get("SurveyContent") + self.Mobile = params.get("Mobile") + self.Email = params.get("Email") + self.SalesPerson = params.get("SalesPerson") + self.ScanVersion = params.get("ScanVersion") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class CreateFlySecMiniAppScanTaskResponse(AbstractModel): + """CreateFlySecMiniAppScanTask返回参数结构体 + + """ + + def __init__(self): + r""" + :param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Ret: int + :param TaskID: 任务id + :type TaskID: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Ret = None + self.TaskID = None + self.RequestId = None + + + def _deserialize(self, params): + self.Ret = params.get("Ret") + self.TaskID = params.get("TaskID") + self.RequestId = params.get("RequestId") + + +class DescribeFlySecMiniAppReportUrlRequest(AbstractModel): + """DescribeFlySecMiniAppReportUrl请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskID: 任务id + :type TaskID: str + :param MiniAppID: 小程序appid + :type MiniAppID: str + :param Mode: 诊断方式 1:基础诊断,2:深度诊断 + :type Mode: int + :param ReportType: 诊断报告类型 0:基础诊断报告, 1:总裁版诊断报告 + :type ReportType: int + """ + self.TaskID = None + self.MiniAppID = None + self.Mode = None + self.ReportType = None + + + def _deserialize(self, params): + self.TaskID = params.get("TaskID") + self.MiniAppID = params.get("MiniAppID") + self.Mode = params.get("Mode") + self.ReportType = params.get("ReportType") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeFlySecMiniAppReportUrlResponse(AbstractModel): + """DescribeFlySecMiniAppReportUrl返回参数结构体 + + """ + + def __init__(self): + r""" + :param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Ret: int + :param Url: 诊断报告下载链接 +注意:此字段可能返回 null,表示取不到有效值。 + :type Url: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Ret = None + self.Url = None + self.RequestId = None + + + def _deserialize(self, params): + self.Ret = params.get("Ret") + self.Url = params.get("Url") + self.RequestId = params.get("RequestId") + + +class DescribeFlySecMiniAppScanTaskListRequest(AbstractModel): + """DescribeFlySecMiniAppScanTaskList请求参数结构体 + + """ + + def __init__(self): + r""" + :param Mode: 诊断方式 1:基础诊断,2:深度诊断 + :type Mode: int + :param Status: 诊断状态 -1:查询全部, 0:排队中, 1:成功, 2:失败, 3:进行中 + :type Status: int + :param Size: 查询数量, 0:查询所有, 其他值:最近几次的诊断数量 + :type Size: int + :param MiniAppID: 小程序appid(为空的时候,则查询当前用户诊断的所有小程序) + :type MiniAppID: str + """ + self.Mode = None + self.Status = None + self.Size = None + self.MiniAppID = None + + + def _deserialize(self, params): + self.Mode = params.get("Mode") + self.Status = params.get("Status") + self.Size = params.get("Size") + self.MiniAppID = params.get("MiniAppID") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeFlySecMiniAppScanTaskListResponse(AbstractModel): + """DescribeFlySecMiniAppScanTaskList返回参数结构体 + + """ + + def __init__(self): + r""" + :param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Ret: int + :param Data: 诊断任务数据列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type Data: list of FlySecMiniAppTaskData + :param Total: 诊断任务数 +注意:此字段可能返回 null,表示取不到有效值。 + :type Total: int + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Ret = None + self.Data = None + self.Total = None + self.RequestId = None + + + def _deserialize(self, params): + self.Ret = params.get("Ret") + if params.get("Data") is not None: + self.Data = [] + for item in params.get("Data"): + obj = FlySecMiniAppTaskData() + obj._deserialize(item) + self.Data.append(obj) + self.Total = params.get("Total") + self.RequestId = params.get("RequestId") + + +class DescribeFlySecMiniAppScanTaskParamRequest(AbstractModel): + """DescribeFlySecMiniAppScanTaskParam请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskID: 任务id + :type TaskID: str + """ + self.TaskID = None + + + def _deserialize(self, params): + self.TaskID = params.get("TaskID") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeFlySecMiniAppScanTaskParamResponse(AbstractModel): + """DescribeFlySecMiniAppScanTaskParam返回参数结构体 + + """ + + def __init__(self): + r""" + :param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Ret: int + :param MiniAppID: 小程序AppID + :type MiniAppID: str + :param Mode: 诊断模式 1:基础诊断,2:深度诊断 + :type Mode: int + :param MiniAppTestAccount: 小程序测试账号(自有账号体系需提供,其他情况不需要) +注意:此字段可能返回 null,表示取不到有效值。 + :type MiniAppTestAccount: str + :param MiniAppTestPwd: 小程序测试密码(自有账号体系需提供,其他情况不需要) +注意:此字段可能返回 null,表示取不到有效值。 + :type MiniAppTestPwd: str + :param ScanVersion: 诊断扫描版本 0:正式版 1:体验版 +注意:此字段可能返回 null,表示取不到有效值。 + :type ScanVersion: int + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Ret = None + self.MiniAppID = None + self.Mode = None + self.MiniAppTestAccount = None + self.MiniAppTestPwd = None + self.ScanVersion = None + self.RequestId = None + + + def _deserialize(self, params): + self.Ret = params.get("Ret") + self.MiniAppID = params.get("MiniAppID") + self.Mode = params.get("Mode") + self.MiniAppTestAccount = params.get("MiniAppTestAccount") + self.MiniAppTestPwd = params.get("MiniAppTestPwd") + self.ScanVersion = params.get("ScanVersion") + self.RequestId = params.get("RequestId") + + +class DescribeFlySecMiniAppScanTaskStatusRequest(AbstractModel): + """DescribeFlySecMiniAppScanTaskStatus请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskID: 任务id + :type TaskID: str + """ + self.TaskID = None + + + def _deserialize(self, params): + self.TaskID = params.get("TaskID") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeFlySecMiniAppScanTaskStatusResponse(AbstractModel): + """DescribeFlySecMiniAppScanTaskStatus返回参数结构体 + + """ + + def __init__(self): + r""" + :param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Ret: int + :param Status: 诊断状态, 0:排队中, 1:成功, 2:失败, 3:进行中 + :type Status: int + :param Errno: 诊断失败错误码 +注意:此字段可能返回 null,表示取不到有效值。 + :type Errno: int + :param MiniAppName: 小程序名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type MiniAppName: str + :param MiniAppVersion: 小程序版本 +注意:此字段可能返回 null,表示取不到有效值。 + :type MiniAppVersion: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Ret = None + self.Status = None + self.Errno = None + self.MiniAppName = None + self.MiniAppVersion = None + self.RequestId = None + + + def _deserialize(self, params): + self.Ret = params.get("Ret") + self.Status = params.get("Status") + self.Errno = params.get("Errno") + self.MiniAppName = params.get("MiniAppName") + self.MiniAppVersion = params.get("MiniAppVersion") + self.RequestId = params.get("RequestId") + + +class DescribeScanTaskListRequest(AbstractModel): + """DescribeScanTaskList请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, -1:所有, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param TaskStatuses: 任务状态,可多值查询,比如:"1,2,3" 0:默认值(待检测/待咨询), 1.检测中, 2:待评估, 3:评估中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中; + :type TaskStatuses: str + :param TaskTypes: 任务类型,可多值查询,采用逗号分隔,比如:"0,1" 0:基础版, 1:专家版, 2:本地化 + :type TaskTypes: str + :param PageNo: 页码 + :type PageNo: int + :param PageSize: 页码大小 + :type PageSize: int + :param AppName: 应用名称或小程序名称(可选参数) + :type AppName: str + :param StartTime: 查询时间范围, 查询开始时间(2021-09-30 或 2021-09-30 10:57:34) + :type StartTime: str + :param EndTime: 查询时间范围, 查询结束时间(2021-09-30 或 2021-09-30 10:57:34) + :type EndTime: str + """ + self.Source = None + self.Platform = None + self.TaskStatuses = None + self.TaskTypes = None + self.PageNo = None + self.PageSize = None + self.AppName = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.Platform = params.get("Platform") + self.TaskStatuses = params.get("TaskStatuses") + self.TaskTypes = params.get("TaskTypes") + self.PageNo = params.get("PageNo") + self.PageSize = params.get("PageSize") + self.AppName = params.get("AppName") + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeScanTaskListResponse(AbstractModel): + """DescribeScanTaskList返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param Data: 诊断任务数据列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type Data: list of AppTaskData + :param Total: 任务总数量 +注意:此字段可能返回 null,表示取不到有效值。 + :type Total: int + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.Data = None + self.Total = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + if params.get("Data") is not None: + self.Data = [] + for item in params.get("Data"): + obj = AppTaskData() + obj._deserialize(item) + self.Data.append(obj) + self.Total = params.get("Total") + self.RequestId = params.get("RequestId") + + +class DescribeScanTaskReportUrlRequest(AbstractModel): + """DescribeScanTaskReportUrl请求参数结构体 + + """ + + def __init__(self): + r""" + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param TaskID: 任务id + :type TaskID: str + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + :param ReportType: 报告类型, 0:诊断报告, 1:堆栈报告 + :type ReportType: int + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + """ + self.Source = None + self.TaskID = None + self.Platform = None + self.ReportType = None + self.TaskType = None + + + def _deserialize(self, params): + self.Source = params.get("Source") + self.TaskID = params.get("TaskID") + self.Platform = params.get("Platform") + self.ReportType = params.get("ReportType") + self.TaskType = params.get("TaskType") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeScanTaskReportUrlResponse(AbstractModel): + """DescribeScanTaskReportUrl返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param ReportUrl: 诊断报告/堆栈信息下载链接 + :type ReportUrl: str + :param ReportTitle: 诊断报告/堆栈名称 +注意:此字段可能返回 null,表示取不到有效值。 + :type ReportTitle: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.ReportUrl = None + self.ReportTitle = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.ReportUrl = params.get("ReportUrl") + self.ReportTitle = params.get("ReportTitle") + self.RequestId = params.get("RequestId") + + +class DescribeScanTaskStatusRequest(AbstractModel): + """DescribeScanTaskStatus请求参数结构体 + + """ + + def __init__(self): + r""" + :param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化 + :type TaskType: int + :param Source: 任务来源, 0:默认值(私域), 1:灵犀, 2:灵鲲; + :type Source: int + :param TaskID: 任务id + :type TaskID: str + :param Platform: 应用平台, 0:android, 1:ios, 2:小程序 + :type Platform: int + """ + self.TaskType = None + self.Source = None + self.TaskID = None + self.Platform = None + + + def _deserialize(self, params): + self.TaskType = params.get("TaskType") + self.Source = params.get("Source") + self.TaskID = params.get("TaskID") + self.Platform = params.get("Platform") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DescribeScanTaskStatusResponse(AbstractModel): + """DescribeScanTaskStatus返回参数结构体 + + """ + + def __init__(self): + r""" + :param Result: 返回值, 0:成功, 其他值请查看“返回值”定义 + :type Result: int + :param Status: 0:默认值(待检测/待咨询), 1.检测中, 4:任务完成/咨询完成, 5:任务失败, 6:咨询中; + :type Status: int + :param ErrMsg: 诊断失败的错误信息 +注意:此字段可能返回 null,表示取不到有效值。 + :type ErrMsg: str + :param FlowSteps: 任务流详情 +注意:此字段可能返回 null,表示取不到有效值。 + :type FlowSteps: list of TaskFlowStepsInfo + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Result = None + self.Status = None + self.ErrMsg = None + self.FlowSteps = None + self.RequestId = None + + + def _deserialize(self, params): + self.Result = params.get("Result") + self.Status = params.get("Status") + self.ErrMsg = params.get("ErrMsg") + if params.get("FlowSteps") is not None: + self.FlowSteps = [] + for item in params.get("FlowSteps"): + obj = TaskFlowStepsInfo() + obj._deserialize(item) + self.FlowSteps.append(obj) + self.RequestId = params.get("RequestId") + + +class FlySecMiniAppTaskData(AbstractModel): + """翼扬诊断小程序任务数据 + + """ + + def __init__(self): + r""" + :param TaskID: 任务id + :type TaskID: str + :param MiniAppID: 小程序appid + :type MiniAppID: str + :param MiniAppName: 小程序名称 + :type MiniAppName: str + :param MiniAppVersion: 小程序版本 + :type MiniAppVersion: str + :param Mode: 诊断模式 1:基础诊断,2:深度诊断 + :type Mode: int + :param CreateTime: 诊断时间 + :type CreateTime: int + :param Status: 诊断状态, 0:排队中, 1:成功, 2:失败, 3:进行中 + :type Status: int + :param Error: 诊断失败错误码 + :type Error: int + """ + self.TaskID = None + self.MiniAppID = None + self.MiniAppName = None + self.MiniAppVersion = None + self.Mode = None + self.CreateTime = None + self.Status = None + self.Error = None + + + def _deserialize(self, params): + self.TaskID = params.get("TaskID") + self.MiniAppID = params.get("MiniAppID") + self.MiniAppName = params.get("MiniAppName") + self.MiniAppVersion = params.get("MiniAppVersion") + self.Mode = params.get("Mode") + self.CreateTime = params.get("CreateTime") + self.Status = params.get("Status") + self.Error = params.get("Error") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class TaskFlowStepsInfo(AbstractModel): + """任务流步骤详情 + + """ + + def __init__(self): + r""" + :param FlowNo: 流程编号 +注意:此字段可能返回 null,表示取不到有效值。 + :type FlowNo: str + :param FlowName: 流程名称 + :type FlowName: str + :param FlowStatus: 流程状态, 其他值:进行中, 2:成功, 3:失败 + :type FlowStatus: int + :param FlowStateDesc: 流程状态描述 +注意:此字段可能返回 null,表示取不到有效值。 + :type FlowStateDesc: str + :param StartTime: 流程启动时间 +注意:此字段可能返回 null,表示取不到有效值。 + :type StartTime: str + :param EndTime: 流程完成时间 +注意:此字段可能返回 null,表示取不到有效值。 + :type EndTime: str + """ + self.FlowNo = None + self.FlowName = None + self.FlowStatus = None + self.FlowStateDesc = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.FlowNo = params.get("FlowNo") + self.FlowName = params.get("FlowName") + self.FlowStatus = params.get("FlowStatus") + self.FlowStateDesc = params.get("FlowStateDesc") + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + \ No newline at end of file diff --git a/tencentcloud/ocr/v20181119/models.py b/tencentcloud/ocr/v20181119/models.py index e05ced843..5e4b9094d 100644 --- a/tencentcloud/ocr/v20181119/models.py +++ b/tencentcloud/ocr/v20181119/models.py @@ -4947,6 +4947,133 @@ def _deserialize(self, params): self.RequestId = params.get("RequestId") +class RecognizeIndonesiaIDCardOCRRequest(AbstractModel): + """RecognizeIndonesiaIDCardOCR请求参数结构体 + + """ + + def __init__(self): + r""" + :param ImageBase64: 图片的 Base64 值。 +支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 +支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 +图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + :type ImageBase64: str + :param ImageUrl: 图片的 Url 地址。 +支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 +支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 +图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 +非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + :type ImageUrl: str + :param ReturnHeadImage: 是否返回人像照片。 + :type ReturnHeadImage: bool + :param Scene: 场景参数,默认值为V1 +可选值: +V1 +V2 + :type Scene: str + """ + self.ImageBase64 = None + self.ImageUrl = None + self.ReturnHeadImage = None + self.Scene = None + + + def _deserialize(self, params): + self.ImageBase64 = params.get("ImageBase64") + self.ImageUrl = params.get("ImageUrl") + self.ReturnHeadImage = params.get("ReturnHeadImage") + self.Scene = params.get("Scene") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class RecognizeIndonesiaIDCardOCRResponse(AbstractModel): + """RecognizeIndonesiaIDCardOCR返回参数结构体 + + """ + + def __init__(self): + r""" + :param NIK: 证件号码 + :type NIK: str + :param Nama: 姓名 + :type Nama: str + :param TempatTglLahir: 出生地/出生时间 + :type TempatTglLahir: str + :param JenisKelamin: 性别 + :type JenisKelamin: str + :param GolDarah: 血型 + :type GolDarah: str + :param Alamat: 地址 + :type Alamat: str + :param RTRW: 街道 + :type RTRW: str + :param KelDesa: 村 + :type KelDesa: str + :param Kecamatan: 地区 + :type Kecamatan: str + :param Agama: 宗教信仰 + :type Agama: str + :param StatusPerkawinan: 婚姻状况 + :type StatusPerkawinan: str + :param Perkerjaan: 职业 + :type Perkerjaan: str + :param KewargaNegaraan: 国籍 + :type KewargaNegaraan: str + :param BerlakuHingga: 身份证有效期限 + :type BerlakuHingga: str + :param IssuedDate: 发证日期 + :type IssuedDate: str + :param Photo: 人像截图 + :type Photo: str + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.NIK = None + self.Nama = None + self.TempatTglLahir = None + self.JenisKelamin = None + self.GolDarah = None + self.Alamat = None + self.RTRW = None + self.KelDesa = None + self.Kecamatan = None + self.Agama = None + self.StatusPerkawinan = None + self.Perkerjaan = None + self.KewargaNegaraan = None + self.BerlakuHingga = None + self.IssuedDate = None + self.Photo = None + self.RequestId = None + + + def _deserialize(self, params): + self.NIK = params.get("NIK") + self.Nama = params.get("Nama") + self.TempatTglLahir = params.get("TempatTglLahir") + self.JenisKelamin = params.get("JenisKelamin") + self.GolDarah = params.get("GolDarah") + self.Alamat = params.get("Alamat") + self.RTRW = params.get("RTRW") + self.KelDesa = params.get("KelDesa") + self.Kecamatan = params.get("Kecamatan") + self.Agama = params.get("Agama") + self.StatusPerkawinan = params.get("StatusPerkawinan") + self.Perkerjaan = params.get("Perkerjaan") + self.KewargaNegaraan = params.get("KewargaNegaraan") + self.BerlakuHingga = params.get("BerlakuHingga") + self.IssuedDate = params.get("IssuedDate") + self.Photo = params.get("Photo") + self.RequestId = params.get("RequestId") + + class RecognizeOnlineTaxiItineraryOCRRequest(AbstractModel): """RecognizeOnlineTaxiItineraryOCR请求参数结构体 @@ -5016,6 +5143,244 @@ def _deserialize(self, params): self.RequestId = params.get("RequestId") +class RecognizePhilippinesDrivingLicenseOCRRequest(AbstractModel): + """RecognizePhilippinesDrivingLicenseOCR请求参数结构体 + + """ + + def __init__(self): + r""" + :param ReturnHeadImage: 是否返回人像照片。 + :type ReturnHeadImage: bool + :param ImageBase64: 图片的 Base64 值。 +支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 +支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 +图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + :type ImageBase64: str + :param ImageUrl: 图片的 Url 地址。 +支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 +支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 +图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 +非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + :type ImageUrl: str + """ + self.ReturnHeadImage = None + self.ImageBase64 = None + self.ImageUrl = None + + + def _deserialize(self, params): + self.ReturnHeadImage = params.get("ReturnHeadImage") + self.ImageBase64 = params.get("ImageBase64") + self.ImageUrl = params.get("ImageUrl") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class RecognizePhilippinesDrivingLicenseOCRResponse(AbstractModel): + """RecognizePhilippinesDrivingLicenseOCR返回参数结构体 + + """ + + def __init__(self): + r""" + :param HeadPortrait: 人像照片Base64后的结果 + :type HeadPortrait: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Name: 姓名 + :type Name: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param LastName: 姓氏 + :type LastName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param FirstName: 首姓名 + :type FirstName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param MiddleName: 中间姓名 + :type MiddleName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Nationality: 国籍 + :type Nationality: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Sex: 性别 + :type Sex: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Address: 地址 + :type Address: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param LicenseNo: 证号 + :type LicenseNo: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param ExpiresDate: 有效期 + :type ExpiresDate: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param AgencyCode: 机构代码 + :type AgencyCode: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Birthday: 出生日期 + :type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.HeadPortrait = None + self.Name = None + self.LastName = None + self.FirstName = None + self.MiddleName = None + self.Nationality = None + self.Sex = None + self.Address = None + self.LicenseNo = None + self.ExpiresDate = None + self.AgencyCode = None + self.Birthday = None + self.RequestId = None + + + def _deserialize(self, params): + if params.get("HeadPortrait") is not None: + self.HeadPortrait = TextDetectionResult() + self.HeadPortrait._deserialize(params.get("HeadPortrait")) + if params.get("Name") is not None: + self.Name = TextDetectionResult() + self.Name._deserialize(params.get("Name")) + if params.get("LastName") is not None: + self.LastName = TextDetectionResult() + self.LastName._deserialize(params.get("LastName")) + if params.get("FirstName") is not None: + self.FirstName = TextDetectionResult() + self.FirstName._deserialize(params.get("FirstName")) + if params.get("MiddleName") is not None: + self.MiddleName = TextDetectionResult() + self.MiddleName._deserialize(params.get("MiddleName")) + if params.get("Nationality") is not None: + self.Nationality = TextDetectionResult() + self.Nationality._deserialize(params.get("Nationality")) + if params.get("Sex") is not None: + self.Sex = TextDetectionResult() + self.Sex._deserialize(params.get("Sex")) + if params.get("Address") is not None: + self.Address = TextDetectionResult() + self.Address._deserialize(params.get("Address")) + if params.get("LicenseNo") is not None: + self.LicenseNo = TextDetectionResult() + self.LicenseNo._deserialize(params.get("LicenseNo")) + if params.get("ExpiresDate") is not None: + self.ExpiresDate = TextDetectionResult() + self.ExpiresDate._deserialize(params.get("ExpiresDate")) + if params.get("AgencyCode") is not None: + self.AgencyCode = TextDetectionResult() + self.AgencyCode._deserialize(params.get("AgencyCode")) + if params.get("Birthday") is not None: + self.Birthday = TextDetectionResult() + self.Birthday._deserialize(params.get("Birthday")) + self.RequestId = params.get("RequestId") + + +class RecognizePhilippinesVoteIDOCRRequest(AbstractModel): + """RecognizePhilippinesVoteIDOCR请求参数结构体 + + """ + + def __init__(self): + r""" + :param ReturnHeadImage: 是否返回人像照片。 + :type ReturnHeadImage: bool + :param ImageBase64: 图片的 Base64 值。 +支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 +支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 +图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + :type ImageBase64: str + :param ImageUrl: 图片的 Url 地址。 +支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 +支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 +图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 +非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + :type ImageUrl: str + """ + self.ReturnHeadImage = None + self.ImageBase64 = None + self.ImageUrl = None + + + def _deserialize(self, params): + self.ReturnHeadImage = params.get("ReturnHeadImage") + self.ImageBase64 = params.get("ImageBase64") + self.ImageUrl = params.get("ImageUrl") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class RecognizePhilippinesVoteIDOCRResponse(AbstractModel): + """RecognizePhilippinesVoteIDOCR返回参数结构体 + + """ + + def __init__(self): + r""" + :param HeadPortrait: 人像照片Base64后的结果 + :type HeadPortrait: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param VIN: 菲律宾VoteID的VIN + :type VIN: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param FirstName: 姓名 + :type FirstName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param LastName: 姓氏 + :type LastName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Birthday: 出生日期 + :type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param CivilStatus: 婚姻状况 + :type CivilStatus: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Citizenship: 国籍 + :type Citizenship: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param Address: 地址 + :type Address: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param PrecinctNo: 地区 + :type PrecinctNo: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult` + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.HeadPortrait = None + self.VIN = None + self.FirstName = None + self.LastName = None + self.Birthday = None + self.CivilStatus = None + self.Citizenship = None + self.Address = None + self.PrecinctNo = None + self.RequestId = None + + + def _deserialize(self, params): + if params.get("HeadPortrait") is not None: + self.HeadPortrait = TextDetectionResult() + self.HeadPortrait._deserialize(params.get("HeadPortrait")) + if params.get("VIN") is not None: + self.VIN = TextDetectionResult() + self.VIN._deserialize(params.get("VIN")) + if params.get("FirstName") is not None: + self.FirstName = TextDetectionResult() + self.FirstName._deserialize(params.get("FirstName")) + if params.get("LastName") is not None: + self.LastName = TextDetectionResult() + self.LastName._deserialize(params.get("LastName")) + if params.get("Birthday") is not None: + self.Birthday = TextDetectionResult() + self.Birthday._deserialize(params.get("Birthday")) + if params.get("CivilStatus") is not None: + self.CivilStatus = TextDetectionResult() + self.CivilStatus._deserialize(params.get("CivilStatus")) + if params.get("Citizenship") is not None: + self.Citizenship = TextDetectionResult() + self.Citizenship._deserialize(params.get("Citizenship")) + if params.get("Address") is not None: + self.Address = TextDetectionResult() + self.Address._deserialize(params.get("Address")) + if params.get("PrecinctNo") is not None: + self.PrecinctNo = TextDetectionResult() + self.PrecinctNo._deserialize(params.get("PrecinctNo")) + self.RequestId = params.get("RequestId") + + class RecognizeTableOCRRequest(AbstractModel): """RecognizeTableOCR请求参数结构体 @@ -6471,6 +6836,39 @@ def _deserialize(self, params): +class TextDetectionResult(AbstractModel): + """识别结果 + + """ + + def __init__(self): + r""" + :param Value: 识别出的文本行内容 + :type Value: str + :param Polygon: 坐标,以四个顶点坐标表示 + :type Polygon: list of Coord + """ + self.Value = None + self.Polygon = None + + + def _deserialize(self, params): + self.Value = params.get("Value") + if params.get("Polygon") is not None: + self.Polygon = [] + for item in params.get("Polygon"): + obj = Coord() + obj._deserialize(item) + self.Polygon.append(obj) + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + class TextEduPaper(AbstractModel): """数学试题识别结果 diff --git a/tencentcloud/ocr/v20181119/ocr_client.py b/tencentcloud/ocr/v20181119/ocr_client.py index 77adc22b5..676ae3a45 100644 --- a/tencentcloud/ocr/v20181119/ocr_client.py +++ b/tencentcloud/ocr/v20181119/ocr_client.py @@ -1574,6 +1574,35 @@ def RecognizeHealthCodeOCR(self, request): raise TencentCloudSDKException(e.message, e.message) + def RecognizeIndonesiaIDCardOCR(self, request): + """印尼身份证识别 + + :param request: Request instance for RecognizeIndonesiaIDCardOCR. + :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeIndonesiaIDCardOCRRequest` + :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeIndonesiaIDCardOCRResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("RecognizeIndonesiaIDCardOCR", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.RecognizeIndonesiaIDCardOCRResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + def RecognizeOnlineTaxiItineraryOCR(self, request): """本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。 @@ -1603,6 +1632,64 @@ def RecognizeOnlineTaxiItineraryOCR(self, request): raise TencentCloudSDKException(e.message, e.message) + def RecognizePhilippinesDrivingLicenseOCR(self, request): + """菲律宾驾驶证识别 + + :param request: Request instance for RecognizePhilippinesDrivingLicenseOCR. + :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizePhilippinesDrivingLicenseOCRRequest` + :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizePhilippinesDrivingLicenseOCRResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("RecognizePhilippinesDrivingLicenseOCR", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.RecognizePhilippinesDrivingLicenseOCRResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + + def RecognizePhilippinesVoteIDOCR(self, request): + """菲律宾VoteID识别 + + :param request: Request instance for RecognizePhilippinesVoteIDOCR. + :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizePhilippinesVoteIDOCRRequest` + :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizePhilippinesVoteIDOCRResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("RecognizePhilippinesVoteIDOCR", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.RecognizePhilippinesVoteIDOCRResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + def RecognizeTableOCR(self, request): """本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。 diff --git a/tencentcloud/tem/v20210701/models.py b/tencentcloud/tem/v20210701/models.py index db2049483..fd35cd319 100644 --- a/tencentcloud/tem/v20210701/models.py +++ b/tencentcloud/tem/v20210701/models.py @@ -648,9 +648,9 @@ def __init__(self): :type Readiness: :class:`tencentcloud.tem.v20210701.models.HealthCheckConfig` :param DeployStrategyConf: 分批发布策略配置 :type DeployStrategyConf: :class:`tencentcloud.tem.v20210701.models.DeployStrategyConf` - :param HorizontalAutoscaler: 弹性策略 + :param HorizontalAutoscaler: 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口) :type HorizontalAutoscaler: list of HorizontalAutoscaler - :param CronHorizontalAutoscaler: 定时弹性策略 + :param CronHorizontalAutoscaler: 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口) :type CronHorizontalAutoscaler: list of CronHorizontalAutoscaler :param LogEnable: 是否启用log,1为启用,0为不启用 :type LogEnable: int @@ -670,6 +670,8 @@ def __init__(self): :type OsFlavour: str :param EnablePrometheusConf: 是否开启prometheus 业务指标监控 :type EnablePrometheusConf: :class:`tencentcloud.tem.v20210701.models.EnablePrometheusConf` + :param EnableTracing: 1:开始apm采集;0:关闭apm采集 + :type EnableTracing: int """ self.ApplicationId = None self.InitPodNum = None @@ -711,6 +713,7 @@ def __init__(self): self.StartupProbe = None self.OsFlavour = None self.EnablePrometheusConf = None + self.EnableTracing = None def _deserialize(self, params): @@ -800,6 +803,7 @@ def _deserialize(self, params): if params.get("EnablePrometheusConf") is not None: self.EnablePrometheusConf = EnablePrometheusConf() self.EnablePrometheusConf._deserialize(params.get("EnablePrometheusConf")) + self.EnableTracing = params.get("EnableTracing") memeber_set = set(params.keys()) for name, value in vars(self).items(): if name in memeber_set: diff --git a/tencentcloud/tiia/v20190529/models.py b/tencentcloud/tiia/v20190529/models.py index 9041a7c28..0117a3edc 100644 --- a/tencentcloud/tiia/v20190529/models.py +++ b/tencentcloud/tiia/v20190529/models.py @@ -1070,6 +1070,69 @@ def _deserialize(self, params): +class DetectLabelProRequest(AbstractModel): + """DetectLabelPro请求参数结构体 + + """ + + def __init__(self): + r""" + :param ImageUrl: 图片URL地址。 +图片限制: +• 图片格式:PNG、JPG、JPEG、BMP。 +• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。 +建议: +• 图片像素:大于50*50像素,否则影响识别效果; +• 长宽比:长边:短边<5; +接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。 + :type ImageUrl: str + :param ImageBase64: 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。 +**注意:图片需要base64编码,并且要去掉编码头部。** + :type ImageBase64: str + """ + self.ImageUrl = None + self.ImageBase64 = None + + + def _deserialize(self, params): + self.ImageUrl = params.get("ImageUrl") + self.ImageBase64 = params.get("ImageBase64") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + +class DetectLabelProResponse(AbstractModel): + """DetectLabelPro返回参数结构体 + + """ + + def __init__(self): + r""" + :param Labels: 返回标签数组。 +注意:此字段可能返回 null,表示取不到有效值。 + :type Labels: list of DetectLabelItem + :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + :type RequestId: str + """ + self.Labels = None + self.RequestId = None + + + def _deserialize(self, params): + if params.get("Labels") is not None: + self.Labels = [] + for item in params.get("Labels"): + obj = DetectLabelItem() + obj._deserialize(item) + self.Labels.append(obj) + self.RequestId = params.get("RequestId") + + class DetectLabelRequest(AbstractModel): """DetectLabel请求参数结构体 diff --git a/tencentcloud/tiia/v20190529/tiia_client.py b/tencentcloud/tiia/v20190529/tiia_client.py index 883ed6022..2d4cfabbf 100644 --- a/tencentcloud/tiia/v20190529/tiia_client.py +++ b/tencentcloud/tiia/v20190529/tiia_client.py @@ -388,6 +388,38 @@ def DetectLabelBeta(self, request): raise TencentCloudSDKException(e.message, e.message) + def DetectLabelPro(self, request): + """通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等,广泛应用于拍照识物、场景分析、图像内容审核与推荐、智能相册分类等场景。 + + > + - 通用图像标签在原图像标签接口的基础上进行了升级,识别精度和标签覆盖范围相比原图像标签接口更优,推荐使用。 + + :param request: Request instance for DetectLabelPro. + :type request: :class:`tencentcloud.tiia.v20190529.models.DetectLabelProRequest` + :rtype: :class:`tencentcloud.tiia.v20190529.models.DetectLabelProResponse` + + """ + try: + params = request._serialize() + headers = request.headers + body = self.call("DetectLabelPro", params, headers=headers) + response = json.loads(body) + if "Error" not in response["Response"]: + model = models.DetectLabelProResponse() + model._deserialize(response["Response"]) + return model + else: + code = response["Response"]["Error"]["Code"] + message = response["Response"]["Error"]["Message"] + reqid = response["Response"]["RequestId"] + raise TencentCloudSDKException(code, message, reqid) + except Exception as e: + if isinstance(e, TencentCloudSDKException): + raise + else: + raise TencentCloudSDKException(e.message, e.message) + + def DetectMisbehavior(self, request): """可以识别输入的图片中是否包含不良行为,例如打架斗殴、赌博、抽烟等,可以应用于广告图、直播截图、短视频截图等审核,减少不良行为对平台内容质量的影响,维护健康向上的互联网环境。 > diff --git a/tencentcloud/tke/v20180525/models.py b/tencentcloud/tke/v20180525/models.py index 4ca0e5aae..344438240 100644 --- a/tencentcloud/tke/v20180525/models.py +++ b/tencentcloud/tke/v20180525/models.py @@ -2493,6 +2493,8 @@ def __init__(self): :type EnableVpcCoreDNS: bool :param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。 :type TagSpecification: list of TagSpecification + :param SubnetInfos: 子网信息列表 + :type SubnetInfos: list of SubnetInfos """ self.K8SVersion = None self.VpcId = None @@ -2504,6 +2506,7 @@ def __init__(self): self.ExtraParam = None self.EnableVpcCoreDNS = None self.TagSpecification = None + self.SubnetInfos = None def _deserialize(self, params): @@ -2527,6 +2530,12 @@ def _deserialize(self, params): obj = TagSpecification() obj._deserialize(item) self.TagSpecification.append(obj) + if params.get("SubnetInfos") is not None: + self.SubnetInfos = [] + for item in params.get("SubnetInfos"): + obj = SubnetInfos() + obj._deserialize(item) + self.SubnetInfos.append(obj) memeber_set = set(params.keys()) for name, value in vars(self).items(): if name in memeber_set: @@ -13866,6 +13875,34 @@ def _deserialize(self, params): self.RequestId = params.get("RequestId") +class SubnetInfos(AbstractModel): + """子网信息 + + """ + + def __init__(self): + r""" + :param SubnetId: 子网id + :type SubnetId: str + :param Name: 子网节点名称 + :type Name: str + """ + self.SubnetId = None + self.Name = None + + + def _deserialize(self, params): + self.SubnetId = params.get("SubnetId") + self.Name = params.get("Name") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + class SyncPrometheusTempRequest(AbstractModel): """SyncPrometheusTemp请求参数结构体 diff --git a/tencentcloud/vm/v20201229/models.py b/tencentcloud/vm/v20201229/models.py index dedc9d8e0..0c6fac400 100644 --- a/tencentcloud/vm/v20201229/models.py +++ b/tencentcloud/vm/v20201229/models.py @@ -62,6 +62,9 @@ def __init__(self): :param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。 注意:此字段可能返回 null,表示取不到有效值。 :type SubLabel: str + :param RecognitionResults: 识别类标签结果信息列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type RecognitionResults: list of RecognitionResult """ self.HitFlag = None self.Label = None @@ -75,6 +78,7 @@ def __init__(self): self.MoanResults = None self.LanguageResults = None self.SubLabel = None + self.RecognitionResults = None def _deserialize(self, params): @@ -105,6 +109,12 @@ def _deserialize(self, params): obj._deserialize(item) self.LanguageResults.append(obj) self.SubLabel = params.get("SubLabel") + if params.get("RecognitionResults") is not None: + self.RecognitionResults = [] + for item in params.get("RecognitionResults"): + obj = RecognitionResult() + obj._deserialize(item) + self.RecognitionResults.append(obj) memeber_set = set(params.keys()) for name, value in vars(self).items(): if name in memeber_set: @@ -1019,6 +1029,41 @@ def _deserialize(self, params): +class RecognitionResult(AbstractModel): + """识别类标签结果信息 + + """ + + def __init__(self): + r""" + :param Label: 可能的取值有:Teenager 、Gender +注意:此字段可能返回 null,表示取不到有效值。 + :type Label: str + :param Tags: 识别标签列表 +注意:此字段可能返回 null,表示取不到有效值。 + :type Tags: list of Tag + """ + self.Label = None + self.Tags = None + + + def _deserialize(self, params): + self.Label = params.get("Label") + if params.get("Tags") is not None: + self.Tags = [] + for item in params.get("Tags"): + obj = Tag() + obj._deserialize(item) + self.Tags.append(obj) + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + class StorageInfo(AbstractModel): """数据存储信息 @@ -1053,6 +1098,48 @@ def _deserialize(self, params): +class Tag(AbstractModel): + """音频切片识别标签 + + """ + + def __init__(self): + r""" + :param Name: 根据Label字段确定具体名称: +当Label 为Teenager 时 Name可能取值有:Teenager +当Label 为Gender 时 Name可能取值有:Male 、Female +注意:此字段可能返回 null,表示取不到有效值。 + :type Name: str + :param Score: 置信分:0~100,数值越大表示置信度越高 +注意:此字段可能返回 null,表示取不到有效值。 + :type Score: int + :param StartTime: 识别开始偏移时间,单位:毫秒 +注意:此字段可能返回 null,表示取不到有效值。 + :type StartTime: float + :param EndTime: 识别结束偏移时间,单位:毫秒 +注意:此字段可能返回 null,表示取不到有效值。 + :type EndTime: float + """ + self.Name = None + self.Score = None + self.StartTime = None + self.EndTime = None + + + def _deserialize(self, params): + self.Name = params.get("Name") + self.Score = params.get("Score") + self.StartTime = params.get("StartTime") + self.EndTime = params.get("EndTime") + memeber_set = set(params.keys()) + for name, value in vars(self).items(): + if name in memeber_set: + memeber_set.remove(name) + if len(memeber_set) > 0: + warnings.warn("%s fileds are useless." % ",".join(memeber_set)) + + + class TaskData(AbstractModel): """任务数据 diff --git a/tencentcloud/vod/v20180717/models.py b/tencentcloud/vod/v20180717/models.py index e9db5dca6..258f23e95 100644 --- a/tencentcloud/vod/v20180717/models.py +++ b/tencentcloud/vod/v20180717/models.py @@ -4285,6 +4285,8 @@ def __init__(self): r""" :param MediaType: 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 :type MediaType: str + :param SubAppId: 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 + :type SubAppId: int :param MediaName: 媒体名称。 :type MediaName: str :param CoverType: 封面类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 @@ -4304,10 +4306,9 @@ def __init__(self): :type SessionContext: str :param ExtInfo: 保留字段,特殊用途时使用。 :type ExtInfo: str - :param SubAppId: 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 - :type SubAppId: int """ self.MediaType = None + self.SubAppId = None self.MediaName = None self.CoverType = None self.Procedure = None @@ -4317,11 +4318,11 @@ def __init__(self): self.SourceContext = None self.SessionContext = None self.ExtInfo = None - self.SubAppId = None def _deserialize(self, params): self.MediaType = params.get("MediaType") + self.SubAppId = params.get("SubAppId") self.MediaName = params.get("MediaName") self.CoverType = params.get("CoverType") self.Procedure = params.get("Procedure") @@ -4331,7 +4332,6 @@ def _deserialize(self, params): self.SourceContext = params.get("SourceContext") self.SessionContext = params.get("SessionContext") self.ExtInfo = params.get("ExtInfo") - self.SubAppId = params.get("SubAppId") memeber_set = set(params.keys()) for name, value in vars(self).items(): if name in memeber_set: diff --git a/tests/unit/test_import.py b/tests/unit/test_import.py index 615a3fd27..599a9ded6 100644 --- a/tests/unit/test_import.py +++ b/tests/unit/test_import.py @@ -24,6 +24,11 @@ def test_import_aai(): from tencentcloud.aai.v20180522 import models +def test_import_acp(): + from tencentcloud.acp.v20220105 import acp_client + from tencentcloud.acp.v20220105 import models + + def test_import_advisor(): from tencentcloud.advisor.v20200721 import advisor_client from tencentcloud.advisor.v20200721 import models @@ -664,6 +669,11 @@ def test_import_mgobe(): from tencentcloud.mgobe.v20201014 import models +def test_import_mmps(): + from tencentcloud.mmps.v20200710 import mmps_client + from tencentcloud.mmps.v20200710 import models + + def test_import_mna(): from tencentcloud.mna.v20210119 import mna_client from tencentcloud.mna.v20210119 import models