tencentcloud-sdk-python 3.0.1318__py2.py3-none-any.whl → 3.0.1320__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 (33) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/antiddos_client.py +1 -1
  3. tencentcloud/antiddos/v20200309/models.py +42 -72
  4. tencentcloud/cbs/v20170312/models.py +45 -0
  5. tencentcloud/cdb/v20170320/cdb_client.py +1 -0
  6. tencentcloud/cdb/v20170320/models.py +60 -18
  7. tencentcloud/csip/v20221121/models.py +0 -30
  8. tencentcloud/cwp/v20180228/models.py +17 -2
  9. tencentcloud/lcic/v20220817/lcic_client.py +23 -0
  10. tencentcloud/lcic/v20220817/models.py +94 -14
  11. tencentcloud/live/v20180801/models.py +90 -0
  12. tencentcloud/lke/v20231130/models.py +34 -0
  13. tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
  14. tencentcloud/lkeap/v20240522/models.py +110 -0
  15. tencentcloud/ocr/v20181119/models.py +46 -16
  16. tencentcloud/postgres/v20170312/postgres_client.py +1 -1
  17. tencentcloud/rum/v20210622/models.py +4 -0
  18. tencentcloud/smh/v20210712/models.py +32 -8
  19. tencentcloud/ssl/v20191205/models.py +1461 -399
  20. tencentcloud/ssl/v20191205/ssl_client.py +6 -6
  21. tencentcloud/tdmq/v20200217/models.py +166 -0
  22. tencentcloud/teo/v20220901/models.py +10 -14
  23. tencentcloud/thpc/v20230321/models.py +30 -0
  24. tencentcloud/trocket/v20230308/models.py +218 -15
  25. tencentcloud/trocket/v20230308/trocket_client.py +1 -0
  26. tencentcloud/vpc/v20170312/models.py +20 -12
  27. tencentcloud/wedata/v20210820/models.py +39 -4
  28. tencentcloud/wedata/v20210820/wedata_client.py +8 -2
  29. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/METADATA +1 -1
  30. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/RECORD +33 -33
  31. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/LICENSE +0 -0
  32. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/WHEEL +0 -0
  33. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/top_level.txt +0 -0
@@ -4747,6 +4747,116 @@ class UploadDocRealtimeRequest(AbstractModel):
4747
4747
 
4748
4748
  """
4749
4749
 
4750
+ def __init__(self):
4751
+ r"""
4752
+ :param _KnowledgeBaseId: 知识库ID
4753
+ :type KnowledgeBaseId: str
4754
+ :param _FileName: 文件名,可选。
4755
+ **需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。
4756
+ :type FileName: str
4757
+ :param _FileType: 文件类型。
4758
+ **支持的文件类型:**
4759
+ - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
4760
+
4761
+ **支持的文件大小:**
4762
+ - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
4763
+ - `TXT`、`MD` 最大10M
4764
+ - 其他 最大20M
4765
+ :type FileType: str
4766
+ :param _FileUrl: 文件的 URL 地址。
4767
+ 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。
4768
+ 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)
4769
+ :type FileUrl: str
4770
+ :param _ExpireTime: 过期时间的秒数,最长24小时,默认24小时
4771
+ :type ExpireTime: int
4772
+ """
4773
+ self._KnowledgeBaseId = None
4774
+ self._FileName = None
4775
+ self._FileType = None
4776
+ self._FileUrl = None
4777
+ self._ExpireTime = None
4778
+
4779
+ @property
4780
+ def KnowledgeBaseId(self):
4781
+ """知识库ID
4782
+ :rtype: str
4783
+ """
4784
+ return self._KnowledgeBaseId
4785
+
4786
+ @KnowledgeBaseId.setter
4787
+ def KnowledgeBaseId(self, KnowledgeBaseId):
4788
+ self._KnowledgeBaseId = KnowledgeBaseId
4789
+
4790
+ @property
4791
+ def FileName(self):
4792
+ """文件名,可选。
4793
+ **需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。
4794
+ :rtype: str
4795
+ """
4796
+ return self._FileName
4797
+
4798
+ @FileName.setter
4799
+ def FileName(self, FileName):
4800
+ self._FileName = FileName
4801
+
4802
+ @property
4803
+ def FileType(self):
4804
+ """文件类型。
4805
+ **支持的文件类型:**
4806
+ - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
4807
+
4808
+ **支持的文件大小:**
4809
+ - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
4810
+ - `TXT`、`MD` 最大10M
4811
+ - 其他 最大20M
4812
+ :rtype: str
4813
+ """
4814
+ return self._FileType
4815
+
4816
+ @FileType.setter
4817
+ def FileType(self, FileType):
4818
+ self._FileType = FileType
4819
+
4820
+ @property
4821
+ def FileUrl(self):
4822
+ """文件的 URL 地址。
4823
+ 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。
4824
+ 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)
4825
+ :rtype: str
4826
+ """
4827
+ return self._FileUrl
4828
+
4829
+ @FileUrl.setter
4830
+ def FileUrl(self, FileUrl):
4831
+ self._FileUrl = FileUrl
4832
+
4833
+ @property
4834
+ def ExpireTime(self):
4835
+ """过期时间的秒数,最长24小时,默认24小时
4836
+ :rtype: int
4837
+ """
4838
+ return self._ExpireTime
4839
+
4840
+ @ExpireTime.setter
4841
+ def ExpireTime(self, ExpireTime):
4842
+ self._ExpireTime = ExpireTime
4843
+
4844
+
4845
+ def _deserialize(self, params):
4846
+ self._KnowledgeBaseId = params.get("KnowledgeBaseId")
4847
+ self._FileName = params.get("FileName")
4848
+ self._FileType = params.get("FileType")
4849
+ self._FileUrl = params.get("FileUrl")
4850
+ self._ExpireTime = params.get("ExpireTime")
4851
+ memeber_set = set(params.keys())
4852
+ for name, value in vars(self).items():
4853
+ property_name = name[1:]
4854
+ if property_name in memeber_set:
4855
+ memeber_set.remove(property_name)
4856
+ if len(memeber_set) > 0:
4857
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4858
+
4859
+
4750
4860
 
4751
4861
  class UploadDocRealtimeResponse(AbstractModel):
4752
4862
  """UploadDocRealtime返回参数结构体
@@ -12143,6 +12143,8 @@ class IDCardConfig(AbstractModel):
12143
12143
  :type InvalidDateWarn: bool
12144
12144
  :param _ReflectWarn: 是否开启反光检测,默认为false
12145
12145
  :type ReflectWarn: bool
12146
+ :param _CropPortrait: 是否开启头像剪切
12147
+ :type CropPortrait: bool
12146
12148
  """
12147
12149
  self._CopyWarn = None
12148
12150
  self._BorderCheckWarn = None
@@ -12151,6 +12153,7 @@ class IDCardConfig(AbstractModel):
12151
12153
  self._TempIdWarn = None
12152
12154
  self._InvalidDateWarn = None
12153
12155
  self._ReflectWarn = None
12156
+ self._CropPortrait = None
12154
12157
 
12155
12158
  @property
12156
12159
  def CopyWarn(self):
@@ -12229,6 +12232,17 @@ class IDCardConfig(AbstractModel):
12229
12232
  def ReflectWarn(self, ReflectWarn):
12230
12233
  self._ReflectWarn = ReflectWarn
12231
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
+
12232
12246
 
12233
12247
  def _deserialize(self, params):
12234
12248
  self._CopyWarn = params.get("CopyWarn")
@@ -12238,6 +12252,7 @@ class IDCardConfig(AbstractModel):
12238
12252
  self._TempIdWarn = params.get("TempIdWarn")
12239
12253
  self._InvalidDateWarn = params.get("InvalidDateWarn")
12240
12254
  self._ReflectWarn = params.get("ReflectWarn")
12255
+ self._CropPortrait = params.get("CropPortrait")
12241
12256
  memeber_set = set(params.keys())
12242
12257
  for name, value in vars(self).items():
12243
12258
  property_name = name[1:]
@@ -12466,28 +12481,28 @@ class IDCardInfoResult(AbstractModel):
12466
12481
  :param _WarnCodes: 警告代码
12467
12482
  注意:此字段可能返回 null,表示取不到有效值。
12468
12483
  :type WarnCodes: list of int
12469
- :param _Address: 地址
12484
+ :param _Address: 地址(人像面)
12470
12485
  注意:此字段可能返回 null,表示取不到有效值。
12471
12486
  :type Address: str
12472
- :param _Authority: 签发机关
12487
+ :param _Authority: 发证机关(国徽面)
12473
12488
  注意:此字段可能返回 null,表示取不到有效值。
12474
12489
  :type Authority: str
12475
- :param _Birth: 出生日期
12490
+ :param _Birth: 出生日期(人像面)
12476
12491
  注意:此字段可能返回 null,表示取不到有效值。
12477
12492
  :type Birth: str
12478
- :param _IdNum: 身份证号
12493
+ :param _IdNum: 身份证号(人像面)
12479
12494
  注意:此字段可能返回 null,表示取不到有效值。
12480
12495
  :type IdNum: str
12481
- :param _Name: 名字
12496
+ :param _Name: 名字(人像面)
12482
12497
  注意:此字段可能返回 null,表示取不到有效值。
12483
12498
  :type Name: str
12484
- :param _Nation: 地区
12499
+ :param _Nation: 民族(人像面)
12485
12500
  注意:此字段可能返回 null,表示取不到有效值。
12486
12501
  :type Nation: str
12487
- :param _Sex: 性别
12502
+ :param _Sex: 性别(人像面)
12488
12503
  注意:此字段可能返回 null,表示取不到有效值。
12489
12504
  :type Sex: str
12490
- :param _ValidDate: 到期时间
12505
+ :param _ValidDate: 证件有效期(国徽面)
12491
12506
  注意:此字段可能返回 null,表示取不到有效值。
12492
12507
  :type ValidDate: str
12493
12508
  :param _RequestId: 请求的id
@@ -12501,6 +12516,8 @@ class IDCardInfoResult(AbstractModel):
12501
12516
  :type ErrorMessage: str
12502
12517
  :param _ImageUrl: 原图地址
12503
12518
  :type ImageUrl: str
12519
+ :param _PortraitUrl: 身份证头像照片的地址(人像面)
12520
+ :type PortraitUrl: str
12504
12521
  """
12505
12522
  self._WarnCodes = None
12506
12523
  self._Address = None
@@ -12515,6 +12532,7 @@ class IDCardInfoResult(AbstractModel):
12515
12532
  self._ErrorCode = None
12516
12533
  self._ErrorMessage = None
12517
12534
  self._ImageUrl = None
12535
+ self._PortraitUrl = None
12518
12536
 
12519
12537
  @property
12520
12538
  def WarnCodes(self):
@@ -12530,7 +12548,7 @@ class IDCardInfoResult(AbstractModel):
12530
12548
 
12531
12549
  @property
12532
12550
  def Address(self):
12533
- """地址
12551
+ """地址(人像面)
12534
12552
  注意:此字段可能返回 null,表示取不到有效值。
12535
12553
  :rtype: str
12536
12554
  """
@@ -12542,7 +12560,7 @@ class IDCardInfoResult(AbstractModel):
12542
12560
 
12543
12561
  @property
12544
12562
  def Authority(self):
12545
- """签发机关
12563
+ """发证机关(国徽面)
12546
12564
  注意:此字段可能返回 null,表示取不到有效值。
12547
12565
  :rtype: str
12548
12566
  """
@@ -12554,7 +12572,7 @@ class IDCardInfoResult(AbstractModel):
12554
12572
 
12555
12573
  @property
12556
12574
  def Birth(self):
12557
- """出生日期
12575
+ """出生日期(人像面)
12558
12576
  注意:此字段可能返回 null,表示取不到有效值。
12559
12577
  :rtype: str
12560
12578
  """
@@ -12566,7 +12584,7 @@ class IDCardInfoResult(AbstractModel):
12566
12584
 
12567
12585
  @property
12568
12586
  def IdNum(self):
12569
- """身份证号
12587
+ """身份证号(人像面)
12570
12588
  注意:此字段可能返回 null,表示取不到有效值。
12571
12589
  :rtype: str
12572
12590
  """
@@ -12578,7 +12596,7 @@ class IDCardInfoResult(AbstractModel):
12578
12596
 
12579
12597
  @property
12580
12598
  def Name(self):
12581
- """名字
12599
+ """名字(人像面)
12582
12600
  注意:此字段可能返回 null,表示取不到有效值。
12583
12601
  :rtype: str
12584
12602
  """
@@ -12590,7 +12608,7 @@ class IDCardInfoResult(AbstractModel):
12590
12608
 
12591
12609
  @property
12592
12610
  def Nation(self):
12593
- """地区
12611
+ """民族(人像面)
12594
12612
  注意:此字段可能返回 null,表示取不到有效值。
12595
12613
  :rtype: str
12596
12614
  """
@@ -12602,7 +12620,7 @@ class IDCardInfoResult(AbstractModel):
12602
12620
 
12603
12621
  @property
12604
12622
  def Sex(self):
12605
- """性别
12623
+ """性别(人像面)
12606
12624
  注意:此字段可能返回 null,表示取不到有效值。
12607
12625
  :rtype: str
12608
12626
  """
@@ -12614,7 +12632,7 @@ class IDCardInfoResult(AbstractModel):
12614
12632
 
12615
12633
  @property
12616
12634
  def ValidDate(self):
12617
- """到期时间
12635
+ """证件有效期(国徽面)
12618
12636
  注意:此字段可能返回 null,表示取不到有效值。
12619
12637
  :rtype: str
12620
12638
  """
@@ -12671,6 +12689,17 @@ class IDCardInfoResult(AbstractModel):
12671
12689
  def ImageUrl(self, ImageUrl):
12672
12690
  self._ImageUrl = ImageUrl
12673
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
+
12674
12703
 
12675
12704
  def _deserialize(self, params):
12676
12705
  self._WarnCodes = params.get("WarnCodes")
@@ -12686,6 +12715,7 @@ class IDCardInfoResult(AbstractModel):
12686
12715
  self._ErrorCode = params.get("ErrorCode")
12687
12716
  self._ErrorMessage = params.get("ErrorMessage")
12688
12717
  self._ImageUrl = params.get("ImageUrl")
12718
+ self._PortraitUrl = params.get("PortraitUrl")
12689
12719
  memeber_set = set(params.keys())
12690
12720
  for name, value in vars(self).items():
12691
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`
@@ -10049,6 +10049,8 @@ class DescribeTawInstancesRequest(AbstractModel):
10049
10049
 
10050
10050
  @property
10051
10051
  def InstanceStatuses(self):
10052
+ warnings.warn("parameter `InstanceStatuses` is deprecated", DeprecationWarning)
10053
+
10052
10054
  """实例状态(1=创建中,2=运行中,3=异常,4=重启中,5=停止中,6=已停止,7=销毁中,8=已销毁), 该参数已废弃,请在Filters内注明
10053
10055
  :rtype: list of int
10054
10056
  """
@@ -10056,6 +10058,8 @@ class DescribeTawInstancesRequest(AbstractModel):
10056
10058
 
10057
10059
  @InstanceStatuses.setter
10058
10060
  def InstanceStatuses(self, InstanceStatuses):
10061
+ warnings.warn("parameter `InstanceStatuses` is deprecated", DeprecationWarning)
10062
+
10059
10063
  self._InstanceStatuses = InstanceStatuses
10060
10064
 
10061
10065
  @property
@@ -568,16 +568,12 @@ class CreateUserResponse(AbstractModel):
568
568
  注意:此字段可能返回 null,表示取不到有效值。
569
569
  :type AccountUserId: str
570
570
  :param _Comment: 备注。
571
- 注意:此字段可能返回 null,表示取不到有效值。
572
571
  :type Comment: str
573
572
  :param _Nickname: 昵称。
574
- 注意:此字段可能返回 null,表示取不到有效值。
575
573
  :type Nickname: str
576
574
  :param _Avatar: 用户头像地址。
577
- 注意:此字段可能返回 null,表示取不到有效值。
578
575
  :type Avatar: str
579
576
  :param _Customize: 自定义信息。
580
- 注意:此字段可能返回 null,表示取不到有效值。
581
577
  :type Customize: str
582
578
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
583
579
  :type RequestId: str
@@ -716,7 +712,6 @@ class CreateUserResponse(AbstractModel):
716
712
  @property
717
713
  def Comment(self):
718
714
  """备注。
719
- 注意:此字段可能返回 null,表示取不到有效值。
720
715
  :rtype: str
721
716
  """
722
717
  return self._Comment
@@ -728,7 +723,6 @@ class CreateUserResponse(AbstractModel):
728
723
  @property
729
724
  def Nickname(self):
730
725
  """昵称。
731
- 注意:此字段可能返回 null,表示取不到有效值。
732
726
  :rtype: str
733
727
  """
734
728
  return self._Nickname
@@ -740,7 +734,6 @@ class CreateUserResponse(AbstractModel):
740
734
  @property
741
735
  def Avatar(self):
742
736
  """用户头像地址。
743
- 注意:此字段可能返回 null,表示取不到有效值。
744
737
  :rtype: str
745
738
  """
746
739
  return self._Avatar
@@ -752,7 +745,6 @@ class CreateUserResponse(AbstractModel):
752
745
  @property
753
746
  def Customize(self):
754
747
  """自定义信息。
755
- 注意:此字段可能返回 null,表示取不到有效值。
756
748
  :rtype: str
757
749
  """
758
750
  return self._Customize
@@ -1797,6 +1789,11 @@ class Instance(AbstractModel):
1797
1789
  :param _SuperAdminAccount: 超级管理员账号,如果未选择查询实例绑定的超级管理员账号或当前实例未绑定超级管理员账号,则该属性为 null。
1798
1790
  注意:此字段可能返回 null,表示取不到有效值。
1799
1791
  :type SuperAdminAccount: str
1792
+ :param _Bucket: 自选桶模式下,展示存储桶使用
1793
+ :type Bucket: str
1794
+ :param _LogBucket: 自选桶模式下,展示日志桶使用
1795
+ 注意:此字段可能返回 null,表示取不到有效值。
1796
+ :type LogBucket: str
1800
1797
  """
1801
1798
  self._InstanceId = None
1802
1799
  self._Domain = None
@@ -1808,6 +1805,8 @@ class Instance(AbstractModel):
1808
1805
  self._Isolated = None
1809
1806
  self._AutoRenew = None
1810
1807
  self._SuperAdminAccount = None
1808
+ self._Bucket = None
1809
+ self._LogBucket = None
1811
1810
 
1812
1811
  @property
1813
1812
  def InstanceId(self):
@@ -1925,6 +1924,29 @@ class Instance(AbstractModel):
1925
1924
  def SuperAdminAccount(self, SuperAdminAccount):
1926
1925
  self._SuperAdminAccount = SuperAdminAccount
1927
1926
 
1927
+ @property
1928
+ def Bucket(self):
1929
+ """自选桶模式下,展示存储桶使用
1930
+ :rtype: str
1931
+ """
1932
+ return self._Bucket
1933
+
1934
+ @Bucket.setter
1935
+ def Bucket(self, Bucket):
1936
+ self._Bucket = Bucket
1937
+
1938
+ @property
1939
+ def LogBucket(self):
1940
+ """自选桶模式下,展示日志桶使用
1941
+ 注意:此字段可能返回 null,表示取不到有效值。
1942
+ :rtype: str
1943
+ """
1944
+ return self._LogBucket
1945
+
1946
+ @LogBucket.setter
1947
+ def LogBucket(self, LogBucket):
1948
+ self._LogBucket = LogBucket
1949
+
1928
1950
 
1929
1951
  def _deserialize(self, params):
1930
1952
  self._InstanceId = params.get("InstanceId")
@@ -1937,6 +1959,8 @@ class Instance(AbstractModel):
1937
1959
  self._Isolated = params.get("Isolated")
1938
1960
  self._AutoRenew = params.get("AutoRenew")
1939
1961
  self._SuperAdminAccount = params.get("SuperAdminAccount")
1962
+ self._Bucket = params.get("Bucket")
1963
+ self._LogBucket = params.get("LogBucket")
1940
1964
  memeber_set = set(params.keys())
1941
1965
  for name, value in vars(self).items():
1942
1966
  property_name = name[1:]