tencentcloud-sdk-python 3.0.1212__py2.py3-none-any.whl → 3.0.1214__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/asr/v20190614/asr_client.py +7 -1
  3. tencentcloud/asr/v20190614/models.py +2 -0
  4. tencentcloud/ccc/v20200210/models.py +12 -0
  5. tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +23 -0
  6. tencentcloud/cdwdoris/v20211228/models.py +132 -0
  7. tencentcloud/cfg/v20210820/models.py +13 -0
  8. tencentcloud/cls/v20201016/models.py +244 -6
  9. tencentcloud/cwp/v20180228/models.py +38 -0
  10. tencentcloud/dbbrain/v20210527/models.py +210 -0
  11. tencentcloud/ess/v20201111/models.py +12 -0
  12. tencentcloud/facefusion/v20181201/models.py +9 -3
  13. tencentcloud/facefusion/v20220927/models.py +19 -7
  14. tencentcloud/faceid/v20180301/models.py +26 -0
  15. tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
  16. tencentcloud/ims/v20201229/ims_client.py +1 -1
  17. tencentcloud/ims/v20201229/models.py +1 -1
  18. tencentcloud/iotexplorer/v20190423/models.py +13 -5
  19. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  20. tencentcloud/lighthouse/v20200324/models.py +28 -0
  21. tencentcloud/lke/v20231130/models.py +20 -0
  22. tencentcloud/mps/v20190612/models.py +64 -5
  23. tencentcloud/ms/v20180408/ms_client.py +23 -69
  24. tencentcloud/ocr/v20181119/errorcodes.py +6 -0
  25. tencentcloud/ocr/v20181119/models.py +267 -1
  26. tencentcloud/ocr/v20181119/ocr_client.py +46 -0
  27. tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
  28. tencentcloud/sqlserver/v20180328/models.py +185 -1
  29. tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
  30. tencentcloud/tdmq/v20200217/models.py +25 -0
  31. tencentcloud/tiia/v20190529/models.py +0 -469
  32. tencentcloud/tiia/v20190529/tiia_client.py +0 -29
  33. tencentcloud/tmt/v20180321/models.py +1 -1
  34. tencentcloud/vod/v20180717/errorcodes.py +12 -0
  35. tencentcloud/vod/v20180717/models.py +81 -7
  36. tencentcloud/vpc/v20170312/models.py +104 -0
  37. {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/METADATA +1 -1
  38. {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/RECORD +41 -41
  39. {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/LICENSE +0 -0
  40. {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/WHEEL +0 -0
  41. {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/top_level.txt +0 -0
@@ -14082,6 +14082,9 @@ class DescribeRocketMQPublicAccessPointResponse(AbstractModel):
14082
14082
  :param _PayMode: 付费模式
14083
14083
  注意:此字段可能返回 null,表示取不到有效值。
14084
14084
  :type PayMode: int
14085
+ :param _BillingFlow: 公网是否按流量计费
14086
+ 注意:此字段可能返回 null,表示取不到有效值。
14087
+ :type BillingFlow: bool
14085
14088
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14086
14089
  :type RequestId: str
14087
14090
  """
@@ -14091,6 +14094,7 @@ class DescribeRocketMQPublicAccessPointResponse(AbstractModel):
14091
14094
  self._Rules = None
14092
14095
  self._Bandwidth = None
14093
14096
  self._PayMode = None
14097
+ self._BillingFlow = None
14094
14098
  self._RequestId = None
14095
14099
 
14096
14100
  @property
@@ -14141,6 +14145,14 @@ class DescribeRocketMQPublicAccessPointResponse(AbstractModel):
14141
14145
  def PayMode(self, PayMode):
14142
14146
  self._PayMode = PayMode
14143
14147
 
14148
+ @property
14149
+ def BillingFlow(self):
14150
+ return self._BillingFlow
14151
+
14152
+ @BillingFlow.setter
14153
+ def BillingFlow(self, BillingFlow):
14154
+ self._BillingFlow = BillingFlow
14155
+
14144
14156
  @property
14145
14157
  def RequestId(self):
14146
14158
  return self._RequestId
@@ -14162,6 +14174,7 @@ class DescribeRocketMQPublicAccessPointResponse(AbstractModel):
14162
14174
  self._Rules.append(obj)
14163
14175
  self._Bandwidth = params.get("Bandwidth")
14164
14176
  self._PayMode = params.get("PayMode")
14177
+ self._BillingFlow = params.get("BillingFlow")
14165
14178
  self._RequestId = params.get("RequestId")
14166
14179
 
14167
14180
 
@@ -27995,12 +28008,15 @@ class SetRocketMQPublicAccessPointRequest(AbstractModel):
27995
28008
  :type PayMode: int
27996
28009
  :param _Rules: 公网访问安全规则列表,Enabled为true时必须传入
27997
28010
  :type Rules: list of PublicAccessRule
28011
+ :param _BillingFlow: 公网是否按流量计费
28012
+ :type BillingFlow: bool
27998
28013
  """
27999
28014
  self._InstanceId = None
28000
28015
  self._Enabled = None
28001
28016
  self._Bandwidth = None
28002
28017
  self._PayMode = None
28003
28018
  self._Rules = None
28019
+ self._BillingFlow = None
28004
28020
 
28005
28021
  @property
28006
28022
  def InstanceId(self):
@@ -28042,6 +28058,14 @@ class SetRocketMQPublicAccessPointRequest(AbstractModel):
28042
28058
  def Rules(self, Rules):
28043
28059
  self._Rules = Rules
28044
28060
 
28061
+ @property
28062
+ def BillingFlow(self):
28063
+ return self._BillingFlow
28064
+
28065
+ @BillingFlow.setter
28066
+ def BillingFlow(self, BillingFlow):
28067
+ self._BillingFlow = BillingFlow
28068
+
28045
28069
 
28046
28070
  def _deserialize(self, params):
28047
28071
  self._InstanceId = params.get("InstanceId")
@@ -28054,6 +28078,7 @@ class SetRocketMQPublicAccessPointRequest(AbstractModel):
28054
28078
  obj = PublicAccessRule()
28055
28079
  obj._deserialize(item)
28056
28080
  self._Rules.append(obj)
28081
+ self._BillingFlow = params.get("BillingFlow")
28057
28082
  memeber_set = set(params.keys())
28058
28083
  for name, value in vars(self).items():
28059
28084
  property_name = name[1:]
@@ -2746,142 +2746,6 @@ class DetectPetResponse(AbstractModel):
2746
2746
  self._RequestId = params.get("RequestId")
2747
2747
 
2748
2748
 
2749
- class DetectProductBetaRequest(AbstractModel):
2750
- """DetectProductBeta请求参数结构体
2751
-
2752
- """
2753
-
2754
- def __init__(self):
2755
- r"""
2756
- :param _ImageUrl: 图片限制:内测版仅支持jpg、jpeg,图片大小不超过1M,分辨率在25万到100万之间。
2757
- 建议先对图片进行压缩,以便提升处理速度。
2758
- :type ImageUrl: str
2759
- :param _ImageBase64: 图片经过base64编码的内容。最大不超过1M,分辨率在25万到100万之间。
2760
- 与ImageUrl同时存在时优先使用ImageUrl字段。
2761
- :type ImageBase64: str
2762
- :param _NeedLemma: 是否需要百科信息 1:是,0: 否,默认是0
2763
- :type NeedLemma: int
2764
- """
2765
- self._ImageUrl = None
2766
- self._ImageBase64 = None
2767
- self._NeedLemma = None
2768
-
2769
- @property
2770
- def ImageUrl(self):
2771
- return self._ImageUrl
2772
-
2773
- @ImageUrl.setter
2774
- def ImageUrl(self, ImageUrl):
2775
- self._ImageUrl = ImageUrl
2776
-
2777
- @property
2778
- def ImageBase64(self):
2779
- return self._ImageBase64
2780
-
2781
- @ImageBase64.setter
2782
- def ImageBase64(self, ImageBase64):
2783
- self._ImageBase64 = ImageBase64
2784
-
2785
- @property
2786
- def NeedLemma(self):
2787
- return self._NeedLemma
2788
-
2789
- @NeedLemma.setter
2790
- def NeedLemma(self, NeedLemma):
2791
- self._NeedLemma = NeedLemma
2792
-
2793
-
2794
- def _deserialize(self, params):
2795
- self._ImageUrl = params.get("ImageUrl")
2796
- self._ImageBase64 = params.get("ImageBase64")
2797
- self._NeedLemma = params.get("NeedLemma")
2798
- memeber_set = set(params.keys())
2799
- for name, value in vars(self).items():
2800
- property_name = name[1:]
2801
- if property_name in memeber_set:
2802
- memeber_set.remove(property_name)
2803
- if len(memeber_set) > 0:
2804
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2805
-
2806
-
2807
-
2808
- class DetectProductBetaResponse(AbstractModel):
2809
- """DetectProductBeta返回参数结构体
2810
-
2811
- """
2812
-
2813
- def __init__(self):
2814
- r"""
2815
- :param _RegionDetected: 检测到的图片中的商品位置和品类预测。
2816
- 当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。
2817
- 最多可以输出__3组__检测结果。
2818
- :type RegionDetected: list of RegionDetected
2819
- :param _ProductInfo: 图像识别出的商品的详细信息。
2820
- 当图像中检测到多个物品时,会对显著性最高的进行识别。
2821
- :type ProductInfo: :class:`tencentcloud.tiia.v20190529.models.ProductInfo`
2822
- :param _ProductInfoList: 相似商品信息列表
2823
- 注意:此字段可能返回 null,表示取不到有效值。
2824
- :type ProductInfoList: list of ProductInfo
2825
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2826
- :type RequestId: str
2827
- """
2828
- self._RegionDetected = None
2829
- self._ProductInfo = None
2830
- self._ProductInfoList = None
2831
- self._RequestId = None
2832
-
2833
- @property
2834
- def RegionDetected(self):
2835
- return self._RegionDetected
2836
-
2837
- @RegionDetected.setter
2838
- def RegionDetected(self, RegionDetected):
2839
- self._RegionDetected = RegionDetected
2840
-
2841
- @property
2842
- def ProductInfo(self):
2843
- return self._ProductInfo
2844
-
2845
- @ProductInfo.setter
2846
- def ProductInfo(self, ProductInfo):
2847
- self._ProductInfo = ProductInfo
2848
-
2849
- @property
2850
- def ProductInfoList(self):
2851
- return self._ProductInfoList
2852
-
2853
- @ProductInfoList.setter
2854
- def ProductInfoList(self, ProductInfoList):
2855
- self._ProductInfoList = ProductInfoList
2856
-
2857
- @property
2858
- def RequestId(self):
2859
- return self._RequestId
2860
-
2861
- @RequestId.setter
2862
- def RequestId(self, RequestId):
2863
- self._RequestId = RequestId
2864
-
2865
-
2866
- def _deserialize(self, params):
2867
- if params.get("RegionDetected") is not None:
2868
- self._RegionDetected = []
2869
- for item in params.get("RegionDetected"):
2870
- obj = RegionDetected()
2871
- obj._deserialize(item)
2872
- self._RegionDetected.append(obj)
2873
- if params.get("ProductInfo") is not None:
2874
- self._ProductInfo = ProductInfo()
2875
- self._ProductInfo._deserialize(params.get("ProductInfo"))
2876
- if params.get("ProductInfoList") is not None:
2877
- self._ProductInfoList = []
2878
- for item in params.get("ProductInfoList"):
2879
- obj = ProductInfo()
2880
- obj._deserialize(item)
2881
- self._ProductInfoList.append(obj)
2882
- self._RequestId = params.get("RequestId")
2883
-
2884
-
2885
2749
  class DetectProductRequest(AbstractModel):
2886
2750
  """DetectProduct请求参数结构体
2887
2751
 
@@ -3521,135 +3385,6 @@ class ImageTag(AbstractModel):
3521
3385
 
3522
3386
 
3523
3387
 
3524
- class LemmaInfo(AbstractModel):
3525
- """百科词条信息
3526
-
3527
- """
3528
-
3529
- def __init__(self):
3530
- r"""
3531
- :param _LemmaTitle: 词条
3532
- 注意:此字段可能返回 null,表示取不到有效值。
3533
- :type LemmaTitle: str
3534
- :param _LemmaAbstract: 词条描述
3535
- 注意:此字段可能返回 null,表示取不到有效值。
3536
- :type LemmaAbstract: str
3537
- :param _Tag: 标签
3538
- 注意:此字段可能返回 null,表示取不到有效值。
3539
- :type Tag: str
3540
- """
3541
- self._LemmaTitle = None
3542
- self._LemmaAbstract = None
3543
- self._Tag = None
3544
-
3545
- @property
3546
- def LemmaTitle(self):
3547
- return self._LemmaTitle
3548
-
3549
- @LemmaTitle.setter
3550
- def LemmaTitle(self, LemmaTitle):
3551
- self._LemmaTitle = LemmaTitle
3552
-
3553
- @property
3554
- def LemmaAbstract(self):
3555
- return self._LemmaAbstract
3556
-
3557
- @LemmaAbstract.setter
3558
- def LemmaAbstract(self, LemmaAbstract):
3559
- self._LemmaAbstract = LemmaAbstract
3560
-
3561
- @property
3562
- def Tag(self):
3563
- return self._Tag
3564
-
3565
- @Tag.setter
3566
- def Tag(self, Tag):
3567
- self._Tag = Tag
3568
-
3569
-
3570
- def _deserialize(self, params):
3571
- self._LemmaTitle = params.get("LemmaTitle")
3572
- self._LemmaAbstract = params.get("LemmaAbstract")
3573
- self._Tag = params.get("Tag")
3574
- memeber_set = set(params.keys())
3575
- for name, value in vars(self).items():
3576
- property_name = name[1:]
3577
- if property_name in memeber_set:
3578
- memeber_set.remove(property_name)
3579
- if len(memeber_set) > 0:
3580
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3581
-
3582
-
3583
-
3584
- class Location(AbstractModel):
3585
- """检测到的主体在图片中的矩形框位置(四个顶点坐标)
3586
-
3587
- """
3588
-
3589
- def __init__(self):
3590
- r"""
3591
- :param _XMin: 位置矩形框的左上角横坐标
3592
- :type XMin: int
3593
- :param _YMin: 位置矩形框的左上角纵坐标
3594
- :type YMin: int
3595
- :param _XMax: 位置矩形框的右下角横坐标
3596
- :type XMax: int
3597
- :param _YMax: 位置矩形框的右下角纵坐标
3598
- :type YMax: int
3599
- """
3600
- self._XMin = None
3601
- self._YMin = None
3602
- self._XMax = None
3603
- self._YMax = None
3604
-
3605
- @property
3606
- def XMin(self):
3607
- return self._XMin
3608
-
3609
- @XMin.setter
3610
- def XMin(self, XMin):
3611
- self._XMin = XMin
3612
-
3613
- @property
3614
- def YMin(self):
3615
- return self._YMin
3616
-
3617
- @YMin.setter
3618
- def YMin(self, YMin):
3619
- self._YMin = YMin
3620
-
3621
- @property
3622
- def XMax(self):
3623
- return self._XMax
3624
-
3625
- @XMax.setter
3626
- def XMax(self, XMax):
3627
- self._XMax = XMax
3628
-
3629
- @property
3630
- def YMax(self):
3631
- return self._YMax
3632
-
3633
- @YMax.setter
3634
- def YMax(self, YMax):
3635
- self._YMax = YMax
3636
-
3637
-
3638
- def _deserialize(self, params):
3639
- self._XMin = params.get("XMin")
3640
- self._YMin = params.get("YMin")
3641
- self._XMax = params.get("XMax")
3642
- self._YMax = params.get("YMax")
3643
- memeber_set = set(params.keys())
3644
- for name, value in vars(self).items():
3645
- property_name = name[1:]
3646
- if property_name in memeber_set:
3647
- memeber_set.remove(property_name)
3648
- if len(memeber_set) > 0:
3649
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3650
-
3651
-
3652
-
3653
3388
  class ObjectInfo(AbstractModel):
3654
3389
  """图像的主体信息。
3655
3390
 
@@ -3913,148 +3648,6 @@ class Product(AbstractModel):
3913
3648
 
3914
3649
 
3915
3650
 
3916
- class ProductInfo(AbstractModel):
3917
- """图像识别出的商品的详细信息。
3918
- 当图像中检测到多个物品时,会对显著性最高的物品进行识别。
3919
-
3920
- """
3921
-
3922
- def __init__(self):
3923
- r"""
3924
- :param _FindSKU: 1表示找到同款商品,以下字段为同款商品信息;
3925
- 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目和参考图片(商品库中找到的最相似图片,供参考)。
3926
- 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。
3927
- :type FindSKU: int
3928
- :param _Location: 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。
3929
- :type Location: :class:`tencentcloud.tiia.v20190529.models.Location`
3930
- :param _Name: 商品名称
3931
- :type Name: str
3932
- :param _Brand: 商品品牌
3933
- :type Brand: str
3934
- :param _Price: 参考价格,综合多个信息源,仅供参考。
3935
- :type Price: str
3936
- :param _ProductCategory: 识别结果的商品类目。
3937
- 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
3938
- 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。
3939
- :type ProductCategory: str
3940
- :param _Score: 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。
3941
- :type Score: float
3942
- :param _Image: 搜索到的商品配图URL。
3943
- :type Image: str
3944
- :param _LemmaInfoList: 百科词条列表
3945
- 注意:此字段可能返回 null,表示取不到有效值。
3946
- :type LemmaInfoList: list of LemmaInfo
3947
- """
3948
- self._FindSKU = None
3949
- self._Location = None
3950
- self._Name = None
3951
- self._Brand = None
3952
- self._Price = None
3953
- self._ProductCategory = None
3954
- self._Score = None
3955
- self._Image = None
3956
- self._LemmaInfoList = None
3957
-
3958
- @property
3959
- def FindSKU(self):
3960
- return self._FindSKU
3961
-
3962
- @FindSKU.setter
3963
- def FindSKU(self, FindSKU):
3964
- self._FindSKU = FindSKU
3965
-
3966
- @property
3967
- def Location(self):
3968
- return self._Location
3969
-
3970
- @Location.setter
3971
- def Location(self, Location):
3972
- self._Location = Location
3973
-
3974
- @property
3975
- def Name(self):
3976
- return self._Name
3977
-
3978
- @Name.setter
3979
- def Name(self, Name):
3980
- self._Name = Name
3981
-
3982
- @property
3983
- def Brand(self):
3984
- return self._Brand
3985
-
3986
- @Brand.setter
3987
- def Brand(self, Brand):
3988
- self._Brand = Brand
3989
-
3990
- @property
3991
- def Price(self):
3992
- return self._Price
3993
-
3994
- @Price.setter
3995
- def Price(self, Price):
3996
- self._Price = Price
3997
-
3998
- @property
3999
- def ProductCategory(self):
4000
- return self._ProductCategory
4001
-
4002
- @ProductCategory.setter
4003
- def ProductCategory(self, ProductCategory):
4004
- self._ProductCategory = ProductCategory
4005
-
4006
- @property
4007
- def Score(self):
4008
- return self._Score
4009
-
4010
- @Score.setter
4011
- def Score(self, Score):
4012
- self._Score = Score
4013
-
4014
- @property
4015
- def Image(self):
4016
- return self._Image
4017
-
4018
- @Image.setter
4019
- def Image(self, Image):
4020
- self._Image = Image
4021
-
4022
- @property
4023
- def LemmaInfoList(self):
4024
- return self._LemmaInfoList
4025
-
4026
- @LemmaInfoList.setter
4027
- def LemmaInfoList(self, LemmaInfoList):
4028
- self._LemmaInfoList = LemmaInfoList
4029
-
4030
-
4031
- def _deserialize(self, params):
4032
- self._FindSKU = params.get("FindSKU")
4033
- if params.get("Location") is not None:
4034
- self._Location = Location()
4035
- self._Location._deserialize(params.get("Location"))
4036
- self._Name = params.get("Name")
4037
- self._Brand = params.get("Brand")
4038
- self._Price = params.get("Price")
4039
- self._ProductCategory = params.get("ProductCategory")
4040
- self._Score = params.get("Score")
4041
- self._Image = params.get("Image")
4042
- if params.get("LemmaInfoList") is not None:
4043
- self._LemmaInfoList = []
4044
- for item in params.get("LemmaInfoList"):
4045
- obj = LemmaInfo()
4046
- obj._deserialize(item)
4047
- self._LemmaInfoList.append(obj)
4048
- memeber_set = set(params.keys())
4049
- for name, value in vars(self).items():
4050
- property_name = name[1:]
4051
- if property_name in memeber_set:
4052
- memeber_set.remove(property_name)
4053
- if len(memeber_set) > 0:
4054
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4055
-
4056
-
4057
-
4058
3651
  class RecognizeCarProRequest(AbstractModel):
4059
3652
  """RecognizeCarPro请求参数结构体
4060
3653
 
@@ -4351,68 +3944,6 @@ class Rect(AbstractModel):
4351
3944
 
4352
3945
 
4353
3946
 
4354
- class RegionDetected(AbstractModel):
4355
- """检测到的图片中的商品位置和品类预测。
4356
- 当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。
4357
- 最多可以输出__3组__检测结果。
4358
-
4359
- """
4360
-
4361
- def __init__(self):
4362
- r"""
4363
- :param _Category: 商品的品类预测结果。
4364
- 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
4365
- :type Category: str
4366
- :param _CategoryScore: 商品品类预测的置信度
4367
- :type CategoryScore: float
4368
- :param _Location: 检测到的主体在图片中的坐标,表示为矩形框的四个顶点坐标
4369
- :type Location: :class:`tencentcloud.tiia.v20190529.models.Location`
4370
- """
4371
- self._Category = None
4372
- self._CategoryScore = None
4373
- self._Location = None
4374
-
4375
- @property
4376
- def Category(self):
4377
- return self._Category
4378
-
4379
- @Category.setter
4380
- def Category(self, Category):
4381
- self._Category = Category
4382
-
4383
- @property
4384
- def CategoryScore(self):
4385
- return self._CategoryScore
4386
-
4387
- @CategoryScore.setter
4388
- def CategoryScore(self, CategoryScore):
4389
- self._CategoryScore = CategoryScore
4390
-
4391
- @property
4392
- def Location(self):
4393
- return self._Location
4394
-
4395
- @Location.setter
4396
- def Location(self, Location):
4397
- self._Location = Location
4398
-
4399
-
4400
- def _deserialize(self, params):
4401
- self._Category = params.get("Category")
4402
- self._CategoryScore = params.get("CategoryScore")
4403
- if params.get("Location") is not None:
4404
- self._Location = Location()
4405
- self._Location._deserialize(params.get("Location"))
4406
- memeber_set = set(params.keys())
4407
- for name, value in vars(self).items():
4408
- property_name = name[1:]
4409
- if property_name in memeber_set:
4410
- memeber_set.remove(property_name)
4411
- if len(memeber_set) > 0:
4412
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4413
-
4414
-
4415
-
4416
3947
  class SearchImageRequest(AbstractModel):
4417
3948
  """SearchImage请求参数结构体
4418
3949
 
@@ -499,35 +499,6 @@ class TiiaClient(AbstractClient):
499
499
  raise TencentCloudSDKException(type(e).__name__, str(e))
500
500
 
501
501
 
502
- def DetectProductBeta(self, request):
503
- """产品不再维护,准备下线。
504
-
505
- 商品识别-微信识物版,基于人工智能技术、海量训练图片、亿级商品库,可以实现全覆盖、细粒度、高准确率的商品识别和商品推荐功能。
506
- 本服务可以识别出图片中的主体位置、主体商品类型,覆盖亿级SKU,输出具体商品的价格、型号等详细信息。
507
- 客户无需自建商品库,即可快速实现商品识别、拍照搜商品等功能。
508
- >?
509
- - 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
510
-
511
- :param request: Request instance for DetectProductBeta.
512
- :type request: :class:`tencentcloud.tiia.v20190529.models.DetectProductBetaRequest`
513
- :rtype: :class:`tencentcloud.tiia.v20190529.models.DetectProductBetaResponse`
514
-
515
- """
516
- try:
517
- params = request._serialize()
518
- headers = request.headers
519
- body = self.call("DetectProductBeta", params, headers=headers)
520
- response = json.loads(body)
521
- model = models.DetectProductBetaResponse()
522
- model._deserialize(response["Response"])
523
- return model
524
- except Exception as e:
525
- if isinstance(e, TencentCloudSDKException):
526
- raise
527
- else:
528
- raise TencentCloudSDKException(type(e).__name__, str(e))
529
-
530
-
531
502
  def DetectSecurity(self, request):
532
503
  """安全属性识别可对图片中人体安全防护属性进行识别,支持识别安全帽,反光衣,护目镜,工服,手套,工地安全带,口罩,抽烟,玩手机等多种属性。
533
504
  "被优选过滤"标签值在人体优选开关开启时才会返回。
@@ -65,7 +65,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
65
65
  :type DocumentType: str
66
66
  :param _SourceType: 数据来源,0:url,1:直接传文件编码后数据
67
67
  :type SourceType: int
68
- :param _Url: 需要翻译文件url,文件限制如下:docx/xIsx/html/markdown文件不超过800万字符,doc/pdf/pptx文件不超过300页,txt/po文件不超过10MB,pdf/docx/pptx/xlsx不超过40MB
68
+ :param _Url: 需要翻译文件url,长度不超过256字符。文件限制如下:docx/xIsx/html/markdown文件不超过800万字符,doc/pdf/pptx文件不超过300页,txt/po文件不超过10MB,pdf/docx/pptx/xlsx不超过40MB
69
69
  :type Url: str
70
70
  :param _BasicDocumentType: 原始文档类型。该参数为高级参数,请留空,如需使用,请与工作人员确认后再使用。
71
71
  :type BasicDocumentType: str
@@ -458,6 +458,9 @@ INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = 'InvalidParameterValue.ReviewConfidence
458
458
  # 参数值错误:ReviewWallSwitch 参数取值非法。
459
459
  INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = 'InvalidParameterValue.ReviewWallSwitch'
460
460
 
461
+ # RoundPlaylist 参数长度错误。
462
+ INVALIDPARAMETERVALUE_ROUNDPLAYLIST = 'InvalidParameterValue.RoundPlaylist'
463
+
461
464
  # 参数值错误:RowCount。
462
465
  INVALIDPARAMETERVALUE_ROWCOUNT = 'InvalidParameterValue.RowCount'
463
466
 
@@ -641,6 +644,15 @@ LIMITEXCEEDED = 'LimitExceeded'
641
644
  # 超过限制值:新旧打点信息个数和超过限制值。
642
645
  LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = 'LimitExceeded.KeyFrameDescCountReachMax'
643
646
 
647
+ # 播放列表长度太大。
648
+ LIMITEXCEEDED_PLAYLIST = 'LimitExceeded.PlayList'
649
+
650
+ # 超过播单总数限制。
651
+ LIMITEXCEEDED_ROUNDPLAYS = 'LimitExceeded.RoundPlays'
652
+
653
+ # 运行中的播单超过最大数量。
654
+ LIMITEXCEEDED_RUNNINGROUNDPLAYS = 'LimitExceeded.RunningRoundPlays'
655
+
644
656
  # 超过限制值:新旧标签个数和超过限制值。
645
657
  LIMITEXCEEDED_TAGCOUNTREACHMAX = 'LimitExceeded.TagCountReachMax'
646
658