From 769a065ceba43a5b4ae3fd35e28668baad26ce1d Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Tue, 25 Jun 2024 04:15:13 +0800 Subject: [PATCH] release v1.0.949 --- CHANGELOG.md | 301 +++++++++++ SERVICE_CHANGELOG.md | 508 +++++++++++++++++-- products.md | 37 +- tencentcloud/aa/go.mod | 2 +- tencentcloud/aai/go.mod | 2 +- tencentcloud/acp/go.mod | 2 +- tencentcloud/advisor/go.mod | 2 +- tencentcloud/af/go.mod | 2 +- tencentcloud/afc/go.mod | 2 +- tencentcloud/aiart/go.mod | 2 +- tencentcloud/ame/go.mod | 2 +- tencentcloud/ams/go.mod | 2 +- tencentcloud/anicloud/go.mod | 2 +- tencentcloud/antiddos/go.mod | 2 +- tencentcloud/apcas/go.mod | 2 +- tencentcloud/ape/go.mod | 2 +- tencentcloud/api/go.mod | 2 +- tencentcloud/apigateway/go.mod | 2 +- tencentcloud/apm/go.mod | 2 +- tencentcloud/as/go.mod | 2 +- tencentcloud/asr/go.mod | 2 +- tencentcloud/asr/v20190614/client.go | 75 +++ tencentcloud/asr/v20190614/errors.go | 3 + tencentcloud/asr/v20190614/models.go | 152 +++++- tencentcloud/asw/go.mod | 2 +- tencentcloud/ba/go.mod | 2 +- tencentcloud/batch/go.mod | 2 +- tencentcloud/bda/go.mod | 2 +- tencentcloud/bi/go.mod | 2 +- tencentcloud/billing/go.mod | 2 +- tencentcloud/bizlive/go.mod | 2 +- tencentcloud/bm/go.mod | 2 +- tencentcloud/bma/go.mod | 2 +- tencentcloud/bmeip/go.mod | 2 +- tencentcloud/bmlb/go.mod | 2 +- tencentcloud/bmvpc/go.mod | 2 +- tencentcloud/bpaas/go.mod | 2 +- tencentcloud/bri/go.mod | 2 +- tencentcloud/bsca/go.mod | 2 +- tencentcloud/btoe/go.mod | 2 +- tencentcloud/cam/go.mod | 2 +- tencentcloud/captcha/go.mod | 2 +- tencentcloud/car/go.mod | 2 +- tencentcloud/cat/go.mod | 2 +- tencentcloud/cbs/go.mod | 2 +- tencentcloud/ccc/go.mod | 2 +- tencentcloud/cdb/go.mod | 2 +- tencentcloud/cdc/go.mod | 2 +- tencentcloud/cdn/go.mod | 2 +- tencentcloud/cds/go.mod | 2 +- tencentcloud/cdwch/go.mod | 2 +- tencentcloud/cdwdoris/go.mod | 2 +- tencentcloud/cdwpg/go.mod | 2 +- tencentcloud/cfg/go.mod | 2 +- tencentcloud/cfs/go.mod | 2 +- tencentcloud/cfw/go.mod | 2 +- tencentcloud/chdfs/go.mod | 2 +- tencentcloud/ciam/go.mod | 2 +- tencentcloud/cii/go.mod | 2 +- tencentcloud/cim/go.mod | 2 +- tencentcloud/cis/go.mod | 2 +- tencentcloud/ckafka/go.mod | 2 +- tencentcloud/clb/go.mod | 2 +- tencentcloud/cloudaudit/go.mod | 2 +- tencentcloud/cloudhsm/go.mod | 2 +- tencentcloud/cloudstudio/go.mod | 2 +- tencentcloud/cls/go.mod | 2 +- tencentcloud/cme/go.mod | 2 +- tencentcloud/cmq/go.mod | 2 +- tencentcloud/cms/go.mod | 2 +- tencentcloud/common/http/request.go | 2 +- tencentcloud/config/go.mod | 2 +- tencentcloud/cpdp/go.mod | 2 +- tencentcloud/cr/go.mod | 2 +- tencentcloud/csip/go.mod | 2 +- tencentcloud/csxg/go.mod | 2 +- tencentcloud/cvm/go.mod | 2 +- tencentcloud/cwp/go.mod | 2 +- tencentcloud/cws/go.mod | 2 +- tencentcloud/cynosdb/go.mod | 2 +- tencentcloud/dasb/go.mod | 2 +- tencentcloud/dataintegration/go.mod | 2 +- tencentcloud/dayu/go.mod | 2 +- tencentcloud/dbbrain/go.mod | 2 +- tencentcloud/dbdc/go.mod | 2 +- tencentcloud/dc/go.mod | 2 +- tencentcloud/dcdb/go.mod | 2 +- tencentcloud/dlc/go.mod | 2 +- tencentcloud/dlc/v20210125/client.go | 49 ++ tencentcloud/dlc/v20210125/models.go | 100 ++++ tencentcloud/dnspod/go.mod | 2 +- tencentcloud/domain/go.mod | 2 +- tencentcloud/drm/go.mod | 2 +- tencentcloud/ds/go.mod | 2 +- tencentcloud/dsgc/go.mod | 2 +- tencentcloud/dtf/go.mod | 2 +- tencentcloud/dts/go.mod | 2 +- tencentcloud/eb/go.mod | 2 +- tencentcloud/ecc/go.mod | 2 +- tencentcloud/ecdn/go.mod | 2 +- tencentcloud/ecm/go.mod | 2 +- tencentcloud/eiam/go.mod | 2 +- tencentcloud/eis/go.mod | 2 +- tencentcloud/emr/go.mod | 2 +- tencentcloud/es/go.mod | 2 +- tencentcloud/ess/go.mod | 2 +- tencentcloud/ess/v20201111/models.go | 2 + tencentcloud/essbasic/go.mod | 2 +- tencentcloud/essbasic/v20210526/models.go | 4 + tencentcloud/facefusion/go.mod | 2 +- tencentcloud/faceid/go.mod | 2 +- tencentcloud/fmu/go.mod | 2 +- tencentcloud/ft/go.mod | 2 +- tencentcloud/gaap/go.mod | 2 +- tencentcloud/gme/go.mod | 2 +- tencentcloud/goosefs/go.mod | 2 +- tencentcloud/gpm/go.mod | 2 +- tencentcloud/gs/go.mod | 2 +- tencentcloud/gse/go.mod | 2 +- tencentcloud/habo/go.mod | 2 +- tencentcloud/hai/go.mod | 2 +- tencentcloud/hasim/go.mod | 2 +- tencentcloud/hcm/go.mod | 2 +- tencentcloud/hunyuan/go.mod | 2 +- tencentcloud/iai/go.mod | 2 +- tencentcloud/ic/go.mod | 2 +- tencentcloud/icr/go.mod | 2 +- tencentcloud/ie/go.mod | 2 +- tencentcloud/iecp/go.mod | 2 +- tencentcloud/iir/go.mod | 2 +- tencentcloud/ims/go.mod | 2 +- tencentcloud/ioa/go.mod | 2 +- tencentcloud/iot/go.mod | 2 +- tencentcloud/iotcloud/go.mod | 2 +- tencentcloud/iotexplorer/go.mod | 2 +- tencentcloud/iotexplorer/v20190423/client.go | 61 +++ tencentcloud/iotexplorer/v20190423/models.go | 94 ++++ tencentcloud/iottid/go.mod | 2 +- tencentcloud/iotvideo/go.mod | 2 +- tencentcloud/iotvideoindustry/go.mod | 2 +- tencentcloud/irp/go.mod | 2 +- tencentcloud/iss/go.mod | 2 +- tencentcloud/ivld/go.mod | 2 +- tencentcloud/keewidb/go.mod | 2 +- tencentcloud/kms/go.mod | 2 +- tencentcloud/lcic/go.mod | 2 +- tencentcloud/lighthouse/go.mod | 2 +- tencentcloud/lighthouse/v20200324/client.go | 28 +- tencentcloud/lighthouse/v20200324/errors.go | 15 + tencentcloud/lighthouse/v20200324/models.go | 38 +- tencentcloud/live/go.mod | 2 +- tencentcloud/lke/go.mod | 2 +- tencentcloud/lke/v20231130/client.go | 221 ++++++++ tencentcloud/lke/v20231130/errors.go | 3 + tencentcloud/lke/v20231130/models.go | 336 +++++++++++- tencentcloud/lowcode/go.mod | 2 +- tencentcloud/lp/go.mod | 2 +- tencentcloud/mall/go.mod | 2 +- tencentcloud/mariadb/go.mod | 2 +- tencentcloud/market/go.mod | 2 +- tencentcloud/memcached/go.mod | 2 +- tencentcloud/mgobe/go.mod | 2 +- tencentcloud/mmps/go.mod | 2 +- tencentcloud/mna/go.mod | 2 +- tencentcloud/mongodb/go.mod | 2 +- tencentcloud/monitor/go.mod | 2 +- tencentcloud/mps/go.mod | 2 +- tencentcloud/mrs/go.mod | 2 +- tencentcloud/ms/go.mod | 2 +- tencentcloud/msp/go.mod | 2 +- tencentcloud/mvj/go.mod | 2 +- tencentcloud/nlp/go.mod | 2 +- tencentcloud/npp/go.mod | 2 +- tencentcloud/oceanus/go.mod | 2 +- tencentcloud/ocr/go.mod | 2 +- tencentcloud/ocr/v20181119/client.go | 4 +- tencentcloud/omics/go.mod | 2 +- tencentcloud/organization/go.mod | 2 +- tencentcloud/partners/go.mod | 2 +- tencentcloud/pds/go.mod | 2 +- tencentcloud/postgres/go.mod | 2 +- tencentcloud/privatedns/go.mod | 2 +- tencentcloud/pts/go.mod | 2 +- tencentcloud/rce/go.mod | 2 +- tencentcloud/redis/go.mod | 2 +- tencentcloud/region/go.mod | 2 +- tencentcloud/rkp/go.mod | 2 +- tencentcloud/rp/go.mod | 2 +- tencentcloud/rum/go.mod | 2 +- tencentcloud/scf/go.mod | 2 +- tencentcloud/ses/go.mod | 2 +- tencentcloud/smh/go.mod | 2 +- tencentcloud/smop/go.mod | 2 +- tencentcloud/smpn/go.mod | 2 +- tencentcloud/sms/go.mod | 2 +- tencentcloud/soe/go.mod | 2 +- tencentcloud/solar/go.mod | 2 +- tencentcloud/sqlserver/go.mod | 2 +- tencentcloud/ssa/go.mod | 2 +- tencentcloud/ssl/go.mod | 2 +- tencentcloud/sslpod/go.mod | 2 +- tencentcloud/ssm/go.mod | 2 +- tencentcloud/sts/go.mod | 2 +- tencentcloud/svp/go.mod | 2 +- tencentcloud/taf/go.mod | 2 +- tencentcloud/tag/go.mod | 2 +- tencentcloud/tan/go.mod | 2 +- tencentcloud/tat/go.mod | 2 +- tencentcloud/tav/go.mod | 2 +- tencentcloud/tbaas/go.mod | 2 +- tencentcloud/tbm/go.mod | 2 +- tencentcloud/tbp/go.mod | 2 +- tencentcloud/tcaplusdb/go.mod | 2 +- tencentcloud/tcb/go.mod | 2 +- tencentcloud/tcbr/go.mod | 2 +- tencentcloud/tcex/go.mod | 2 +- tencentcloud/tchd/go.mod | 2 +- tencentcloud/tci/go.mod | 2 +- tencentcloud/tcm/go.mod | 2 +- tencentcloud/tcr/go.mod | 2 +- tencentcloud/tcss/go.mod | 2 +- tencentcloud/tdcpg/go.mod | 2 +- tencentcloud/tdid/go.mod | 2 +- tencentcloud/tdmq/go.mod | 2 +- tencentcloud/tdmq/v20200217/client.go | 53 ++ tencentcloud/tdmq/v20200217/models.go | 195 +++++++ tencentcloud/tds/go.mod | 2 +- tencentcloud/tem/go.mod | 2 +- tencentcloud/teo/go.mod | 2 +- tencentcloud/thpc/go.mod | 2 +- tencentcloud/tia/go.mod | 2 +- tencentcloud/tic/go.mod | 2 +- tencentcloud/ticm/go.mod | 2 +- tencentcloud/tics/go.mod | 2 +- tencentcloud/tiems/go.mod | 2 +- tencentcloud/tiia/go.mod | 2 +- tencentcloud/tione/go.mod | 2 +- tencentcloud/tiw/go.mod | 2 +- tencentcloud/tke/go.mod | 2 +- tencentcloud/tkgdq/go.mod | 2 +- tencentcloud/tms/go.mod | 2 +- tencentcloud/tmt/go.mod | 2 +- tencentcloud/tourism/go.mod | 2 +- tencentcloud/trdp/go.mod | 2 +- tencentcloud/trocket/go.mod | 2 +- tencentcloud/trocket/v20230308/client.go | 49 ++ tencentcloud/trocket/v20230308/models.go | 118 +++++ tencentcloud/trp/go.mod | 2 +- tencentcloud/trro/go.mod | 2 +- tencentcloud/trtc/go.mod | 2 +- tencentcloud/trtc/v20190722/models.go | 20 +- tencentcloud/tse/go.mod | 2 +- tencentcloud/tsf/go.mod | 2 +- tencentcloud/tsi/doc.go | 2 + tencentcloud/tsi/go.mod | 5 + tencentcloud/tsi/v20210325/client.go | 207 ++++++++ tencentcloud/tsi/v20210325/errors.go | 37 ++ tencentcloud/tsi/v20210325/models.go | 338 ++++++++++++ tencentcloud/tsw/go.mod | 2 +- tencentcloud/tts/go.mod | 2 +- tencentcloud/ump/go.mod | 2 +- tencentcloud/vcg/go.mod | 2 +- tencentcloud/vdb/go.mod | 2 +- tencentcloud/vm/go.mod | 2 +- tencentcloud/vms/go.mod | 2 +- tencentcloud/vod/go.mod | 2 +- tencentcloud/vpc/go.mod | 2 +- tencentcloud/vpc/v20170312/client.go | 18 +- tencentcloud/vpc/v20170312/errors.go | 3 + tencentcloud/vpc/v20170312/models.go | 14 +- tencentcloud/vrs/go.mod | 2 +- tencentcloud/vtc/go.mod | 2 +- tencentcloud/waf/go.mod | 2 +- tencentcloud/waf/v20180125/client.go | 75 +++ tencentcloud/waf/v20180125/models.go | 82 +++ tencentcloud/wav/go.mod | 2 +- tencentcloud/wedata/go.mod | 2 +- tencentcloud/weilingwith/go.mod | 2 +- tencentcloud/wss/go.mod | 2 +- tencentcloud/yinsuda/go.mod | 2 +- tencentcloud/youmall/go.mod | 2 +- tencentcloud/yunjing/go.mod | 2 +- tencentcloud/yunsou/go.mod | 2 +- testing/go.mod | 4 +- testing/integration/import_test.go | 14 + 285 files changed, 3399 insertions(+), 364 deletions(-) create mode 100644 tencentcloud/tsi/doc.go create mode 100644 tencentcloud/tsi/go.mod create mode 100644 tencentcloud/tsi/v20210325/client.go create mode 100644 tencentcloud/tsi/v20210325/errors.go create mode 100644 tencentcloud/tsi/v20210325/models.go diff --git a/CHANGELOG.md b/CHANGELOG.md index b6583c5099..a9e4be2b02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,304 @@ +# Release v1.0.949 + +## 语音识别(asr) 版本:2019-06-14 + +### 第 36 次发布 + +发布时间:2024-06-25 01:07:52 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [VoicePrintGroupVerify](https://cloud.tencent.com/document/api/1093/107668) + +修改接口: + +* [VoicePrintCount](https://cloud.tencent.com/document/api/1093/96061) + + * 新增入参:GroupId, CountMod + +* [VoicePrintDelete](https://cloud.tencent.com/document/api/1093/94484) + + * 新增入参:GroupId, DelMod + +* [VoicePrintEnroll](https://cloud.tencent.com/document/api/1093/94483) + + * 新增入参:GroupId + + +新增数据结构: + +* [VerifyTop](https://cloud.tencent.com/document/api/1093/37824#VerifyTop) +* [VerifyTopResult](https://cloud.tencent.com/document/api/1093/37824#VerifyTopResult) + +修改数据结构: + +* [VoicePrintCountData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCountData) + + * 新增成员:VoicePrintList + + + + +## 数据湖计算 DLC(dlc) 版本:2021-01-25 + +### 第 95 次发布 + +发布时间:2024-06-25 01:13:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeDataEnginesScaleDetail](https://cloud.tencent.com/document/api/1342/107670) + +新增数据结构: + +* [DataEngineScaleInfo](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfo) +* [DataEngineScaleInfoDetail](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfoDetail) + + + +## 数据安全治理中心(dsgc) 版本:2019-07-23 + +### 第 15 次发布 + +发布时间:2024-06-25 01:13:45 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CosTaskResult](https://cloud.tencent.com/document/api/1087/96844#CosTaskResult) + + * **修改成员**:Result, ResultDescription, ErrDescription, ResourceId + + + + +## 腾讯电子签企业版(ess) 版本:2020-11-11 + +### 第 176 次发布 + +发布时间:2024-06-25 01:14:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateLegalSealQrCode](https://cloud.tencent.com/document/api/1323/107551) + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 172 次发布 + +发布时间:2024-06-25 01:15:10 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateLegalSealQrCode](https://cloud.tencent.com/document/api/1420/107552) + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 物联网开发平台(iotexplorer) 版本:2019-04-23 + +### 第 68 次发布 + +发布时间:2024-06-25 01:16:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeFirmware](https://cloud.tencent.com/document/api/1081/107671) + + + +## 大模型知识引擎(lke) 版本:2023-11-30 + +### 第 9 次发布 + +发布时间:2024-06-25 01:18:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ConvertDocument](https://cloud.tencent.com/document/api/1759/107672) +* [GetAnswerTypeDataCount](https://cloud.tencent.com/document/api/1759/107674) +* [GetLikeDataCount](https://cloud.tencent.com/document/api/1759/107673) + +新增数据结构: + +* [WordRecognizeInfo](https://cloud.tencent.com/document/api/1759/105104#WordRecognizeInfo) + + + +## 消息队列 TDMQ(tdmq) 版本:2020-02-17 + +### 第 116 次发布 + +发布时间:2024-06-25 01:23:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeRabbitMQExchanges](https://cloud.tencent.com/document/api/1179/107675) + +新增数据结构: + +* [RabbitMQExchangeListInfo](https://cloud.tencent.com/document/api/1179/46089#RabbitMQExchangeListInfo) + + + +## 弹性微服务(tem) 版本:2021-07-01 + +### 第 42 次发布 + +发布时间:2024-06-25 01:23:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UseDefaultRepoParameters](https://cloud.tencent.com/document/api/1371/60171#UseDefaultRepoParameters) + + * **修改成员**:EnterpriseInstanceName, EnterpriseInstanceChargeType, EnterpriseInstanceType + + + + +## 弹性微服务(tem) 版本:2020-12-21 + + + +## 消息队列 RocketMQ 版(trocket) 版本:2023-03-08 + +### 第 16 次发布 + +发布时间:2024-06-25 01:24:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) + +新增数据结构: + +* [PriceTag](https://cloud.tencent.com/document/api/1493/96031#PriceTag) +* [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) + + + +## 实时音视频(trtc) 版本:2019-07-22 + +### 第 79 次发布 + +发布时间:2024-06-25 01:25:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [McuLayout](https://cloud.tencent.com/document/api/647/44055#McuLayout) + + * 新增成员:BackGroundColorMode + + + + +## 腾讯同传系统(tsi) 版本:2021-03-25 + +### 第 1 次发布 + +发布时间:2024-06-24 10:37:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [TongChuanDisplay](https://cloud.tencent.com/document/api/1399/107636) +* [TongChuanRecognize](https://cloud.tencent.com/document/api/1399/107635) +* [TongChuanSync](https://cloud.tencent.com/document/api/1399/107634) + +新增数据结构: + +* [DisplayInfo](https://cloud.tencent.com/document/api/1399/107637#DisplayInfo) + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 190 次发布 + +发布时间:2024-06-25 01:26:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GatewayFlowMonitorDetail](https://cloud.tencent.com/document/api/215/15824#GatewayFlowMonitorDetail) + + * 新增成员:ConcurrentConnectionCount, NewConnectionRate + + + + +## Web 应用防火墙(waf) 版本:2018-01-25 + +### 第 90 次发布 + +发布时间:2024-06-25 01:27:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [AddAreaBanAreas](https://cloud.tencent.com/document/api/627/107677) + + + # Release v1.0.948 ## 云数据库 MySQL(cdb) 版本:2017-03-20 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index b26216ab58..6cf256e3fa 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,10 @@ # 本版本更新包含以下内容: -## 云数据库 MySQL(cdb) 版本:2017-03-20 +## 语音识别(asr) 版本:2019-06-14 -### 第 159 次发布 +### 第 36 次发布 -发布时间:2024-06-24 01:09:17 +发布时间:2024-06-25 01:07:52 本次发布包含了以下内容: @@ -12,75 +12,99 @@ 新增接口: -* [DescribeInstanceUpgradeType](https://cloud.tencent.com/document/api/236/107630) +* [VoicePrintGroupVerify](https://cloud.tencent.com/document/api/1093/107668) + +修改接口: + +* [VoicePrintCount](https://cloud.tencent.com/document/api/1093/96061) + + * 新增入参:GroupId, CountMod + +* [VoicePrintDelete](https://cloud.tencent.com/document/api/1093/94484) + + * 新增入参:GroupId, DelMod + +* [VoicePrintEnroll](https://cloud.tencent.com/document/api/1093/94483) + + * 新增入参:GroupId + 新增数据结构: -* [ClusterTopology](https://cloud.tencent.com/document/api/236/15878#ClusterTopology) -* [NodeDistribution](https://cloud.tencent.com/document/api/236/15878#NodeDistribution) -* [ReadWriteNode](https://cloud.tencent.com/document/api/236/15878#ReadWriteNode) -* [ReadonlyNode](https://cloud.tencent.com/document/api/236/15878#ReadonlyNode) +* [VerifyTop](https://cloud.tencent.com/document/api/1093/37824#VerifyTop) +* [VerifyTopResult](https://cloud.tencent.com/document/api/1093/37824#VerifyTopResult) +修改数据结构: +* [VoicePrintCountData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCountData) -## 大模型知识引擎(lke) 版本:2023-11-30 + * 新增成员:VoicePrintList -### 第 8 次发布 -发布时间:2024-06-21 21:11:25 + + +## 数据湖计算 DLC(dlc) 版本:2021-01-25 + +### 第 95 次发布 + +发布时间:2024-06-25 01:13:07 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增接口: -* [DescribeStorageCredential](https://cloud.tencent.com/document/api/1759/105050) +* [DescribeDataEnginesScaleDetail](https://cloud.tencent.com/document/api/1342/107670) - * 新增入参:TypeKey +新增数据结构: - * **修改入参**:BotBizId +* [DataEngineScaleInfo](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfo) +* [DataEngineScaleInfoDetail](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfoDetail) -* [GetDocPreview](https://cloud.tencent.com/document/api/1759/105067) - * 新增入参:TypeKey -* [GetWsToken](https://cloud.tencent.com/document/api/1759/105089) +## 数据安全治理中心(dsgc) 版本:2019-07-23 - * 新增出参:Balance, InputLenLimit +### 第 15 次发布 +发布时间:2024-06-25 01:13:45 -新增数据结构: +本次发布包含了以下内容: -* [FileInfo](https://cloud.tencent.com/document/api/1759/105104#FileInfo) -* [MsgFileInfo](https://cloud.tencent.com/document/api/1759/105104#MsgFileInfo) +改善已有的文档。 修改数据结构: -* [AppModel](https://cloud.tencent.com/document/api/1759/105104#AppModel) +* [CosTaskResult](https://cloud.tencent.com/document/api/1087/96844#CosTaskResult) - * 新增成员:TokenBalance + * **修改成员**:Result, ResultDescription, ErrDescription, ResourceId -* [Context](https://cloud.tencent.com/document/api/1759/105104#Context) - * 新增成员:FileInfos -* [KnowledgeQaSearch](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaSearch) - * 新增成员:Confidence +## 腾讯电子签企业版(ess) 版本:2020-11-11 -* [MsgRecord](https://cloud.tencent.com/document/api/1759/105104#MsgRecord) +### 第 176 次发布 - * 新增成员:FileInfos +发布时间:2024-06-25 01:14:54 + +本次发布包含了以下内容: + +改善已有的文档。 +修改接口: +* [CreateLegalSealQrCode](https://cloud.tencent.com/document/api/1323/107551) -## 邮件推送(ses) 版本:2020-10-02 -### 第 21 次发布 -发布时间:2024-06-21 16:22:39 +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 172 次发布 + +发布时间:2024-06-25 01:15:10 本次发布包含了以下内容: @@ -88,18 +112,78 @@ 修改接口: -* [SendEmail](https://cloud.tencent.com/document/api/1288/51034) +* [CreateLegalSealQrCode](https://cloud.tencent.com/document/api/1420/107552) - * 新增入参:SmtpMessageId, SmtpHeaders +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 物联网开发平台(iotexplorer) 版本:2019-04-23 + +### 第 68 次发布 + +发布时间:2024-06-25 01:16:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeFirmware](https://cloud.tencent.com/document/api/1081/107671) + + + +## 大模型知识引擎(lke) 版本:2023-11-30 + +### 第 9 次发布 + +发布时间:2024-06-25 01:18:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ConvertDocument](https://cloud.tencent.com/document/api/1759/107672) +* [GetAnswerTypeDataCount](https://cloud.tencent.com/document/api/1759/107674) +* [GetLikeDataCount](https://cloud.tencent.com/document/api/1759/107673) + +新增数据结构: + +* [WordRecognizeInfo](https://cloud.tencent.com/document/api/1759/105104#WordRecognizeInfo) + + ## 消息队列 TDMQ(tdmq) 版本:2020-02-17 -### 第 115 次发布 +### 第 116 次发布 -发布时间:2024-06-24 01:23:04 +发布时间:2024-06-25 01:23:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeRabbitMQExchanges](https://cloud.tencent.com/document/api/1179/107675) + +新增数据结构: + +* [RabbitMQExchangeListInfo](https://cloud.tencent.com/document/api/1179/46089#RabbitMQExchangeListInfo) + + + +## 弹性微服务(tem) 版本:2021-07-01 + +### 第 42 次发布 + +发布时间:2024-06-25 01:23:38 本次发布包含了以下内容: @@ -107,27 +191,111 @@ 修改数据结构: -* [RocketMQClusterInfo](https://cloud.tencent.com/document/api/1179/46089#RocketMQClusterInfo) +* [UseDefaultRepoParameters](https://cloud.tencent.com/document/api/1371/60171#UseDefaultRepoParameters) - * 新增成员:ZoneId, ZoneIds + * **修改成员**:EnterpriseInstanceName, EnterpriseInstanceChargeType, EnterpriseInstanceType + + + + +## 弹性微服务(tem) 版本:2020-12-21 + + + +## 消息队列 RocketMQ 版(trocket) 版本:2023-03-08 + +### 第 16 次发布 + +发布时间:2024-06-25 01:24:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) + +新增数据结构: +* [PriceTag](https://cloud.tencent.com/document/api/1493/96031#PriceTag) +* [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) ## 实时音视频(trtc) 版本:2019-07-22 -### 第 78 次发布 +### 第 79 次发布 -发布时间:2024-06-24 01:24:46 +发布时间:2024-06-25 01:25:02 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +修改数据结构: -* [StartStreamIngest](https://cloud.tencent.com/document/api/647/101872) +* [McuLayout](https://cloud.tencent.com/document/api/647/44055#McuLayout) + + * 新增成员:BackGroundColorMode + + + + +## 腾讯同传系统(tsi) 版本:2021-03-25 + +### 第 1 次发布 + +发布时间:2024-06-24 10:37:18 + +本次发布包含了以下内容: +改善已有的文档。 + +新增接口: + +* [TongChuanDisplay](https://cloud.tencent.com/document/api/1399/107636) +* [TongChuanRecognize](https://cloud.tencent.com/document/api/1399/107635) +* [TongChuanSync](https://cloud.tencent.com/document/api/1399/107634) + +新增数据结构: + +* [DisplayInfo](https://cloud.tencent.com/document/api/1399/107637#DisplayInfo) + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 190 次发布 + +发布时间:2024-06-25 01:26:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GatewayFlowMonitorDetail](https://cloud.tencent.com/document/api/215/15824#GatewayFlowMonitorDetail) + + * 新增成员:ConcurrentConnectionCount, NewConnectionRate + + + + +## Web 应用防火墙(waf) 版本:2018-01-25 + +### 第 90 次发布 + +发布时间:2024-06-25 01:27:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [AddAreaBanAreas](https://cloud.tencent.com/document/api/627/107677) @@ -6624,6 +6792,45 @@ ## 语音识别(asr) 版本:2019-06-14 +### 第 36 次发布 + +发布时间:2024-06-25 01:07:52 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[VoicePrintGroupVerify](https://cloud.tencent.com/document/api/1093/107668)](https://cloud.tencent.com/document/api/#/#) + +修改接口: + +* [VoicePrintCount](https://cloud.tencent.com/document/api/1093/96061) + + * 新增入参:GroupId, CountMod + +* [VoicePrintDelete](https://cloud.tencent.com/document/api/1093/94484) + + * 新增入参:GroupId, DelMod + +* [VoicePrintEnroll](https://cloud.tencent.com/document/api/1093/94483) + + * 新增入参:GroupId + + +新增数据结构: + +* [[VerifyTop](https://cloud.tencent.com/document/api/1093/37824#VerifyTop)](https://cloud.tencent.com/document/api/1093/37824#[VerifyTop](https://cloud.tencent.com/document/api/1093/37824#VerifyTop)) +* [[VerifyTopResult](https://cloud.tencent.com/document/api/1093/37824#VerifyTopResult)](https://cloud.tencent.com/document/api/1093/37824#[VerifyTopResult](https://cloud.tencent.com/document/api/1093/37824#VerifyTopResult)) + +修改数据结构: + +* [VoicePrintCountData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCountData) + + * 新增成员:VoicePrintList + + ### 第 35 次发布 发布时间:2024-06-21 01:10:11 @@ -16523,14 +16730,14 @@ 新增接口: -* [[DescribeInstanceUpgradeType](https://cloud.tencent.com/document/api/236/107630)](https://cloud.tencent.com/document/api/#/#) +* [DescribeInstanceUpgradeType](https://cloud.tencent.com/document/api/236/107630) 新增数据结构: -* [[ClusterTopology](https://cloud.tencent.com/document/api/236/15878#ClusterTopology)](https://cloud.tencent.com/document/api/236/15878#[ClusterTopology](https://cloud.tencent.com/document/api/236/15878#ClusterTopology)) -* [[NodeDistribution](https://cloud.tencent.com/document/api/236/15878#NodeDistribution)](https://cloud.tencent.com/document/api/236/15878#[NodeDistribution](https://cloud.tencent.com/document/api/236/15878#NodeDistribution)) -* [[ReadWriteNode](https://cloud.tencent.com/document/api/236/15878#ReadWriteNode)](https://cloud.tencent.com/document/api/236/15878#[ReadWriteNode](https://cloud.tencent.com/document/api/236/15878#ReadWriteNode)) -* [[ReadonlyNode](https://cloud.tencent.com/document/api/236/15878#ReadonlyNode)](https://cloud.tencent.com/document/api/236/15878#[ReadonlyNode](https://cloud.tencent.com/document/api/236/15878#ReadonlyNode)) +* [ClusterTopology](https://cloud.tencent.com/document/api/236/15878#ClusterTopology) +* [NodeDistribution](https://cloud.tencent.com/document/api/236/15878#NodeDistribution) +* [ReadWriteNode](https://cloud.tencent.com/document/api/236/15878#ReadWriteNode) +* [ReadonlyNode](https://cloud.tencent.com/document/api/236/15878#ReadonlyNode) ### 第 158 次发布 @@ -50872,6 +51079,23 @@ ## 数据湖计算 DLC(dlc) 版本:2021-01-25 +### 第 95 次发布 + +发布时间:2024-06-25 01:13:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeDataEnginesScaleDetail](https://cloud.tencent.com/document/api/1342/107670)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[DataEngineScaleInfo](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfo)](https://cloud.tencent.com/document/api/1342/53778#[DataEngineScaleInfo](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfo)) +* [[DataEngineScaleInfoDetail](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfoDetail)](https://cloud.tencent.com/document/api/1342/53778#[DataEngineScaleInfoDetail](https://cloud.tencent.com/document/api/1342/53778#DataEngineScaleInfoDetail)) + ### 第 94 次发布 发布时间:2024-06-21 01:33:48 @@ -54483,6 +54707,21 @@ ## 数据安全治理中心(dsgc) 版本:2019-07-23 +### 第 15 次发布 + +发布时间:2024-06-25 01:13:45 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CosTaskResult](https://cloud.tencent.com/document/api/1087/96844#CosTaskResult) + + * **修改成员**:Result, ResultDescription, ErrDescription, ResourceId + + ### 第 14 次发布 发布时间:2024-06-13 01:38:46 @@ -62078,6 +62317,19 @@ ## 腾讯电子签企业版(ess) 版本:2020-11-11 +### 第 176 次发布 + +发布时间:2024-06-25 01:14:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateLegalSealQrCode](https://cloud.tencent.com/document/api/1323/107551) + + ### 第 175 次发布 发布时间:2024-06-21 01:41:37 @@ -65447,6 +65699,19 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 172 次发布 + +发布时间:2024-06-25 01:15:10 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateLegalSealQrCode](https://cloud.tencent.com/document/api/1420/107552) + + ### 第 171 次发布 发布时间:2024-06-21 01:42:38 @@ -77124,6 +77389,18 @@ ## 物联网开发平台(iotexplorer) 版本:2019-04-23 +### 第 68 次发布 + +发布时间:2024-06-25 01:16:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeFirmware](https://cloud.tencent.com/document/api/1081/107671)](https://cloud.tencent.com/document/api/#/#) + ### 第 67 次发布 发布时间:2024-06-13 01:52:49 @@ -87129,6 +87406,24 @@ ## 大模型知识引擎(lke) 版本:2023-11-30 +### 第 9 次发布 + +发布时间:2024-06-25 01:18:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[ConvertDocument](https://cloud.tencent.com/document/api/1759/107672)](https://cloud.tencent.com/document/api/#/#) +* [[GetAnswerTypeDataCount](https://cloud.tencent.com/document/api/1759/107674)](https://cloud.tencent.com/document/api/#/#) +* [[GetLikeDataCount](https://cloud.tencent.com/document/api/1759/107673)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[WordRecognizeInfo](https://cloud.tencent.com/document/api/1759/105104#WordRecognizeInfo)](https://cloud.tencent.com/document/api/1759/105104#[WordRecognizeInfo](https://cloud.tencent.com/document/api/1759/105104#WordRecognizeInfo)) + ### 第 8 次发布 发布时间:2024-06-21 21:11:25 @@ -87156,8 +87451,8 @@ 新增数据结构: -* [[FileInfo](https://cloud.tencent.com/document/api/1759/105104#FileInfo)](https://cloud.tencent.com/document/api/1759/105104#[FileInfo](https://cloud.tencent.com/document/api/1759/105104#FileInfo)) -* [[MsgFileInfo](https://cloud.tencent.com/document/api/1759/105104#MsgFileInfo)](https://cloud.tencent.com/document/api/1759/105104#[MsgFileInfo](https://cloud.tencent.com/document/api/1759/105104#MsgFileInfo)) +* [FileInfo](https://cloud.tencent.com/document/api/1759/105104#FileInfo) +* [MsgFileInfo](https://cloud.tencent.com/document/api/1759/105104#MsgFileInfo) 修改数据结构: @@ -122064,6 +122359,22 @@ ## 消息队列 TDMQ(tdmq) 版本:2020-02-17 +### 第 116 次发布 + +发布时间:2024-06-25 01:23:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeRabbitMQExchanges](https://cloud.tencent.com/document/api/1179/107675)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[RabbitMQExchangeListInfo](https://cloud.tencent.com/document/api/1179/46089#RabbitMQExchangeListInfo)](https://cloud.tencent.com/document/api/1179/46089#[RabbitMQExchangeListInfo](https://cloud.tencent.com/document/api/1179/46089#RabbitMQExchangeListInfo)) + ### 第 115 次发布 发布时间:2024-06-24 01:23:04 @@ -124771,6 +125082,21 @@ ## 弹性微服务(tem) 版本:2021-07-01 +### 第 42 次发布 + +发布时间:2024-06-25 01:23:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UseDefaultRepoParameters](https://cloud.tencent.com/document/api/1371/60171#UseDefaultRepoParameters) + + * **修改成员**:EnterpriseInstanceName, EnterpriseInstanceChargeType, EnterpriseInstanceType + + ### 第 41 次发布 发布时间:2023-04-20 01:41:18 @@ -137560,6 +137886,23 @@ ## 消息队列 RocketMQ 版(trocket) 版本:2023-03-08 +### 第 16 次发布 + +发布时间:2024-06-25 01:24:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[PriceTag](https://cloud.tencent.com/document/api/1493/96031#PriceTag)](https://cloud.tencent.com/document/api/1493/96031#[PriceTag](https://cloud.tencent.com/document/api/1493/96031#PriceTag)) +* [[ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU)](https://cloud.tencent.com/document/api/1493/96031#[ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU)) + ### 第 15 次发布 发布时间:2024-06-03 02:23:52 @@ -138847,6 +139190,21 @@ ## 实时音视频(trtc) 版本:2019-07-22 +### 第 79 次发布 + +发布时间:2024-06-25 01:25:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [McuLayout](https://cloud.tencent.com/document/api/647/44055#McuLayout) + + * 新增成员:BackGroundColorMode + + ### 第 78 次发布 发布时间:2024-06-24 01:24:46 @@ -144586,6 +144944,29 @@ +## 腾讯同传系统(tsi) 版本:2021-03-25 + +### 第 1 次发布 + +发布时间:2024-06-24 10:37:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[TongChuanDisplay](https://cloud.tencent.com/document/api/1399/107636)](https://cloud.tencent.com/document/api/#/#) +* [[TongChuanRecognize](https://cloud.tencent.com/document/api/1399/107635)](https://cloud.tencent.com/document/api/#/#) +* [[TongChuanSync](https://cloud.tencent.com/document/api/1399/107634)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[DisplayInfo](https://cloud.tencent.com/document/api/1399/107637#DisplayInfo)](https://cloud.tencent.com/document/api/1399/107637#[DisplayInfo](https://cloud.tencent.com/document/api/1399/107637#DisplayInfo)) + + + + ## 微服务观测平台 TSW(tsw) 版本:2020-09-24 ### 第 1 次发布 @@ -150374,6 +150755,21 @@ ## 私有网络(vpc) 版本:2017-03-12 +### 第 190 次发布 + +发布时间:2024-06-25 01:26:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GatewayFlowMonitorDetail](https://cloud.tencent.com/document/api/215/15824#GatewayFlowMonitorDetail) + + * 新增成员:ConcurrentConnectionCount, NewConnectionRate + + ### 第 189 次发布 发布时间:2024-05-07 01:29:27 @@ -154709,6 +155105,18 @@ ## Web 应用防火墙(waf) 版本:2018-01-25 +### 第 90 次发布 + +发布时间:2024-06-25 01:27:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[AddAreaBanAreas](https://cloud.tencent.com/document/api/627/107677)](https://cloud.tencent.com/document/api/#/#) + ### 第 89 次发布 发布时间:2024-06-20 02:34:10 diff --git a/products.md b/products.md index 305c309ffd..52e334fa11 100644 --- a/products.md +++ b/products.md @@ -17,10 +17,10 @@ | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-06-17 01:08:48 | | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-06-20 01:09:30 | | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-05-17 01:06:16 | -| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-06-21 01:10:11 | +| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-06-25 01:07:52 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 | | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 | -| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-06-20 01:10:32 | +| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-06-25 01:07:59 | | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 | | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-05-31 01:10:46 | | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-06-24 01:08:14 | @@ -55,7 +55,7 @@ | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 | | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 | | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 | -| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-06-20 01:21:11 | +| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-06-25 01:10:19 | | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-06-21 01:22:04 | | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 | @@ -80,24 +80,24 @@ | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-03-20 01:14:24 | | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-06-14 01:40:38 | | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-04-26 01:13:59 | -| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-06-24 01:13:15 | +| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-06-25 01:13:07 | | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-05-30 01:33:24 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-06-18 01:35:38 | | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-04-22 01:15:04 | | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 | -| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-06-21 01:36:23 | +| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-06-25 01:13:45 | | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 | | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-06-06 01:45:02 | | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-06-07 01:44:56 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-03-20 01:15:51 | | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-03-20 01:15:52 | | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-03-20 01:15:56 | -| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-03-20 01:16:13 | +| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-06-21 01:40:25 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-06-14 01:50:54 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-06-21 01:41:37 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-06-24 01:15:10 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-06-25 01:14:54 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-06-25 01:15:10 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-06-05 10:32:35 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-04 01:43:35 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-05-09 01:15:52 | @@ -123,7 +123,7 @@ | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-06-18 01:47:16 | | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 | | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 | -| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-06-24 01:16:25 | +| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-06-25 01:16:25 | | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 | | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-05-14 02:02:07 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 | @@ -133,9 +133,9 @@ | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 | | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-06-24 01:17:36 | -| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-06-24 01:17:45 | +| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-06-25 01:17:45 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-05-29 01:52:02 | -| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-06-21 21:11:25 | +| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-06-25 01:18:18 | | 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 | | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 | @@ -155,7 +155,7 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-06-05 02:02:33 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-06-24 01:19:38 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-06-25 01:19:46 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-06-21 02:03:56 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-03-20 01:22:23 | @@ -203,9 +203,9 @@ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-06-06 02:29:53 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-03-20 01:25:48 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 | -| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-06-24 01:23:04 | +| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-06-25 01:23:14 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 | -| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-03-20 01:26:14 | +| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-06-25 01:23:38 | | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-06-13 16:47:31 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-03-20 01:27:05 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | @@ -222,12 +222,13 @@ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-06-12 02:40:31 | | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 | | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 | -| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-06-03 02:23:52 | +| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-06-25 01:24:46 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-21 02:25:01 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-24 01:24:46 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-25 01:25:02 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-06-20 02:26:25 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-06-21 02:26:46 | +| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-06-25 01:25:47 | | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 | | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-06-17 02:28:35 | | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 | @@ -236,10 +237,10 @@ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-05-17 02:33:00 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-05-10 02:45:29 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-06-25 01:26:23 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 | | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 | -| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-06-20 02:34:10 | +| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-06-25 01:27:00 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 | | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-06-20 02:35:45 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 | diff --git a/tencentcloud/aa/go.mod b/tencentcloud/aa/go.mod index 23e4fdbbb5..224b9c4cf6 100644 --- a/tencentcloud/aa/go.mod +++ b/tencentcloud/aa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/aai/go.mod b/tencentcloud/aai/go.mod index 206f593560..c22ca48b20 100644 --- a/tencentcloud/aai/go.mod +++ b/tencentcloud/aai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/acp/go.mod b/tencentcloud/acp/go.mod index 1ea74d07ce..81827bfd0b 100644 --- a/tencentcloud/acp/go.mod +++ b/tencentcloud/acp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/acp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/advisor/go.mod b/tencentcloud/advisor/go.mod index caa4ff0443..7bbb07ce7d 100644 --- a/tencentcloud/advisor/go.mod +++ b/tencentcloud/advisor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/af/go.mod b/tencentcloud/af/go.mod index 2454dfa701..622cf9e520 100644 --- a/tencentcloud/af/go.mod +++ b/tencentcloud/af/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/afc/go.mod b/tencentcloud/afc/go.mod index 20ad2d71ad..1662a9f630 100644 --- a/tencentcloud/afc/go.mod +++ b/tencentcloud/afc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/aiart/go.mod b/tencentcloud/aiart/go.mod index 64a32fb3ce..d413fbd6dc 100644 --- a/tencentcloud/aiart/go.mod +++ b/tencentcloud/aiart/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aiart go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ame/go.mod b/tencentcloud/ame/go.mod index 4f3ed5b42d..6793d0205d 100644 --- a/tencentcloud/ame/go.mod +++ b/tencentcloud/ame/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ams/go.mod b/tencentcloud/ams/go.mod index 89b4ff4af8..fd60c31511 100644 --- a/tencentcloud/ams/go.mod +++ b/tencentcloud/ams/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/anicloud/go.mod b/tencentcloud/anicloud/go.mod index b919ffcaf7..355ad86153 100644 --- a/tencentcloud/anicloud/go.mod +++ b/tencentcloud/anicloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/anicloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/antiddos/go.mod b/tencentcloud/antiddos/go.mod index f42694b38e..065d3e3841 100644 --- a/tencentcloud/antiddos/go.mod +++ b/tencentcloud/antiddos/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/apcas/go.mod b/tencentcloud/apcas/go.mod index 77f3ce26ca..29f6b2b0a8 100644 --- a/tencentcloud/apcas/go.mod +++ b/tencentcloud/apcas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ape/go.mod b/tencentcloud/ape/go.mod index 9a18524119..a54a80a939 100644 --- a/tencentcloud/ape/go.mod +++ b/tencentcloud/ape/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/api/go.mod b/tencentcloud/api/go.mod index a473221b19..f04ab85cff 100644 --- a/tencentcloud/api/go.mod +++ b/tencentcloud/api/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/apigateway/go.mod b/tencentcloud/apigateway/go.mod index faaa3d4eca..f3ac11a158 100644 --- a/tencentcloud/apigateway/go.mod +++ b/tencentcloud/apigateway/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/apm/go.mod b/tencentcloud/apm/go.mod index 62c316b7cc..cf1a858bdf 100644 --- a/tencentcloud/apm/go.mod +++ b/tencentcloud/apm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/as/go.mod b/tencentcloud/as/go.mod index ea33d382fd..c921382386 100644 --- a/tencentcloud/as/go.mod +++ b/tencentcloud/as/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/asr/go.mod b/tencentcloud/asr/go.mod index 4b230ba983..5c2126c8e2 100644 --- a/tencentcloud/asr/go.mod +++ b/tencentcloud/asr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/asr/v20190614/client.go b/tencentcloud/asr/v20190614/client.go index 92201ff42b..20c9e62b7f 100644 --- a/tencentcloud/asr/v20190614/client.go +++ b/tencentcloud/asr/v20190614/client.go @@ -1793,6 +1793,81 @@ func (c *Client) VoicePrintEnrollWithContext(ctx context.Context, request *Voice return } +func NewVoicePrintGroupVerifyRequest() (request *VoicePrintGroupVerifyRequest) { + request = &VoicePrintGroupVerifyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("asr", APIVersion, "VoicePrintGroupVerify") + + + return +} + +func NewVoicePrintGroupVerifyResponse() (response *VoicePrintGroupVerifyResponse) { + response = &VoicePrintGroupVerifyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// VoicePrintGroupVerify +// 说话人验证1:N接口,可以通过传入一段说话人音频,并且指定已存在的groupId, 和返回topN, 接口返回groupId内所有声纹和传入音频声纹比对打分TopN的结果。 +// +// 可能返回的错误码: +// FAILEDOPERATION_USERHASNOFREEAMOUNT = "FailedOperation.UserHasNoFreeAmount" +// INTERNALERROR = "InternalError" +// INTERNALERROR_FAILACCESSDATABASE = "InternalError.FailAccessDatabase" +// INTERNALERROR_FAILEDVOICEPRINTDECODE = "InternalError.FailedVoicePrintDecode" +// INTERNALERROR_FAILEDVOICEPRINTVERIFY = "InternalError.FailedVoicePrintVerify" +// INTERNALERROR_VOICEPRINTAUDIOFAILED = "InternalError.VoicePrintAudioFailed" +// INTERNALERROR_VOICEPRINTDECODEFAILED = "InternalError.VoicePrintDecodeFailed" +// INTERNALERROR_VOICEPRINTVERIFYFAILED = "InternalError.VoicePrintVerifyFailed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_FAILEDVOICEPRINTDECODE = "InvalidParameter.FailedVoicePrintDecode" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ERRORVOICEDATATOOLONG = "InvalidParameterValue.ErrorVoicedataTooLong" +// INVALIDPARAMETERVALUE_NOHUMANVOICE = "InvalidParameterValue.NoHumanVoice" +func (c *Client) VoicePrintGroupVerify(request *VoicePrintGroupVerifyRequest) (response *VoicePrintGroupVerifyResponse, err error) { + return c.VoicePrintGroupVerifyWithContext(context.Background(), request) +} + +// VoicePrintGroupVerify +// 说话人验证1:N接口,可以通过传入一段说话人音频,并且指定已存在的groupId, 和返回topN, 接口返回groupId内所有声纹和传入音频声纹比对打分TopN的结果。 +// +// 可能返回的错误码: +// FAILEDOPERATION_USERHASNOFREEAMOUNT = "FailedOperation.UserHasNoFreeAmount" +// INTERNALERROR = "InternalError" +// INTERNALERROR_FAILACCESSDATABASE = "InternalError.FailAccessDatabase" +// INTERNALERROR_FAILEDVOICEPRINTDECODE = "InternalError.FailedVoicePrintDecode" +// INTERNALERROR_FAILEDVOICEPRINTVERIFY = "InternalError.FailedVoicePrintVerify" +// INTERNALERROR_VOICEPRINTAUDIOFAILED = "InternalError.VoicePrintAudioFailed" +// INTERNALERROR_VOICEPRINTDECODEFAILED = "InternalError.VoicePrintDecodeFailed" +// INTERNALERROR_VOICEPRINTVERIFYFAILED = "InternalError.VoicePrintVerifyFailed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_FAILEDVOICEPRINTDECODE = "InvalidParameter.FailedVoicePrintDecode" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ERRORVOICEDATATOOLONG = "InvalidParameterValue.ErrorVoicedataTooLong" +// INVALIDPARAMETERVALUE_NOHUMANVOICE = "InvalidParameterValue.NoHumanVoice" +func (c *Client) VoicePrintGroupVerifyWithContext(ctx context.Context, request *VoicePrintGroupVerifyRequest) (response *VoicePrintGroupVerifyResponse, err error) { + if request == nil { + request = NewVoicePrintGroupVerifyRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("VoicePrintGroupVerify require credential") + } + + request.SetContext(ctx) + + response = NewVoicePrintGroupVerifyResponse() + err = c.Send(request, response) + return +} + func NewVoicePrintUpdateRequest() (request *VoicePrintUpdateRequest) { request = &VoicePrintUpdateRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/asr/v20190614/errors.go b/tencentcloud/asr/v20190614/errors.go index 1bc28e7013..4acbe71b36 100644 --- a/tencentcloud/asr/v20190614/errors.go +++ b/tencentcloud/asr/v20190614/errors.go @@ -131,6 +131,9 @@ const ( // 解析请求数据失败。 INVALIDPARAMETER_ERRORPARSEQUEST = "InvalidParameter.ErrorParsequest" + // 音频解码失败,请检查音频格式是否正确 + INVALIDPARAMETER_FAILEDVOICEPRINTDECODE = "InvalidParameter.FailedVoicePrintDecode" + // 文件编码错误。 INVALIDPARAMETER_FILEENCODE = "InvalidParameter.FileEncode" diff --git a/tencentcloud/asr/v20190614/models.go b/tencentcloud/asr/v20190614/models.go index 371c5ca502..d69ea006ec 100644 --- a/tencentcloud/asr/v20190614/models.go +++ b/tencentcloud/asr/v20190614/models.go @@ -2177,6 +2177,26 @@ func (r *UpdateAsrVocabResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type VerifyTop struct { + // 相似度打分 + // 注意:此字段可能返回 null,表示取不到有效值。 + Score *string `json:"Score,omitnil,omitempty" name:"Score"` + + // 说话人id + // 注意:此字段可能返回 null,表示取不到有效值。 + VoicePrintId *string `json:"VoicePrintId,omitnil,omitempty" name:"VoicePrintId"` + + // 说话人昵称 + // 注意:此字段可能返回 null,表示取不到有效值。 + SpeakerId *string `json:"SpeakerId,omitnil,omitempty" name:"SpeakerId"` +} + +type VerifyTopResult struct { + // 对比打分结果,按照打分降序排列返回 + // 注意:此字段可能返回 null,表示取不到有效值。 + VerifyTops []*VerifyTop `json:"VerifyTops,omitnil,omitempty" name:"VerifyTops"` +} + type Vocab struct { // 热词表名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` @@ -2306,16 +2326,33 @@ type VoicePrintCountData struct { // 总数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` + + // 说话人id列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + VoicePrintList []*VoicePrintBaseData `json:"VoicePrintList,omitnil,omitempty" name:"VoicePrintList"` } // Predefined struct for user type VoicePrintCountRequestParams struct { + // 分组ID,仅支持大小写字母和下划线的组合,不超过128个字符 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + // 统计模式 + // 0: 统计所有声纹数量 + // 1: 统计指定分组下的声纹数量 + CountMod *int64 `json:"CountMod,omitnil,omitempty" name:"CountMod"` } type VoicePrintCountRequest struct { *tchttp.BaseRequest + // 分组ID,仅支持大小写字母和下划线的组合,不超过128个字符 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 统计模式 + // 0: 统计所有声纹数量 + // 1: 统计指定分组下的声纹数量 + CountMod *int64 `json:"CountMod,omitnil,omitempty" name:"CountMod"` } func (r *VoicePrintCountRequest) ToJsonString() string { @@ -2330,7 +2367,8 @@ func (r *VoicePrintCountRequest) FromJsonString(s string) error { if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - + delete(f, "GroupId") + delete(f, "CountMod") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "VoicePrintCountRequest has unknown keys!", "") } @@ -2366,6 +2404,15 @@ func (r *VoicePrintCountResponse) FromJsonString(s string) error { type VoicePrintDeleteRequestParams struct { // 说话人id,说话人唯一标识 VoicePrintId *string `json:"VoicePrintId,omitnil,omitempty" name:"VoicePrintId"` + + // 说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 删除模式: + // 0.默认值,删除该条声纹 + // 1.从分组中删除该条声纹,声纹本身不删除 + // 2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹 + DelMod *int64 `json:"DelMod,omitnil,omitempty" name:"DelMod"` } type VoicePrintDeleteRequest struct { @@ -2373,6 +2420,15 @@ type VoicePrintDeleteRequest struct { // 说话人id,说话人唯一标识 VoicePrintId *string `json:"VoicePrintId,omitnil,omitempty" name:"VoicePrintId"` + + // 说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 删除模式: + // 0.默认值,删除该条声纹 + // 1.从分组中删除该条声纹,声纹本身不删除 + // 2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹 + DelMod *int64 `json:"DelMod,omitnil,omitempty" name:"DelMod"` } func (r *VoicePrintDeleteRequest) ToJsonString() string { @@ -2388,6 +2444,8 @@ func (r *VoicePrintDeleteRequest) FromJsonString(s string) error { return err } delete(f, "VoicePrintId") + delete(f, "GroupId") + delete(f, "DelMod") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "VoicePrintDeleteRequest has unknown keys!", "") } @@ -2432,6 +2490,9 @@ type VoicePrintEnrollRequestParams struct { // 说话人昵称 不超过32字节 SpeakerNick *string `json:"SpeakerNick,omitnil,omitempty" name:"SpeakerNick"` + + // 分组id, 仅支持大小写字母和下划线的组合,不超过128个字符 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` } type VoicePrintEnrollRequest struct { @@ -2448,6 +2509,9 @@ type VoicePrintEnrollRequest struct { // 说话人昵称 不超过32字节 SpeakerNick *string `json:"SpeakerNick,omitnil,omitempty" name:"SpeakerNick"` + + // 分组id, 仅支持大小写字母和下划线的组合,不超过128个字符 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` } func (r *VoicePrintEnrollRequest) ToJsonString() string { @@ -2466,6 +2530,7 @@ func (r *VoicePrintEnrollRequest) FromJsonString(s string) error { delete(f, "SampleRate") delete(f, "Data") delete(f, "SpeakerNick") + delete(f, "GroupId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "VoicePrintEnrollRequest has unknown keys!", "") } @@ -2497,6 +2562,91 @@ func (r *VoicePrintEnrollResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type VoicePrintGroupVerifyRequestParams struct { + // 音频格式 0: pcm, 1: wav + VoiceFormat *int64 `json:"VoiceFormat,omitnil,omitempty" name:"VoiceFormat"` + + // 音频采样率,目前支持16000,单位:Hz,必填 + SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` + + // 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M + Data *string `json:"Data,omitnil,omitempty" name:"Data"` + + // 分组id, 支持数字,字母,下划线,长度不超过128 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量 + TopN *uint64 `json:"TopN,omitnil,omitempty" name:"TopN"` +} + +type VoicePrintGroupVerifyRequest struct { + *tchttp.BaseRequest + + // 音频格式 0: pcm, 1: wav + VoiceFormat *int64 `json:"VoiceFormat,omitnil,omitempty" name:"VoiceFormat"` + + // 音频采样率,目前支持16000,单位:Hz,必填 + SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` + + // 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M + Data *string `json:"Data,omitnil,omitempty" name:"Data"` + + // 分组id, 支持数字,字母,下划线,长度不超过128 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量 + TopN *uint64 `json:"TopN,omitnil,omitempty" name:"TopN"` +} + +func (r *VoicePrintGroupVerifyRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *VoicePrintGroupVerifyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "VoiceFormat") + delete(f, "SampleRate") + delete(f, "Data") + delete(f, "GroupId") + delete(f, "TopN") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "VoicePrintGroupVerifyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type VoicePrintGroupVerifyResponseParams struct { + // TopN 返回结果;系统建议打分70分以上为同一个人音色,评分也取决于音频质量、长度等其他原因影响,您可以按照业务需求适当提高或降低分数要求 + Data *VerifyTopResult `json:"Data,omitnil,omitempty" name:"Data"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type VoicePrintGroupVerifyResponse struct { + *tchttp.BaseResponse + Response *VoicePrintGroupVerifyResponseParams `json:"Response"` +} + +func (r *VoicePrintGroupVerifyResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *VoicePrintGroupVerifyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type VoicePrintUpdateRequestParams struct { // 音频格式 0: pcm, 1: wav diff --git a/tencentcloud/asw/go.mod b/tencentcloud/asw/go.mod index 4d44c0ae11..32de81a12e 100644 --- a/tencentcloud/asw/go.mod +++ b/tencentcloud/asw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ba/go.mod b/tencentcloud/ba/go.mod index ae4fcd9920..35754fbcf8 100644 --- a/tencentcloud/ba/go.mod +++ b/tencentcloud/ba/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/batch/go.mod b/tencentcloud/batch/go.mod index 97e0e601e8..429763cc06 100644 --- a/tencentcloud/batch/go.mod +++ b/tencentcloud/batch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bda/go.mod b/tencentcloud/bda/go.mod index 1a092e0ad6..4f0e3976bc 100644 --- a/tencentcloud/bda/go.mod +++ b/tencentcloud/bda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bi/go.mod b/tencentcloud/bi/go.mod index bc3854602a..89de2821d4 100644 --- a/tencentcloud/bi/go.mod +++ b/tencentcloud/bi/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/billing/go.mod b/tencentcloud/billing/go.mod index 9d3274f97d..39b4c50458 100644 --- a/tencentcloud/billing/go.mod +++ b/tencentcloud/billing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bizlive/go.mod b/tencentcloud/bizlive/go.mod index 8936f863d5..3a183d03ec 100644 --- a/tencentcloud/bizlive/go.mod +++ b/tencentcloud/bizlive/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bm/go.mod b/tencentcloud/bm/go.mod index 270012377a..5df629ee2d 100644 --- a/tencentcloud/bm/go.mod +++ b/tencentcloud/bm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bma/go.mod b/tencentcloud/bma/go.mod index 5ae7087d72..68447ccbd5 100644 --- a/tencentcloud/bma/go.mod +++ b/tencentcloud/bma/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bma go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bmeip/go.mod b/tencentcloud/bmeip/go.mod index e620c54673..06af067e6c 100644 --- a/tencentcloud/bmeip/go.mod +++ b/tencentcloud/bmeip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bmlb/go.mod b/tencentcloud/bmlb/go.mod index 62cc63ebd8..321626b2bf 100644 --- a/tencentcloud/bmlb/go.mod +++ b/tencentcloud/bmlb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bmvpc/go.mod b/tencentcloud/bmvpc/go.mod index 50226a4128..6f75592067 100644 --- a/tencentcloud/bmvpc/go.mod +++ b/tencentcloud/bmvpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bpaas/go.mod b/tencentcloud/bpaas/go.mod index ffd8797b86..ec5cbfa4b5 100644 --- a/tencentcloud/bpaas/go.mod +++ b/tencentcloud/bpaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bpaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bri/go.mod b/tencentcloud/bri/go.mod index c202f8eebf..65c1c2f965 100644 --- a/tencentcloud/bri/go.mod +++ b/tencentcloud/bri/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/bsca/go.mod b/tencentcloud/bsca/go.mod index 499d2cfeb0..51a9fe16bb 100644 --- a/tencentcloud/bsca/go.mod +++ b/tencentcloud/bsca/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bsca go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/btoe/go.mod b/tencentcloud/btoe/go.mod index 4836b7cf0e..32e1de6ba9 100644 --- a/tencentcloud/btoe/go.mod +++ b/tencentcloud/btoe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cam/go.mod b/tencentcloud/cam/go.mod index f732c96603..d545d3afd4 100644 --- a/tencentcloud/cam/go.mod +++ b/tencentcloud/cam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/captcha/go.mod b/tencentcloud/captcha/go.mod index a0c88c1e25..04b01293ab 100644 --- a/tencentcloud/captcha/go.mod +++ b/tencentcloud/captcha/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/car/go.mod b/tencentcloud/car/go.mod index 1c982f1ef1..9d38adf4d6 100644 --- a/tencentcloud/car/go.mod +++ b/tencentcloud/car/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/car go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cat/go.mod b/tencentcloud/cat/go.mod index aacb83a638..628d265a0e 100644 --- a/tencentcloud/cat/go.mod +++ b/tencentcloud/cat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cbs/go.mod b/tencentcloud/cbs/go.mod index fcf838cbc1..ae98f516aa 100644 --- a/tencentcloud/cbs/go.mod +++ b/tencentcloud/cbs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ccc/go.mod b/tencentcloud/ccc/go.mod index 2acf68a4a6..6d140b0709 100644 --- a/tencentcloud/ccc/go.mod +++ b/tencentcloud/ccc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cdb/go.mod b/tencentcloud/cdb/go.mod index f5c815e2f3..2ad77699ce 100644 --- a/tencentcloud/cdb/go.mod +++ b/tencentcloud/cdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cdc/go.mod b/tencentcloud/cdc/go.mod index e6231f566e..3b45bbefaf 100644 --- a/tencentcloud/cdc/go.mod +++ b/tencentcloud/cdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cdn/go.mod b/tencentcloud/cdn/go.mod index 0e8d5aca29..2cc2d91311 100644 --- a/tencentcloud/cdn/go.mod +++ b/tencentcloud/cdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cds/go.mod b/tencentcloud/cds/go.mod index 8777e318e5..5099047721 100644 --- a/tencentcloud/cds/go.mod +++ b/tencentcloud/cds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cdwch/go.mod b/tencentcloud/cdwch/go.mod index 8bad67f80d..426438aff0 100644 --- a/tencentcloud/cdwch/go.mod +++ b/tencentcloud/cdwch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cdwdoris/go.mod b/tencentcloud/cdwdoris/go.mod index 6d265e61ef..b9f52ee7c3 100644 --- a/tencentcloud/cdwdoris/go.mod +++ b/tencentcloud/cdwdoris/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwdoris go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cdwpg/go.mod b/tencentcloud/cdwpg/go.mod index 4cd49ffe56..65d4040539 100644 --- a/tencentcloud/cdwpg/go.mod +++ b/tencentcloud/cdwpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cfg/go.mod b/tencentcloud/cfg/go.mod index 502d116ee9..8a081de941 100644 --- a/tencentcloud/cfg/go.mod +++ b/tencentcloud/cfg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cfs/go.mod b/tencentcloud/cfs/go.mod index 1d08863a41..af83c6bae9 100644 --- a/tencentcloud/cfs/go.mod +++ b/tencentcloud/cfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cfw/go.mod b/tencentcloud/cfw/go.mod index 7b904623de..0296d7c7db 100644 --- a/tencentcloud/cfw/go.mod +++ b/tencentcloud/cfw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/chdfs/go.mod b/tencentcloud/chdfs/go.mod index 5b12cfd6a3..9c59e97af1 100644 --- a/tencentcloud/chdfs/go.mod +++ b/tencentcloud/chdfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ciam/go.mod b/tencentcloud/ciam/go.mod index 0545b64bbf..202b1816d9 100644 --- a/tencentcloud/ciam/go.mod +++ b/tencentcloud/ciam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ciam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cii/go.mod b/tencentcloud/cii/go.mod index d921e330be..050482b581 100644 --- a/tencentcloud/cii/go.mod +++ b/tencentcloud/cii/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cim/go.mod b/tencentcloud/cim/go.mod index 9946a8405a..b6c2d21567 100644 --- a/tencentcloud/cim/go.mod +++ b/tencentcloud/cim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cis/go.mod b/tencentcloud/cis/go.mod index ba7c144624..d7a8aa1f05 100644 --- a/tencentcloud/cis/go.mod +++ b/tencentcloud/cis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ckafka/go.mod b/tencentcloud/ckafka/go.mod index fe8993e2b4..9835dc5692 100644 --- a/tencentcloud/ckafka/go.mod +++ b/tencentcloud/ckafka/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/clb/go.mod b/tencentcloud/clb/go.mod index 3b385f1e35..ee54baa21f 100644 --- a/tencentcloud/clb/go.mod +++ b/tencentcloud/clb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cloudaudit/go.mod b/tencentcloud/cloudaudit/go.mod index 816d96dc02..076880693f 100644 --- a/tencentcloud/cloudaudit/go.mod +++ b/tencentcloud/cloudaudit/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cloudhsm/go.mod b/tencentcloud/cloudhsm/go.mod index 4cedbd96ad..9aefce4416 100644 --- a/tencentcloud/cloudhsm/go.mod +++ b/tencentcloud/cloudhsm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cloudstudio/go.mod b/tencentcloud/cloudstudio/go.mod index a50a441f25..6904f049ee 100644 --- a/tencentcloud/cloudstudio/go.mod +++ b/tencentcloud/cloudstudio/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudstudio go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cls/go.mod b/tencentcloud/cls/go.mod index 6f83ce58b5..51bf1c58c9 100644 --- a/tencentcloud/cls/go.mod +++ b/tencentcloud/cls/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cme/go.mod b/tencentcloud/cme/go.mod index ee7be40ca2..bb1b8aa38a 100644 --- a/tencentcloud/cme/go.mod +++ b/tencentcloud/cme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cmq/go.mod b/tencentcloud/cmq/go.mod index b2c24560ba..759815f486 100644 --- a/tencentcloud/cmq/go.mod +++ b/tencentcloud/cmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cms/go.mod b/tencentcloud/cms/go.mod index 086eeec15b..8c6ca401ca 100644 --- a/tencentcloud/cms/go.mod +++ b/tencentcloud/cms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index 3abc89ab85..abd81833d7 100644 --- a/tencentcloud/common/http/request.go +++ b/tencentcloud/common/http/request.go @@ -265,7 +265,7 @@ func CompleteCommonParams(request Request, region string, requestClient string) params["Action"] = request.GetAction() params["Timestamp"] = strconv.FormatInt(time.Now().Unix(), 10) params["Nonce"] = strconv.Itoa(rand.Int()) - params["RequestClient"] = "SDK_GO_1.0.948" + params["RequestClient"] = "SDK_GO_1.0.949" if requestClient != "" { params["RequestClient"] += ": " + requestClient } diff --git a/tencentcloud/config/go.mod b/tencentcloud/config/go.mod index afbab6503a..0bfc283583 100644 --- a/tencentcloud/config/go.mod +++ b/tencentcloud/config/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cpdp/go.mod b/tencentcloud/cpdp/go.mod index f7853dc8ec..fd80167ba7 100644 --- a/tencentcloud/cpdp/go.mod +++ b/tencentcloud/cpdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cr/go.mod b/tencentcloud/cr/go.mod index 21948f9542..2496d21d5a 100644 --- a/tencentcloud/cr/go.mod +++ b/tencentcloud/cr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/csip/go.mod b/tencentcloud/csip/go.mod index 77be233617..2854c53fa8 100644 --- a/tencentcloud/csip/go.mod +++ b/tencentcloud/csip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/csxg/go.mod b/tencentcloud/csxg/go.mod index 02de492ecf..865272965c 100644 --- a/tencentcloud/csxg/go.mod +++ b/tencentcloud/csxg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csxg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cvm/go.mod b/tencentcloud/cvm/go.mod index 3131148ded..a05d5f083b 100644 --- a/tencentcloud/cvm/go.mod +++ b/tencentcloud/cvm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cwp/go.mod b/tencentcloud/cwp/go.mod index 3489a89a09..78a59fa7da 100644 --- a/tencentcloud/cwp/go.mod +++ b/tencentcloud/cwp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cws/go.mod b/tencentcloud/cws/go.mod index d54e59b228..ac8687b980 100644 --- a/tencentcloud/cws/go.mod +++ b/tencentcloud/cws/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/cynosdb/go.mod b/tencentcloud/cynosdb/go.mod index a1ab04f15f..4f54ab2dd8 100644 --- a/tencentcloud/cynosdb/go.mod +++ b/tencentcloud/cynosdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dasb/go.mod b/tencentcloud/dasb/go.mod index 9f92fe1ca2..4270c904d7 100644 --- a/tencentcloud/dasb/go.mod +++ b/tencentcloud/dasb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dasb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dataintegration/go.mod b/tencentcloud/dataintegration/go.mod index 2530645d5d..9c7c3f7323 100644 --- a/tencentcloud/dataintegration/go.mod +++ b/tencentcloud/dataintegration/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dataintegration go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dayu/go.mod b/tencentcloud/dayu/go.mod index f5d52a066e..bbed8f0e89 100644 --- a/tencentcloud/dayu/go.mod +++ b/tencentcloud/dayu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dbbrain/go.mod b/tencentcloud/dbbrain/go.mod index c66c69033c..507f3df4e5 100644 --- a/tencentcloud/dbbrain/go.mod +++ b/tencentcloud/dbbrain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dbdc/go.mod b/tencentcloud/dbdc/go.mod index 5b4593f205..a8b92ec5d2 100644 --- a/tencentcloud/dbdc/go.mod +++ b/tencentcloud/dbdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dc/go.mod b/tencentcloud/dc/go.mod index 3499c989b2..d1f018a81b 100644 --- a/tencentcloud/dc/go.mod +++ b/tencentcloud/dc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dcdb/go.mod b/tencentcloud/dcdb/go.mod index bbe6271dcd..604593df86 100644 --- a/tencentcloud/dcdb/go.mod +++ b/tencentcloud/dcdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dlc/go.mod b/tencentcloud/dlc/go.mod index e6574fab66..f85ef470b7 100644 --- a/tencentcloud/dlc/go.mod +++ b/tencentcloud/dlc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dlc/v20210125/client.go b/tencentcloud/dlc/v20210125/client.go index a9debd75f3..a24e1b6cef 100644 --- a/tencentcloud/dlc/v20210125/client.go +++ b/tencentcloud/dlc/v20210125/client.go @@ -4150,6 +4150,55 @@ func (c *Client) DescribeDataEnginesWithContext(ctx context.Context, request *De return } +func NewDescribeDataEnginesScaleDetailRequest() (request *DescribeDataEnginesScaleDetailRequest) { + request = &DescribeDataEnginesScaleDetailRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("dlc", APIVersion, "DescribeDataEnginesScaleDetail") + + + return +} + +func NewDescribeDataEnginesScaleDetailResponse() (response *DescribeDataEnginesScaleDetailResponse) { + response = &DescribeDataEnginesScaleDetailResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeDataEnginesScaleDetail +// 查询引擎规格详情 +// +// 可能返回的错误码: +// UNAUTHORIZEDOPERATION_MONITORCOMPUTINGENGINE = "UnauthorizedOperation.MonitorComputingEngine" +func (c *Client) DescribeDataEnginesScaleDetail(request *DescribeDataEnginesScaleDetailRequest) (response *DescribeDataEnginesScaleDetailResponse, err error) { + return c.DescribeDataEnginesScaleDetailWithContext(context.Background(), request) +} + +// DescribeDataEnginesScaleDetail +// 查询引擎规格详情 +// +// 可能返回的错误码: +// UNAUTHORIZEDOPERATION_MONITORCOMPUTINGENGINE = "UnauthorizedOperation.MonitorComputingEngine" +func (c *Client) DescribeDataEnginesScaleDetailWithContext(ctx context.Context, request *DescribeDataEnginesScaleDetailRequest) (response *DescribeDataEnginesScaleDetailResponse, err error) { + if request == nil { + request = NewDescribeDataEnginesScaleDetailRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeDataEnginesScaleDetail require credential") + } + + request.SetContext(ctx) + + response = NewDescribeDataEnginesScaleDetailResponse() + err = c.Send(request, response) + return +} + func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest) { request = &DescribeDatabasesRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/dlc/v20210125/models.go b/tencentcloud/dlc/v20210125/models.go index 9934fb125f..c3bf12e2d1 100644 --- a/tencentcloud/dlc/v20210125/models.go +++ b/tencentcloud/dlc/v20210125/models.go @@ -4404,6 +4404,34 @@ type DataEngineInfo struct { EngineResourceUsedCU *int64 `json:"EngineResourceUsedCU,omitnil,omitempty" name:"EngineResourceUsedCU"` } +type DataEngineScaleInfo struct { + // 引擎ID + // 注意:此字段可能返回 null,表示取不到有效值。 + DataEngineId *string `json:"DataEngineId,omitnil,omitempty" name:"DataEngineId"` + + // 引擎名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + DataEngineName *string `json:"DataEngineName,omitnil,omitempty" name:"DataEngineName"` + + // 引擎规格详情 + // 注意:此字段可能返回 null,表示取不到有效值。 + ScaleDetail []*DataEngineScaleInfoDetail `json:"ScaleDetail,omitnil,omitempty" name:"ScaleDetail"` +} + +type DataEngineScaleInfoDetail struct { + // 统计开始时间,格式为:yyyy-MM-dd HH:mm:ss + // 注意:此字段可能返回 null,表示取不到有效值。 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 统计结束时间,格式为:yyyy-MM-dd HH:mm:ss + // 注意:此字段可能返回 null,表示取不到有效值。 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 当前统计时间段,引擎规格 + // 注意:此字段可能返回 null,表示取不到有效值。 + CU *int64 `json:"CU,omitnil,omitempty" name:"CU"` +} + type DataFormat struct { // 文本格式,TextFile。 // 注意:此字段可能返回 null,表示取不到有效值。 @@ -6234,6 +6262,78 @@ func (r *DescribeDataEnginesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeDataEnginesScaleDetailRequestParams struct { + // 引擎名称列表 + DataEngineNames []*string `json:"DataEngineNames,omitnil,omitempty" name:"DataEngineNames"` + + // 开始时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` +} + +type DescribeDataEnginesScaleDetailRequest struct { + *tchttp.BaseRequest + + // 引擎名称列表 + DataEngineNames []*string `json:"DataEngineNames,omitnil,omitempty" name:"DataEngineNames"` + + // 开始时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` +} + +func (r *DescribeDataEnginesScaleDetailRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataEnginesScaleDetailRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DataEngineNames") + delete(f, "StartTime") + delete(f, "EndTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataEnginesScaleDetailRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeDataEnginesScaleDetailResponseParams struct { + // 引擎规格统计详细信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Scales []*DataEngineScaleInfo `json:"Scales,omitnil,omitempty" name:"Scales"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeDataEnginesScaleDetailResponse struct { + *tchttp.BaseResponse + Response *DescribeDataEnginesScaleDetailResponseParams `json:"Response"` +} + +func (r *DescribeDataEnginesScaleDetailResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataEnginesScaleDetailResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeDatabasesRequestParams struct { // 返回数量,默认为10,最大值为100。 diff --git a/tencentcloud/dnspod/go.mod b/tencentcloud/dnspod/go.mod index c9a87e9d94..3e7c00a2e5 100644 --- a/tencentcloud/dnspod/go.mod +++ b/tencentcloud/dnspod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/domain/go.mod b/tencentcloud/domain/go.mod index 18c81d314a..026648e893 100644 --- a/tencentcloud/domain/go.mod +++ b/tencentcloud/domain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/drm/go.mod b/tencentcloud/drm/go.mod index 57cd695c4b..d07b4d23d2 100644 --- a/tencentcloud/drm/go.mod +++ b/tencentcloud/drm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ds/go.mod b/tencentcloud/ds/go.mod index a5b7c85d77..63a6441928 100644 --- a/tencentcloud/ds/go.mod +++ b/tencentcloud/ds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dsgc/go.mod b/tencentcloud/dsgc/go.mod index 350afc210d..46ecfbcccf 100644 --- a/tencentcloud/dsgc/go.mod +++ b/tencentcloud/dsgc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dsgc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dtf/go.mod b/tencentcloud/dtf/go.mod index 5afe1b2047..05aa28baed 100644 --- a/tencentcloud/dtf/go.mod +++ b/tencentcloud/dtf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/dts/go.mod b/tencentcloud/dts/go.mod index 24eb94d1ca..1ed815247a 100644 --- a/tencentcloud/dts/go.mod +++ b/tencentcloud/dts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/eb/go.mod b/tencentcloud/eb/go.mod index 4ec5c9ca78..fc6190277a 100644 --- a/tencentcloud/eb/go.mod +++ b/tencentcloud/eb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ecc/go.mod b/tencentcloud/ecc/go.mod index 0fc60e5bbe..1ea5f23062 100644 --- a/tencentcloud/ecc/go.mod +++ b/tencentcloud/ecc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ecdn/go.mod b/tencentcloud/ecdn/go.mod index b6397a21ea..28bf45fbce 100644 --- a/tencentcloud/ecdn/go.mod +++ b/tencentcloud/ecdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ecm/go.mod b/tencentcloud/ecm/go.mod index 666a9e4cf7..43f6e8e4a1 100644 --- a/tencentcloud/ecm/go.mod +++ b/tencentcloud/ecm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/eiam/go.mod b/tencentcloud/eiam/go.mod index 982d096b9c..d45246a0af 100644 --- a/tencentcloud/eiam/go.mod +++ b/tencentcloud/eiam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/eis/go.mod b/tencentcloud/eis/go.mod index b869f6a06e..b06efe0df2 100644 --- a/tencentcloud/eis/go.mod +++ b/tencentcloud/eis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/emr/go.mod b/tencentcloud/emr/go.mod index 42ef483e29..94944da385 100644 --- a/tencentcloud/emr/go.mod +++ b/tencentcloud/emr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/es/go.mod b/tencentcloud/es/go.mod index 460232064c..8de0a90e14 100644 --- a/tencentcloud/es/go.mod +++ b/tencentcloud/es/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ess/go.mod b/tencentcloud/ess/go.mod index 7b5d475cea..1d6e287fe5 100644 --- a/tencentcloud/ess/go.mod +++ b/tencentcloud/ess/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ess go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ess/v20201111/models.go b/tencentcloud/ess/v20201111/models.go index 70bc78a864..4a2fbe4aa6 100644 --- a/tencentcloud/ess/v20201111/models.go +++ b/tencentcloud/ess/v20201111/models.go @@ -4379,6 +4379,8 @@ type CreateLegalSealQrCodeRequestParams struct { Agent *Agent `json:"Agent,omitnil,omitempty" name:"Agent"` // 机构信息,暂未开放 + // + // Deprecated: Organization is deprecated. Organization *OrganizationInfo `json:"Organization,omitnil,omitempty" name:"Organization"` } diff --git a/tencentcloud/essbasic/go.mod b/tencentcloud/essbasic/go.mod index daccc6b564..b2fab0153a 100644 --- a/tencentcloud/essbasic/go.mod +++ b/tencentcloud/essbasic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/essbasic/v20210526/models.go b/tencentcloud/essbasic/v20210526/models.go index c972aacf9e..dca224d0f5 100644 --- a/tencentcloud/essbasic/v20210526/models.go +++ b/tencentcloud/essbasic/v20210526/models.go @@ -7212,9 +7212,13 @@ type CreateLegalSealQrCodeRequestParams struct { Agent *Agent `json:"Agent,omitnil,omitempty" name:"Agent"` // 操作人信息 + // + // Deprecated: Operator is deprecated. Operator *UserInfo `json:"Operator,omitnil,omitempty" name:"Operator"` // 企业信息 + // + // Deprecated: Organization is deprecated. Organization *OrganizationInfo `json:"Organization,omitnil,omitempty" name:"Organization"` } diff --git a/tencentcloud/facefusion/go.mod b/tencentcloud/facefusion/go.mod index 4a873c7374..b9ab8feb88 100644 --- a/tencentcloud/facefusion/go.mod +++ b/tencentcloud/facefusion/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/faceid/go.mod b/tencentcloud/faceid/go.mod index f30e4db4af..eb7eddc563 100644 --- a/tencentcloud/faceid/go.mod +++ b/tencentcloud/faceid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/fmu/go.mod b/tencentcloud/fmu/go.mod index 7edc78c2d8..65a2ae3df4 100644 --- a/tencentcloud/fmu/go.mod +++ b/tencentcloud/fmu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ft/go.mod b/tencentcloud/ft/go.mod index 3dacb2fce2..d82a528249 100644 --- a/tencentcloud/ft/go.mod +++ b/tencentcloud/ft/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/gaap/go.mod b/tencentcloud/gaap/go.mod index b185024e9b..8ae1b46b93 100644 --- a/tencentcloud/gaap/go.mod +++ b/tencentcloud/gaap/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/gme/go.mod b/tencentcloud/gme/go.mod index 358bb630d2..75236a62f5 100644 --- a/tencentcloud/gme/go.mod +++ b/tencentcloud/gme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/goosefs/go.mod b/tencentcloud/goosefs/go.mod index 385cce934e..eb3b6e5c1b 100644 --- a/tencentcloud/goosefs/go.mod +++ b/tencentcloud/goosefs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/goosefs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/gpm/go.mod b/tencentcloud/gpm/go.mod index a720b9fce1..e19f6c5099 100644 --- a/tencentcloud/gpm/go.mod +++ b/tencentcloud/gpm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/gs/go.mod b/tencentcloud/gs/go.mod index 9650148530..78eceb20a8 100644 --- a/tencentcloud/gs/go.mod +++ b/tencentcloud/gs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/gse/go.mod b/tencentcloud/gse/go.mod index 30fd6afdbf..6731f4ae34 100644 --- a/tencentcloud/gse/go.mod +++ b/tencentcloud/gse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/habo/go.mod b/tencentcloud/habo/go.mod index 0ee21c1f11..eeca446bba 100644 --- a/tencentcloud/habo/go.mod +++ b/tencentcloud/habo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/hai/go.mod b/tencentcloud/hai/go.mod index 2079ee01a9..d3987fa24c 100644 --- a/tencentcloud/hai/go.mod +++ b/tencentcloud/hai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/hasim/go.mod b/tencentcloud/hasim/go.mod index 41220706b5..0d9310a34d 100644 --- a/tencentcloud/hasim/go.mod +++ b/tencentcloud/hasim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hasim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/hcm/go.mod b/tencentcloud/hcm/go.mod index 8818a257f9..6718fba16e 100644 --- a/tencentcloud/hcm/go.mod +++ b/tencentcloud/hcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/hunyuan/go.mod b/tencentcloud/hunyuan/go.mod index 3a726b92cc..ab457370b6 100644 --- a/tencentcloud/hunyuan/go.mod +++ b/tencentcloud/hunyuan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hunyuan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iai/go.mod b/tencentcloud/iai/go.mod index 10830bf524..c059a076f4 100644 --- a/tencentcloud/iai/go.mod +++ b/tencentcloud/iai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ic/go.mod b/tencentcloud/ic/go.mod index d746a9d4b8..6978d80f54 100644 --- a/tencentcloud/ic/go.mod +++ b/tencentcloud/ic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/icr/go.mod b/tencentcloud/icr/go.mod index 7b461f697d..1632fbdf0d 100644 --- a/tencentcloud/icr/go.mod +++ b/tencentcloud/icr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/icr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ie/go.mod b/tencentcloud/ie/go.mod index cc2f8fec69..882a063c1d 100644 --- a/tencentcloud/ie/go.mod +++ b/tencentcloud/ie/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iecp/go.mod b/tencentcloud/iecp/go.mod index 65bd4e005c..b75632e5d5 100644 --- a/tencentcloud/iecp/go.mod +++ b/tencentcloud/iecp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iir/go.mod b/tencentcloud/iir/go.mod index d1cbc2d41d..0d8e7db9d7 100644 --- a/tencentcloud/iir/go.mod +++ b/tencentcloud/iir/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ims/go.mod b/tencentcloud/ims/go.mod index cb719a6c2d..1952ab9986 100644 --- a/tencentcloud/ims/go.mod +++ b/tencentcloud/ims/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ioa/go.mod b/tencentcloud/ioa/go.mod index 4cf99e7316..0a79618d61 100644 --- a/tencentcloud/ioa/go.mod +++ b/tencentcloud/ioa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ioa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iot/go.mod b/tencentcloud/iot/go.mod index 861da6123c..056bb39559 100644 --- a/tencentcloud/iot/go.mod +++ b/tencentcloud/iot/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iotcloud/go.mod b/tencentcloud/iotcloud/go.mod index 5b18c6ab0f..dde5c8d529 100644 --- a/tencentcloud/iotcloud/go.mod +++ b/tencentcloud/iotcloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iotexplorer/go.mod b/tencentcloud/iotexplorer/go.mod index 9501dd5efb..5716c7a12b 100644 --- a/tencentcloud/iotexplorer/go.mod +++ b/tencentcloud/iotexplorer/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iotexplorer/v20190423/client.go b/tencentcloud/iotexplorer/v20190423/client.go index 5e7b2859d1..270acd1b26 100644 --- a/tencentcloud/iotexplorer/v20190423/client.go +++ b/tencentcloud/iotexplorer/v20190423/client.go @@ -3954,6 +3954,67 @@ func (c *Client) DescribeFenceEventListWithContext(ctx context.Context, request return } +func NewDescribeFirmwareRequest() (request *DescribeFirmwareRequest) { + request = &DescribeFirmwareRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("iotexplorer", APIVersion, "DescribeFirmware") + + + return +} + +func NewDescribeFirmwareResponse() (response *DescribeFirmwareResponse) { + response = &DescribeFirmwareResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeFirmware +// 查询固件信息 +// +// 可能返回的错误码: +// INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError" +// INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError" +// RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist" +// RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" +// RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct" +// UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated" +func (c *Client) DescribeFirmware(request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error) { + return c.DescribeFirmwareWithContext(context.Background(), request) +} + +// DescribeFirmware +// 查询固件信息 +// +// 可能返回的错误码: +// INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError" +// INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError" +// RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist" +// RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist" +// RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct" +// UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated" +func (c *Client) DescribeFirmwareWithContext(ctx context.Context, request *DescribeFirmwareRequest) (response *DescribeFirmwareResponse, err error) { + if request == nil { + request = NewDescribeFirmwareRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeFirmware require credential") + } + + request.SetContext(ctx) + + response = NewDescribeFirmwareResponse() + err = c.Send(request, response) + return +} + func NewDescribeFirmwareTaskRequest() (request *DescribeFirmwareTaskRequest) { request = &DescribeFirmwareTaskRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/iotexplorer/v20190423/models.go b/tencentcloud/iotexplorer/v20190423/models.go index 0a7960484e..3782b279c3 100644 --- a/tencentcloud/iotexplorer/v20190423/models.go +++ b/tencentcloud/iotexplorer/v20190423/models.go @@ -5159,6 +5159,100 @@ func (r *DescribeFenceEventListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeFirmwareRequestParams struct { + // 产品ID + ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"` + + // 固件版本号 + FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"` +} + +type DescribeFirmwareRequest struct { + *tchttp.BaseRequest + + // 产品ID + ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"` + + // 固件版本号 + FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"` +} + +func (r *DescribeFirmwareRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeFirmwareRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProductID") + delete(f, "FirmwareVersion") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFirmwareRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeFirmwareResponseParams struct { + // 固件版本号 + Version *string `json:"Version,omitnil,omitempty" name:"Version"` + + // 产品ID + ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"` + + // 固件名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 固件描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + Description *string `json:"Description,omitnil,omitempty" name:"Description"` + + // 固件Md5值 + // 注意:此字段可能返回 null,表示取不到有效值。 + Md5sum *string `json:"Md5sum,omitnil,omitempty" name:"Md5sum"` + + // 固件上传的秒级时间戳 + // 注意:此字段可能返回 null,表示取不到有效值。 + Createtime *uint64 `json:"Createtime,omitnil,omitempty" name:"Createtime"` + + // 产品名称 + ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"` + + // 固件升级模块 + // 注意:此字段可能返回 null,表示取不到有效值。 + FwType *string `json:"FwType,omitnil,omitempty" name:"FwType"` + + // 固件用户自定义配置信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + UserDefined *string `json:"UserDefined,omitnil,omitempty" name:"UserDefined"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeFirmwareResponse struct { + *tchttp.BaseResponse + Response *DescribeFirmwareResponseParams `json:"Response"` +} + +func (r *DescribeFirmwareResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeFirmwareResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeFirmwareTaskRequestParams struct { // 产品ID diff --git a/tencentcloud/iottid/go.mod b/tencentcloud/iottid/go.mod index fe0cc29fc7..6cff82d3c6 100644 --- a/tencentcloud/iottid/go.mod +++ b/tencentcloud/iottid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iotvideo/go.mod b/tencentcloud/iotvideo/go.mod index 865e8de9ed..227db045e7 100644 --- a/tencentcloud/iotvideo/go.mod +++ b/tencentcloud/iotvideo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iotvideoindustry/go.mod b/tencentcloud/iotvideoindustry/go.mod index 1f107a1ed7..fdcc211f07 100644 --- a/tencentcloud/iotvideoindustry/go.mod +++ b/tencentcloud/iotvideoindustry/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/irp/go.mod b/tencentcloud/irp/go.mod index 4cfabdfcb6..25e46fc8f4 100644 --- a/tencentcloud/irp/go.mod +++ b/tencentcloud/irp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/irp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/iss/go.mod b/tencentcloud/iss/go.mod index 70ea98c2e1..3637c8743e 100644 --- a/tencentcloud/iss/go.mod +++ b/tencentcloud/iss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ivld/go.mod b/tencentcloud/ivld/go.mod index 770eaaf441..6fcadc9eec 100644 --- a/tencentcloud/ivld/go.mod +++ b/tencentcloud/ivld/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/keewidb/go.mod b/tencentcloud/keewidb/go.mod index 412c8c45f0..7bbc20326c 100644 --- a/tencentcloud/keewidb/go.mod +++ b/tencentcloud/keewidb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/keewidb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/kms/go.mod b/tencentcloud/kms/go.mod index 7e09dc79c7..fa53cb0d5e 100644 --- a/tencentcloud/kms/go.mod +++ b/tencentcloud/kms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/lcic/go.mod b/tencentcloud/lcic/go.mod index 745b525dcb..56680f8fc4 100644 --- a/tencentcloud/lcic/go.mod +++ b/tencentcloud/lcic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/lighthouse/go.mod b/tencentcloud/lighthouse/go.mod index 4533dcda1b..e74d0d4989 100644 --- a/tencentcloud/lighthouse/go.mod +++ b/tencentcloud/lighthouse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/lighthouse/v20200324/client.go b/tencentcloud/lighthouse/v20200324/client.go index ba9e662908..3877cbf222 100644 --- a/tencentcloud/lighthouse/v20200324/client.go +++ b/tencentcloud/lighthouse/v20200324/client.go @@ -360,6 +360,7 @@ func NewAssociateInstancesKeyPairsResponse() (response *AssociateInstancesKeyPai // UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" // UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" @@ -402,6 +403,7 @@ func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsR // UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" // UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" @@ -522,6 +524,7 @@ func NewAttachDisksResponse() (response *AttachDisksResponse) { // RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" // RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" // UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" @@ -548,6 +551,7 @@ func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisks // RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" // RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" // UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" @@ -680,6 +684,7 @@ func NewCreateBlueprintResponse() (response *CreateBlueprintResponse) { // LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded" // RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" func (c *Client) CreateBlueprint(request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error) { @@ -701,6 +706,7 @@ func (c *Client) CreateBlueprint(request *CreateBlueprintRequest) (response *Cre // LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded" // RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" func (c *Client) CreateBlueprintWithContext(ctx context.Context, request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error) { @@ -1141,6 +1147,7 @@ func NewCreateInstanceSnapshotResponse() (response *CreateInstanceSnapshotRespon // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" // UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" func (c *Client) CreateInstanceSnapshot(request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error) { @@ -1165,6 +1172,7 @@ func (c *Client) CreateInstanceSnapshot(request *CreateInstanceSnapshotRequest) // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" // UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" func (c *Client) CreateInstanceSnapshotWithContext(ctx context.Context, request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error) { @@ -1224,6 +1232,7 @@ func NewCreateInstancesResponse() (response *CreateInstancesResponse) { // INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" // INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" // INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" +// INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" // INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" // INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" // INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" @@ -1269,6 +1278,7 @@ func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *Cre // INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" // INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" // INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" +// INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" // INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" // INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" // INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" @@ -2104,6 +2114,8 @@ func NewDescribeBundleDiscountResponse() (response *DescribeBundleDiscountRespon // INTERNALERROR_REQUESTERROR = "InternalError.RequestError" // INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" // INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" +// INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" +// MISSINGPARAMETER_BUNDLEMISSINGPARAMETERBLUEPRINTID = "MissingParameter.BundleMissingParameterBlueprintId" // RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" func (c *Client) DescribeBundleDiscount(request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error) { return c.DescribeBundleDiscountWithContext(context.Background(), request) @@ -2121,6 +2133,8 @@ func (c *Client) DescribeBundleDiscount(request *DescribeBundleDiscountRequest) // INTERNALERROR_REQUESTERROR = "InternalError.RequestError" // INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" // INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" +// INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" +// MISSINGPARAMETER_BUNDLEMISSINGPARAMETERBLUEPRINTID = "MissingParameter.BundleMissingParameterBlueprintId" // RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" func (c *Client) DescribeBundleDiscountWithContext(ctx context.Context, request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error) { if request == nil { @@ -5024,6 +5038,8 @@ func NewInquirePriceCreateInstancesResponse() (response *InquirePriceCreateInsta // INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" // INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" // INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" +// INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" +// MISSINGPARAMETER_BUNDLEMISSINGPARAMETERBLUEPRINTID = "MissingParameter.BundleMissingParameterBlueprintId" // RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" // RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" @@ -5044,6 +5060,8 @@ func (c *Client) InquirePriceCreateInstances(request *InquirePriceCreateInstance // INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" // INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" // INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" +// INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" +// MISSINGPARAMETER_BUNDLEMISSINGPARAMETERBLUEPRINTID = "MissingParameter.BundleMissingParameterBlueprintId" // RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" // RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" @@ -6188,6 +6206,7 @@ func NewModifyInstancesBundleResponse() (response *ModifyInstancesBundleResponse // INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" // INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSUPPORTMODIFYINSTANCEBUNDLETYPE = "InvalidParameterValue.NotSupportModifyInstanceBundleType" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" // OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" @@ -6219,6 +6238,7 @@ func (c *Client) ModifyInstancesBundle(request *ModifyInstancesBundleRequest) (r // INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" // INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSUPPORTMODIFYINSTANCEBUNDLETYPE = "InvalidParameterValue.NotSupportModifyInstanceBundleType" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" // OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" @@ -6963,7 +6983,7 @@ func NewRerunDockerContainerResponse() (response *RerunDockerContainerResponse) } // RerunDockerContainer -// 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。 +// 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重建情况。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -6981,7 +7001,7 @@ func (c *Client) RerunDockerContainer(request *RerunDockerContainerRequest) (res } // RerunDockerContainer -// 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。 +// 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重建情况。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -7190,6 +7210,8 @@ func NewResetInstanceResponse() (response *ResetInstanceResponse) { // RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable" // UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" +// UNSUPPORTEDOPERATION_BLUEPRINTTYPENOTSUPPORTOPERATION = "UnsupportedOperation.BlueprintTypeNotSupportOperation" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" // UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy" @@ -7236,6 +7258,8 @@ func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetIn // RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable" // UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" // UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" +// UNSUPPORTEDOPERATION_BLUEPRINTTYPENOTSUPPORTOPERATION = "UnsupportedOperation.BlueprintTypeNotSupportOperation" +// UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" // UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" // UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy" diff --git a/tencentcloud/lighthouse/v20200324/errors.go b/tencentcloud/lighthouse/v20200324/errors.go index 181483c7c1..e8bfbafbcb 100644 --- a/tencentcloud/lighthouse/v20200324/errors.go +++ b/tencentcloud/lighthouse/v20200324/errors.go @@ -317,6 +317,9 @@ const ( // 非法的套餐参数。 INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" + // 套餐和镜像的组合非法。 + INVALIDPARAMETERVALUE_INVALIDBUNDLEBLUEPRINTCOMBINATION = "InvalidParameterValue.InvalidBundleBlueprintCombination" + // 控制台显示类型不合法。 INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" @@ -380,6 +383,9 @@ const ( // 不允许改变平台类型。 INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType" + // 实例套餐的套餐类型不支持表更至新套餐。 + INVALIDPARAMETERVALUE_NOTSUPPORTMODIFYINSTANCEBUNDLETYPE = "InvalidParameterValue.NotSupportModifyInstanceBundleType" + // 参数值非法,不在合法范围内。 INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" @@ -458,6 +464,9 @@ const ( // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" + // 套餐缺少参数镜像ID。 + MISSINGPARAMETER_BUNDLEMISSINGPARAMETERBLUEPRINTID = "MissingParameter.BundleMissingParameterBlueprintId" + // 必须传入参数Period或CurInstanceDeadline。 MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline" @@ -665,6 +674,9 @@ const ( // 镜像被使用中,不支持该操作。 UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied" + // 该镜像的镜像类型不支持该操作。 + UNSUPPORTEDOPERATION_BLUEPRINTTYPENOTSUPPORTOPERATION = "UnsupportedOperation.BlueprintTypeNotSupportOperation" + // 已经关联云联网,不支持再次关联。 UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached" @@ -692,6 +704,9 @@ const ( // 指定的防火墙版本号和当前版本不一致。 UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch" + // 实例展示区域不支持该操作。 + UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = "UnsupportedOperation.InstanceDisplayAreaNotSupportOperation" + // 实例已到期,不支持该操作。 UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired" diff --git a/tencentcloud/lighthouse/v20200324/models.go b/tencentcloud/lighthouse/v20200324/models.go index b0599f6744..3887930c95 100644 --- a/tencentcloud/lighthouse/v20200324/models.go +++ b/tencentcloud/lighthouse/v20200324/models.go @@ -2134,14 +2134,14 @@ func (r *DescribeBlueprintsResponse) FromJsonString(s string) error { // Predefined struct for user type DescribeBundleDiscountRequestParams struct { - // 套餐 ID。 + // 套餐 ID。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` } type DescribeBundleDiscountRequest struct { *tchttp.BaseRequest - // 套餐 ID。 + // 套餐 ID。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` } @@ -2194,7 +2194,7 @@ func (r *DescribeBundleDiscountResponse) FromJsonString(s string) error { // Predefined struct for user type DescribeBundlesRequestParams struct { - // 套餐 ID 列表。 + // 套餐 ID 列表。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。 BundleIds []*string `json:"BundleIds,omitnil,omitempty" name:"BundleIds"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 @@ -2229,7 +2229,7 @@ type DescribeBundlesRequestParams struct { type DescribeBundlesRequest struct { *tchttp.BaseRequest - // 套餐 ID 列表。 + // 套餐 ID 列表。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。 BundleIds []*string `json:"BundleIds,omitnil,omitempty" name:"BundleIds"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 @@ -4642,7 +4642,7 @@ func (r *DescribeRegionsResponse) FromJsonString(s string) error { // Predefined struct for user type DescribeResetInstanceBlueprintsRequestParams struct { - // 实例ID + // 实例ID。可通过 DescribeInstances 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 @@ -4655,6 +4655,7 @@ type DescribeResetInstanceBlueprintsRequestParams struct { //
  • blueprint-id
  • 按照【镜像 ID】进行过滤。 // 类型:String // 必选:否 + // 可通过 DescribeBlueprints 接口返回值中的 BlueprintId 获取。 //
  • blueprint-type
  • 按照【镜像类型】进行过滤。 // 取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。 // 类型:String @@ -4666,9 +4667,11 @@ type DescribeResetInstanceBlueprintsRequestParams struct { //
  • blueprint-name
  • 按照【镜像名称】进行过滤。 // 类型:String // 必选:否 + // 可通过 DescribeBlueprints 接口返回值中的 BlueprintName 获取。 //
  • blueprint-state
  • 按照【镜像状态】进行过滤。 // 类型:String // 必选:否 + // 可通过 DescribeBlueprints 接口返回值中的 BlueprintState 获取。 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` @@ -4677,7 +4680,7 @@ type DescribeResetInstanceBlueprintsRequestParams struct { type DescribeResetInstanceBlueprintsRequest struct { *tchttp.BaseRequest - // 实例ID + // 实例ID。可通过 DescribeInstances 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 @@ -4690,6 +4693,7 @@ type DescribeResetInstanceBlueprintsRequest struct { //
  • blueprint-id
  • 按照【镜像 ID】进行过滤。 // 类型:String // 必选:否 + // 可通过 DescribeBlueprints 接口返回值中的 BlueprintId 获取。 //
  • blueprint-type
  • 按照【镜像类型】进行过滤。 // 取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。 // 类型:String @@ -4701,9 +4705,11 @@ type DescribeResetInstanceBlueprintsRequest struct { //
  • blueprint-name
  • 按照【镜像名称】进行过滤。 // 类型:String // 必选:否 + // 可通过 DescribeBlueprints 接口返回值中的 BlueprintName 获取。 //
  • blueprint-state
  • 按照【镜像状态】进行过滤。 // 类型:String // 必选:否 + // 可通过 DescribeBlueprints 接口返回值中的 BlueprintState 获取。 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` @@ -6881,10 +6887,10 @@ func (r *ModifyDisksRenewFlagResponse) FromJsonString(s string) error { // Predefined struct for user type ModifyDockerContainerRequestParams struct { - // 实例ID。 + // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` - // 容器ID。 + // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 环境变量列表 @@ -6912,10 +6918,10 @@ type ModifyDockerContainerRequestParams struct { type ModifyDockerContainerRequest struct { *tchttp.BaseRequest - // 实例ID。 + // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` - // 容器ID。 + // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 环境变量列表 @@ -7984,26 +7990,26 @@ func (r *ReplaceFirewallTemplateRuleResponse) FromJsonString(s string) error { // Predefined struct for user type RerunDockerContainerRequestParams struct { - // 实例ID。 + // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 重新创建的容器配置。 ContainerConfiguration *DockerContainerConfiguration `json:"ContainerConfiguration,omitnil,omitempty" name:"ContainerConfiguration"` - // 容器ID。 + // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` } type RerunDockerContainerRequest struct { *tchttp.BaseRequest - // 实例ID。 + // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 重新创建的容器配置。 ContainerConfiguration *DockerContainerConfiguration `json:"ContainerConfiguration,omitnil,omitempty" name:"ContainerConfiguration"` - // 容器ID。 + // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` } @@ -8452,7 +8458,7 @@ func (r *RestartDockerContainersResponse) FromJsonString(s string) error { // Predefined struct for user type RunDockerContainersRequestParams struct { - // 实例ID。 + // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 要创建的容器列表。 @@ -8462,7 +8468,7 @@ type RunDockerContainersRequestParams struct { type RunDockerContainersRequest struct { *tchttp.BaseRequest - // 实例ID。 + // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 要创建的容器列表。 diff --git a/tencentcloud/live/go.mod b/tencentcloud/live/go.mod index e066a97fc3..f34419e432 100644 --- a/tencentcloud/live/go.mod +++ b/tencentcloud/live/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/lke/go.mod b/tencentcloud/lke/go.mod index 6c2114b22b..a81684a7f0 100644 --- a/tencentcloud/lke/go.mod +++ b/tencentcloud/lke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/lke/v20231130/client.go b/tencentcloud/lke/v20231130/client.go index ac4d3ffc9f..eaaee06aab 100644 --- a/tencentcloud/lke/v20231130/client.go +++ b/tencentcloud/lke/v20231130/client.go @@ -131,6 +131,69 @@ func (c *Client) CheckAttributeLabelReferWithContext(ctx context.Context, reques return } +func NewConvertDocumentRequest() (request *ConvertDocumentRequest) { + request = &ConvertDocumentRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ConvertDocument") + + + return +} + +func NewConvertDocumentResponse() (response *ConvertDocumentResponse) { + response = &ConvertDocumentResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ConvertDocument +// 接口支持图片和PDF转可编辑word格式文件,将文件中的图片、文本、表格等元素识别,并根据位置进行还原。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) ConvertDocument(request *ConvertDocumentRequest) (response *ConvertDocumentResponse, err error) { + return c.ConvertDocumentWithContext(context.Background(), request) +} + +// ConvertDocument +// 接口支持图片和PDF转可编辑word格式文件,将文件中的图片、文本、表格等元素识别,并根据位置进行还原。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) ConvertDocumentWithContext(ctx context.Context, request *ConvertDocumentRequest) (response *ConvertDocumentResponse, err error) { + if request == nil { + request = NewConvertDocumentRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ConvertDocument require credential") + } + + request.SetContext(ctx) + + response = NewConvertDocumentResponse() + err = c.Send(request, response) + return +} + func NewCreateAppRequest() (request *CreateAppRequest) { request = &CreateAppRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -152,12 +215,32 @@ func NewCreateAppResponse() (response *CreateAppResponse) { // CreateApp // 创建知识引擎应用。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error) { return c.CreateAppWithContext(context.Background(), request) } // CreateApp // 创建知识引擎应用。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) CreateAppWithContext(ctx context.Context, request *CreateAppRequest) (response *CreateAppResponse, err error) { if request == nil { request = NewCreateAppRequest() @@ -195,12 +278,32 @@ func NewCreateAttributeLabelResponse() (response *CreateAttributeLabelResponse) // CreateAttributeLabel // 创建属性 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) CreateAttributeLabel(request *CreateAttributeLabelRequest) (response *CreateAttributeLabelResponse, err error) { return c.CreateAttributeLabelWithContext(context.Background(), request) } // CreateAttributeLabel // 创建属性 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) CreateAttributeLabelWithContext(ctx context.Context, request *CreateAttributeLabelRequest) (response *CreateAttributeLabelResponse, err error) { if request == nil { request = NewCreateAttributeLabelRequest() @@ -238,12 +341,32 @@ func NewCreateCorpResponse() (response *CreateCorpResponse) { // CreateCorp // 创建企业 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) CreateCorp(request *CreateCorpRequest) (response *CreateCorpResponse, err error) { return c.CreateCorpWithContext(context.Background(), request) } // CreateCorp // 创建企业 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" +// FAILEDOPERATION_FILEDECODEFAILED = "FailedOperation.FileDecodeFailed" +// FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" +// FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// FAILEDOPERATION_UNOPENERROR = "FailedOperation.UnOpenError" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) CreateCorpWithContext(ctx context.Context, request *CreateCorpRequest) (response *CreateCorpResponse, err error) { if request == nil { request = NewCreateCorpRequest() @@ -1582,6 +1705,55 @@ func (c *Client) GenerateQAWithContext(ctx context.Context, request *GenerateQAR return } +func NewGetAnswerTypeDataCountRequest() (request *GetAnswerTypeDataCountRequest) { + request = &GetAnswerTypeDataCountRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetAnswerTypeDataCount") + + + return +} + +func NewGetAnswerTypeDataCountResponse() (response *GetAnswerTypeDataCountResponse) { + response = &GetAnswerTypeDataCountResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetAnswerTypeDataCount +// 回答类型数据统计 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetAnswerTypeDataCount(request *GetAnswerTypeDataCountRequest) (response *GetAnswerTypeDataCountResponse, err error) { + return c.GetAnswerTypeDataCountWithContext(context.Background(), request) +} + +// GetAnswerTypeDataCount +// 回答类型数据统计 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetAnswerTypeDataCountWithContext(ctx context.Context, request *GetAnswerTypeDataCountRequest) (response *GetAnswerTypeDataCountResponse, err error) { + if request == nil { + request = NewGetAnswerTypeDataCountRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetAnswerTypeDataCount require credential") + } + + request.SetContext(ctx) + + response = NewGetAnswerTypeDataCountResponse() + err = c.Send(request, response) + return +} + func NewGetAppKnowledgeCountRequest() (request *GetAppKnowledgeCountRequest) { request = &GetAppKnowledgeCountRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1782,6 +1954,55 @@ func (c *Client) GetEmbeddingWithContext(ctx context.Context, request *GetEmbedd return } +func NewGetLikeDataCountRequest() (request *GetLikeDataCountRequest) { + request = &GetLikeDataCountRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetLikeDataCount") + + + return +} + +func NewGetLikeDataCountResponse() (response *GetLikeDataCountResponse) { + response = &GetLikeDataCountResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetLikeDataCount +// 点赞点踩数据统计 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetLikeDataCount(request *GetLikeDataCountRequest) (response *GetLikeDataCountResponse, err error) { + return c.GetLikeDataCountWithContext(context.Background(), request) +} + +// GetLikeDataCount +// 点赞点踩数据统计 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetLikeDataCountWithContext(ctx context.Context, request *GetLikeDataCountRequest) (response *GetLikeDataCountResponse, err error) { + if request == nil { + request = NewGetLikeDataCountRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetLikeDataCount require credential") + } + + request.SetContext(ctx) + + response = NewGetLikeDataCountResponse() + err = c.Send(request, response) + return +} + func NewGetMsgRecordRequest() (request *GetMsgRecordRequest) { request = &GetMsgRecordRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/lke/v20231130/errors.go b/tencentcloud/lke/v20231130/errors.go index be6ca93969..a24f02b8c2 100644 --- a/tencentcloud/lke/v20231130/errors.go +++ b/tencentcloud/lke/v20231130/errors.go @@ -29,6 +29,9 @@ const ( // 图片解码失败。 FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" + // 图片尺寸过大,请参考输入参数中关于图片大小限制的说明。 + FAILEDOPERATION_IMAGESIZETOOLARGE = "FailedOperation.ImageSizeTooLarge" + // OCR识别失败。 FAILEDOPERATION_OCRFAILED = "FailedOperation.OcrFailed" diff --git a/tencentcloud/lke/v20231130/models.go b/tencentcloud/lke/v20231130/models.go index 3e3e2362be..47154877dc 100644 --- a/tencentcloud/lke/v20231130/models.go +++ b/tencentcloud/lke/v20231130/models.go @@ -422,6 +422,87 @@ type Context struct { FileInfos []*MsgFileInfo `json:"FileInfos,omitnil,omitempty" name:"FileInfos"` } +// Predefined struct for user +type ConvertDocumentRequestParams struct { + // 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` + + // 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + FileBase64 *string `json:"FileBase64,omitnil,omitempty" name:"FileBase64"` + + // 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。 + FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` + + // 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。 + // 建议一次请求的页面不超过3页。 + FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` +} + +type ConvertDocumentRequest struct { + *tchttp.BaseRequest + + // 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` + + // 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + FileBase64 *string `json:"FileBase64,omitnil,omitempty" name:"FileBase64"` + + // 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。 + FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` + + // 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。 + // 建议一次请求的页面不超过3页。 + FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` +} + +func (r *ConvertDocumentRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ConvertDocumentRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "FileUrl") + delete(f, "FileBase64") + delete(f, "FileStartPageNumber") + delete(f, "FileEndPageNumber") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ConvertDocumentRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ConvertDocumentResponseParams struct { + // 识别生成的word文件base64编码的字符串 + // 注意:此字段可能返回 null,表示取不到有效值。 + WordRecognizeInfo []*WordRecognizeInfo `json:"WordRecognizeInfo,omitnil,omitempty" name:"WordRecognizeInfo"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ConvertDocumentResponse struct { + *tchttp.BaseResponse + Response *ConvertDocumentResponseParams `json:"Response"` +} + +func (r *ConvertDocumentResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ConvertDocumentResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type Coord struct { // 横坐标 X *int64 `json:"X,omitnil,omitempty" name:"X"` @@ -878,10 +959,10 @@ type CreateReconstructDocumentFlowRequestParams struct { // 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` - // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。 + // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。 FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` - // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。 + // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。 FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` // 创建文档解析任务配置信息 @@ -897,10 +978,10 @@ type CreateReconstructDocumentFlowRequest struct { // 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` - // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。 + // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。 FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` - // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。 + // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。 FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` // 创建文档解析任务配置信息 @@ -2897,6 +2978,125 @@ func (r *GenerateQAResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type GetAnswerTypeDataCountRequestParams struct { + // 开始日期 + StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束日期 + EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 应用id + AppBizId []*string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 消息来源(1、分享用户端 2、对话API 3、对话测试 4、应用评测) + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type GetAnswerTypeDataCountRequest struct { + *tchttp.BaseRequest + + // 开始日期 + StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束日期 + EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 应用id + AppBizId []*string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 消息来源(1、分享用户端 2、对话API 3、对话测试 4、应用评测) + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *GetAnswerTypeDataCountRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetAnswerTypeDataCountRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "AppBizId") + delete(f, "Type") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetAnswerTypeDataCountRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetAnswerTypeDataCountResponseParams struct { + // 总消息数 + Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` + + // 大模型直接回复总数 + ModelReplyCount *uint64 `json:"ModelReplyCount,omitnil,omitempty" name:"ModelReplyCount"` + + // 知识型回复总数 + KnowledgeCount *uint64 `json:"KnowledgeCount,omitnil,omitempty" name:"KnowledgeCount"` + + // 任务流回复总数 + TaskFlowCount *uint64 `json:"TaskFlowCount,omitnil,omitempty" name:"TaskFlowCount"` + + // 搜索引擎回复总数 + SearchEngineCount *uint64 `json:"SearchEngineCount,omitnil,omitempty" name:"SearchEngineCount"` + + // 图片理解回复总数 + ImageUnderstandingCount *uint64 `json:"ImageUnderstandingCount,omitnil,omitempty" name:"ImageUnderstandingCount"` + + // 拒答回复总数 + RejectCount *uint64 `json:"RejectCount,omitnil,omitempty" name:"RejectCount"` + + // 敏感回复总数 + SensitiveCount *uint64 `json:"SensitiveCount,omitnil,omitempty" name:"SensitiveCount"` + + // 并发超限回复总数 + ConcurrentLimitCount *uint64 `json:"ConcurrentLimitCount,omitnil,omitempty" name:"ConcurrentLimitCount"` + + // 未知问题回复总数 + UnknownIssuesCount *uint64 `json:"UnknownIssuesCount,omitnil,omitempty" name:"UnknownIssuesCount"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetAnswerTypeDataCountResponse struct { + *tchttp.BaseResponse + Response *GetAnswerTypeDataCountResponseParams `json:"Response"` +} + +func (r *GetAnswerTypeDataCountResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetAnswerTypeDataCountResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type GetAppKnowledgeCountRequestParams struct { // 类型:doc-文档;qa-问答对 @@ -3199,6 +3399,116 @@ func (r *GetEmbeddingResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type GetLikeDataCountRequestParams struct { + // 开始日期 + StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束日期 + EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 应用id + AppBizId []*string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 消息来源(1、分享用户端 2、对话API) + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type GetLikeDataCountRequest struct { + *tchttp.BaseRequest + + // 开始日期 + StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束日期 + EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 应用id + AppBizId []*string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 消息来源(1、分享用户端 2、对话API) + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *GetLikeDataCountRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetLikeDataCountRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "AppBizId") + delete(f, "Type") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetLikeDataCountRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetLikeDataCountResponseParams struct { + // 可评价消息数 + Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` + + // 评价数 + AppraisalTotal *uint64 `json:"AppraisalTotal,omitnil,omitempty" name:"AppraisalTotal"` + + // 参评率 + ParticipationRate *float64 `json:"ParticipationRate,omitnil,omitempty" name:"ParticipationRate"` + + // 点赞数 + LikeTotal *uint64 `json:"LikeTotal,omitnil,omitempty" name:"LikeTotal"` + + // 点赞率 + LikeRate *float64 `json:"LikeRate,omitnil,omitempty" name:"LikeRate"` + + // 点踩数 + DislikeTotal *uint64 `json:"DislikeTotal,omitnil,omitempty" name:"DislikeTotal"` + + // 点踩率 + DislikeRate *float64 `json:"DislikeRate,omitnil,omitempty" name:"DislikeRate"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetLikeDataCountResponse struct { + *tchttp.BaseResponse + Response *GetLikeDataCountResponseParams `json:"Response"` +} + +func (r *GetLikeDataCountResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetLikeDataCountResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type GetMsgRecordRequestParams struct { // 类型 @@ -6777,10 +7087,10 @@ type ReconstructDocumentRequestParams struct { // 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` - // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。 + // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。 FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` - // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。单次调用,最多支持10页pdf的文档解析。 + // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。 FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` // 配置选项,支持配置是否在生成的Markdown中是否嵌入图片 @@ -6796,10 +7106,10 @@ type ReconstructDocumentRequest struct { // 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` - // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。 + // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。 FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` - // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。单次调用,最多支持10页pdf的文档解析。 + // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。 FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` // 配置选项,支持配置是否在生成的Markdown中是否嵌入图片 @@ -7852,4 +8162,14 @@ func (r *VerifyQAResponse) ToJsonString() string { // because it has no param check, nor strict type check func (r *VerifyQAResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) +} + +type WordRecognizeInfo struct { + // 输入文件的页码数 + // 注意:此字段可能返回 null,表示取不到有效值。 + PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // word的base64 + // 注意:此字段可能返回 null,表示取不到有效值。 + WordBase64 *string `json:"WordBase64,omitnil,omitempty" name:"WordBase64"` } \ No newline at end of file diff --git a/tencentcloud/lowcode/go.mod b/tencentcloud/lowcode/go.mod index 77dc49e9e0..d206136c6b 100644 --- a/tencentcloud/lowcode/go.mod +++ b/tencentcloud/lowcode/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/lp/go.mod b/tencentcloud/lp/go.mod index a45c5b837a..927ecdccc9 100644 --- a/tencentcloud/lp/go.mod +++ b/tencentcloud/lp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mall/go.mod b/tencentcloud/mall/go.mod index 94e0febc63..8b89229457 100644 --- a/tencentcloud/mall/go.mod +++ b/tencentcloud/mall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mariadb/go.mod b/tencentcloud/mariadb/go.mod index ead30b3b51..9e2fff1b09 100644 --- a/tencentcloud/mariadb/go.mod +++ b/tencentcloud/mariadb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/market/go.mod b/tencentcloud/market/go.mod index 3bddffa388..66bc85e0e3 100644 --- a/tencentcloud/market/go.mod +++ b/tencentcloud/market/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/memcached/go.mod b/tencentcloud/memcached/go.mod index b5655ab9c2..6a2966f39b 100644 --- a/tencentcloud/memcached/go.mod +++ b/tencentcloud/memcached/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mgobe/go.mod b/tencentcloud/mgobe/go.mod index cf29c85417..7bae6493c2 100644 --- a/tencentcloud/mgobe/go.mod +++ b/tencentcloud/mgobe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mmps/go.mod b/tencentcloud/mmps/go.mod index 0f642f526f..37b80f70ba 100644 --- a/tencentcloud/mmps/go.mod +++ b/tencentcloud/mmps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mmps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mna/go.mod b/tencentcloud/mna/go.mod index b3d6602762..1b0d693d66 100644 --- a/tencentcloud/mna/go.mod +++ b/tencentcloud/mna/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mongodb/go.mod b/tencentcloud/mongodb/go.mod index 67c4a7d117..4e1bbaa318 100644 --- a/tencentcloud/mongodb/go.mod +++ b/tencentcloud/mongodb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/monitor/go.mod b/tencentcloud/monitor/go.mod index c4b11c97f5..845056d630 100644 --- a/tencentcloud/monitor/go.mod +++ b/tencentcloud/monitor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mps/go.mod b/tencentcloud/mps/go.mod index fa32af9fb2..9d3e00f091 100644 --- a/tencentcloud/mps/go.mod +++ b/tencentcloud/mps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mrs/go.mod b/tencentcloud/mrs/go.mod index 2f1171c910..e0a82db249 100644 --- a/tencentcloud/mrs/go.mod +++ b/tencentcloud/mrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ms/go.mod b/tencentcloud/ms/go.mod index 8bc897837c..301dec8d51 100644 --- a/tencentcloud/ms/go.mod +++ b/tencentcloud/ms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/msp/go.mod b/tencentcloud/msp/go.mod index 141fc36035..cfb7467ff3 100644 --- a/tencentcloud/msp/go.mod +++ b/tencentcloud/msp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/mvj/go.mod b/tencentcloud/mvj/go.mod index 2cbc3b66f7..5f3a0dbfb2 100644 --- a/tencentcloud/mvj/go.mod +++ b/tencentcloud/mvj/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/nlp/go.mod b/tencentcloud/nlp/go.mod index 580c6be4a8..f70ceea98c 100644 --- a/tencentcloud/nlp/go.mod +++ b/tencentcloud/nlp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/npp/go.mod b/tencentcloud/npp/go.mod index 760239efd8..b9d49ba604 100644 --- a/tencentcloud/npp/go.mod +++ b/tencentcloud/npp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/oceanus/go.mod b/tencentcloud/oceanus/go.mod index a16ab7f4df..7d7923e6b8 100644 --- a/tencentcloud/oceanus/go.mod +++ b/tencentcloud/oceanus/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ocr/go.mod b/tencentcloud/ocr/go.mod index 7c32550693..112feed7de 100644 --- a/tencentcloud/ocr/go.mod +++ b/tencentcloud/ocr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ocr/v20181119/client.go b/tencentcloud/ocr/v20181119/client.go index 1507ee0a89..f797478047 100644 --- a/tencentcloud/ocr/v20181119/client.go +++ b/tencentcloud/ocr/v20181119/client.go @@ -6614,7 +6614,7 @@ func NewReconstructDocumentResponse() (response *ReconstructDocumentResponse) { } // ReconstructDocument -// 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。 +// 服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。 // // 可能返回的错误码: // FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" @@ -6631,7 +6631,7 @@ func (c *Client) ReconstructDocument(request *ReconstructDocumentRequest) (respo } // ReconstructDocument -// 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。 +// 服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。 // // 可能返回的错误码: // FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError" diff --git a/tencentcloud/omics/go.mod b/tencentcloud/omics/go.mod index 206e525b45..6a134ca6a4 100644 --- a/tencentcloud/omics/go.mod +++ b/tencentcloud/omics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/omics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/organization/go.mod b/tencentcloud/organization/go.mod index 2b456def1e..3ba3a738bf 100644 --- a/tencentcloud/organization/go.mod +++ b/tencentcloud/organization/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/partners/go.mod b/tencentcloud/partners/go.mod index 84f68d6566..a37501b2d8 100644 --- a/tencentcloud/partners/go.mod +++ b/tencentcloud/partners/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/pds/go.mod b/tencentcloud/pds/go.mod index d663b7f658..40cf7c183e 100644 --- a/tencentcloud/pds/go.mod +++ b/tencentcloud/pds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/postgres/go.mod b/tencentcloud/postgres/go.mod index 682e118bab..7beddd622b 100644 --- a/tencentcloud/postgres/go.mod +++ b/tencentcloud/postgres/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/privatedns/go.mod b/tencentcloud/privatedns/go.mod index f958b89677..2956b87031 100644 --- a/tencentcloud/privatedns/go.mod +++ b/tencentcloud/privatedns/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/pts/go.mod b/tencentcloud/pts/go.mod index 8f799e3fa4..b06ba5441b 100644 --- a/tencentcloud/pts/go.mod +++ b/tencentcloud/pts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/rce/go.mod b/tencentcloud/rce/go.mod index f2213c0927..bd73721f4a 100644 --- a/tencentcloud/rce/go.mod +++ b/tencentcloud/rce/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/redis/go.mod b/tencentcloud/redis/go.mod index eca9b65704..64c159a353 100644 --- a/tencentcloud/redis/go.mod +++ b/tencentcloud/redis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/region/go.mod b/tencentcloud/region/go.mod index f50009ee98..467c77d148 100644 --- a/tencentcloud/region/go.mod +++ b/tencentcloud/region/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/region go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/rkp/go.mod b/tencentcloud/rkp/go.mod index 54d6a2c483..4e987ba96b 100644 --- a/tencentcloud/rkp/go.mod +++ b/tencentcloud/rkp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/rp/go.mod b/tencentcloud/rp/go.mod index 810e621d5a..ec69080779 100644 --- a/tencentcloud/rp/go.mod +++ b/tencentcloud/rp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/rum/go.mod b/tencentcloud/rum/go.mod index 6872376da3..fa2bc165ed 100644 --- a/tencentcloud/rum/go.mod +++ b/tencentcloud/rum/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/scf/go.mod b/tencentcloud/scf/go.mod index 117a69c1d8..834361171c 100644 --- a/tencentcloud/scf/go.mod +++ b/tencentcloud/scf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ses/go.mod b/tencentcloud/ses/go.mod index 31650e87a2..4708da4c99 100644 --- a/tencentcloud/ses/go.mod +++ b/tencentcloud/ses/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/smh/go.mod b/tencentcloud/smh/go.mod index de75117969..a588771657 100644 --- a/tencentcloud/smh/go.mod +++ b/tencentcloud/smh/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/smop/go.mod b/tencentcloud/smop/go.mod index 102d540779..0727361ef6 100644 --- a/tencentcloud/smop/go.mod +++ b/tencentcloud/smop/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smop go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/smpn/go.mod b/tencentcloud/smpn/go.mod index b1890a26e9..8e1db12481 100644 --- a/tencentcloud/smpn/go.mod +++ b/tencentcloud/smpn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/sms/go.mod b/tencentcloud/sms/go.mod index cef18d76c5..4eadf5e14e 100644 --- a/tencentcloud/sms/go.mod +++ b/tencentcloud/sms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/soe/go.mod b/tencentcloud/soe/go.mod index 0f8845ed87..e281b00225 100644 --- a/tencentcloud/soe/go.mod +++ b/tencentcloud/soe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/solar/go.mod b/tencentcloud/solar/go.mod index b466aceb71..6bee042f06 100644 --- a/tencentcloud/solar/go.mod +++ b/tencentcloud/solar/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/sqlserver/go.mod b/tencentcloud/sqlserver/go.mod index 5179a4534b..8029b3ab0c 100644 --- a/tencentcloud/sqlserver/go.mod +++ b/tencentcloud/sqlserver/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ssa/go.mod b/tencentcloud/ssa/go.mod index ce997b3c71..b0a496df8b 100644 --- a/tencentcloud/ssa/go.mod +++ b/tencentcloud/ssa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ssl/go.mod b/tencentcloud/ssl/go.mod index ad3829c4c3..1072e9eed9 100644 --- a/tencentcloud/ssl/go.mod +++ b/tencentcloud/ssl/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/sslpod/go.mod b/tencentcloud/sslpod/go.mod index 9cc23bedbd..6ae67b5ca6 100644 --- a/tencentcloud/sslpod/go.mod +++ b/tencentcloud/sslpod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ssm/go.mod b/tencentcloud/ssm/go.mod index b5d3681592..6fc51464fa 100644 --- a/tencentcloud/ssm/go.mod +++ b/tencentcloud/ssm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/sts/go.mod b/tencentcloud/sts/go.mod index b023c5424c..3a652eba87 100644 --- a/tencentcloud/sts/go.mod +++ b/tencentcloud/sts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/svp/go.mod b/tencentcloud/svp/go.mod index b6533de380..9d2b850a45 100644 --- a/tencentcloud/svp/go.mod +++ b/tencentcloud/svp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/svp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/taf/go.mod b/tencentcloud/taf/go.mod index 0759bc79f8..e64a23d926 100644 --- a/tencentcloud/taf/go.mod +++ b/tencentcloud/taf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tag/go.mod b/tencentcloud/tag/go.mod index 8d64334d5b..13e58635d4 100644 --- a/tencentcloud/tag/go.mod +++ b/tencentcloud/tag/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tan/go.mod b/tencentcloud/tan/go.mod index 56b01658e7..f3ea239c76 100644 --- a/tencentcloud/tan/go.mod +++ b/tencentcloud/tan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tat/go.mod b/tencentcloud/tat/go.mod index 840aa8716d..d6e056fe8f 100644 --- a/tencentcloud/tat/go.mod +++ b/tencentcloud/tat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tav/go.mod b/tencentcloud/tav/go.mod index 6ded8f71e3..8112e7df38 100644 --- a/tencentcloud/tav/go.mod +++ b/tencentcloud/tav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tbaas/go.mod b/tencentcloud/tbaas/go.mod index 7070ba0c41..c1708d72b1 100644 --- a/tencentcloud/tbaas/go.mod +++ b/tencentcloud/tbaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tbm/go.mod b/tencentcloud/tbm/go.mod index ec527b7cc2..6138eb8ad7 100644 --- a/tencentcloud/tbm/go.mod +++ b/tencentcloud/tbm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tbp/go.mod b/tencentcloud/tbp/go.mod index 8a80338667..15d9c5f8b0 100644 --- a/tencentcloud/tbp/go.mod +++ b/tencentcloud/tbp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcaplusdb/go.mod b/tencentcloud/tcaplusdb/go.mod index 1a27d55f86..86bf04113d 100644 --- a/tencentcloud/tcaplusdb/go.mod +++ b/tencentcloud/tcaplusdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcb/go.mod b/tencentcloud/tcb/go.mod index 1fab79c853..2b4cec807a 100644 --- a/tencentcloud/tcb/go.mod +++ b/tencentcloud/tcb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcbr/go.mod b/tencentcloud/tcbr/go.mod index b454285d35..317c56ac5d 100644 --- a/tencentcloud/tcbr/go.mod +++ b/tencentcloud/tcbr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcbr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcex/go.mod b/tencentcloud/tcex/go.mod index d4d88c8cbc..c40163d26a 100644 --- a/tencentcloud/tcex/go.mod +++ b/tencentcloud/tcex/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tchd/go.mod b/tencentcloud/tchd/go.mod index 71da0f94fe..64429788c6 100644 --- a/tencentcloud/tchd/go.mod +++ b/tencentcloud/tchd/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tchd go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tci/go.mod b/tencentcloud/tci/go.mod index 3ebcbbe21b..4052bc6d4f 100644 --- a/tencentcloud/tci/go.mod +++ b/tencentcloud/tci/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcm/go.mod b/tencentcloud/tcm/go.mod index 47d65c39af..32becbba3a 100644 --- a/tencentcloud/tcm/go.mod +++ b/tencentcloud/tcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcr/go.mod b/tencentcloud/tcr/go.mod index 3e44e978bd..7034d04f93 100644 --- a/tencentcloud/tcr/go.mod +++ b/tencentcloud/tcr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tcss/go.mod b/tencentcloud/tcss/go.mod index 8e563d0c52..41a0caf5ec 100644 --- a/tencentcloud/tcss/go.mod +++ b/tencentcloud/tcss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tdcpg/go.mod b/tencentcloud/tdcpg/go.mod index d715d7e921..6bdb05f445 100644 --- a/tencentcloud/tdcpg/go.mod +++ b/tencentcloud/tdcpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdcpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tdid/go.mod b/tencentcloud/tdid/go.mod index 96db81df20..56fcf37e69 100644 --- a/tencentcloud/tdid/go.mod +++ b/tencentcloud/tdid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tdmq/go.mod b/tencentcloud/tdmq/go.mod index 66baa5f20b..b638727d96 100644 --- a/tencentcloud/tdmq/go.mod +++ b/tencentcloud/tdmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tdmq/v20200217/client.go b/tencentcloud/tdmq/v20200217/client.go index 7c739b2405..a85ab07d0b 100644 --- a/tencentcloud/tdmq/v20200217/client.go +++ b/tencentcloud/tdmq/v20200217/client.go @@ -4068,6 +4068,59 @@ func (c *Client) DescribePulsarProInstancesWithContext(ctx context.Context, requ return } +func NewDescribeRabbitMQExchangesRequest() (request *DescribeRabbitMQExchangesRequest) { + request = &DescribeRabbitMQExchangesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("tdmq", APIVersion, "DescribeRabbitMQExchanges") + + + return +} + +func NewDescribeRabbitMQExchangesResponse() (response *DescribeRabbitMQExchangesResponse) { + response = &DescribeRabbitMQExchangesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeRabbitMQExchanges +// 查询RabbitMQ exchange 列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeRabbitMQExchanges(request *DescribeRabbitMQExchangesRequest) (response *DescribeRabbitMQExchangesResponse, err error) { + return c.DescribeRabbitMQExchangesWithContext(context.Background(), request) +} + +// DescribeRabbitMQExchanges +// 查询RabbitMQ exchange 列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeRabbitMQExchangesWithContext(ctx context.Context, request *DescribeRabbitMQExchangesRequest) (response *DescribeRabbitMQExchangesResponse, err error) { + if request == nil { + request = NewDescribeRabbitMQExchangesRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeRabbitMQExchanges require credential") + } + + request.SetContext(ctx) + + response = NewDescribeRabbitMQExchangesResponse() + err = c.Send(request, response) + return +} + func NewDescribeRabbitMQNodeListRequest() (request *DescribeRabbitMQNodeListRequest) { request = &DescribeRabbitMQNodeListRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/tdmq/v20200217/models.go b/tencentcloud/tdmq/v20200217/models.go index 92936c1b68..3351dc7591 100644 --- a/tencentcloud/tdmq/v20200217/models.go +++ b/tencentcloud/tdmq/v20200217/models.go @@ -6176,6 +6176,137 @@ func (r *DescribePulsarProInstancesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeRabbitMQExchangesRequestParams struct { + // 实例 id + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // vhost 参数 + VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"` + + // 分页 offset + Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // 分页 limit + Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 搜索关键词, 支持模糊匹配 + SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"` + + // 筛选 exchange 类型, 数组中每个元素为选中的过滤类型 + ExchangeTypeFilters []*string `json:"ExchangeTypeFilters,omitnil,omitempty" name:"ExchangeTypeFilters"` + + // 筛选 exchange 创建来源, "system":"系统创建", "user":"用户创建" + ExchangeCreatorFilters []*string `json:"ExchangeCreatorFilters,omitnil,omitempty" name:"ExchangeCreatorFilters"` + + // exchange 名称,用于精确匹配 + ExchangeName *string `json:"ExchangeName,omitnil,omitempty" name:"ExchangeName"` + + // 排序依据的字段: + // MessageRateInOut - 生产消费速率之和; + // MessageRateIn - 生产速率; + // MessageRateOut - 消费速率; + SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"` + + // 排序顺序,ascend 或 descend + SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"` +} + +type DescribeRabbitMQExchangesRequest struct { + *tchttp.BaseRequest + + // 实例 id + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // vhost 参数 + VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"` + + // 分页 offset + Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // 分页 limit + Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 搜索关键词, 支持模糊匹配 + SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"` + + // 筛选 exchange 类型, 数组中每个元素为选中的过滤类型 + ExchangeTypeFilters []*string `json:"ExchangeTypeFilters,omitnil,omitempty" name:"ExchangeTypeFilters"` + + // 筛选 exchange 创建来源, "system":"系统创建", "user":"用户创建" + ExchangeCreatorFilters []*string `json:"ExchangeCreatorFilters,omitnil,omitempty" name:"ExchangeCreatorFilters"` + + // exchange 名称,用于精确匹配 + ExchangeName *string `json:"ExchangeName,omitnil,omitempty" name:"ExchangeName"` + + // 排序依据的字段: + // MessageRateInOut - 生产消费速率之和; + // MessageRateIn - 生产速率; + // MessageRateOut - 消费速率; + SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"` + + // 排序顺序,ascend 或 descend + SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"` +} + +func (r *DescribeRabbitMQExchangesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeRabbitMQExchangesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "VirtualHost") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "SearchWord") + delete(f, "ExchangeTypeFilters") + delete(f, "ExchangeCreatorFilters") + delete(f, "ExchangeName") + delete(f, "SortElement") + delete(f, "SortOrder") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRabbitMQExchangesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeRabbitMQExchangesResponseParams struct { + // 策略列表信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExchangeInfoList []*RabbitMQExchangeListInfo `json:"ExchangeInfoList,omitnil,omitempty" name:"ExchangeInfoList"` + + // 策略结果总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeRabbitMQExchangesResponse struct { + *tchttp.BaseResponse + Response *DescribeRabbitMQExchangesResponseParams `json:"Response"` +} + +func (r *DescribeRabbitMQExchangesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeRabbitMQExchangesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeRabbitMQNodeListRequestParams struct { // rabbitmq集群ID @@ -12515,6 +12646,70 @@ type RabbitMQClusterWhiteListInfo struct { PublicDataStreamWhiteListStatus *string `json:"PublicDataStreamWhiteListStatus,omitnil,omitempty" name:"PublicDataStreamWhiteListStatus"` } +type RabbitMQExchangeListInfo struct { + // exchange 名 + ExchangeName *string `json:"ExchangeName,omitnil,omitempty" name:"ExchangeName"` + + // 备注说明 + // 注意:此字段可能返回 null,表示取不到有效值。 + Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // exchange 类型, 支持 "fanout","direct","topic","headers" + ExchangeType *string `json:"ExchangeType,omitnil,omitempty" name:"ExchangeType"` + + // VHost参数 + // 注意:此字段可能返回 null,表示取不到有效值。 + VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"` + + // exchange 创建者, "system":"系统创建", "user":"用户创建" + // 注意:此字段可能返回 null,表示取不到有效值。 + ExchangeCreator *string `json:"ExchangeCreator,omitnil,omitempty" name:"ExchangeCreator"` + + // exchange 创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTimeStamp *string `json:"CreateTimeStamp,omitnil,omitempty" name:"CreateTimeStamp"` + + // exchange 修改时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + ModTimeStamp *string `json:"ModTimeStamp,omitnil,omitempty" name:"ModTimeStamp"` + + // 输入消息速率 + // 注意:此字段可能返回 null,表示取不到有效值。 + MessageRateIn *float64 `json:"MessageRateIn,omitnil,omitempty" name:"MessageRateIn"` + + // 输出消息速率 + // 注意:此字段可能返回 null,表示取不到有效值。 + MessageRateOut *float64 `json:"MessageRateOut,omitnil,omitempty" name:"MessageRateOut"` + + // 是否为持久化交换机,true 为持久化,false 为非持久化 + // 注意:此字段可能返回 null,表示取不到有效值。 + Durable *bool `json:"Durable,omitnil,omitempty" name:"Durable"` + + // 是否为自动删除交换机,true 为自动删除,false 为非自动删除 + // 注意:此字段可能返回 null,表示取不到有效值。 + AutoDelete *bool `json:"AutoDelete,omitnil,omitempty" name:"AutoDelete"` + + // 是否为内部交换机,true 为内部交换机 + // 注意:此字段可能返回 null,表示取不到有效值。 + Internal *bool `json:"Internal,omitnil,omitempty" name:"Internal"` + + // 交换机所属实例 ID + // 注意:此字段可能返回 null,表示取不到有效值。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 生效的策略名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"` + + // 扩展参数 key-value 对象 + // 注意:此字段可能返回 null,表示取不到有效值。 + Arguments *string `json:"Arguments,omitnil,omitempty" name:"Arguments"` + + // 未调度的延时消息数量 + // 注意:此字段可能返回 null,表示取不到有效值。 + MessagesDelayed *uint64 `json:"MessagesDelayed,omitnil,omitempty" name:"MessagesDelayed"` +} + type RabbitMQPrivateNode struct { // 节点名字 // 注意:此字段可能返回 null,表示取不到有效值。 diff --git a/tencentcloud/tds/go.mod b/tencentcloud/tds/go.mod index 4e0aad5509..a356a316c4 100644 --- a/tencentcloud/tds/go.mod +++ b/tencentcloud/tds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tem/go.mod b/tencentcloud/tem/go.mod index 0f07557675..421efa6501 100644 --- a/tencentcloud/tem/go.mod +++ b/tencentcloud/tem/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/teo/go.mod b/tencentcloud/teo/go.mod index 1a3a7da323..967c8b2163 100644 --- a/tencentcloud/teo/go.mod +++ b/tencentcloud/teo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/thpc/go.mod b/tencentcloud/thpc/go.mod index 952774a554..dc6dc51f97 100644 --- a/tencentcloud/thpc/go.mod +++ b/tencentcloud/thpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tia/go.mod b/tencentcloud/tia/go.mod index 69bb1d714e..ade4057eb5 100644 --- a/tencentcloud/tia/go.mod +++ b/tencentcloud/tia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tic/go.mod b/tencentcloud/tic/go.mod index 0475e6a5fa..4ee4360eba 100644 --- a/tencentcloud/tic/go.mod +++ b/tencentcloud/tic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ticm/go.mod b/tencentcloud/ticm/go.mod index 2e0ffd3d7d..242a13e538 100644 --- a/tencentcloud/ticm/go.mod +++ b/tencentcloud/ticm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tics/go.mod b/tencentcloud/tics/go.mod index 371f0ade85..b489e3e05a 100644 --- a/tencentcloud/tics/go.mod +++ b/tencentcloud/tics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tiems/go.mod b/tencentcloud/tiems/go.mod index 3afb8ad901..e84de7e55c 100644 --- a/tencentcloud/tiems/go.mod +++ b/tencentcloud/tiems/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tiia/go.mod b/tencentcloud/tiia/go.mod index 03b2432a86..9859e0086b 100644 --- a/tencentcloud/tiia/go.mod +++ b/tencentcloud/tiia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tione/go.mod b/tencentcloud/tione/go.mod index 71399b9ea0..85d7377df8 100644 --- a/tencentcloud/tione/go.mod +++ b/tencentcloud/tione/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tiw/go.mod b/tencentcloud/tiw/go.mod index ed399cfc7b..0cfdd905a7 100644 --- a/tencentcloud/tiw/go.mod +++ b/tencentcloud/tiw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tke/go.mod b/tencentcloud/tke/go.mod index bd714bfa25..5091a7e597 100644 --- a/tencentcloud/tke/go.mod +++ b/tencentcloud/tke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tkgdq/go.mod b/tencentcloud/tkgdq/go.mod index 9fe9ba633f..0d272608b5 100644 --- a/tencentcloud/tkgdq/go.mod +++ b/tencentcloud/tkgdq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tms/go.mod b/tencentcloud/tms/go.mod index 82c8cf745a..d2f92298a2 100644 --- a/tencentcloud/tms/go.mod +++ b/tencentcloud/tms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tmt/go.mod b/tencentcloud/tmt/go.mod index 4a9498c647..f37701917a 100644 --- a/tencentcloud/tmt/go.mod +++ b/tencentcloud/tmt/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tourism/go.mod b/tencentcloud/tourism/go.mod index 95de86883b..65a1011ac8 100644 --- a/tencentcloud/tourism/go.mod +++ b/tencentcloud/tourism/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tourism go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/trdp/go.mod b/tencentcloud/trdp/go.mod index b08e86e1d0..27cf5a1ae3 100644 --- a/tencentcloud/trdp/go.mod +++ b/tencentcloud/trdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/trocket/go.mod b/tencentcloud/trocket/go.mod index 1e5af844e4..075513e3d8 100644 --- a/tencentcloud/trocket/go.mod +++ b/tencentcloud/trocket/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trocket go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/trocket/v20230308/client.go b/tencentcloud/trocket/v20230308/client.go index 2ef46b4d1e..241e21b690 100644 --- a/tencentcloud/trocket/v20230308/client.go +++ b/tencentcloud/trocket/v20230308/client.go @@ -1840,6 +1840,55 @@ func (c *Client) DescribeMQTTUserListWithContext(ctx context.Context, request *D return } +func NewDescribeProductSKUsRequest() (request *DescribeProductSKUsRequest) { + request = &DescribeProductSKUsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("trocket", APIVersion, "DescribeProductSKUs") + + + return +} + +func NewDescribeProductSKUsResponse() (response *DescribeProductSKUsResponse) { + response = &DescribeProductSKUsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeProductSKUs +// 查询产品售卖规格,针对 RocketMQ 5.x 集群。 +// +// 可能返回的错误码: +// RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" +func (c *Client) DescribeProductSKUs(request *DescribeProductSKUsRequest) (response *DescribeProductSKUsResponse, err error) { + return c.DescribeProductSKUsWithContext(context.Background(), request) +} + +// DescribeProductSKUs +// 查询产品售卖规格,针对 RocketMQ 5.x 集群。 +// +// 可能返回的错误码: +// RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" +func (c *Client) DescribeProductSKUsWithContext(ctx context.Context, request *DescribeProductSKUsRequest) (response *DescribeProductSKUsResponse, err error) { + if request == nil { + request = NewDescribeProductSKUsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeProductSKUs require credential") + } + + request.SetContext(ctx) + + response = NewDescribeProductSKUsResponse() + err = c.Send(request, response) + return +} + func NewDescribeRoleListRequest() (request *DescribeRoleListRequest) { request = &DescribeRoleListRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/trocket/v20230308/models.go b/tencentcloud/trocket/v20230308/models.go index 24d072d4f9..8a3af31666 100644 --- a/tencentcloud/trocket/v20230308/models.go +++ b/tencentcloud/trocket/v20230308/models.go @@ -2819,6 +2819,61 @@ func (r *DescribeMQTTUserListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeProductSKUsRequestParams struct { + +} + +type DescribeProductSKUsRequest struct { + *tchttp.BaseRequest + +} + +func (r *DescribeProductSKUsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProductSKUsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProductSKUsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeProductSKUsResponseParams struct { + // 商品配置信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data []*ProductSKU `json:"Data,omitnil,omitempty" name:"Data"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeProductSKUsResponse struct { + *tchttp.BaseResponse + Response *DescribeProductSKUsResponseParams `json:"Response"` +} + +func (r *DescribeProductSKUsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProductSKUsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeRoleListRequestParams struct { // 实例ID @@ -4426,6 +4481,69 @@ type PacketStatistics struct { Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` } +type PriceTag struct { + // 计价名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 步长 + // 注意:此字段可能返回 null,表示取不到有效值。 + Step *int64 `json:"Step,omitnil,omitempty" name:"Step"` +} + +type ProductSKU struct { + // 产品类型, + // EXPERIMENT,体验版 + // BASIC,基础版 + // PRO,专业版 + // PLATINUM,铂金版 + InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` + + // 规格代码 + SkuCode *string `json:"SkuCode,omitnil,omitempty" name:"SkuCode"` + + // TPS上限 + // 注意:此字段可能返回 null,表示取不到有效值。 + TpsLimit *int64 `json:"TpsLimit,omitnil,omitempty" name:"TpsLimit"` + + // 弹性TPS上限 + // 注意:此字段可能返回 null,表示取不到有效值。 + ScaledTpsLimit *int64 `json:"ScaledTpsLimit,omitnil,omitempty" name:"ScaledTpsLimit"` + + // 主题数量上限默认值 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicNumLimit *int64 `json:"TopicNumLimit,omitnil,omitempty" name:"TopicNumLimit"` + + // 消费组数量上限 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupNumLimit *int64 `json:"GroupNumLimit,omitnil,omitempty" name:"GroupNumLimit"` + + // 默认消息保留时间,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + DefaultRetention *int64 `json:"DefaultRetention,omitnil,omitempty" name:"DefaultRetention"` + + // 可调整消息保留时间上限,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + RetentionUpperLimit *int64 `json:"RetentionUpperLimit,omitnil,omitempty" name:"RetentionUpperLimit"` + + // 可调整消息保留时间下限,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + RetentionLowerLimit *int64 `json:"RetentionLowerLimit,omitnil,omitempty" name:"RetentionLowerLimit"` + + // 延时消息最大时长,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxMessageDelay *int64 `json:"MaxMessageDelay,omitnil,omitempty" name:"MaxMessageDelay"` + + // 是否可购买 + OnSale *bool `json:"OnSale,omitnil,omitempty" name:"OnSale"` + + // 计费项信息 + PriceTags []*PriceTag `json:"PriceTags,omitnil,omitempty" name:"PriceTags"` + + // 主题数量上限默认最大值 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicNumUpperLimit *int64 `json:"TopicNumUpperLimit,omitnil,omitempty" name:"TopicNumUpperLimit"` +} + type PublicAccessRule struct { // ip网段信息 // 注意:此字段可能返回 null,表示取不到有效值。 diff --git a/tencentcloud/trp/go.mod b/tencentcloud/trp/go.mod index a8fd22775f..f81a460a33 100644 --- a/tencentcloud/trp/go.mod +++ b/tencentcloud/trp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/trro/go.mod b/tencentcloud/trro/go.mod index b8414de28a..dd88d4de9b 100644 --- a/tencentcloud/trro/go.mod +++ b/tencentcloud/trro/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trro go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/trtc/go.mod b/tencentcloud/trtc/go.mod index c275509fb9..1063dcbce1 100644 --- a/tencentcloud/trtc/go.mod +++ b/tencentcloud/trtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/trtc/v20190722/models.go b/tencentcloud/trtc/v20190722/models.go index a99a0f79ff..764af95e63 100644 --- a/tencentcloud/trtc/v20190722/models.go +++ b/tencentcloud/trtc/v20190722/models.go @@ -3033,6 +3033,16 @@ type McuLayout struct { // 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。 BackgroundCustomRender *McuBackgroundCustomRender `json:"BackgroundCustomRender,omitnil,omitempty" name:"BackgroundCustomRender"` + + // 子背景色生效模式,默认值为0表示均不生效。 + // bit0:占位图缩放是否生效。 + // bit1:上行流缩放是否生效。 + // 您可以将相应bit位置1启动生效,例如: + // 0(00)表示子背景色不生效。 + // 1(01)表示子背景色只在占位图缩放时生效。 + // 2(10)表示子背景色只在上行流缩放时生效。 + // 3(11)表示子背景色在占位图缩放和上行流缩放时均生效。 + BackGroundColorMode *uint64 `json:"BackGroundColorMode,omitnil,omitempty" name:"BackGroundColorMode"` } type McuLayoutParams struct { @@ -3239,7 +3249,7 @@ type MixLayout struct { // 该画布的图层顺序, 这个值越小表示图层越靠后。默认值为0。 ImageLayer *uint64 `json:"ImageLayer,omitnil,omitempty" name:"ImageLayer"` - // 图片的url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。 + // 图片的url地址, 只支持jpg, png, jpeg,大小限制不超过5M。注意,url必须携带格式后缀,url内只支持特定的字符串, 范围是a-z A-Z 0-9 '-', '.', '_', '~', ':', '/', '?', '#', '[', ']' '@', '!', '&', '(', ')', '*', '+', ',', '%', '=' SubBackgroundImage *string `json:"SubBackgroundImage,omitnil,omitempty" name:"SubBackgroundImage"` } @@ -3247,7 +3257,7 @@ type MixLayoutParams struct { // 布局模式: // 1:悬浮布局; // 2:屏幕分享布局; - // 3:九宫格布局(默认); + // 3:九宫格布局; // 4:自定义布局; // // 悬浮布局:默认第一个进入房间的主播(也可以指定一个主播)的视频画面会铺满整个屏幕。其他主播的视频画面从左下角开始依次按照进房顺序水平排列,显示为小画面,小画面悬浮于大画面之上。当画面数量小于等于17个时,每行4个(4 x 4排列)。当画面数量大于17个时,重新布局小画面为每行5个(5 x 5)排列。最多支持25个画面,如果用户只发送音频,仍然会占用画面位置。 @@ -3274,7 +3284,7 @@ type MixLayoutParams struct { // 这个位置的MediaId代表的是对应MaxResolutionUserId的主辅路,MixLayoutList内代表的是自定义用户的主辅路。 MediaId *uint64 `json:"MediaId,omitnil,omitempty" name:"MediaId"` - // 图片的url地址, 只支持jpg, png,大小限制不超过5M,url不可包含中文。 + // 图片的url地址,只支持jpg, png, jpeg,大小限制不超过5M。注意,url必须携带格式后缀,url内只支持特定的字符串, 范围是a-z A-Z 0-9 '-', '.', '_', '~', ':', '/', '?', '#', '[', ']' '@', '!', '&', '(', ')', '*', '+', ',', '%', '=' BackgroundImageUrl *string `json:"BackgroundImageUrl,omitnil,omitempty" name:"BackgroundImageUrl"` // 设置为1时代表启用占位图功能,0时代表不启用占位图功能,默认为0。启用占位图功能时,在预设位置的用户没有上行视频时可显示对应的占位图。 @@ -3283,7 +3293,7 @@ type MixLayoutParams struct { // 背景画面宽高比不一致的时候处理方案,与MixLayoufList定义的RenderMode一致。 BackgroundImageRenderMode *uint64 `json:"BackgroundImageRenderMode,omitnil,omitempty" name:"BackgroundImageRenderMode"` - // 子画面占位图url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。 + // 子画面占位图url地址,只支持jpg, png, jpeg,大小限制不超过5M。注意,url必须携带格式后缀,url内只支持特定的字符串, 范围是a-z A-Z 0-9 '-', '.', '_', '~', ':', '/', '?', '#', '[', ']' '@', '!', '&', '(', ')', '*', '+', ',', '%', '=' DefaultSubBackgroundImage *string `json:"DefaultSubBackgroundImage,omitnil,omitempty" name:"DefaultSubBackgroundImage"` // 水印布局参数, 最多支持25个。 @@ -5415,7 +5425,7 @@ type WaterMarkChar struct { } type WaterMarkImage struct { - // 下载的url地址, 只支持jpg, png,大小限制不超过5M。 + // 下载的url地址, 只支持jpg, png, jpeg,大小限制不超过5M。注意,url必须携带格式后缀,url内只支持特定的字符串, 范围是a-z A-Z 0-9 '-', '.', '_', '~', ':', '/', '?', '#', '[', ']' '@', '!', '&', '(', ')', '*', '+', ',', '%', '=' WaterMarkUrl *string `json:"WaterMarkUrl,omitnil,omitempty" name:"WaterMarkUrl"` // 画布上该画面左上角的 y 轴坐标,取值范围 [0, 2560],不能超过画布的高。 diff --git a/tencentcloud/tse/go.mod b/tencentcloud/tse/go.mod index 53060802d1..b3f10efcd3 100644 --- a/tencentcloud/tse/go.mod +++ b/tencentcloud/tse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tsf/go.mod b/tencentcloud/tsf/go.mod index 571242b591..0b1c9268b6 100644 --- a/tencentcloud/tsf/go.mod +++ b/tencentcloud/tsf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tsi/doc.go b/tencentcloud/tsi/doc.go new file mode 100644 index 0000000000..67693c9381 --- /dev/null +++ b/tencentcloud/tsi/doc.go @@ -0,0 +1,2 @@ +// Package doc +package doc \ No newline at end of file diff --git a/tencentcloud/tsi/go.mod b/tencentcloud/tsi/go.mod new file mode 100644 index 0000000000..73b19a490b --- /dev/null +++ b/tencentcloud/tsi/go.mod @@ -0,0 +1,5 @@ +module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsi + +go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tsi/v20210325/client.go b/tencentcloud/tsi/v20210325/client.go new file mode 100644 index 0000000000..3063d5e857 --- /dev/null +++ b/tencentcloud/tsi/v20210325/client.go @@ -0,0 +1,207 @@ +// Copyright (c) 2017-2018 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. + +package v20210325 + +import ( + "context" + "errors" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" + tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile" +) + +const APIVersion = "2021-03-25" + +type Client struct { + common.Client +} + +// Deprecated +func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error) { + cpf := profile.NewClientProfile() + client = &Client{} + client.Init(region).WithSecretId(secretId, secretKey).WithProfile(cpf) + return +} + +func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error) { + client = &Client{} + client.Init(region). + WithCredential(credential). + WithProfile(clientProfile) + return +} + + +func NewTongChuanDisplayRequest() (request *TongChuanDisplayRequest) { + request = &TongChuanDisplayRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("tsi", APIVersion, "TongChuanDisplay") + + + return +} + +func NewTongChuanDisplayResponse() (response *TongChuanDisplayResponse) { + response = &TongChuanDisplayResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// TongChuanDisplay +// 获取同传结果。 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_ISNEW = "UnsupportedOperation.IsNew" +// UNSUPPORTEDOPERATION_SEMAX = "UnsupportedOperation.SeMax" +func (c *Client) TongChuanDisplay(request *TongChuanDisplayRequest) (response *TongChuanDisplayResponse, err error) { + return c.TongChuanDisplayWithContext(context.Background(), request) +} + +// TongChuanDisplay +// 获取同传结果。 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_ISNEW = "UnsupportedOperation.IsNew" +// UNSUPPORTEDOPERATION_SEMAX = "UnsupportedOperation.SeMax" +func (c *Client) TongChuanDisplayWithContext(ctx context.Context, request *TongChuanDisplayRequest) (response *TongChuanDisplayResponse, err error) { + if request == nil { + request = NewTongChuanDisplayRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("TongChuanDisplay require credential") + } + + request.SetContext(ctx) + + response = NewTongChuanDisplayResponse() + err = c.Send(request, response) + return +} + +func NewTongChuanRecognizeRequest() (request *TongChuanRecognizeRequest) { + request = &TongChuanRecognizeRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("tsi", APIVersion, "TongChuanRecognize") + + + return +} + +func NewTongChuanRecognizeResponse() (response *TongChuanRecognizeResponse) { + response = &TongChuanRecognizeResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// TongChuanRecognize +// 本接口提供上传音频,将音频进行语音识别并翻译成文本的服务,目前开放中英互译的同传服务。 待识别和翻译的音频文件格式是 pcm,pcm采样率要求16kHz、位深16bit、单声道、每个分片时长200ms~500ms,音频内语音清晰。 +// +// 可能返回的错误码: +// INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter" +// UNSUPPORTEDOPERATION_AUDIOFORMAT = "UnsupportedOperation.AudioFormat" +// UNSUPPORTEDOPERATION_ISEND = "UnsupportedOperation.IsEnd" +// UNSUPPORTEDOPERATION_TRANSLATETIME = "UnsupportedOperation.TranslateTime" +func (c *Client) TongChuanRecognize(request *TongChuanRecognizeRequest) (response *TongChuanRecognizeResponse, err error) { + return c.TongChuanRecognizeWithContext(context.Background(), request) +} + +// TongChuanRecognize +// 本接口提供上传音频,将音频进行语音识别并翻译成文本的服务,目前开放中英互译的同传服务。 待识别和翻译的音频文件格式是 pcm,pcm采样率要求16kHz、位深16bit、单声道、每个分片时长200ms~500ms,音频内语音清晰。 +// +// 可能返回的错误码: +// INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter" +// UNSUPPORTEDOPERATION_AUDIOFORMAT = "UnsupportedOperation.AudioFormat" +// UNSUPPORTEDOPERATION_ISEND = "UnsupportedOperation.IsEnd" +// UNSUPPORTEDOPERATION_TRANSLATETIME = "UnsupportedOperation.TranslateTime" +func (c *Client) TongChuanRecognizeWithContext(ctx context.Context, request *TongChuanRecognizeRequest) (response *TongChuanRecognizeResponse, err error) { + if request == nil { + request = NewTongChuanRecognizeRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("TongChuanRecognize require credential") + } + + request.SetContext(ctx) + + response = NewTongChuanRecognizeResponse() + err = c.Send(request, response) + return +} + +func NewTongChuanSyncRequest() (request *TongChuanSyncRequest) { + request = &TongChuanSyncRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("tsi", APIVersion, "TongChuanSync") + + + return +} + +func NewTongChuanSyncResponse() (response *TongChuanSyncResponse) { + response = &TongChuanSyncResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// TongChuanSync +// 本接口提供上传音频,将音频进行语音识别并翻译成文本的服务,目前开放中英互译的同传服务。 待识别和翻译的音频文件格式是 pcm,pcm采样率要求16kHz、位深16bit、单声道、每个分片时长200ms~500ms,音频内语音清晰。 +// +// 可能返回的错误码: +// INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter" +// UNSUPPORTEDOPERATION_AUDIOFORMAT = "UnsupportedOperation.AudioFormat" +// UNSUPPORTEDOPERATION_ISEND = "UnsupportedOperation.IsEnd" +// UNSUPPORTEDOPERATION_TRANSLATETIME = "UnsupportedOperation.TranslateTime" +func (c *Client) TongChuanSync(request *TongChuanSyncRequest) (response *TongChuanSyncResponse, err error) { + return c.TongChuanSyncWithContext(context.Background(), request) +} + +// TongChuanSync +// 本接口提供上传音频,将音频进行语音识别并翻译成文本的服务,目前开放中英互译的同传服务。 待识别和翻译的音频文件格式是 pcm,pcm采样率要求16kHz、位深16bit、单声道、每个分片时长200ms~500ms,音频内语音清晰。 +// +// 可能返回的错误码: +// INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter" +// UNSUPPORTEDOPERATION_AUDIOFORMAT = "UnsupportedOperation.AudioFormat" +// UNSUPPORTEDOPERATION_ISEND = "UnsupportedOperation.IsEnd" +// UNSUPPORTEDOPERATION_TRANSLATETIME = "UnsupportedOperation.TranslateTime" +func (c *Client) TongChuanSyncWithContext(ctx context.Context, request *TongChuanSyncRequest) (response *TongChuanSyncResponse, err error) { + if request == nil { + request = NewTongChuanSyncRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("TongChuanSync require credential") + } + + request.SetContext(ctx) + + response = NewTongChuanSyncResponse() + err = c.Send(request, response) + return +} diff --git a/tencentcloud/tsi/v20210325/errors.go b/tencentcloud/tsi/v20210325/errors.go new file mode 100644 index 0000000000..68bfd826fc --- /dev/null +++ b/tencentcloud/tsi/v20210325/errors.go @@ -0,0 +1,37 @@ +// Copyright (c) 2017-2018 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. + +package v20210325 + +const ( + // 此产品的特有错误码 + + // 参数错误。 + INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter" + + // 不支持的 AudioFormat 参数,请参照文档说明。 + UNSUPPORTEDOPERATION_AUDIOFORMAT = "UnsupportedOperation.AudioFormat" + + // 不支持的 IsEnd 参数,请参照文档说明。 + UNSUPPORTEDOPERATION_ISEND = "UnsupportedOperation.IsEnd" + + // 不支持的 IsNew 参数,请参照文档说明。 + UNSUPPORTEDOPERATION_ISNEW = "UnsupportedOperation.IsNew" + + // 不支持的 SeMax 参数,请参照文档说明。 + UNSUPPORTEDOPERATION_SEMAX = "UnsupportedOperation.SeMax" + + // 不支持的 TranslateTime 参数,请参照文档说明。 + UNSUPPORTEDOPERATION_TRANSLATETIME = "UnsupportedOperation.TranslateTime" +) diff --git a/tencentcloud/tsi/v20210325/models.go b/tencentcloud/tsi/v20210325/models.go new file mode 100644 index 0000000000..08e16a8c72 --- /dev/null +++ b/tencentcloud/tsi/v20210325/models.go @@ -0,0 +1,338 @@ +// Copyright (c) 2017-2018 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. + +package v20210325 + +import ( + tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" + tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" +) + +type DisplayInfo struct { + // 句子 ID + SeId *string `json:"SeId,omitnil,omitempty" name:"SeId"` + + // 句子版本号 + SeVer *uint64 `json:"SeVer,omitnil,omitempty" name:"SeVer"` + + // 识别结果 + SourceText *string `json:"SourceText,omitnil,omitempty" name:"SourceText"` + + // 翻译结果 + TargetText *string `json:"TargetText,omitnil,omitempty" name:"TargetText"` + + // 句子开始时间 + StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 句子结束时间 + EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 当前句子是否已结束 + IsEnd *bool `json:"IsEnd,omitnil,omitempty" name:"IsEnd"` +} + +// Predefined struct for user +type TongChuanDisplayRequestParams struct { + // 一段完整的语音对应一个SessionUuid + SessionUuid *string `json:"SessionUuid,omitnil,omitempty" name:"SessionUuid"` + + // 句子排序方式,1-由新到旧 + IsNew *uint64 `json:"IsNew,omitnil,omitempty" name:"IsNew"` + + // 最多返回几句,目前只支持 5 条数据 + SeMax *uint64 `json:"SeMax,omitnil,omitempty" name:"SeMax"` +} + +type TongChuanDisplayRequest struct { + *tchttp.BaseRequest + + // 一段完整的语音对应一个SessionUuid + SessionUuid *string `json:"SessionUuid,omitnil,omitempty" name:"SessionUuid"` + + // 句子排序方式,1-由新到旧 + IsNew *uint64 `json:"IsNew,omitnil,omitempty" name:"IsNew"` + + // 最多返回几句,目前只支持 5 条数据 + SeMax *uint64 `json:"SeMax,omitnil,omitempty" name:"SeMax"` +} + +func (r *TongChuanDisplayRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *TongChuanDisplayRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SessionUuid") + delete(f, "IsNew") + delete(f, "SeMax") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TongChuanDisplayRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type TongChuanDisplayResponseParams struct { + // 同传结果数组 + List []*DisplayInfo `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type TongChuanDisplayResponse struct { + *tchttp.BaseResponse + Response *TongChuanDisplayResponseParams `json:"Response"` +} + +func (r *TongChuanDisplayResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *TongChuanDisplayResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type TongChuanRecognizeRequestParams struct { + // 一段完整的语音对应一个SessionUuid + SessionUuid *string `json:"SessionUuid,omitnil,omitempty" name:"SessionUuid"` + + // 音频中的语言类型,支持语言列表
  • zh : 中文
  • en : 英文
  • + Source *string `json:"Source,omitnil,omitempty" name:"Source"` + + // 翻译目标语言类型,支持的语言列表
  • zh : 中文
  • en : 英文
  • + Target *string `json:"Target,omitnil,omitempty" name:"Target"` + + // 语音编码类型,1-pcm + AudioFormat *uint64 `json:"AudioFormat,omitnil,omitempty" name:"AudioFormat"` + + // 语音分片的序号,从0开始 + Seq *uint64 `json:"Seq,omitnil,omitempty" name:"Seq"` + + // 语音开始的时间戳 + Utc *uint64 `json:"Utc,omitnil,omitempty" name:"Utc"` + + // 是否最后一片语音分片,0-否,1-是 + IsEnd *uint64 `json:"IsEnd,omitnil,omitempty" name:"IsEnd"` + + // 翻译时机,0 -不翻译 1 - 句子结束时翻译,2 - 句子实时翻译 + TranslateTime *uint64 `json:"TranslateTime,omitnil,omitempty" name:"TranslateTime"` + + // 语音分片内容进行 Base64 编码后的字符串。音频内容需包含有效并可识别的文本信息。 + Data *string `json:"Data,omitnil,omitempty" name:"Data"` +} + +type TongChuanRecognizeRequest struct { + *tchttp.BaseRequest + + // 一段完整的语音对应一个SessionUuid + SessionUuid *string `json:"SessionUuid,omitnil,omitempty" name:"SessionUuid"` + + // 音频中的语言类型,支持语言列表
  • zh : 中文
  • en : 英文
  • + Source *string `json:"Source,omitnil,omitempty" name:"Source"` + + // 翻译目标语言类型,支持的语言列表
  • zh : 中文
  • en : 英文
  • + Target *string `json:"Target,omitnil,omitempty" name:"Target"` + + // 语音编码类型,1-pcm + AudioFormat *uint64 `json:"AudioFormat,omitnil,omitempty" name:"AudioFormat"` + + // 语音分片的序号,从0开始 + Seq *uint64 `json:"Seq,omitnil,omitempty" name:"Seq"` + + // 语音开始的时间戳 + Utc *uint64 `json:"Utc,omitnil,omitempty" name:"Utc"` + + // 是否最后一片语音分片,0-否,1-是 + IsEnd *uint64 `json:"IsEnd,omitnil,omitempty" name:"IsEnd"` + + // 翻译时机,0 -不翻译 1 - 句子结束时翻译,2 - 句子实时翻译 + TranslateTime *uint64 `json:"TranslateTime,omitnil,omitempty" name:"TranslateTime"` + + // 语音分片内容进行 Base64 编码后的字符串。音频内容需包含有效并可识别的文本信息。 + Data *string `json:"Data,omitnil,omitempty" name:"Data"` +} + +func (r *TongChuanRecognizeRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *TongChuanRecognizeRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SessionUuid") + delete(f, "Source") + delete(f, "Target") + delete(f, "AudioFormat") + delete(f, "Seq") + delete(f, "Utc") + delete(f, "IsEnd") + delete(f, "TranslateTime") + delete(f, "Data") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TongChuanRecognizeRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type TongChuanRecognizeResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type TongChuanRecognizeResponse struct { + *tchttp.BaseResponse + Response *TongChuanRecognizeResponseParams `json:"Response"` +} + +func (r *TongChuanRecognizeResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *TongChuanRecognizeResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type TongChuanSyncRequestParams struct { + // 一段完整的语音对应一个SessionUuid + SessionUuid *string `json:"SessionUuid,omitnil,omitempty" name:"SessionUuid"` + + // 音频中的语言类型,支持语言列表
  • zh : 中文
  • en : 英文
  • + Source *string `json:"Source,omitnil,omitempty" name:"Source"` + + // 翻译目标语言类型,支持的语言列表
  • zh : 中文
  • en : 英文
  • + Target *string `json:"Target,omitnil,omitempty" name:"Target"` + + // 语音编码类型,1-pcm + AudioFormat *uint64 `json:"AudioFormat,omitnil,omitempty" name:"AudioFormat"` + + // 语音分片的序号,从0开始 + Seq *uint64 `json:"Seq,omitnil,omitempty" name:"Seq"` + + // 语音开始的时间戳 + Utc *uint64 `json:"Utc,omitnil,omitempty" name:"Utc"` + + // 是否最后一片语音分片,0-否,1-是 + IsEnd *uint64 `json:"IsEnd,omitnil,omitempty" name:"IsEnd"` + + // 翻译时机,0 -不翻译 1 - 句子结束时翻译,2 - 句子实时翻译 + TranslateTime *uint64 `json:"TranslateTime,omitnil,omitempty" name:"TranslateTime"` + + // 语音分片内容进行 Base64 编码后的字符串。音频内容需包含有效并可识别的文本信息。 + Data *string `json:"Data,omitnil,omitempty" name:"Data"` +} + +type TongChuanSyncRequest struct { + *tchttp.BaseRequest + + // 一段完整的语音对应一个SessionUuid + SessionUuid *string `json:"SessionUuid,omitnil,omitempty" name:"SessionUuid"` + + // 音频中的语言类型,支持语言列表
  • zh : 中文
  • en : 英文
  • + Source *string `json:"Source,omitnil,omitempty" name:"Source"` + + // 翻译目标语言类型,支持的语言列表
  • zh : 中文
  • en : 英文
  • + Target *string `json:"Target,omitnil,omitempty" name:"Target"` + + // 语音编码类型,1-pcm + AudioFormat *uint64 `json:"AudioFormat,omitnil,omitempty" name:"AudioFormat"` + + // 语音分片的序号,从0开始 + Seq *uint64 `json:"Seq,omitnil,omitempty" name:"Seq"` + + // 语音开始的时间戳 + Utc *uint64 `json:"Utc,omitnil,omitempty" name:"Utc"` + + // 是否最后一片语音分片,0-否,1-是 + IsEnd *uint64 `json:"IsEnd,omitnil,omitempty" name:"IsEnd"` + + // 翻译时机,0 -不翻译 1 - 句子结束时翻译,2 - 句子实时翻译 + TranslateTime *uint64 `json:"TranslateTime,omitnil,omitempty" name:"TranslateTime"` + + // 语音分片内容进行 Base64 编码后的字符串。音频内容需包含有效并可识别的文本信息。 + Data *string `json:"Data,omitnil,omitempty" name:"Data"` +} + +func (r *TongChuanSyncRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *TongChuanSyncRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SessionUuid") + delete(f, "Source") + delete(f, "Target") + delete(f, "AudioFormat") + delete(f, "Seq") + delete(f, "Utc") + delete(f, "IsEnd") + delete(f, "TranslateTime") + delete(f, "Data") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TongChuanSyncRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type TongChuanSyncResponseParams struct { + // 同传结果数组 + List []*DisplayInfo `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type TongChuanSyncResponse struct { + *tchttp.BaseResponse + Response *TongChuanSyncResponseParams `json:"Response"` +} + +func (r *TongChuanSyncResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *TongChuanSyncResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} \ No newline at end of file diff --git a/tencentcloud/tsw/go.mod b/tencentcloud/tsw/go.mod index dd304a16fb..d18bd7b076 100644 --- a/tencentcloud/tsw/go.mod +++ b/tencentcloud/tsw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/tts/go.mod b/tencentcloud/tts/go.mod index 256a10e7cd..802b662bb1 100644 --- a/tencentcloud/tts/go.mod +++ b/tencentcloud/tts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/ump/go.mod b/tencentcloud/ump/go.mod index 6a6b11ec2f..b2d53d1a79 100644 --- a/tencentcloud/ump/go.mod +++ b/tencentcloud/ump/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vcg/go.mod b/tencentcloud/vcg/go.mod index 0b12ef6297..096e65f5a4 100644 --- a/tencentcloud/vcg/go.mod +++ b/tencentcloud/vcg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vdb/go.mod b/tencentcloud/vdb/go.mod index d3c4e55bbd..58d5c8adf1 100644 --- a/tencentcloud/vdb/go.mod +++ b/tencentcloud/vdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vm/go.mod b/tencentcloud/vm/go.mod index eb8169c168..8223c58193 100644 --- a/tencentcloud/vm/go.mod +++ b/tencentcloud/vm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vms/go.mod b/tencentcloud/vms/go.mod index 4d13b387cf..451822fb54 100644 --- a/tencentcloud/vms/go.mod +++ b/tencentcloud/vms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vod/go.mod b/tencentcloud/vod/go.mod index 24a8d85882..a320f07de9 100644 --- a/tencentcloud/vod/go.mod +++ b/tencentcloud/vod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vpc/go.mod b/tencentcloud/vpc/go.mod index c3bedec18d..8c0b02e0b6 100644 --- a/tencentcloud/vpc/go.mod +++ b/tencentcloud/vpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vpc/v20170312/client.go b/tencentcloud/vpc/v20170312/client.go index 1020dd4cd5..c1ec027802 100644 --- a/tencentcloud/vpc/v20170312/client.go +++ b/tencentcloud/vpc/v20170312/client.go @@ -337,7 +337,7 @@ func NewAddTemplateMemberResponse() (response *AddTemplateMemberResponse) { } // AddTemplateMember -// 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -353,7 +353,7 @@ func (c *Client) AddTemplateMember(request *AddTemplateMemberRequest) (response } // AddTemplateMember -// 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -8088,7 +8088,7 @@ func NewDeleteTemplateMemberResponse() (response *DeleteTemplateMemberResponse) } // DeleteTemplateMember -// 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -8101,7 +8101,7 @@ func (c *Client) DeleteTemplateMember(request *DeleteTemplateMemberRequest) (res } // DeleteTemplateMember -// 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -12806,7 +12806,7 @@ func NewDescribeVpcEndPointServiceResponse() (response *DescribeVpcEndPointServi } // DescribeVpcEndPointService -// 查询终端节点服务列表。 +// 本接口(DescribeVpcEndPointService)用于查询终端节点服务列表。 // // 可能返回的错误码: // INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" @@ -12815,6 +12815,7 @@ func NewDescribeVpcEndPointServiceResponse() (response *DescribeVpcEndPointServi // INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NOTUTF8ENCODINGERROR = "InvalidParameterValue.NotUtf8EncodingError" // INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" // RESOURCENOTFOUND = "ResourceNotFound" // UNSUPPORTEDOPERATION_INSTANCEMISMATCH = "UnsupportedOperation.InstanceMismatch" @@ -12824,7 +12825,7 @@ func (c *Client) DescribeVpcEndPointService(request *DescribeVpcEndPointServiceR } // DescribeVpcEndPointService -// 查询终端节点服务列表。 +// 本接口(DescribeVpcEndPointService)用于查询终端节点服务列表。 // // 可能返回的错误码: // INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" @@ -12833,6 +12834,7 @@ func (c *Client) DescribeVpcEndPointService(request *DescribeVpcEndPointServiceR // INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NOTUTF8ENCODINGERROR = "InvalidParameterValue.NotUtf8EncodingError" // INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" // RESOURCENOTFOUND = "ResourceNotFound" // UNSUPPORTEDOPERATION_INSTANCEMISMATCH = "UnsupportedOperation.InstanceMismatch" @@ -18618,7 +18620,7 @@ func NewModifyTemplateMemberResponse() (response *ModifyTemplateMemberResponse) } // ModifyTemplateMember -// 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -18631,7 +18633,7 @@ func (c *Client) ModifyTemplateMember(request *ModifyTemplateMemberRequest) (res } // ModifyTemplateMember -// 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" diff --git a/tencentcloud/vpc/v20170312/errors.go b/tencentcloud/vpc/v20170312/errors.go index 3137b86c17..d805e39b1c 100644 --- a/tencentcloud/vpc/v20170312/errors.go +++ b/tencentcloud/vpc/v20170312/errors.go @@ -329,6 +329,9 @@ const ( // 未找到网络接口ID,或私有IP地址未在网络接口配置。 INVALIDPARAMETERVALUE_NETWORKINTERFACENOTFOUND = "InvalidParameterValue.NetworkInterfaceNotFound" + // 不是UTF8编码。 + INVALIDPARAMETERVALUE_NOTUTF8ENCODINGERROR = "InvalidParameterValue.NotUtf8EncodingError" + // 该操作仅对主网卡支持。 INVALIDPARAMETERVALUE_ONLYSUPPORTEDFORMASTERNETWORKCARD = "InvalidParameterValue.OnlySupportedForMasterNetworkCard" diff --git a/tencentcloud/vpc/v20170312/models.go b/tencentcloud/vpc/v20170312/models.go index 4d01566e83..c301beae47 100644 --- a/tencentcloud/vpc/v20170312/models.go +++ b/tencentcloud/vpc/v20170312/models.go @@ -11392,7 +11392,7 @@ type DescribeGatewayFlowMonitorDetailRequestParams struct { // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - // 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`。默认值`OutTraffic`。 + // 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`,标准型nat额外支持 并发连接数`ConcurrentConnectionCount` 、新建连接速率`NewConnectionRate`。默认值`OutTraffic`。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 排序方法。顺序:`ASC`,倒序:`DESC`。默认值`DESC`。 @@ -11426,7 +11426,7 @@ type DescribeGatewayFlowMonitorDetailRequest struct { // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - // 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`。默认值`OutTraffic`。 + // 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`,标准型nat额外支持 并发连接数`ConcurrentConnectionCount` 、新建连接速率`NewConnectionRate`。默认值`OutTraffic`。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 排序方法。顺序:`ASC`,倒序:`DESC`。默认值`DESC`。 @@ -14970,7 +14970,7 @@ type DescribeVpcEndPointServiceRequestParams struct { // 终端节点服务ID。不支持同时传入参数 EndPointServiceIds and Filters。 EndPointServiceIds []*string `json:"EndPointServiceIds,omitnil,omitempty" name:"EndPointServiceIds"` - //
  • 不支持同时传入参数 Filters 。
  • 列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,那些终端节点服务授权了该账户。
  • + //
  • 不支持同时传入参数 Filters 。
  • 列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。
  • IsListAuthorizedEndPointService *bool `json:"IsListAuthorizedEndPointService,omitnil,omitempty" name:"IsListAuthorizedEndPointService"` } @@ -14993,7 +14993,7 @@ type DescribeVpcEndPointServiceRequest struct { // 终端节点服务ID。不支持同时传入参数 EndPointServiceIds and Filters。 EndPointServiceIds []*string `json:"EndPointServiceIds,omitnil,omitempty" name:"EndPointServiceIds"` - //
  • 不支持同时传入参数 Filters 。
  • 列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,那些终端节点服务授权了该账户。
  • + //
  • 不支持同时传入参数 Filters 。
  • 列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。
  • IsListAuthorizedEndPointService *bool `json:"IsListAuthorizedEndPointService,omitnil,omitempty" name:"IsListAuthorizedEndPointService"` } @@ -18266,6 +18266,12 @@ type GatewayFlowMonitorDetail struct { // 出流量,单位:`Byte`。 OutTraffic *uint64 `json:"OutTraffic,omitnil,omitempty" name:"OutTraffic"` + + // 并发连接数。仅标准型nat支持此参数。 + ConcurrentConnectionCount *uint64 `json:"ConcurrentConnectionCount,omitnil,omitempty" name:"ConcurrentConnectionCount"` + + // 新建连接速率。仅标准型nat支持此参数。 + NewConnectionRate *uint64 `json:"NewConnectionRate,omitnil,omitempty" name:"NewConnectionRate"` } type GatewayQos struct { diff --git a/tencentcloud/vrs/go.mod b/tencentcloud/vrs/go.mod index 7e67be9148..4a01d7a575 100644 --- a/tencentcloud/vrs/go.mod +++ b/tencentcloud/vrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/vtc/go.mod b/tencentcloud/vtc/go.mod index 7587e1b7c3..8eb04f6d8b 100644 --- a/tencentcloud/vtc/go.mod +++ b/tencentcloud/vtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/waf/go.mod b/tencentcloud/waf/go.mod index 44a95f152b..059692c9c6 100644 --- a/tencentcloud/waf/go.mod +++ b/tencentcloud/waf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/waf/v20180125/client.go b/tencentcloud/waf/v20180125/client.go index ce7be87a30..093711408d 100644 --- a/tencentcloud/waf/v20180125/client.go +++ b/tencentcloud/waf/v20180125/client.go @@ -157,6 +157,81 @@ func (c *Client) AddAntiInfoLeakRulesWithContext(ctx context.Context, request *A return } +func NewAddAreaBanAreasRequest() (request *AddAreaBanAreasRequest) { + request = &AddAreaBanAreasRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("waf", APIVersion, "AddAreaBanAreas") + + + return +} + +func NewAddAreaBanAreasResponse() (response *AddAreaBanAreasResponse) { + response = &AddAreaBanAreasResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// AddAreaBanAreas +// 添加地域封禁中的地域信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBERR = "InternalError.DBErr" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +func (c *Client) AddAreaBanAreas(request *AddAreaBanAreasRequest) (response *AddAreaBanAreasResponse, err error) { + return c.AddAreaBanAreasWithContext(context.Background(), request) +} + +// AddAreaBanAreas +// 添加地域封禁中的地域信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBERR = "InternalError.DBErr" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +func (c *Client) AddAreaBanAreasWithContext(ctx context.Context, request *AddAreaBanAreasRequest) (response *AddAreaBanAreasResponse, err error) { + if request == nil { + request = NewAddAreaBanAreasRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("AddAreaBanAreas require credential") + } + + request.SetContext(ctx) + + response = NewAddAreaBanAreasResponse() + err = c.Send(request, response) + return +} + func NewAddAttackWhiteRuleRequest() (request *AddAttackWhiteRuleRequest) { request = &AddAttackWhiteRuleRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/waf/v20180125/models.go b/tencentcloud/waf/v20180125/models.go index c62d83f48f..3771b4ce45 100644 --- a/tencentcloud/waf/v20180125/models.go +++ b/tencentcloud/waf/v20180125/models.go @@ -335,6 +335,88 @@ func (r *AddAntiInfoLeakRulesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type AddAreaBanAreasRequestParams struct { + // 需要修改的域名 + Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` + + // 需要新增的封禁地域 + Areas []*string `json:"Areas,omitnil,omitempty" name:"Areas"` + + // waf版本信息,spart-waf或者clb-waf,其他无效,请一定填写 + Edition *string `json:"Edition,omitnil,omitempty" name:"Edition"` + + // 定时任务类型 + JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"` + + // 定时任务配置 + JobDateTime *JobDateTime `json:"JobDateTime,omitnil,omitempty" name:"JobDateTime"` +} + +type AddAreaBanAreasRequest struct { + *tchttp.BaseRequest + + // 需要修改的域名 + Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` + + // 需要新增的封禁地域 + Areas []*string `json:"Areas,omitnil,omitempty" name:"Areas"` + + // waf版本信息,spart-waf或者clb-waf,其他无效,请一定填写 + Edition *string `json:"Edition,omitnil,omitempty" name:"Edition"` + + // 定时任务类型 + JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"` + + // 定时任务配置 + JobDateTime *JobDateTime `json:"JobDateTime,omitnil,omitempty" name:"JobDateTime"` +} + +func (r *AddAreaBanAreasRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *AddAreaBanAreasRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Domain") + delete(f, "Areas") + delete(f, "Edition") + delete(f, "JobType") + delete(f, "JobDateTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddAreaBanAreasRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type AddAreaBanAreasResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type AddAreaBanAreasResponse struct { + *tchttp.BaseResponse + Response *AddAreaBanAreasResponseParams `json:"Response"` +} + +func (r *AddAreaBanAreasResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *AddAreaBanAreasResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type AddAttackWhiteRuleRequestParams struct { // 域名 diff --git a/tencentcloud/wav/go.mod b/tencentcloud/wav/go.mod index 54afdf5040..52de350ef0 100644 --- a/tencentcloud/wav/go.mod +++ b/tencentcloud/wav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/wedata/go.mod b/tencentcloud/wedata/go.mod index 12f7cc7674..c86c217b26 100644 --- a/tencentcloud/wedata/go.mod +++ b/tencentcloud/wedata/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/weilingwith/go.mod b/tencentcloud/weilingwith/go.mod index c2782f9caa..ca688d3ad9 100644 --- a/tencentcloud/weilingwith/go.mod +++ b/tencentcloud/weilingwith/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/weilingwith go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/wss/go.mod b/tencentcloud/wss/go.mod index 919b3ee469..b3960032e4 100644 --- a/tencentcloud/wss/go.mod +++ b/tencentcloud/wss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/yinsuda/go.mod b/tencentcloud/yinsuda/go.mod index 082f4f12c6..4c6b1d1053 100644 --- a/tencentcloud/yinsuda/go.mod +++ b/tencentcloud/yinsuda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yinsuda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/youmall/go.mod b/tencentcloud/youmall/go.mod index a0fd91966f..ff34ce1780 100644 --- a/tencentcloud/youmall/go.mod +++ b/tencentcloud/youmall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/yunjing/go.mod b/tencentcloud/yunjing/go.mod index 6417e3a72e..3098e6d40b 100644 --- a/tencentcloud/yunjing/go.mod +++ b/tencentcloud/yunjing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/tencentcloud/yunsou/go.mod b/tencentcloud/yunsou/go.mod index 102342bef2..e8a806e6e1 100644 --- a/tencentcloud/yunsou/go.mod +++ b/tencentcloud/yunsou/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 diff --git a/testing/go.mod b/testing/go.mod index 6ead099407..0779731ebf 100644 --- a/testing/go.mod +++ b/testing/go.mod @@ -68,7 +68,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v0.0.0 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.948 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.949 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v0.0.0 @@ -233,6 +233,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf v0.0.0 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsi v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump v0.0.0 @@ -486,6 +487,7 @@ replace ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc => ../tencentcloud/trtc github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse => ../tencentcloud/tse github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf => ../tencentcloud/tsf + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsi => ../tencentcloud/tsi github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw => ../tencentcloud/tsw github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts => ../tencentcloud/tts github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump => ../tencentcloud/ump diff --git a/testing/integration/import_test.go b/testing/integration/import_test.go index 57b9de7354..b53ec5481f 100644 --- a/testing/integration/import_test.go +++ b/testing/integration/import_test.go @@ -276,6 +276,7 @@ import ( trtcv20190722 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc/v20190722" tsev20201207 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse/v20201207" tsfv20180326 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf/v20180326" + tsiv20210325 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsi/v20210325" tswv20200924 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw/v20200924" tswv20210412 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw/v20210412" ttsv20190823 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts/v20190823" @@ -3630,6 +3631,19 @@ func TestTsfv20180326Import(t *testing.T) { } } +func TestTsiv20210325Import(t *testing.T) { + credential := common.NewCredential( + os.Getenv("TENCENTCLOUD_SECRET_ID"), + os.Getenv("TENCENTCLOUD_SECRET_KEY")) + client, err := tsiv20210325.NewClient( + credential, + regions.Guangzhou, + profile.NewClientProfile()) + if err != nil || client == nil { + t.Errorf("fail to init tsi_v20210325 client: %v", err) + } +} + func TestTswv20200924Import(t *testing.T) { credential := common.NewCredential( os.Getenv("TENCENTCLOUD_SECRET_ID"),