tencentcloud-sdk-python-intl-en 3.0.1247__py2.py3-none-any.whl → 3.0.1249__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ctsdb/__init__.py +0 -0
- tencentcloud/ctsdb/v20230202/__init__.py +0 -0
- tencentcloud/ctsdb/v20230202/ctsdb_client.py +78 -0
- tencentcloud/ctsdb/v20230202/errorcodes.py +24 -0
- tencentcloud/ctsdb/v20230202/models.py +1246 -0
- tencentcloud/mdp/v20200527/models.py +64 -0
- tencentcloud/ocr/v20181119/models.py +50 -30
- tencentcloud/vod/v20180717/models.py +513 -2
- tencentcloud/vod/v20180717/vod_client.py +29 -0
- {tencentcloud_sdk_python_intl_en-3.0.1247.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1247.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/RECORD +14 -9
- {tencentcloud_sdk_python_intl_en-3.0.1247.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1247.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/top_level.txt +0 -0
@@ -839,6 +839,10 @@ class CreateStreamPackageChannelEndpointRequest(AbstractModel):
|
|
839
839
|
:type TimeShiftEnable: bool
|
840
840
|
:param _TimeShiftDuration: The number of days to look back in TimeShift, up to 30 days is supported.
|
841
841
|
:type TimeShiftDuration: int
|
842
|
+
:param _DRMEnabled: Enable DRM. This is only effective for CMAF protocol.
|
843
|
+
:type DRMEnabled: bool
|
844
|
+
:param _DRMInfo: DRM configuration information.
|
845
|
+
:type DRMInfo: :class:`tencentcloud.mdp.v20200527.models.DRMInfo`
|
842
846
|
"""
|
843
847
|
self._Id = None
|
844
848
|
self._Name = None
|
@@ -847,6 +851,8 @@ class CreateStreamPackageChannelEndpointRequest(AbstractModel):
|
|
847
851
|
self._Manifest = None
|
848
852
|
self._TimeShiftEnable = None
|
849
853
|
self._TimeShiftDuration = None
|
854
|
+
self._DRMEnabled = None
|
855
|
+
self._DRMInfo = None
|
850
856
|
|
851
857
|
@property
|
852
858
|
def Id(self):
|
@@ -925,6 +931,28 @@ class CreateStreamPackageChannelEndpointRequest(AbstractModel):
|
|
925
931
|
def TimeShiftDuration(self, TimeShiftDuration):
|
926
932
|
self._TimeShiftDuration = TimeShiftDuration
|
927
933
|
|
934
|
+
@property
|
935
|
+
def DRMEnabled(self):
|
936
|
+
"""Enable DRM. This is only effective for CMAF protocol.
|
937
|
+
:rtype: bool
|
938
|
+
"""
|
939
|
+
return self._DRMEnabled
|
940
|
+
|
941
|
+
@DRMEnabled.setter
|
942
|
+
def DRMEnabled(self, DRMEnabled):
|
943
|
+
self._DRMEnabled = DRMEnabled
|
944
|
+
|
945
|
+
@property
|
946
|
+
def DRMInfo(self):
|
947
|
+
"""DRM configuration information.
|
948
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.DRMInfo`
|
949
|
+
"""
|
950
|
+
return self._DRMInfo
|
951
|
+
|
952
|
+
@DRMInfo.setter
|
953
|
+
def DRMInfo(self, DRMInfo):
|
954
|
+
self._DRMInfo = DRMInfo
|
955
|
+
|
928
956
|
|
929
957
|
def _deserialize(self, params):
|
930
958
|
self._Id = params.get("Id")
|
@@ -936,6 +964,10 @@ class CreateStreamPackageChannelEndpointRequest(AbstractModel):
|
|
936
964
|
self._Manifest = params.get("Manifest")
|
937
965
|
self._TimeShiftEnable = params.get("TimeShiftEnable")
|
938
966
|
self._TimeShiftDuration = params.get("TimeShiftDuration")
|
967
|
+
self._DRMEnabled = params.get("DRMEnabled")
|
968
|
+
if params.get("DRMInfo") is not None:
|
969
|
+
self._DRMInfo = DRMInfo()
|
970
|
+
self._DRMInfo._deserialize(params.get("DRMInfo"))
|
939
971
|
memeber_set = set(params.keys())
|
940
972
|
for name, value in vars(self).items():
|
941
973
|
property_name = name[1:]
|
@@ -6764,6 +6796,10 @@ Calculation starts from the first '/' in the url path, and the subscript starts
|
|
6764
6796
|
:param _CustomUrlParam: Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex.
|
6765
6797
|
The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars.
|
6766
6798
|
:type CustomUrlParam: str
|
6799
|
+
:param _DRMEnabled: Enable DRM. This is only effective for CMAF protocol.
|
6800
|
+
:type DRMEnabled: bool
|
6801
|
+
:param _DRMInfo: DRM configuration information
|
6802
|
+
:type DRMInfo: :class:`tencentcloud.mdp.v20200527.models.DRMInfo`
|
6767
6803
|
"""
|
6768
6804
|
self._Id = None
|
6769
6805
|
self._Url = None
|
@@ -6776,6 +6812,8 @@ The parameters can only contain digits, letters, underscores (_), and hyphens (-
|
|
6776
6812
|
self._SSAIInfo = None
|
6777
6813
|
self._CustomUrlParamIndex = None
|
6778
6814
|
self._CustomUrlParam = None
|
6815
|
+
self._DRMEnabled = None
|
6816
|
+
self._DRMInfo = None
|
6779
6817
|
|
6780
6818
|
@property
|
6781
6819
|
def Id(self):
|
@@ -6900,6 +6938,28 @@ The parameters can only contain digits, letters, underscores (_), and hyphens (-
|
|
6900
6938
|
def CustomUrlParam(self, CustomUrlParam):
|
6901
6939
|
self._CustomUrlParam = CustomUrlParam
|
6902
6940
|
|
6941
|
+
@property
|
6942
|
+
def DRMEnabled(self):
|
6943
|
+
"""Enable DRM. This is only effective for CMAF protocol.
|
6944
|
+
:rtype: bool
|
6945
|
+
"""
|
6946
|
+
return self._DRMEnabled
|
6947
|
+
|
6948
|
+
@DRMEnabled.setter
|
6949
|
+
def DRMEnabled(self, DRMEnabled):
|
6950
|
+
self._DRMEnabled = DRMEnabled
|
6951
|
+
|
6952
|
+
@property
|
6953
|
+
def DRMInfo(self):
|
6954
|
+
"""DRM configuration information
|
6955
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.DRMInfo`
|
6956
|
+
"""
|
6957
|
+
return self._DRMInfo
|
6958
|
+
|
6959
|
+
@DRMInfo.setter
|
6960
|
+
def DRMInfo(self, DRMInfo):
|
6961
|
+
self._DRMInfo = DRMInfo
|
6962
|
+
|
6903
6963
|
|
6904
6964
|
def _deserialize(self, params):
|
6905
6965
|
self._Id = params.get("Id")
|
@@ -6917,6 +6977,10 @@ The parameters can only contain digits, letters, underscores (_), and hyphens (-
|
|
6917
6977
|
self._SSAIInfo._deserialize(params.get("SSAIInfo"))
|
6918
6978
|
self._CustomUrlParamIndex = params.get("CustomUrlParamIndex")
|
6919
6979
|
self._CustomUrlParam = params.get("CustomUrlParam")
|
6980
|
+
self._DRMEnabled = params.get("DRMEnabled")
|
6981
|
+
if params.get("DRMInfo") is not None:
|
6982
|
+
self._DRMInfo = DRMInfo()
|
6983
|
+
self._DRMInfo._deserialize(params.get("DRMInfo"))
|
6920
6984
|
memeber_set = set(params.keys())
|
6921
6985
|
for name, value in vars(self).items():
|
6922
6986
|
property_name = name[1:]
|
@@ -4516,22 +4516,11 @@ class MLIDPassportOCRResponse(AbstractModel):
|
|
4516
4516
|
:type IssuingCountry: str
|
4517
4517
|
:param _Nationality: Country/region code
|
4518
4518
|
:type Nationality: str
|
4519
|
-
:param _Warn:
|
4520
|
-
-9102 Alarm for photocopy on a paper document (including black & white and color ones)
|
4521
|
-
-9103 Alarm for photocopy on an electronic device
|
4522
|
-
-9106 Alarm for covered card
|
4519
|
+
:param _Warn: This field is deprecated and will always return an empty array. Usage is not recommended.
|
4523
4520
|
:type Warn: list of int
|
4524
4521
|
:param _Image: Identity photo
|
4525
4522
|
:type Image: str
|
4526
|
-
:param _AdvancedInfo:
|
4527
|
-
{
|
4528
|
-
ID:{
|
4529
|
-
Confidence:0.9999
|
4530
|
-
},
|
4531
|
-
Name:{
|
4532
|
-
Confidence:0.9996
|
4533
|
-
}
|
4534
|
-
}
|
4523
|
+
:param _AdvancedInfo: This field is deprecated and will always return "1". Usage is not recommended.
|
4535
4524
|
:type AdvancedInfo: str
|
4536
4525
|
:param _CodeSet: The first row of the machine-readable zone (MRZ) at the bottom
|
4537
4526
|
:type CodeSet: str
|
@@ -4557,6 +4546,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4557
4546
|
-9108 Alarm for blurry image,
|
4558
4547
|
-9109 This capability is not enabled.
|
4559
4548
|
:type WarnCardInfos: list of int
|
4549
|
+
:param _CardCount: The number of cards detected in the input image.(Currently supported only in ap-bangkok region)
|
4550
|
+
:type CardCount: int
|
4560
4551
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
4561
4552
|
:type RequestId: str
|
4562
4553
|
"""
|
@@ -4577,6 +4568,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4577
4568
|
self._Type = None
|
4578
4569
|
self._PassportRecognizeInfos = None
|
4579
4570
|
self._WarnCardInfos = None
|
4571
|
+
self._CardCount = None
|
4580
4572
|
self._RequestId = None
|
4581
4573
|
|
4582
4574
|
@property
|
@@ -4658,16 +4650,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4658
4650
|
|
4659
4651
|
@property
|
4660
4652
|
def Warn(self):
|
4661
|
-
""
|
4662
|
-
|
4663
|
-
|
4664
|
-
-9106 Alarm for covered card
|
4653
|
+
warnings.warn("parameter `Warn` is deprecated", DeprecationWarning)
|
4654
|
+
|
4655
|
+
"""This field is deprecated and will always return an empty array. Usage is not recommended.
|
4665
4656
|
:rtype: list of int
|
4666
4657
|
"""
|
4667
4658
|
return self._Warn
|
4668
4659
|
|
4669
4660
|
@Warn.setter
|
4670
4661
|
def Warn(self, Warn):
|
4662
|
+
warnings.warn("parameter `Warn` is deprecated", DeprecationWarning)
|
4663
|
+
|
4671
4664
|
self._Warn = Warn
|
4672
4665
|
|
4673
4666
|
@property
|
@@ -4683,21 +4676,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4683
4676
|
|
4684
4677
|
@property
|
4685
4678
|
def AdvancedInfo(self):
|
4686
|
-
""
|
4687
|
-
|
4688
|
-
|
4689
|
-
Confidence:0.9999
|
4690
|
-
},
|
4691
|
-
Name:{
|
4692
|
-
Confidence:0.9996
|
4693
|
-
}
|
4694
|
-
}
|
4679
|
+
warnings.warn("parameter `AdvancedInfo` is deprecated", DeprecationWarning)
|
4680
|
+
|
4681
|
+
"""This field is deprecated and will always return "1". Usage is not recommended.
|
4695
4682
|
:rtype: str
|
4696
4683
|
"""
|
4697
4684
|
return self._AdvancedInfo
|
4698
4685
|
|
4699
4686
|
@AdvancedInfo.setter
|
4700
4687
|
def AdvancedInfo(self, AdvancedInfo):
|
4688
|
+
warnings.warn("parameter `AdvancedInfo` is deprecated", DeprecationWarning)
|
4689
|
+
|
4701
4690
|
self._AdvancedInfo = AdvancedInfo
|
4702
4691
|
|
4703
4692
|
@property
|
@@ -4787,6 +4776,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4787
4776
|
def WarnCardInfos(self, WarnCardInfos):
|
4788
4777
|
self._WarnCardInfos = WarnCardInfos
|
4789
4778
|
|
4779
|
+
@property
|
4780
|
+
def CardCount(self):
|
4781
|
+
"""The number of cards detected in the input image.(Currently supported only in ap-bangkok region)
|
4782
|
+
:rtype: int
|
4783
|
+
"""
|
4784
|
+
return self._CardCount
|
4785
|
+
|
4786
|
+
@CardCount.setter
|
4787
|
+
def CardCount(self, CardCount):
|
4788
|
+
self._CardCount = CardCount
|
4789
|
+
|
4790
4790
|
@property
|
4791
4791
|
def RequestId(self):
|
4792
4792
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
@@ -4819,6 +4819,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4819
4819
|
self._PassportRecognizeInfos = PassportRecognizeInfos()
|
4820
4820
|
self._PassportRecognizeInfos._deserialize(params.get("PassportRecognizeInfos"))
|
4821
4821
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
4822
|
+
self._CardCount = params.get("CardCount")
|
4822
4823
|
self._RequestId = params.get("RequestId")
|
4823
4824
|
|
4824
4825
|
|
@@ -13371,13 +13372,15 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
13371
13372
|
-9101 Alarm for covered certificate,
|
13372
13373
|
-9102 Alarm for photocopied certificate,
|
13373
13374
|
-9103 Alarm for photographed certificate,
|
13375
|
+
-9104 Alarm for PS certificate,
|
13374
13376
|
-9107 Alarm for reflective certificate,
|
13375
13377
|
-9108 Alarm for blurry image,
|
13376
13378
|
-9109 This capability is not enabled.
|
13377
13379
|
:type WarnCardInfos: list of int
|
13378
|
-
:param _AdvancedInfo:
|
13379
|
-
{ "ID": { "Confidence": 0.9999 }, "ThaiName": { "Confidence": 0.9996 } }
|
13380
|
+
:param _AdvancedInfo: This field is deprecated and will always return "1". Usage is not recommended.
|
13380
13381
|
:type AdvancedInfo: str
|
13382
|
+
:param _CardCount: The number of cards detected in the input image provided via ImageBase64 parameter.(Currently supported only in ap-bangkok region)
|
13383
|
+
:type CardCount: int
|
13381
13384
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
13382
13385
|
:type RequestId: str
|
13383
13386
|
"""
|
@@ -13398,6 +13401,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
13398
13401
|
self._PortraitImage = None
|
13399
13402
|
self._WarnCardInfos = None
|
13400
13403
|
self._AdvancedInfo = None
|
13404
|
+
self._CardCount = None
|
13401
13405
|
self._RequestId = None
|
13402
13406
|
|
13403
13407
|
@property
|
@@ -13572,6 +13576,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
13572
13576
|
-9101 Alarm for covered certificate,
|
13573
13577
|
-9102 Alarm for photocopied certificate,
|
13574
13578
|
-9103 Alarm for photographed certificate,
|
13579
|
+
-9104 Alarm for PS certificate,
|
13575
13580
|
-9107 Alarm for reflective certificate,
|
13576
13581
|
-9108 Alarm for blurry image,
|
13577
13582
|
-9109 This capability is not enabled.
|
@@ -13585,16 +13590,30 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
13585
13590
|
|
13586
13591
|
@property
|
13587
13592
|
def AdvancedInfo(self):
|
13588
|
-
""
|
13589
|
-
|
13593
|
+
warnings.warn("parameter `AdvancedInfo` is deprecated", DeprecationWarning)
|
13594
|
+
|
13595
|
+
"""This field is deprecated and will always return "1". Usage is not recommended.
|
13590
13596
|
:rtype: str
|
13591
13597
|
"""
|
13592
13598
|
return self._AdvancedInfo
|
13593
13599
|
|
13594
13600
|
@AdvancedInfo.setter
|
13595
13601
|
def AdvancedInfo(self, AdvancedInfo):
|
13602
|
+
warnings.warn("parameter `AdvancedInfo` is deprecated", DeprecationWarning)
|
13603
|
+
|
13596
13604
|
self._AdvancedInfo = AdvancedInfo
|
13597
13605
|
|
13606
|
+
@property
|
13607
|
+
def CardCount(self):
|
13608
|
+
"""The number of cards detected in the input image provided via ImageBase64 parameter.(Currently supported only in ap-bangkok region)
|
13609
|
+
:rtype: int
|
13610
|
+
"""
|
13611
|
+
return self._CardCount
|
13612
|
+
|
13613
|
+
@CardCount.setter
|
13614
|
+
def CardCount(self, CardCount):
|
13615
|
+
self._CardCount = CardCount
|
13616
|
+
|
13598
13617
|
@property
|
13599
13618
|
def RequestId(self):
|
13600
13619
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
@@ -13625,6 +13644,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
13625
13644
|
self._PortraitImage = params.get("PortraitImage")
|
13626
13645
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
13627
13646
|
self._AdvancedInfo = params.get("AdvancedInfo")
|
13647
|
+
self._CardCount = params.get("CardCount")
|
13628
13648
|
self._RequestId = params.get("RequestId")
|
13629
13649
|
|
13630
13650
|
|