tencentcloud-sdk-python 3.0.1317__py2.py3-none-any.whl → 3.0.1319__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 (41) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/antiddos_client.py +1 -1
  3. tencentcloud/antiddos/v20200309/models.py +44 -74
  4. tencentcloud/cbs/v20170312/models.py +30 -0
  5. tencentcloud/ccc/v20200210/models.py +4 -4
  6. tencentcloud/cwp/v20180228/models.py +17 -2
  7. tencentcloud/emr/v20190103/models.py +16 -1
  8. tencentcloud/ess/v20201111/errorcodes.py +3 -0
  9. tencentcloud/ess/v20201111/ess_client.py +73 -0
  10. tencentcloud/ess/v20201111/models.py +695 -85
  11. tencentcloud/gme/v20180711/models.py +64 -26
  12. tencentcloud/hunyuan/v20230901/models.py +8 -16
  13. tencentcloud/lcic/v20220817/lcic_client.py +44 -1
  14. tencentcloud/lcic/v20220817/models.py +94 -16
  15. tencentcloud/lighthouse/v20200324/models.py +0 -10
  16. tencentcloud/live/v20180801/models.py +90 -0
  17. tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
  18. tencentcloud/lkeap/v20240522/models.py +2 -2
  19. tencentcloud/mps/v20190612/models.py +60 -0
  20. tencentcloud/ocr/v20181119/models.py +88 -20
  21. tencentcloud/postgres/v20170312/postgres_client.py +1 -1
  22. tencentcloud/redis/v20180412/models.py +0 -40
  23. tencentcloud/rum/v20210622/models.py +4 -0
  24. tencentcloud/smh/v20210712/models.py +32 -8
  25. tencentcloud/smop/v20201203/models.py +0 -34
  26. tencentcloud/tdmq/v20200217/models.py +166 -0
  27. tencentcloud/teo/v20220901/models.py +10 -14
  28. tencentcloud/thpc/v20230321/models.py +30 -0
  29. tencentcloud/trocket/v20230308/models.py +218 -15
  30. tencentcloud/trocket/v20230308/trocket_client.py +1 -0
  31. tencentcloud/vms/v20200902/models.py +0 -2
  32. tencentcloud/vpc/v20170312/errorcodes.py +42 -0
  33. tencentcloud/vpc/v20170312/models.py +1862 -57
  34. tencentcloud/vpc/v20170312/vpc_client.py +278 -0
  35. tencentcloud/wedata/v20210820/models.py +181 -4
  36. tencentcloud/wedata/v20210820/wedata_client.py +8 -2
  37. {tencentcloud_sdk_python-3.0.1317.dist-info → tencentcloud_sdk_python-3.0.1319.dist-info}/METADATA +1 -1
  38. {tencentcloud_sdk_python-3.0.1317.dist-info → tencentcloud_sdk_python-3.0.1319.dist-info}/RECORD +41 -41
  39. {tencentcloud_sdk_python-3.0.1317.dist-info → tencentcloud_sdk_python-3.0.1319.dist-info}/LICENSE +0 -0
  40. {tencentcloud_sdk_python-3.0.1317.dist-info → tencentcloud_sdk_python-3.0.1319.dist-info}/WHEEL +0 -0
  41. {tencentcloud_sdk_python-3.0.1317.dist-info → tencentcloud_sdk_python-3.0.1319.dist-info}/top_level.txt +0 -0
@@ -1794,6 +1794,10 @@ class CallBackTemplateInfo(AbstractModel):
1794
1794
  :param _AudioAuditNotifyUrl: 音频审核回调 URL。
1795
1795
  注意:此字段可能返回 null,表示取不到有效值。
1796
1796
  :type AudioAuditNotifyUrl: str
1797
+ :param _RecordExceptionNotifyUrl: 录制异常回调 URL。
1798
+ :type RecordExceptionNotifyUrl: str
1799
+ :param _RecordExceptionLevels: 录制异常回调级别,可选择:error: 错误。alarm: 告警。
1800
+ :type RecordExceptionLevels: list of str
1797
1801
  """
1798
1802
  self._TemplateId = None
1799
1803
  self._TemplateName = None
@@ -1807,6 +1811,8 @@ class CallBackTemplateInfo(AbstractModel):
1807
1811
  self._CallbackKey = None
1808
1812
  self._PushExceptionNotifyUrl = None
1809
1813
  self._AudioAuditNotifyUrl = None
1814
+ self._RecordExceptionNotifyUrl = None
1815
+ self._RecordExceptionLevels = None
1810
1816
 
1811
1817
  @property
1812
1818
  def TemplateId(self):
@@ -1942,6 +1948,28 @@ class CallBackTemplateInfo(AbstractModel):
1942
1948
  def AudioAuditNotifyUrl(self, AudioAuditNotifyUrl):
1943
1949
  self._AudioAuditNotifyUrl = AudioAuditNotifyUrl
1944
1950
 
1951
+ @property
1952
+ def RecordExceptionNotifyUrl(self):
1953
+ """录制异常回调 URL。
1954
+ :rtype: str
1955
+ """
1956
+ return self._RecordExceptionNotifyUrl
1957
+
1958
+ @RecordExceptionNotifyUrl.setter
1959
+ def RecordExceptionNotifyUrl(self, RecordExceptionNotifyUrl):
1960
+ self._RecordExceptionNotifyUrl = RecordExceptionNotifyUrl
1961
+
1962
+ @property
1963
+ def RecordExceptionLevels(self):
1964
+ """录制异常回调级别,可选择:error: 错误。alarm: 告警。
1965
+ :rtype: list of str
1966
+ """
1967
+ return self._RecordExceptionLevels
1968
+
1969
+ @RecordExceptionLevels.setter
1970
+ def RecordExceptionLevels(self, RecordExceptionLevels):
1971
+ self._RecordExceptionLevels = RecordExceptionLevels
1972
+
1945
1973
 
1946
1974
  def _deserialize(self, params):
1947
1975
  self._TemplateId = params.get("TemplateId")
@@ -1956,6 +1984,8 @@ class CallBackTemplateInfo(AbstractModel):
1956
1984
  self._CallbackKey = params.get("CallbackKey")
1957
1985
  self._PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
1958
1986
  self._AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
1987
+ self._RecordExceptionNotifyUrl = params.get("RecordExceptionNotifyUrl")
1988
+ self._RecordExceptionLevels = params.get("RecordExceptionLevels")
1959
1989
  memeber_set = set(params.keys())
1960
1990
  for name, value in vars(self).items():
1961
1991
  property_name = name[1:]
@@ -6167,6 +6197,10 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
6167
6197
  :type PushExceptionNotifyUrl: str
6168
6198
  :param _AudioAuditNotifyUrl: 音频审核回调 URL。
6169
6199
  :type AudioAuditNotifyUrl: str
6200
+ :param _RecordExceptionNotifyUrl: 录制异常回调 URL。
6201
+ :type RecordExceptionNotifyUrl: str
6202
+ :param _RecordExceptionLevels: 录制异常回调级别,可选择:error、warning、info。
6203
+ :type RecordExceptionLevels: list of str
6170
6204
  """
6171
6205
  self._TemplateName = None
6172
6206
  self._Description = None
@@ -6180,6 +6214,8 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
6180
6214
  self._StreamMixNotifyUrl = None
6181
6215
  self._PushExceptionNotifyUrl = None
6182
6216
  self._AudioAuditNotifyUrl = None
6217
+ self._RecordExceptionNotifyUrl = None
6218
+ self._RecordExceptionLevels = None
6183
6219
 
6184
6220
  @property
6185
6221
  def TemplateName(self):
@@ -6324,6 +6360,28 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
6324
6360
  def AudioAuditNotifyUrl(self, AudioAuditNotifyUrl):
6325
6361
  self._AudioAuditNotifyUrl = AudioAuditNotifyUrl
6326
6362
 
6363
+ @property
6364
+ def RecordExceptionNotifyUrl(self):
6365
+ """录制异常回调 URL。
6366
+ :rtype: str
6367
+ """
6368
+ return self._RecordExceptionNotifyUrl
6369
+
6370
+ @RecordExceptionNotifyUrl.setter
6371
+ def RecordExceptionNotifyUrl(self, RecordExceptionNotifyUrl):
6372
+ self._RecordExceptionNotifyUrl = RecordExceptionNotifyUrl
6373
+
6374
+ @property
6375
+ def RecordExceptionLevels(self):
6376
+ """录制异常回调级别,可选择:error、warning、info。
6377
+ :rtype: list of str
6378
+ """
6379
+ return self._RecordExceptionLevels
6380
+
6381
+ @RecordExceptionLevels.setter
6382
+ def RecordExceptionLevels(self, RecordExceptionLevels):
6383
+ self._RecordExceptionLevels = RecordExceptionLevels
6384
+
6327
6385
 
6328
6386
  def _deserialize(self, params):
6329
6387
  self._TemplateName = params.get("TemplateName")
@@ -6338,6 +6396,8 @@ class CreateLiveCallbackTemplateRequest(AbstractModel):
6338
6396
  self._StreamMixNotifyUrl = params.get("StreamMixNotifyUrl")
6339
6397
  self._PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
6340
6398
  self._AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
6399
+ self._RecordExceptionNotifyUrl = params.get("RecordExceptionNotifyUrl")
6400
+ self._RecordExceptionLevels = params.get("RecordExceptionLevels")
6341
6401
  memeber_set = set(params.keys())
6342
6402
  for name, value in vars(self).items():
6343
6403
  property_name = name[1:]
@@ -28757,6 +28817,10 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
28757
28817
  :type PushExceptionNotifyUrl: str
28758
28818
  :param _AudioAuditNotifyUrl: 音频审核回调 URL。
28759
28819
  :type AudioAuditNotifyUrl: str
28820
+ :param _RecordExceptionNotifyUrl: 录制异常回调 URL。
28821
+ :type RecordExceptionNotifyUrl: str
28822
+ :param _RecordExceptionLevels: 录制异常回调级别,可选择:error、warning、info。
28823
+ :type RecordExceptionLevels: list of str
28760
28824
  """
28761
28825
  self._TemplateId = None
28762
28826
  self._TemplateName = None
@@ -28770,6 +28834,8 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
28770
28834
  self._CallbackKey = None
28771
28835
  self._PushExceptionNotifyUrl = None
28772
28836
  self._AudioAuditNotifyUrl = None
28837
+ self._RecordExceptionNotifyUrl = None
28838
+ self._RecordExceptionLevels = None
28773
28839
 
28774
28840
  @property
28775
28841
  def TemplateId(self):
@@ -28904,6 +28970,28 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
28904
28970
  def AudioAuditNotifyUrl(self, AudioAuditNotifyUrl):
28905
28971
  self._AudioAuditNotifyUrl = AudioAuditNotifyUrl
28906
28972
 
28973
+ @property
28974
+ def RecordExceptionNotifyUrl(self):
28975
+ """录制异常回调 URL。
28976
+ :rtype: str
28977
+ """
28978
+ return self._RecordExceptionNotifyUrl
28979
+
28980
+ @RecordExceptionNotifyUrl.setter
28981
+ def RecordExceptionNotifyUrl(self, RecordExceptionNotifyUrl):
28982
+ self._RecordExceptionNotifyUrl = RecordExceptionNotifyUrl
28983
+
28984
+ @property
28985
+ def RecordExceptionLevels(self):
28986
+ """录制异常回调级别,可选择:error、warning、info。
28987
+ :rtype: list of str
28988
+ """
28989
+ return self._RecordExceptionLevels
28990
+
28991
+ @RecordExceptionLevels.setter
28992
+ def RecordExceptionLevels(self, RecordExceptionLevels):
28993
+ self._RecordExceptionLevels = RecordExceptionLevels
28994
+
28907
28995
 
28908
28996
  def _deserialize(self, params):
28909
28997
  self._TemplateId = params.get("TemplateId")
@@ -28918,6 +29006,8 @@ class ModifyLiveCallbackTemplateRequest(AbstractModel):
28918
29006
  self._CallbackKey = params.get("CallbackKey")
28919
29007
  self._PushExceptionNotifyUrl = params.get("PushExceptionNotifyUrl")
28920
29008
  self._AudioAuditNotifyUrl = params.get("AudioAuditNotifyUrl")
29009
+ self._RecordExceptionNotifyUrl = params.get("RecordExceptionNotifyUrl")
29010
+ self._RecordExceptionLevels = params.get("RecordExceptionLevels")
28921
29011
  memeber_set = set(params.keys())
28922
29012
  for name, value in vars(self).items():
28923
29013
  property_name = name[1:]
@@ -45,7 +45,8 @@ class LkeapClient(AbstractClient):
45
45
 
46
46
  本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价。
47
47
  - 标准计费(2025年2月26日起生效)
48
- ![image](https://cdn.xiaowei.qq.com/static/lke/deepseek-token.png)
48
+
49
+ ![image](https://cdn.xiaowei.qq.com/static/lke/deekseep-token0212.png)
49
50
 
50
51
  ### Openai兼容协议接口
51
52
  知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1772/115968)。
@@ -235,7 +235,7 @@ class ChatCompletionsRequest(AbstractModel):
235
235
  说明:
236
236
  1. 长度最多为 40,按对话时间从旧到新在数组中排列。
237
237
  2. Message.Role 可选值:system、user、assistant。
238
- 其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,其中tool可以连续出现多次,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user(tool tool ...) assistant user(tool tool ...) ...]。
238
+ 其中,system 角色可选,如存在则必须位于列表的最开始。user 和 assistant 需交替出现,以 user 提问开始,user 提问结束,Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。
239
239
 
240
240
  :type Messages: list of Message
241
241
  :param _Stream: 是否流式输出
@@ -268,7 +268,7 @@ class ChatCompletionsRequest(AbstractModel):
268
268
  说明:
269
269
  1. 长度最多为 40,按对话时间从旧到新在数组中排列。
270
270
  2. Message.Role 可选值:system、user、assistant。
271
- 其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,其中tool可以连续出现多次,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user(tool tool ...) assistant user(tool tool ...) ...]。
271
+ 其中,system 角色可选,如存在则必须位于列表的最开始。user 和 assistant 需交替出现,以 user 提问开始,user 提问结束,Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。
272
272
 
273
273
  :rtype: list of Message
274
274
  """
@@ -4392,6 +4392,10 @@ class AiParagraphInfo(AbstractModel):
4392
4392
  :param _Summary: 分段摘要
4393
4393
  注意:此字段可能返回 null,表示取不到有效值。
4394
4394
  :type Summary: str
4395
+ :param _Title: 分段标题
4396
+ :type Title: str
4397
+ :param _Keywords: 分段关键词
4398
+ :type Keywords: list of str
4395
4399
  :param _StartTimeOffset: 分段起始时间点,秒
4396
4400
  注意:此字段可能返回 null,表示取不到有效值。
4397
4401
  :type StartTimeOffset: float
@@ -4400,6 +4404,8 @@ class AiParagraphInfo(AbstractModel):
4400
4404
  :type EndTimeOffset: float
4401
4405
  """
4402
4406
  self._Summary = None
4407
+ self._Title = None
4408
+ self._Keywords = None
4403
4409
  self._StartTimeOffset = None
4404
4410
  self._EndTimeOffset = None
4405
4411
 
@@ -4415,6 +4421,28 @@ class AiParagraphInfo(AbstractModel):
4415
4421
  def Summary(self, Summary):
4416
4422
  self._Summary = Summary
4417
4423
 
4424
+ @property
4425
+ def Title(self):
4426
+ """分段标题
4427
+ :rtype: str
4428
+ """
4429
+ return self._Title
4430
+
4431
+ @Title.setter
4432
+ def Title(self, Title):
4433
+ self._Title = Title
4434
+
4435
+ @property
4436
+ def Keywords(self):
4437
+ """分段关键词
4438
+ :rtype: list of str
4439
+ """
4440
+ return self._Keywords
4441
+
4442
+ @Keywords.setter
4443
+ def Keywords(self, Keywords):
4444
+ self._Keywords = Keywords
4445
+
4418
4446
  @property
4419
4447
  def StartTimeOffset(self):
4420
4448
  """分段起始时间点,秒
@@ -4442,6 +4470,8 @@ class AiParagraphInfo(AbstractModel):
4442
4470
 
4443
4471
  def _deserialize(self, params):
4444
4472
  self._Summary = params.get("Summary")
4473
+ self._Title = params.get("Title")
4474
+ self._Keywords = params.get("Keywords")
4445
4475
  self._StartTimeOffset = params.get("StartTimeOffset")
4446
4476
  self._EndTimeOffset = params.get("EndTimeOffset")
4447
4477
  memeber_set = set(params.keys())
@@ -37264,12 +37294,18 @@ class MediaAiAnalysisDescriptionItem(AbstractModel):
37264
37294
  :type Description: str
37265
37295
  :param _Confidence: 智能描述的可信度,取值范围是 0 到 100。
37266
37296
  :type Confidence: float
37297
+ :param _Title: 智能描述标题
37298
+ :type Title: str
37299
+ :param _Keywords: 智能描述关键词
37300
+ :type Keywords: list of str
37267
37301
  :param _Paragraphs: 分段结果。
37268
37302
  注意:此字段可能返回 null,表示取不到有效值。
37269
37303
  :type Paragraphs: list of AiParagraphInfo
37270
37304
  """
37271
37305
  self._Description = None
37272
37306
  self._Confidence = None
37307
+ self._Title = None
37308
+ self._Keywords = None
37273
37309
  self._Paragraphs = None
37274
37310
 
37275
37311
  @property
@@ -37294,6 +37330,28 @@ class MediaAiAnalysisDescriptionItem(AbstractModel):
37294
37330
  def Confidence(self, Confidence):
37295
37331
  self._Confidence = Confidence
37296
37332
 
37333
+ @property
37334
+ def Title(self):
37335
+ """智能描述标题
37336
+ :rtype: str
37337
+ """
37338
+ return self._Title
37339
+
37340
+ @Title.setter
37341
+ def Title(self, Title):
37342
+ self._Title = Title
37343
+
37344
+ @property
37345
+ def Keywords(self):
37346
+ """智能描述关键词
37347
+ :rtype: list of str
37348
+ """
37349
+ return self._Keywords
37350
+
37351
+ @Keywords.setter
37352
+ def Keywords(self, Keywords):
37353
+ self._Keywords = Keywords
37354
+
37297
37355
  @property
37298
37356
  def Paragraphs(self):
37299
37357
  """分段结果。
@@ -37310,6 +37368,8 @@ class MediaAiAnalysisDescriptionItem(AbstractModel):
37310
37368
  def _deserialize(self, params):
37311
37369
  self._Description = params.get("Description")
37312
37370
  self._Confidence = params.get("Confidence")
37371
+ self._Title = params.get("Title")
37372
+ self._Keywords = params.get("Keywords")
37313
37373
  if params.get("Paragraphs") is not None:
37314
37374
  self._Paragraphs = []
37315
37375
  for item in params.get("Paragraphs"):
@@ -3956,19 +3956,29 @@ class ContentInfo(AbstractModel):
3956
3956
  :type Content: str
3957
3957
  :param _Confidence: 结果置信度
3958
3958
  :type Confidence: int
3959
- :param _IsInComplete: 字段是否不完整
3959
+ :param _IsInComplete: 字段是否不完整(value内容)
3960
3960
  0 字段正常
3961
3961
  1 字段不完整
3962
3962
  :type IsInComplete: int
3963
- :param _IsReflect: 字段反光
3963
+ :param _IsReflect: 字段反光(value内容)
3964
3964
  0 字段正常
3965
3965
  1 字段有反光
3966
3966
  :type IsReflect: int
3967
+ :param _IsKeyInComplete: 字段是否不完整(key内容)
3968
+ 0 字段正常
3969
+ 1 字段不完整
3970
+ :type IsKeyInComplete: int
3971
+ :param _IsKeyReflect: 字段反光(key内容)
3972
+ 0 字段正常
3973
+ 1 字段有反光
3974
+ :type IsKeyReflect: int
3967
3975
  """
3968
3976
  self._Content = None
3969
3977
  self._Confidence = None
3970
3978
  self._IsInComplete = None
3971
3979
  self._IsReflect = None
3980
+ self._IsKeyInComplete = None
3981
+ self._IsKeyReflect = None
3972
3982
 
3973
3983
  @property
3974
3984
  def Content(self):
@@ -3994,7 +4004,7 @@ class ContentInfo(AbstractModel):
3994
4004
 
3995
4005
  @property
3996
4006
  def IsInComplete(self):
3997
- """字段是否不完整
4007
+ """字段是否不完整(value内容)
3998
4008
  0 字段正常
3999
4009
  1 字段不完整
4000
4010
  :rtype: int
@@ -4007,7 +4017,7 @@ class ContentInfo(AbstractModel):
4007
4017
 
4008
4018
  @property
4009
4019
  def IsReflect(self):
4010
- """字段反光
4020
+ """字段反光(value内容)
4011
4021
  0 字段正常
4012
4022
  1 字段有反光
4013
4023
  :rtype: int
@@ -4018,12 +4028,40 @@ class ContentInfo(AbstractModel):
4018
4028
  def IsReflect(self, IsReflect):
4019
4029
  self._IsReflect = IsReflect
4020
4030
 
4031
+ @property
4032
+ def IsKeyInComplete(self):
4033
+ """字段是否不完整(key内容)
4034
+ 0 字段正常
4035
+ 1 字段不完整
4036
+ :rtype: int
4037
+ """
4038
+ return self._IsKeyInComplete
4039
+
4040
+ @IsKeyInComplete.setter
4041
+ def IsKeyInComplete(self, IsKeyInComplete):
4042
+ self._IsKeyInComplete = IsKeyInComplete
4043
+
4044
+ @property
4045
+ def IsKeyReflect(self):
4046
+ """字段反光(key内容)
4047
+ 0 字段正常
4048
+ 1 字段有反光
4049
+ :rtype: int
4050
+ """
4051
+ return self._IsKeyReflect
4052
+
4053
+ @IsKeyReflect.setter
4054
+ def IsKeyReflect(self, IsKeyReflect):
4055
+ self._IsKeyReflect = IsKeyReflect
4056
+
4021
4057
 
4022
4058
  def _deserialize(self, params):
4023
4059
  self._Content = params.get("Content")
4024
4060
  self._Confidence = params.get("Confidence")
4025
4061
  self._IsInComplete = params.get("IsInComplete")
4026
4062
  self._IsReflect = params.get("IsReflect")
4063
+ self._IsKeyInComplete = params.get("IsKeyInComplete")
4064
+ self._IsKeyReflect = params.get("IsKeyReflect")
4027
4065
  memeber_set = set(params.keys())
4028
4066
  for name, value in vars(self).items():
4029
4067
  property_name = name[1:]
@@ -12105,6 +12143,8 @@ class IDCardConfig(AbstractModel):
12105
12143
  :type InvalidDateWarn: bool
12106
12144
  :param _ReflectWarn: 是否开启反光检测,默认为false
12107
12145
  :type ReflectWarn: bool
12146
+ :param _CropPortrait: 是否开启头像剪切
12147
+ :type CropPortrait: bool
12108
12148
  """
12109
12149
  self._CopyWarn = None
12110
12150
  self._BorderCheckWarn = None
@@ -12113,6 +12153,7 @@ class IDCardConfig(AbstractModel):
12113
12153
  self._TempIdWarn = None
12114
12154
  self._InvalidDateWarn = None
12115
12155
  self._ReflectWarn = None
12156
+ self._CropPortrait = None
12116
12157
 
12117
12158
  @property
12118
12159
  def CopyWarn(self):
@@ -12191,6 +12232,17 @@ class IDCardConfig(AbstractModel):
12191
12232
  def ReflectWarn(self, ReflectWarn):
12192
12233
  self._ReflectWarn = ReflectWarn
12193
12234
 
12235
+ @property
12236
+ def CropPortrait(self):
12237
+ """是否开启头像剪切
12238
+ :rtype: bool
12239
+ """
12240
+ return self._CropPortrait
12241
+
12242
+ @CropPortrait.setter
12243
+ def CropPortrait(self, CropPortrait):
12244
+ self._CropPortrait = CropPortrait
12245
+
12194
12246
 
12195
12247
  def _deserialize(self, params):
12196
12248
  self._CopyWarn = params.get("CopyWarn")
@@ -12200,6 +12252,7 @@ class IDCardConfig(AbstractModel):
12200
12252
  self._TempIdWarn = params.get("TempIdWarn")
12201
12253
  self._InvalidDateWarn = params.get("InvalidDateWarn")
12202
12254
  self._ReflectWarn = params.get("ReflectWarn")
12255
+ self._CropPortrait = params.get("CropPortrait")
12203
12256
  memeber_set = set(params.keys())
12204
12257
  for name, value in vars(self).items():
12205
12258
  property_name = name[1:]
@@ -12428,28 +12481,28 @@ class IDCardInfoResult(AbstractModel):
12428
12481
  :param _WarnCodes: 警告代码
12429
12482
  注意:此字段可能返回 null,表示取不到有效值。
12430
12483
  :type WarnCodes: list of int
12431
- :param _Address: 地址
12484
+ :param _Address: 地址(人像面)
12432
12485
  注意:此字段可能返回 null,表示取不到有效值。
12433
12486
  :type Address: str
12434
- :param _Authority: 签发机关
12487
+ :param _Authority: 发证机关(国徽面)
12435
12488
  注意:此字段可能返回 null,表示取不到有效值。
12436
12489
  :type Authority: str
12437
- :param _Birth: 出生日期
12490
+ :param _Birth: 出生日期(人像面)
12438
12491
  注意:此字段可能返回 null,表示取不到有效值。
12439
12492
  :type Birth: str
12440
- :param _IdNum: 身份证号
12493
+ :param _IdNum: 身份证号(人像面)
12441
12494
  注意:此字段可能返回 null,表示取不到有效值。
12442
12495
  :type IdNum: str
12443
- :param _Name: 名字
12496
+ :param _Name: 名字(人像面)
12444
12497
  注意:此字段可能返回 null,表示取不到有效值。
12445
12498
  :type Name: str
12446
- :param _Nation: 地区
12499
+ :param _Nation: 民族(人像面)
12447
12500
  注意:此字段可能返回 null,表示取不到有效值。
12448
12501
  :type Nation: str
12449
- :param _Sex: 性别
12502
+ :param _Sex: 性别(人像面)
12450
12503
  注意:此字段可能返回 null,表示取不到有效值。
12451
12504
  :type Sex: str
12452
- :param _ValidDate: 到期时间
12505
+ :param _ValidDate: 证件有效期(国徽面)
12453
12506
  注意:此字段可能返回 null,表示取不到有效值。
12454
12507
  :type ValidDate: str
12455
12508
  :param _RequestId: 请求的id
@@ -12463,6 +12516,8 @@ class IDCardInfoResult(AbstractModel):
12463
12516
  :type ErrorMessage: str
12464
12517
  :param _ImageUrl: 原图地址
12465
12518
  :type ImageUrl: str
12519
+ :param _PortraitUrl: 身份证头像照片的地址(人像面)
12520
+ :type PortraitUrl: str
12466
12521
  """
12467
12522
  self._WarnCodes = None
12468
12523
  self._Address = None
@@ -12477,6 +12532,7 @@ class IDCardInfoResult(AbstractModel):
12477
12532
  self._ErrorCode = None
12478
12533
  self._ErrorMessage = None
12479
12534
  self._ImageUrl = None
12535
+ self._PortraitUrl = None
12480
12536
 
12481
12537
  @property
12482
12538
  def WarnCodes(self):
@@ -12492,7 +12548,7 @@ class IDCardInfoResult(AbstractModel):
12492
12548
 
12493
12549
  @property
12494
12550
  def Address(self):
12495
- """地址
12551
+ """地址(人像面)
12496
12552
  注意:此字段可能返回 null,表示取不到有效值。
12497
12553
  :rtype: str
12498
12554
  """
@@ -12504,7 +12560,7 @@ class IDCardInfoResult(AbstractModel):
12504
12560
 
12505
12561
  @property
12506
12562
  def Authority(self):
12507
- """签发机关
12563
+ """发证机关(国徽面)
12508
12564
  注意:此字段可能返回 null,表示取不到有效值。
12509
12565
  :rtype: str
12510
12566
  """
@@ -12516,7 +12572,7 @@ class IDCardInfoResult(AbstractModel):
12516
12572
 
12517
12573
  @property
12518
12574
  def Birth(self):
12519
- """出生日期
12575
+ """出生日期(人像面)
12520
12576
  注意:此字段可能返回 null,表示取不到有效值。
12521
12577
  :rtype: str
12522
12578
  """
@@ -12528,7 +12584,7 @@ class IDCardInfoResult(AbstractModel):
12528
12584
 
12529
12585
  @property
12530
12586
  def IdNum(self):
12531
- """身份证号
12587
+ """身份证号(人像面)
12532
12588
  注意:此字段可能返回 null,表示取不到有效值。
12533
12589
  :rtype: str
12534
12590
  """
@@ -12540,7 +12596,7 @@ class IDCardInfoResult(AbstractModel):
12540
12596
 
12541
12597
  @property
12542
12598
  def Name(self):
12543
- """名字
12599
+ """名字(人像面)
12544
12600
  注意:此字段可能返回 null,表示取不到有效值。
12545
12601
  :rtype: str
12546
12602
  """
@@ -12552,7 +12608,7 @@ class IDCardInfoResult(AbstractModel):
12552
12608
 
12553
12609
  @property
12554
12610
  def Nation(self):
12555
- """地区
12611
+ """民族(人像面)
12556
12612
  注意:此字段可能返回 null,表示取不到有效值。
12557
12613
  :rtype: str
12558
12614
  """
@@ -12564,7 +12620,7 @@ class IDCardInfoResult(AbstractModel):
12564
12620
 
12565
12621
  @property
12566
12622
  def Sex(self):
12567
- """性别
12623
+ """性别(人像面)
12568
12624
  注意:此字段可能返回 null,表示取不到有效值。
12569
12625
  :rtype: str
12570
12626
  """
@@ -12576,7 +12632,7 @@ class IDCardInfoResult(AbstractModel):
12576
12632
 
12577
12633
  @property
12578
12634
  def ValidDate(self):
12579
- """到期时间
12635
+ """证件有效期(国徽面)
12580
12636
  注意:此字段可能返回 null,表示取不到有效值。
12581
12637
  :rtype: str
12582
12638
  """
@@ -12633,6 +12689,17 @@ class IDCardInfoResult(AbstractModel):
12633
12689
  def ImageUrl(self, ImageUrl):
12634
12690
  self._ImageUrl = ImageUrl
12635
12691
 
12692
+ @property
12693
+ def PortraitUrl(self):
12694
+ """身份证头像照片的地址(人像面)
12695
+ :rtype: str
12696
+ """
12697
+ return self._PortraitUrl
12698
+
12699
+ @PortraitUrl.setter
12700
+ def PortraitUrl(self, PortraitUrl):
12701
+ self._PortraitUrl = PortraitUrl
12702
+
12636
12703
 
12637
12704
  def _deserialize(self, params):
12638
12705
  self._WarnCodes = params.get("WarnCodes")
@@ -12648,6 +12715,7 @@ class IDCardInfoResult(AbstractModel):
12648
12715
  self._ErrorCode = params.get("ErrorCode")
12649
12716
  self._ErrorMessage = params.get("ErrorMessage")
12650
12717
  self._ImageUrl = params.get("ImageUrl")
12718
+ self._PortraitUrl = params.get("PortraitUrl")
12651
12719
  memeber_set = set(params.keys())
12652
12720
  for name, value in vars(self).items():
12653
12721
  property_name = name[1:]
@@ -2313,7 +2313,7 @@ class PostgresClient(AbstractClient):
2313
2313
 
2314
2314
 
2315
2315
  def UnlockAccount(self, request):
2316
- """解除数据库账号的锁定,解锁后账号可以登陆数据库。
2316
+ """解除数据库账号的锁定,解锁后账号可以登录数据库。
2317
2317
 
2318
2318
  :param request: Request instance for UnlockAccount.
2319
2319
  :type request: :class:`tencentcloud.postgres.v20170312.models.UnlockAccountRequest`