tencentcloud-sdk-python 3.0.1129__py2.py3-none-any.whl → 3.0.1130__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

@@ -1462,6 +1462,8 @@ class CreateDocumentRequest(AbstractModel):
1462
1462
  2. 自动翻页:移除PPT上所有自动翻页设置,并设置为单击鼠标翻页
1463
1463
  3. 已损坏音视频:移除PPT上对损坏音视频的引用
1464
1464
  :type AutoHandleUnsupportedElement: bool
1465
+ :param _MinScaleResolution: 转码后文档的最小分辨率,不传、传空字符串或分辨率格式错误则使用文档原分辨率。示例:1280x720,注意分辨率宽高中间为英文字母"xyz"的"x"
1466
+ :type MinScaleResolution: str
1465
1467
  """
1466
1468
  self._SdkAppId = None
1467
1469
  self._DocumentUrl = None
@@ -1472,6 +1474,7 @@ class CreateDocumentRequest(AbstractModel):
1472
1474
  self._DocumentType = None
1473
1475
  self._DocumentSize = None
1474
1476
  self._AutoHandleUnsupportedElement = None
1477
+ self._MinScaleResolution = None
1475
1478
 
1476
1479
  @property
1477
1480
  def SdkAppId(self):
@@ -1545,6 +1548,14 @@ class CreateDocumentRequest(AbstractModel):
1545
1548
  def AutoHandleUnsupportedElement(self, AutoHandleUnsupportedElement):
1546
1549
  self._AutoHandleUnsupportedElement = AutoHandleUnsupportedElement
1547
1550
 
1551
+ @property
1552
+ def MinScaleResolution(self):
1553
+ return self._MinScaleResolution
1554
+
1555
+ @MinScaleResolution.setter
1556
+ def MinScaleResolution(self, MinScaleResolution):
1557
+ self._MinScaleResolution = MinScaleResolution
1558
+
1548
1559
 
1549
1560
  def _deserialize(self, params):
1550
1561
  self._SdkAppId = params.get("SdkAppId")
@@ -1556,6 +1567,7 @@ class CreateDocumentRequest(AbstractModel):
1556
1567
  self._DocumentType = params.get("DocumentType")
1557
1568
  self._DocumentSize = params.get("DocumentSize")
1558
1569
  self._AutoHandleUnsupportedElement = params.get("AutoHandleUnsupportedElement")
1570
+ self._MinScaleResolution = params.get("MinScaleResolution")
1559
1571
  memeber_set = set(params.keys())
1560
1572
  for name, value in vars(self).items():
1561
1573
  property_name = name[1:]
@@ -3377,6 +3389,10 @@ class DescribeDocumentResponse(AbstractModel):
3377
3389
  :type Pages: int
3378
3390
  :param _Preview: 课件预览地址
3379
3391
  :type Preview: str
3392
+ :param _Resolution: 文档的分辨率
3393
+ :type Resolution: str
3394
+ :param _MinScaleResolution: 转码后文档的最小分辨率,和创建文档时传入的参数一致。
3395
+ :type MinScaleResolution: str
3380
3396
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3381
3397
  :type RequestId: str
3382
3398
  """
@@ -3396,6 +3412,8 @@ class DescribeDocumentResponse(AbstractModel):
3396
3412
  self._UpdateTime = None
3397
3413
  self._Pages = None
3398
3414
  self._Preview = None
3415
+ self._Resolution = None
3416
+ self._MinScaleResolution = None
3399
3417
  self._RequestId = None
3400
3418
 
3401
3419
  @property
@@ -3526,6 +3544,22 @@ class DescribeDocumentResponse(AbstractModel):
3526
3544
  def Preview(self, Preview):
3527
3545
  self._Preview = Preview
3528
3546
 
3547
+ @property
3548
+ def Resolution(self):
3549
+ return self._Resolution
3550
+
3551
+ @Resolution.setter
3552
+ def Resolution(self, Resolution):
3553
+ self._Resolution = Resolution
3554
+
3555
+ @property
3556
+ def MinScaleResolution(self):
3557
+ return self._MinScaleResolution
3558
+
3559
+ @MinScaleResolution.setter
3560
+ def MinScaleResolution(self, MinScaleResolution):
3561
+ self._MinScaleResolution = MinScaleResolution
3562
+
3529
3563
  @property
3530
3564
  def RequestId(self):
3531
3565
  return self._RequestId
@@ -3552,6 +3586,8 @@ class DescribeDocumentResponse(AbstractModel):
3552
3586
  self._UpdateTime = params.get("UpdateTime")
3553
3587
  self._Pages = params.get("Pages")
3554
3588
  self._Preview = params.get("Preview")
3589
+ self._Resolution = params.get("Resolution")
3590
+ self._MinScaleResolution = params.get("MinScaleResolution")
3555
3591
  self._RequestId = params.get("RequestId")
3556
3592
 
3557
3593
 
@@ -5629,6 +5665,12 @@ class DocumentInfo(AbstractModel):
5629
5665
  :param _Preview: 课件预览地址
5630
5666
  注意:此字段可能返回 null,表示取不到有效值。
5631
5667
  :type Preview: str
5668
+ :param _Resolution: 文档的分辨率
5669
+ 注意:此字段可能返回 null,表示取不到有效值。
5670
+ :type Resolution: str
5671
+ :param _MinScaleResolution: 转码后文档的最小分辨率,和创建文档时传入的参数一致。
5672
+ 注意:此字段可能返回 null,表示取不到有效值。
5673
+ :type MinScaleResolution: str
5632
5674
  """
5633
5675
  self._DocumentId = None
5634
5676
  self._DocumentUrl = None
@@ -5649,6 +5691,8 @@ class DocumentInfo(AbstractModel):
5649
5691
  self._Height = None
5650
5692
  self._Cover = None
5651
5693
  self._Preview = None
5694
+ self._Resolution = None
5695
+ self._MinScaleResolution = None
5652
5696
 
5653
5697
  @property
5654
5698
  def DocumentId(self):
@@ -5802,6 +5846,22 @@ class DocumentInfo(AbstractModel):
5802
5846
  def Preview(self, Preview):
5803
5847
  self._Preview = Preview
5804
5848
 
5849
+ @property
5850
+ def Resolution(self):
5851
+ return self._Resolution
5852
+
5853
+ @Resolution.setter
5854
+ def Resolution(self, Resolution):
5855
+ self._Resolution = Resolution
5856
+
5857
+ @property
5858
+ def MinScaleResolution(self):
5859
+ return self._MinScaleResolution
5860
+
5861
+ @MinScaleResolution.setter
5862
+ def MinScaleResolution(self, MinScaleResolution):
5863
+ self._MinScaleResolution = MinScaleResolution
5864
+
5805
5865
 
5806
5866
  def _deserialize(self, params):
5807
5867
  self._DocumentId = params.get("DocumentId")
@@ -5823,6 +5883,8 @@ class DocumentInfo(AbstractModel):
5823
5883
  self._Height = params.get("Height")
5824
5884
  self._Cover = params.get("Cover")
5825
5885
  self._Preview = params.get("Preview")
5886
+ self._Resolution = params.get("Resolution")
5887
+ self._MinScaleResolution = params.get("MinScaleResolution")
5826
5888
  memeber_set = set(params.keys())
5827
5889
  for name, value in vars(self).items():
5828
5890
  property_name = name[1:]
@@ -4165,12 +4165,14 @@ class DescribeStorageCredentialResponse(AbstractModel):
4165
4165
  :type Bucket: str
4166
4166
  :param _Region: 对象存储可用区
4167
4167
  :type Region: str
4168
- :param _FilePath: 目录
4168
+ :param _FilePath: 文件存储目录
4169
4169
  :type FilePath: str
4170
4170
  :param _Type: 存储类型
4171
4171
  :type Type: str
4172
4172
  :param _CorpUin: 主号
4173
4173
  :type CorpUin: str
4174
+ :param _ImagePath: 图片存储目录
4175
+ :type ImagePath: str
4174
4176
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4175
4177
  :type RequestId: str
4176
4178
  """
@@ -4182,6 +4184,7 @@ class DescribeStorageCredentialResponse(AbstractModel):
4182
4184
  self._FilePath = None
4183
4185
  self._Type = None
4184
4186
  self._CorpUin = None
4187
+ self._ImagePath = None
4185
4188
  self._RequestId = None
4186
4189
 
4187
4190
  @property
@@ -4248,6 +4251,14 @@ class DescribeStorageCredentialResponse(AbstractModel):
4248
4251
  def CorpUin(self, CorpUin):
4249
4252
  self._CorpUin = CorpUin
4250
4253
 
4254
+ @property
4255
+ def ImagePath(self):
4256
+ return self._ImagePath
4257
+
4258
+ @ImagePath.setter
4259
+ def ImagePath(self, ImagePath):
4260
+ self._ImagePath = ImagePath
4261
+
4251
4262
  @property
4252
4263
  def RequestId(self):
4253
4264
  return self._RequestId
@@ -4268,6 +4279,7 @@ class DescribeStorageCredentialResponse(AbstractModel):
4268
4279
  self._FilePath = params.get("FilePath")
4269
4280
  self._Type = params.get("Type")
4270
4281
  self._CorpUin = params.get("CorpUin")
4282
+ self._ImagePath = params.get("ImagePath")
4271
4283
  self._RequestId = params.get("RequestId")
4272
4284
 
4273
4285
 
@@ -18522,16 +18522,16 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
18522
18522
  :type ThaiName: str
18523
18523
  :param _EnFirstName: 英文姓名
18524
18524
  :type EnFirstName: str
18525
- :param _Address: 地址
18526
- :type Address: str
18527
- :param _Birthday: 出生日期
18528
- :type Birthday: str
18529
- :param _IssueDate: 签发日期
18530
- :type IssueDate: str
18531
- :param _ExpirationDate: 到期日期
18532
- :type ExpirationDate: str
18533
18525
  :param _EnLastName: 英文姓名
18534
18526
  :type EnLastName: str
18527
+ :param _IssueDate: 泰文签发日期
18528
+ :type IssueDate: str
18529
+ :param _ExpirationDate: 泰文到期日期
18530
+ :type ExpirationDate: str
18531
+ :param _Birthday: 泰文出生日期
18532
+ :type Birthday: str
18533
+ :param _Address: 地址
18534
+ :type Address: str
18535
18535
  :param _PortraitImage: 证件人像照片抠取
18536
18536
  :type PortraitImage: str
18537
18537
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -18540,11 +18540,11 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
18540
18540
  self._ID = None
18541
18541
  self._ThaiName = None
18542
18542
  self._EnFirstName = None
18543
- self._Address = None
18544
- self._Birthday = None
18543
+ self._EnLastName = None
18545
18544
  self._IssueDate = None
18546
18545
  self._ExpirationDate = None
18547
- self._EnLastName = None
18546
+ self._Birthday = None
18547
+ self._Address = None
18548
18548
  self._PortraitImage = None
18549
18549
  self._RequestId = None
18550
18550
 
@@ -18573,20 +18573,12 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
18573
18573
  self._EnFirstName = EnFirstName
18574
18574
 
18575
18575
  @property
18576
- def Address(self):
18577
- return self._Address
18578
-
18579
- @Address.setter
18580
- def Address(self, Address):
18581
- self._Address = Address
18582
-
18583
- @property
18584
- def Birthday(self):
18585
- return self._Birthday
18576
+ def EnLastName(self):
18577
+ return self._EnLastName
18586
18578
 
18587
- @Birthday.setter
18588
- def Birthday(self, Birthday):
18589
- self._Birthday = Birthday
18579
+ @EnLastName.setter
18580
+ def EnLastName(self, EnLastName):
18581
+ self._EnLastName = EnLastName
18590
18582
 
18591
18583
  @property
18592
18584
  def IssueDate(self):
@@ -18605,12 +18597,20 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
18605
18597
  self._ExpirationDate = ExpirationDate
18606
18598
 
18607
18599
  @property
18608
- def EnLastName(self):
18609
- return self._EnLastName
18600
+ def Birthday(self):
18601
+ return self._Birthday
18610
18602
 
18611
- @EnLastName.setter
18612
- def EnLastName(self, EnLastName):
18613
- self._EnLastName = EnLastName
18603
+ @Birthday.setter
18604
+ def Birthday(self, Birthday):
18605
+ self._Birthday = Birthday
18606
+
18607
+ @property
18608
+ def Address(self):
18609
+ return self._Address
18610
+
18611
+ @Address.setter
18612
+ def Address(self, Address):
18613
+ self._Address = Address
18614
18614
 
18615
18615
  @property
18616
18616
  def PortraitImage(self):
@@ -18633,11 +18633,11 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
18633
18633
  self._ID = params.get("ID")
18634
18634
  self._ThaiName = params.get("ThaiName")
18635
18635
  self._EnFirstName = params.get("EnFirstName")
18636
- self._Address = params.get("Address")
18637
- self._Birthday = params.get("Birthday")
18636
+ self._EnLastName = params.get("EnLastName")
18638
18637
  self._IssueDate = params.get("IssueDate")
18639
18638
  self._ExpirationDate = params.get("ExpirationDate")
18640
- self._EnLastName = params.get("EnLastName")
18639
+ self._Birthday = params.get("Birthday")
18640
+ self._Address = params.get("Address")
18641
18641
  self._PortraitImage = params.get("PortraitImage")
18642
18642
  self._RequestId = params.get("RequestId")
18643
18643
 
@@ -902,9 +902,11 @@ AccountType是10004时,填入中国大陆标准11位手机号的MD5值
902
902
  MD5手机号加密方式,中国大陆11位手机号进行MD5加密,加密后取32位小写值
903
903
  设备号加密方式,对IMEI、IDFA明文进行MD5加密,加密后取32位小写值。
904
904
  :type AccountId: str
905
- :param _MobilePhone: MD5手机号,AccountType是10004时,此处无需重复填写。
905
+ :param _MobilePhone: 账号绑定的MD5手机号。
906
+ 注释:只支持标准中国大陆11位手机号MD5加密后位的32位小写字符串。
906
907
  :type MobilePhone: str
907
- :param _DeviceId: 用户设备号,AccountType是8时,此处无需重复填写。
908
+ :param _DeviceId: 用户设备号,支持IMEI、IMEIMD5、IDFA、IDFAMD5。
909
+ 注释:IMEIMD5、IDFAMD5加密方式,对IMEI、IDFA明文进行MD5加密,加密后取32位小写值。
908
910
  :type DeviceId: str
909
911
  """
910
912
  self._AccountId = None
@@ -1201,7 +1203,6 @@ class OutputManageMarketingRiskValue(AbstractModel):
1201
1203
  当AccountType为2时,对应微信的OpenId/UnionId。
1202
1204
  当AccountType为8时,对应IMEI、IDFA、IMEIMD5或者IDFAMD5。
1203
1205
  当AccountType为10004时,对应手机号的MD5值。
1204
- 请注意:此字段可能返回null,表示无法获取有效值。
1205
1206
  注意:此字段可能返回 null,表示取不到有效值。
1206
1207
  :type UserId: str
1207
1208
  :param _PostTime: 操作时间戳,单位秒(对应输入参数)。
@@ -17,9 +17,6 @@
17
17
  # 内部错误。
18
18
  INTERNALERROR = 'InternalError'
19
19
 
20
- # 账户余额不足
21
- INTERNALERROR_BALANCELESS = 'InternalError.BalanceLess'
22
-
23
20
  # 媒体库资源删除失败
24
21
  INTERNALERROR_MODIFYRESOURCESTATUSFAIL = 'InternalError.ModifyResourceStatusFail'
25
22
 
@@ -95,5 +92,8 @@ UNAUTHORIZEDOPERATION_SMSCODE = 'UnauthorizedOperation.SmsCode'
95
92
  # 短信验证码验证次数超限,请重新发送短信验证码。
96
93
  UNAUTHORIZEDOPERATION_SMSCODEEXCEEDED = 'UnauthorizedOperation.SmsCodeExceeded'
97
94
 
95
+ # 账户余额不足
96
+ UNSUPPORTEDOPERATION_BALANCELESS = 'UnsupportedOperation.BalanceLess'
97
+
98
98
  # 指定的目的不受支持。
99
99
  UNSUPPORTEDOPERATION_PURPOSE = 'UnsupportedOperation.Purpose'
@@ -2760,9 +2760,9 @@ class EnableInvokerResponse(AbstractModel):
2760
2760
 
2761
2761
 
2762
2762
  class Filter(AbstractModel):
2763
- """>描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
2764
- > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
2765
- > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
2763
+ """> 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
2764
+ > - 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
2765
+ > - 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
2766
2766
  >
2767
2767
  > 以[DescribeCommands](https://cloud.tencent.com/document/api/1340/52681)接口的`Filters`为例。若我们需要查询命令名称(`command-name`)为 “打印工作目录” ***并且*** 命令类型(`command-type`)为 “POWERSHELL” ***或者*** “BAT” 时,可如下实现:
2768
2768
  ```