tencentcloud-sdk-python 3.0.1222__py2.py3-none-any.whl → 3.0.1223__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ams/v20201229/models.py +24 -0
  3. tencentcloud/asr/v20190614/asr_client.py +96 -0
  4. tencentcloud/asr/v20190614/errorcodes.py +3 -0
  5. tencentcloud/asr/v20190614/models.py +618 -0
  6. tencentcloud/bi/v20220105/models.py +13 -0
  7. tencentcloud/cdwdoris/v20211228/models.py +69 -2
  8. tencentcloud/cfg/v20210820/models.py +168 -0
  9. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  10. tencentcloud/cfw/v20190904/models.py +70 -0
  11. tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
  12. tencentcloud/ckafka/v20190819/models.py +47 -1
  13. tencentcloud/clb/v20180317/models.py +53 -1
  14. tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
  15. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  16. tencentcloud/cynosdb/v20190107/models.py +348 -0
  17. tencentcloud/dasb/v20191018/models.py +12 -0
  18. tencentcloud/dbbrain/v20210527/models.py +2 -2
  19. tencentcloud/dc/v20180410/dc_client.py +3 -4
  20. tencentcloud/dc/v20180410/models.py +78 -18
  21. tencentcloud/dcdb/v20180411/dcdb_client.py +23 -0
  22. tencentcloud/dcdb/v20180411/models.py +82 -0
  23. tencentcloud/emr/v20190103/emr_client.py +24 -0
  24. tencentcloud/emr/v20190103/models.py +82 -0
  25. tencentcloud/es/v20180416/es_client.py +23 -0
  26. tencentcloud/es/v20180416/models.py +94 -0
  27. tencentcloud/essbasic/v20210526/models.py +20 -12
  28. tencentcloud/hunyuan/v20230901/models.py +1 -1
  29. tencentcloud/ims/v20201229/ims_client.py +2 -2
  30. tencentcloud/iss/v20230517/models.py +28 -0
  31. tencentcloud/lke/v20231130/models.py +224 -2
  32. tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
  33. tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
  34. tencentcloud/mariadb/v20170312/models.py +82 -0
  35. tencentcloud/oceanus/v20190422/models.py +13 -0
  36. tencentcloud/ocr/v20181119/models.py +1 -2
  37. tencentcloud/ocr/v20181119/ocr_client.py +8 -2
  38. tencentcloud/postgres/v20170312/errorcodes.py +15 -0
  39. tencentcloud/scf/v20180416/models.py +7 -8
  40. tencentcloud/sms/v20190711/errorcodes.py +3 -0
  41. tencentcloud/sms/v20190711/models.py +21 -22
  42. tencentcloud/sms/v20190711/sms_client.py +28 -60
  43. tencentcloud/tdmq/v20200217/models.py +117 -0
  44. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  45. tencentcloud/tke/v20180525/models.py +12 -0
  46. tencentcloud/tmt/v20180321/models.py +1 -1
  47. tencentcloud/trocket/v20230308/models.py +52 -0
  48. tencentcloud/vclm/v20240523/errorcodes.py +3 -0
  49. tencentcloud/vpc/v20170312/models.py +34 -0
  50. tencentcloud/wedata/v20210820/models.py +265 -0
  51. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  52. {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/METADATA +1 -1
  53. {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/RECORD +56 -56
  54. {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/LICENSE +0 -0
  55. {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/WHEEL +0 -0
  56. {tencentcloud_sdk_python-3.0.1222.dist-info → tencentcloud_sdk_python-3.0.1223.dist-info}/top_level.txt +0 -0
@@ -7737,6 +7737,100 @@ class InquirePriceRenewInstanceResponse(AbstractModel):
7737
7737
  self._RequestId = params.get("RequestId")
7738
7738
 
7739
7739
 
7740
+ class InstallInstanceModelRequest(AbstractModel):
7741
+ """InstallInstanceModel请求参数结构体
7742
+
7743
+ """
7744
+
7745
+ def __init__(self):
7746
+ r"""
7747
+ :param _InstanceId: 实例ID
7748
+ :type InstanceId: str
7749
+ :param _UsrCosModelUrlList: 客户上传到自己cos的地址列表
7750
+ :type UsrCosModelUrlList: list of str
7751
+ """
7752
+ self._InstanceId = None
7753
+ self._UsrCosModelUrlList = None
7754
+
7755
+ @property
7756
+ def InstanceId(self):
7757
+ return self._InstanceId
7758
+
7759
+ @InstanceId.setter
7760
+ def InstanceId(self, InstanceId):
7761
+ self._InstanceId = InstanceId
7762
+
7763
+ @property
7764
+ def UsrCosModelUrlList(self):
7765
+ return self._UsrCosModelUrlList
7766
+
7767
+ @UsrCosModelUrlList.setter
7768
+ def UsrCosModelUrlList(self, UsrCosModelUrlList):
7769
+ self._UsrCosModelUrlList = UsrCosModelUrlList
7770
+
7771
+
7772
+ def _deserialize(self, params):
7773
+ self._InstanceId = params.get("InstanceId")
7774
+ self._UsrCosModelUrlList = params.get("UsrCosModelUrlList")
7775
+ memeber_set = set(params.keys())
7776
+ for name, value in vars(self).items():
7777
+ property_name = name[1:]
7778
+ if property_name in memeber_set:
7779
+ memeber_set.remove(property_name)
7780
+ if len(memeber_set) > 0:
7781
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7782
+
7783
+
7784
+
7785
+ class InstallInstanceModelResponse(AbstractModel):
7786
+ """InstallInstanceModel返回参数结构体
7787
+
7788
+ """
7789
+
7790
+ def __init__(self):
7791
+ r"""
7792
+ :param _FlowId: 发起异步流程的flowId
7793
+ :type FlowId: str
7794
+ :param _ErrMsg: 调用接口的错误信息
7795
+ :type ErrMsg: str
7796
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7797
+ :type RequestId: str
7798
+ """
7799
+ self._FlowId = None
7800
+ self._ErrMsg = None
7801
+ self._RequestId = None
7802
+
7803
+ @property
7804
+ def FlowId(self):
7805
+ return self._FlowId
7806
+
7807
+ @FlowId.setter
7808
+ def FlowId(self, FlowId):
7809
+ self._FlowId = FlowId
7810
+
7811
+ @property
7812
+ def ErrMsg(self):
7813
+ return self._ErrMsg
7814
+
7815
+ @ErrMsg.setter
7816
+ def ErrMsg(self, ErrMsg):
7817
+ self._ErrMsg = ErrMsg
7818
+
7819
+ @property
7820
+ def RequestId(self):
7821
+ return self._RequestId
7822
+
7823
+ @RequestId.setter
7824
+ def RequestId(self, RequestId):
7825
+ self._RequestId = RequestId
7826
+
7827
+
7828
+ def _deserialize(self, params):
7829
+ self._FlowId = params.get("FlowId")
7830
+ self._ErrMsg = params.get("ErrMsg")
7831
+ self._RequestId = params.get("RequestId")
7832
+
7833
+
7740
7834
  class InstanceInfo(AbstractModel):
7741
7835
  """实例详细信息
7742
7836
 
@@ -599,7 +599,7 @@ class AutoSignConfig(AbstractModel):
599
599
  <ul><li>**false**: 不需要(默认)</li>
600
600
  <li>**true**: 需要</li></ul>
601
601
  :type SealImgCallback: bool
602
- :param _CallbackUrl: 回调链接,如果渠道已经配置了,可以不传
602
+ :param _CallbackUrl: 该字段已废弃,请使用【应用号配置】中的回调地址统一接口消息
603
603
  :type CallbackUrl: str
604
604
  :param _VerifyChannels: 开通时候的身份验证方式, 取值为:
605
605
  <ul><li>**WEIXINAPP** : 微信人脸识别</li>
@@ -669,10 +669,14 @@ class AutoSignConfig(AbstractModel):
669
669
 
670
670
  @property
671
671
  def CallbackUrl(self):
672
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
673
+
672
674
  return self._CallbackUrl
673
675
 
674
676
  @CallbackUrl.setter
675
677
  def CallbackUrl(self, CallbackUrl):
678
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
679
+
676
680
  self._CallbackUrl = CallbackUrl
677
681
 
678
682
  @property
@@ -2997,12 +3001,7 @@ class ChannelCreateFlowByFilesRequest(AbstractModel):
2997
3001
  :param _Deadline: 合同流程的签署截止时间,格式为Unix标准时间戳(秒),如果未设置签署截止时间,则默认为合同流程创建后的365天时截止。
2998
3002
  如果在签署截止时间前未完成签署,则合同状态会变为已过期,导致合同作废。
2999
3003
  :type Deadline: int
3000
- :param _CallbackUrl: 执行结果的回调URL,长度不超过255个字符,该URL仅支持HTTP或HTTPS协议,建议采用HTTPS协议以保证数据传输的安全性。
3001
- 腾讯电子签服务器将通过POST方式,application/json格式通知执行结果,请确保外网可以正常访问该URL。
3002
- 回调的相关说明可参考开发者中心的<a href="https://qian.tencent.com/developers/partner/callback_data_types" target="_blank">回调通知</a>模块。
3003
-
3004
- 注:
3005
- `如果不传递回调地址, 则默认是配置应用号时候使用的回调地址`
3004
+ :param _CallbackUrl: 该字段已废弃,请使用【应用号配置】中的回调地址
3006
3005
  :type CallbackUrl: str
3007
3006
  :param _Unordered: 合同流程的签署顺序类型:
3008
3007
  <ul><li> **false**:(默认)有序签署, 本合同多个参与人需要依次签署 </li>
@@ -3140,10 +3139,14 @@ MobileCheck:手机号验证,用户手机号和参与方手机号(ApproverM
3140
3139
 
3141
3140
  @property
3142
3141
  def CallbackUrl(self):
3142
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
3143
+
3143
3144
  return self._CallbackUrl
3144
3145
 
3145
3146
  @CallbackUrl.setter
3146
3147
  def CallbackUrl(self, CallbackUrl):
3148
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
3149
+
3147
3150
  self._CallbackUrl = CallbackUrl
3148
3151
 
3149
3152
  @property
@@ -15504,7 +15507,7 @@ class FlowFileInfo(AbstractModel):
15504
15507
  :type FlowDescription: str
15505
15508
  :param _FlowType: 签署流程的类型,长度不超过255个字符
15506
15509
  :type FlowType: str
15507
- :param _CallbackUrl: 签署流程回调地址,长度不超过255个字符
15510
+ :param _CallbackUrl: 已废弃,请使用【应用号配置】中的回调地址统一接收消息
15508
15511
  :type CallbackUrl: str
15509
15512
  :param _CustomerData: 第三方应用的业务信息,最大长度1000个字符。发起自动签署时,需设置对应自动签署场景,目前仅支持场景:处方单-E_PRESCRIPTION_AUTO_SIGN
15510
15513
  :type CustomerData: str
@@ -15580,10 +15583,14 @@ class FlowFileInfo(AbstractModel):
15580
15583
 
15581
15584
  @property
15582
15585
  def CallbackUrl(self):
15586
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
15587
+
15583
15588
  return self._CallbackUrl
15584
15589
 
15585
15590
  @CallbackUrl.setter
15586
15591
  def CallbackUrl(self, CallbackUrl):
15592
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
15593
+
15587
15594
  self._CallbackUrl = CallbackUrl
15588
15595
 
15589
15596
  @property
@@ -15879,10 +15886,7 @@ class FlowInfo(AbstractModel):
15879
15886
  注:只有在控制台编辑模板时,<font color="red">归属给发起方</font>的填写控件(如下图)才能在创建文档的时候进行内容填充。(<font color="red">白名单功能需要联系对接经理开通,否则模板编辑时无法将填写控件分配给发起方</font>)。
15880
15887
  ![image](https://qcloudimg.tencent-cloud.cn/raw/b1d3978140ee2b44e2c9fdc96e467a5d.png)
15881
15888
  :type FormFields: list of FormField
15882
- :param _CallbackUrl: 合同状态变动结的通知回调URL,该URL仅支持HTTP或HTTPS协议,建议采用HTTPS协议以保证数据传输的安全性,最大长度1000个字符。
15883
-
15884
- 腾讯电子签服务器将通过POST方式,application/json格式通知执行结果,请确保外网可以正常访问该URL。
15885
- 回调的相关说明可参考开发者中心的<a href="https://qian.tencent.com/developers/partner/callback_data_types" target="_blank">回调通知</a>模块
15889
+ :param _CallbackUrl: 该字段已废弃,请使用【应用号配置】中的回调地址统一接口消息
15886
15890
  :type CallbackUrl: str
15887
15891
  :param _FlowType: 合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。
15888
15892
  :type FlowType: str
@@ -15985,10 +15989,14 @@ class FlowInfo(AbstractModel):
15985
15989
 
15986
15990
  @property
15987
15991
  def CallbackUrl(self):
15992
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
15993
+
15988
15994
  return self._CallbackUrl
15989
15995
 
15990
15996
  @CallbackUrl.setter
15991
15997
  def CallbackUrl(self, CallbackUrl):
15998
+ warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
15999
+
15992
16000
  self._CallbackUrl = CallbackUrl
15993
16001
 
15994
16002
  @property
@@ -83,7 +83,7 @@ class ChatCompletionsRequest(AbstractModel):
83
83
 
84
84
  def __init__(self):
85
85
  r"""
86
- :param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision。
86
+ :param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo
87
87
  各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
88
88
 
89
89
  注意:
@@ -34,7 +34,7 @@ class ImsClient(AbstractClient):
34
34
 
35
35
  ### 接口功能说明:
36
36
  - 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;
37
- - 支持对GIF图/长图进行截帧或拆分检测;
37
+ - 支持对长图进行拆分检测;
38
38
  - 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;
39
39
  - 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;
40
40
  - 支持根据不同的业务场景配置自定义的审核策略;
@@ -46,7 +46,7 @@ class ImsClient(AbstractClient):
46
46
  - 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;
47
47
  - 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;
48
48
  - 图片文件链接支持的传输协议:HTTP、HTTPS;
49
- - 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
49
+ - 若传入图片文件的访问链接,则需要注意**图片异步接口下载超时时间为15秒,失败后重试1次为3 秒,共18秒下载时间**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
50
50
  - 默认接口请求频率限制:**20次/秒**,超过此调用频率则会报错。
51
51
  - ### 接口回调格式:
52
52
  - 图片异步检测接口回调格式同[图片同步检测接口输出参数](https://cloud.tencent.com/document/product/1125/53273#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
@@ -8576,6 +8576,14 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
8576
8576
  :type IsRespActualTime: bool
8577
8577
  :param _IsInternal: 是否返回内网下载URL,默认是false,返回公网下载URL,true则返回内网下载URL
8578
8578
  :type IsInternal: bool
8579
+ :param _Expires: 设置URL的有效期, 最小值是1秒, 最大值是86400秒, 不设置的话, 默认是600秒
8580
+ :type Expires: int
8581
+ :param _IsSupportG711: 下载的MP4文件是否支持G711音频编码.
8582
+ 注意: 如果云端录像中的音频编码为AAC, 那么下载的MP4默认是支持AAC编码的
8583
+ 如果云端录像中的音频编码为G711且 IsSupportG711设置为true时, 下载的MP4是支持G711音频编码
8584
+ 如果云端录像中的音频编码为G711且 IsSupportG711设置为false时, 下载的MP4是不支持G711音频编码
8585
+ 该参数只对FileType为mp4才有效, 不设置的话, 默认是false
8586
+ :type IsSupportG711: bool
8579
8587
  """
8580
8588
  self._ChannelId = None
8581
8589
  self._BeginTime = None
@@ -8583,6 +8591,8 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
8583
8591
  self._FileType = None
8584
8592
  self._IsRespActualTime = None
8585
8593
  self._IsInternal = None
8594
+ self._Expires = None
8595
+ self._IsSupportG711 = None
8586
8596
 
8587
8597
  @property
8588
8598
  def ChannelId(self):
@@ -8632,6 +8642,22 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
8632
8642
  def IsInternal(self, IsInternal):
8633
8643
  self._IsInternal = IsInternal
8634
8644
 
8645
+ @property
8646
+ def Expires(self):
8647
+ return self._Expires
8648
+
8649
+ @Expires.setter
8650
+ def Expires(self, Expires):
8651
+ self._Expires = Expires
8652
+
8653
+ @property
8654
+ def IsSupportG711(self):
8655
+ return self._IsSupportG711
8656
+
8657
+ @IsSupportG711.setter
8658
+ def IsSupportG711(self, IsSupportG711):
8659
+ self._IsSupportG711 = IsSupportG711
8660
+
8635
8661
 
8636
8662
  def _deserialize(self, params):
8637
8663
  self._ChannelId = params.get("ChannelId")
@@ -8640,6 +8666,8 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
8640
8666
  self._FileType = params.get("FileType")
8641
8667
  self._IsRespActualTime = params.get("IsRespActualTime")
8642
8668
  self._IsInternal = params.get("IsInternal")
8669
+ self._Expires = params.get("Expires")
8670
+ self._IsSupportG711 = params.get("IsSupportG711")
8643
8671
  memeber_set = set(params.keys())
8644
8672
  for name, value in vars(self).items():
8645
8673
  property_name = name[1:]
@@ -1884,6 +1884,8 @@ class CreateQARequest(AbstractModel):
1884
1884
  :type ExpireStart: str
1885
1885
  :param _ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
1886
1886
  :type ExpireEnd: str
1887
+ :param _SimilarQuestions: 相似问内容
1888
+ :type SimilarQuestions: list of str
1887
1889
  """
1888
1890
  self._BotBizId = None
1889
1891
  self._Question = None
@@ -1895,6 +1897,7 @@ class CreateQARequest(AbstractModel):
1895
1897
  self._CateBizId = None
1896
1898
  self._ExpireStart = None
1897
1899
  self._ExpireEnd = None
1900
+ self._SimilarQuestions = None
1898
1901
 
1899
1902
  @property
1900
1903
  def BotBizId(self):
@@ -1976,6 +1979,14 @@ class CreateQARequest(AbstractModel):
1976
1979
  def ExpireEnd(self, ExpireEnd):
1977
1980
  self._ExpireEnd = ExpireEnd
1978
1981
 
1982
+ @property
1983
+ def SimilarQuestions(self):
1984
+ return self._SimilarQuestions
1985
+
1986
+ @SimilarQuestions.setter
1987
+ def SimilarQuestions(self, SimilarQuestions):
1988
+ self._SimilarQuestions = SimilarQuestions
1989
+
1979
1990
 
1980
1991
  def _deserialize(self, params):
1981
1992
  self._BotBizId = params.get("BotBizId")
@@ -1993,6 +2004,7 @@ class CreateQARequest(AbstractModel):
1993
2004
  self._CateBizId = params.get("CateBizId")
1994
2005
  self._ExpireStart = params.get("ExpireStart")
1995
2006
  self._ExpireEnd = params.get("ExpireEnd")
2007
+ self._SimilarQuestions = params.get("SimilarQuestions")
1996
2008
  memeber_set = set(params.keys())
1997
2009
  for name, value in vars(self).items():
1998
2010
  property_name = name[1:]
@@ -3895,6 +3907,8 @@ class DescribeQAResponse(AbstractModel):
3895
3907
  :type ExpireStart: str
3896
3908
  :param _ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
3897
3909
  :type ExpireEnd: str
3910
+ :param _SimilarQuestions: 相似问列表信息
3911
+ :type SimilarQuestions: list of SimilarQuestion
3898
3912
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3899
3913
  :type RequestId: str
3900
3914
  """
@@ -3922,6 +3936,7 @@ class DescribeQAResponse(AbstractModel):
3922
3936
  self._AttrLabels = None
3923
3937
  self._ExpireStart = None
3924
3938
  self._ExpireEnd = None
3939
+ self._SimilarQuestions = None
3925
3940
  self._RequestId = None
3926
3941
 
3927
3942
  @property
@@ -4116,6 +4131,14 @@ class DescribeQAResponse(AbstractModel):
4116
4131
  def ExpireEnd(self, ExpireEnd):
4117
4132
  self._ExpireEnd = ExpireEnd
4118
4133
 
4134
+ @property
4135
+ def SimilarQuestions(self):
4136
+ return self._SimilarQuestions
4137
+
4138
+ @SimilarQuestions.setter
4139
+ def SimilarQuestions(self, SimilarQuestions):
4140
+ self._SimilarQuestions = SimilarQuestions
4141
+
4119
4142
  @property
4120
4143
  def RequestId(self):
4121
4144
  return self._RequestId
@@ -4160,6 +4183,12 @@ class DescribeQAResponse(AbstractModel):
4160
4183
  self._AttrLabels.append(obj)
4161
4184
  self._ExpireStart = params.get("ExpireStart")
4162
4185
  self._ExpireEnd = params.get("ExpireEnd")
4186
+ if params.get("SimilarQuestions") is not None:
4187
+ self._SimilarQuestions = []
4188
+ for item in params.get("SimilarQuestions"):
4189
+ obj = SimilarQuestion()
4190
+ obj._deserialize(item)
4191
+ self._SimilarQuestions.append(obj)
4163
4192
  self._RequestId = params.get("RequestId")
4164
4193
 
4165
4194
 
@@ -9470,7 +9499,7 @@ class ListQARequest(AbstractModel):
9470
9499
 
9471
9500
  def __init__(self):
9472
9501
  r"""
9473
- :param _BotBizId: 机器人ID
9502
+ :param _BotBizId: 应用ID
9474
9503
  :type BotBizId: str
9475
9504
  :param _PageNumber: 页码
9476
9505
  :type PageNumber: int
@@ -9480,7 +9509,7 @@ class ListQARequest(AbstractModel):
9480
9509
  :type Query: str
9481
9510
  :param _AcceptStatus: 校验状态(1未校验2采纳3不采纳)
9482
9511
  :type AcceptStatus: list of int
9483
- :param _ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败)
9512
+ :param _ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)
9484
9513
  :type ReleaseStatus: list of int
9485
9514
  :param _DocBizId: 文档ID
9486
9515
  :type DocBizId: str
@@ -9745,6 +9774,16 @@ class ListQaItem(AbstractModel):
9745
9774
  :type FileType: str
9746
9775
  :param _QaCharSize: 问答字符数
9747
9776
  :type QaCharSize: str
9777
+ :param _ExpireStart: 有效开始时间,unix时间戳
9778
+ :type ExpireStart: str
9779
+ :param _ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
9780
+ :type ExpireEnd: str
9781
+ :param _AttrRange: 属性标签适用范围 1:全部,2:按条件
9782
+ :type AttrRange: int
9783
+ :param _AttrLabels: 属性标签
9784
+ :type AttrLabels: list of AttrLabel
9785
+ :param _SimilarQuestionNum: 相似问个数
9786
+ :type SimilarQuestionNum: int
9748
9787
  """
9749
9788
  self._QaBizId = None
9750
9789
  self._Question = None
@@ -9762,6 +9801,11 @@ class ListQaItem(AbstractModel):
9762
9801
  self._FileName = None
9763
9802
  self._FileType = None
9764
9803
  self._QaCharSize = None
9804
+ self._ExpireStart = None
9805
+ self._ExpireEnd = None
9806
+ self._AttrRange = None
9807
+ self._AttrLabels = None
9808
+ self._SimilarQuestionNum = None
9765
9809
 
9766
9810
  @property
9767
9811
  def QaBizId(self):
@@ -9891,6 +9935,46 @@ class ListQaItem(AbstractModel):
9891
9935
  def QaCharSize(self, QaCharSize):
9892
9936
  self._QaCharSize = QaCharSize
9893
9937
 
9938
+ @property
9939
+ def ExpireStart(self):
9940
+ return self._ExpireStart
9941
+
9942
+ @ExpireStart.setter
9943
+ def ExpireStart(self, ExpireStart):
9944
+ self._ExpireStart = ExpireStart
9945
+
9946
+ @property
9947
+ def ExpireEnd(self):
9948
+ return self._ExpireEnd
9949
+
9950
+ @ExpireEnd.setter
9951
+ def ExpireEnd(self, ExpireEnd):
9952
+ self._ExpireEnd = ExpireEnd
9953
+
9954
+ @property
9955
+ def AttrRange(self):
9956
+ return self._AttrRange
9957
+
9958
+ @AttrRange.setter
9959
+ def AttrRange(self, AttrRange):
9960
+ self._AttrRange = AttrRange
9961
+
9962
+ @property
9963
+ def AttrLabels(self):
9964
+ return self._AttrLabels
9965
+
9966
+ @AttrLabels.setter
9967
+ def AttrLabels(self, AttrLabels):
9968
+ self._AttrLabels = AttrLabels
9969
+
9970
+ @property
9971
+ def SimilarQuestionNum(self):
9972
+ return self._SimilarQuestionNum
9973
+
9974
+ @SimilarQuestionNum.setter
9975
+ def SimilarQuestionNum(self, SimilarQuestionNum):
9976
+ self._SimilarQuestionNum = SimilarQuestionNum
9977
+
9894
9978
 
9895
9979
  def _deserialize(self, params):
9896
9980
  self._QaBizId = params.get("QaBizId")
@@ -9909,6 +9993,16 @@ class ListQaItem(AbstractModel):
9909
9993
  self._FileName = params.get("FileName")
9910
9994
  self._FileType = params.get("FileType")
9911
9995
  self._QaCharSize = params.get("QaCharSize")
9996
+ self._ExpireStart = params.get("ExpireStart")
9997
+ self._ExpireEnd = params.get("ExpireEnd")
9998
+ self._AttrRange = params.get("AttrRange")
9999
+ if params.get("AttrLabels") is not None:
10000
+ self._AttrLabels = []
10001
+ for item in params.get("AttrLabels"):
10002
+ obj = AttrLabel()
10003
+ obj._deserialize(item)
10004
+ self._AttrLabels.append(obj)
10005
+ self._SimilarQuestionNum = params.get("SimilarQuestionNum")
9912
10006
  memeber_set = set(params.keys())
9913
10007
  for name, value in vars(self).items():
9914
10008
  property_name = name[1:]
@@ -12177,6 +12271,8 @@ class ModifyQARequest(AbstractModel):
12177
12271
  :type ExpireStart: str
12178
12272
  :param _ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
12179
12273
  :type ExpireEnd: str
12274
+ :param _SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
12275
+ :type SimilarQuestionModify: :class:`tencentcloud.lke.v20231130.models.SimilarQuestionModify`
12180
12276
  """
12181
12277
  self._BotBizId = None
12182
12278
  self._QaBizId = None
@@ -12189,6 +12285,7 @@ class ModifyQARequest(AbstractModel):
12189
12285
  self._CateBizId = None
12190
12286
  self._ExpireStart = None
12191
12287
  self._ExpireEnd = None
12288
+ self._SimilarQuestionModify = None
12192
12289
 
12193
12290
  @property
12194
12291
  def BotBizId(self):
@@ -12278,6 +12375,14 @@ class ModifyQARequest(AbstractModel):
12278
12375
  def ExpireEnd(self, ExpireEnd):
12279
12376
  self._ExpireEnd = ExpireEnd
12280
12377
 
12378
+ @property
12379
+ def SimilarQuestionModify(self):
12380
+ return self._SimilarQuestionModify
12381
+
12382
+ @SimilarQuestionModify.setter
12383
+ def SimilarQuestionModify(self, SimilarQuestionModify):
12384
+ self._SimilarQuestionModify = SimilarQuestionModify
12385
+
12281
12386
 
12282
12387
  def _deserialize(self, params):
12283
12388
  self._BotBizId = params.get("BotBizId")
@@ -12296,6 +12401,9 @@ class ModifyQARequest(AbstractModel):
12296
12401
  self._CateBizId = params.get("CateBizId")
12297
12402
  self._ExpireStart = params.get("ExpireStart")
12298
12403
  self._ExpireEnd = params.get("ExpireEnd")
12404
+ if params.get("SimilarQuestionModify") is not None:
12405
+ self._SimilarQuestionModify = SimilarQuestionModify()
12406
+ self._SimilarQuestionModify._deserialize(params.get("SimilarQuestionModify"))
12299
12407
  memeber_set = set(params.keys())
12300
12408
  for name, value in vars(self).items():
12301
12409
  property_name = name[1:]
@@ -15697,6 +15805,120 @@ class SaveDocResponse(AbstractModel):
15697
15805
  self._RequestId = params.get("RequestId")
15698
15806
 
15699
15807
 
15808
+ class SimilarQuestion(AbstractModel):
15809
+ """相似问信息
15810
+
15811
+ """
15812
+
15813
+ def __init__(self):
15814
+ r"""
15815
+ :param _SimBizId: 相似问ID
15816
+ 注意:此字段可能返回 null,表示取不到有效值。
15817
+ :type SimBizId: str
15818
+ :param _Question: 相似问内容
15819
+ 注意:此字段可能返回 null,表示取不到有效值。
15820
+ :type Question: str
15821
+ """
15822
+ self._SimBizId = None
15823
+ self._Question = None
15824
+
15825
+ @property
15826
+ def SimBizId(self):
15827
+ return self._SimBizId
15828
+
15829
+ @SimBizId.setter
15830
+ def SimBizId(self, SimBizId):
15831
+ self._SimBizId = SimBizId
15832
+
15833
+ @property
15834
+ def Question(self):
15835
+ return self._Question
15836
+
15837
+ @Question.setter
15838
+ def Question(self, Question):
15839
+ self._Question = Question
15840
+
15841
+
15842
+ def _deserialize(self, params):
15843
+ self._SimBizId = params.get("SimBizId")
15844
+ self._Question = params.get("Question")
15845
+ memeber_set = set(params.keys())
15846
+ for name, value in vars(self).items():
15847
+ property_name = name[1:]
15848
+ if property_name in memeber_set:
15849
+ memeber_set.remove(property_name)
15850
+ if len(memeber_set) > 0:
15851
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15852
+
15853
+
15854
+
15855
+ class SimilarQuestionModify(AbstractModel):
15856
+ """相似问修改(更新)信息
15857
+
15858
+ """
15859
+
15860
+ def __init__(self):
15861
+ r"""
15862
+ :param _AddQuestions: 需要添加的相似问(内容)列表
15863
+ :type AddQuestions: list of str
15864
+ :param _UpdateQuestions: 需要更新的相似问列表
15865
+ :type UpdateQuestions: list of SimilarQuestion
15866
+ :param _DeleteQuestions: 需要删除的相似问列表
15867
+ :type DeleteQuestions: list of SimilarQuestion
15868
+ """
15869
+ self._AddQuestions = None
15870
+ self._UpdateQuestions = None
15871
+ self._DeleteQuestions = None
15872
+
15873
+ @property
15874
+ def AddQuestions(self):
15875
+ return self._AddQuestions
15876
+
15877
+ @AddQuestions.setter
15878
+ def AddQuestions(self, AddQuestions):
15879
+ self._AddQuestions = AddQuestions
15880
+
15881
+ @property
15882
+ def UpdateQuestions(self):
15883
+ return self._UpdateQuestions
15884
+
15885
+ @UpdateQuestions.setter
15886
+ def UpdateQuestions(self, UpdateQuestions):
15887
+ self._UpdateQuestions = UpdateQuestions
15888
+
15889
+ @property
15890
+ def DeleteQuestions(self):
15891
+ return self._DeleteQuestions
15892
+
15893
+ @DeleteQuestions.setter
15894
+ def DeleteQuestions(self, DeleteQuestions):
15895
+ self._DeleteQuestions = DeleteQuestions
15896
+
15897
+
15898
+ def _deserialize(self, params):
15899
+ self._AddQuestions = params.get("AddQuestions")
15900
+ if params.get("UpdateQuestions") is not None:
15901
+ self._UpdateQuestions = []
15902
+ for item in params.get("UpdateQuestions"):
15903
+ obj = SimilarQuestion()
15904
+ obj._deserialize(item)
15905
+ self._UpdateQuestions.append(obj)
15906
+ if params.get("DeleteQuestions") is not None:
15907
+ self._DeleteQuestions = []
15908
+ for item in params.get("DeleteQuestions"):
15909
+ obj = SimilarQuestion()
15910
+ obj._deserialize(item)
15911
+ self._DeleteQuestions.append(obj)
15912
+ memeber_set = set(params.keys())
15913
+ for name, value in vars(self).items():
15914
+ property_name = name[1:]
15915
+ if property_name in memeber_set:
15916
+ memeber_set.remove(property_name)
15917
+ if len(memeber_set) > 0:
15918
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15919
+
15920
+
15921
+
15700
15922
  class StopDocParseRequest(AbstractModel):
15701
15923
  """StopDocParse请求参数结构体
15702
15924
 
@@ -62,6 +62,9 @@ FAILEDOPERATION_INSTANCECANNOTRETURN = 'FailedOperation.InstanceCanNotReturn'
62
62
  # 实例退费失败。
63
63
  FAILEDOPERATION_INSTANCERETURNFAILED = 'FailedOperation.InstanceReturnFailed'
64
64
 
65
+ # 日志不存在。
66
+ FAILEDOPERATION_LOGNOTEXISTED = 'FailedOperation.LogNotExisted'
67
+
65
68
  # 修改账号权限失败。
66
69
  FAILEDOPERATION_MODIFYRIGHTFAILED = 'FailedOperation.ModifyRightFailed'
67
70
 
@@ -396,6 +396,29 @@ class MariadbClient(AbstractClient):
396
396
  raise TencentCloudSDKException(type(e).__name__, str(e))
397
397
 
398
398
 
399
+ def DescribeBinlogTime(self, request):
400
+ """本接口(DescribeBinlogTime)用于查询可回档时间范围。
401
+
402
+ :param request: Request instance for DescribeBinlogTime.
403
+ :type request: :class:`tencentcloud.mariadb.v20170312.models.DescribeBinlogTimeRequest`
404
+ :rtype: :class:`tencentcloud.mariadb.v20170312.models.DescribeBinlogTimeResponse`
405
+
406
+ """
407
+ try:
408
+ params = request._serialize()
409
+ headers = request.headers
410
+ body = self.call("DescribeBinlogTime", params, headers=headers)
411
+ response = json.loads(body)
412
+ model = models.DescribeBinlogTimeResponse()
413
+ model._deserialize(response["Response"])
414
+ return model
415
+ except Exception as e:
416
+ if isinstance(e, TencentCloudSDKException):
417
+ raise
418
+ else:
419
+ raise TencentCloudSDKException(type(e).__name__, str(e))
420
+
421
+
399
422
  def DescribeDBEncryptAttributes(self, request):
400
423
  """本接口(DescribeDBEncryptAttributes)用于查询实例数据加密状态。
401
424