tencentcloud-sdk-python 3.0.1319__py2.py3-none-any.whl → 3.0.1321__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 (31) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cbs/v20170312/models.py +15 -0
  3. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  4. tencentcloud/cdb/v20170320/cdb_client.py +1 -0
  5. tencentcloud/cdb/v20170320/models.py +60 -18
  6. tencentcloud/csip/v20221121/models.py +0 -30
  7. tencentcloud/essbasic/v20210526/models.py +4 -4
  8. tencentcloud/facefusion/v20220927/models.py +16 -4
  9. tencentcloud/gme/v20180711/models.py +0 -28
  10. tencentcloud/hunyuan/v20230901/models.py +15 -0
  11. tencentcloud/lcic/v20220817/models.py +0 -14
  12. tencentcloud/lighthouse/v20200324/models.py +4 -40
  13. tencentcloud/lke/v20231130/models.py +34 -0
  14. tencentcloud/lkeap/v20240522/lkeap_client.py +4 -3
  15. tencentcloud/lkeap/v20240522/models.py +116 -4
  16. tencentcloud/ocr/v20181119/models.py +352 -0
  17. tencentcloud/ocr/v20181119/ocr_client.py +23 -0
  18. tencentcloud/postgres/v20170312/models.py +1255 -91
  19. tencentcloud/postgres/v20170312/postgres_client.py +139 -0
  20. tencentcloud/ssl/v20191205/models.py +1467 -631
  21. tencentcloud/ssl/v20191205/ssl_client.py +6 -6
  22. tencentcloud/trabbit/__init__.py +0 -0
  23. tencentcloud/trabbit/v20230418/__init__.py +0 -0
  24. tencentcloud/trabbit/v20230418/errorcodes.py +75 -0
  25. tencentcloud/trabbit/v20230418/models.py +8390 -0
  26. tencentcloud/trabbit/v20230418/trabbit_client.py +693 -0
  27. {tencentcloud_sdk_python-3.0.1319.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/METADATA +1 -1
  28. {tencentcloud_sdk_python-3.0.1319.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/RECORD +31 -26
  29. {tencentcloud_sdk_python-3.0.1319.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/LICENSE +0 -0
  30. {tencentcloud_sdk_python-3.0.1319.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/WHEEL +0 -0
  31. {tencentcloud_sdk_python-3.0.1319.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1319'
17
+ __version__ = '3.0.1321'
@@ -1609,6 +1609,8 @@ class CreateDisksRequest(AbstractModel):
1609
1609
  :type DiskCount: int
1610
1610
  :param _ThroughputPerformance: 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
1611
1611
  :type ThroughputPerformance: int
1612
+ :param _KmsKeyId: 可选参数。购买加密盘时自定义密钥, 当传入该参数时, Encrypt入参不为空
1613
+ :type KmsKeyId: str
1612
1614
  :param _DiskSize: 云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
1613
1615
  :type DiskSize: int
1614
1616
  :param _Shareable: 可选参数,默认为False。传入True时,云盘将创建为共享型云盘。
@@ -1638,6 +1640,7 @@ class CreateDisksRequest(AbstractModel):
1638
1640
  self._SnapshotId = None
1639
1641
  self._DiskCount = None
1640
1642
  self._ThroughputPerformance = None
1643
+ self._KmsKeyId = None
1641
1644
  self._DiskSize = None
1642
1645
  self._Shareable = None
1643
1646
  self._ClientToken = None
@@ -1737,6 +1740,17 @@ class CreateDisksRequest(AbstractModel):
1737
1740
  def ThroughputPerformance(self, ThroughputPerformance):
1738
1741
  self._ThroughputPerformance = ThroughputPerformance
1739
1742
 
1743
+ @property
1744
+ def KmsKeyId(self):
1745
+ """可选参数。购买加密盘时自定义密钥, 当传入该参数时, Encrypt入参不为空
1746
+ :rtype: str
1747
+ """
1748
+ return self._KmsKeyId
1749
+
1750
+ @KmsKeyId.setter
1751
+ def KmsKeyId(self, KmsKeyId):
1752
+ self._KmsKeyId = KmsKeyId
1753
+
1740
1754
  @property
1741
1755
  def DiskSize(self):
1742
1756
  """云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
@@ -1864,6 +1878,7 @@ class CreateDisksRequest(AbstractModel):
1864
1878
  self._SnapshotId = params.get("SnapshotId")
1865
1879
  self._DiskCount = params.get("DiskCount")
1866
1880
  self._ThroughputPerformance = params.get("ThroughputPerformance")
1881
+ self._KmsKeyId = params.get("KmsKeyId")
1867
1882
  self._DiskSize = params.get("DiskSize")
1868
1883
  self._Shareable = params.get("Shareable")
1869
1884
  self._ClientToken = params.get("ClientToken")
@@ -14,6 +14,12 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
+ # 无可用的AI并发许可,请去控制台进行购买
18
+ FAILEDOPERATION_AICONCURRENTNOPACKAGE = 'FailedOperation.AIConcurrentNoPackage'
19
+
20
+ # AI并发超频
21
+ FAILEDOPERATION_AICONCURRENTOVERFREQUENCY = 'FailedOperation.AIConcurrentOverFrequency'
22
+
17
23
  # 外呼失败。
18
24
  FAILEDOPERATION_CALLOUTFAILED = 'FailedOperation.CallOutFailed'
19
25
 
@@ -3281,6 +3281,7 @@ class CdbClient(AbstractClient):
3281
3281
 
3282
3282
  def ModifyProtectMode(self, request):
3283
3283
  """该接口(ModifyProtectMode)用于修改实例的同步方式。
3284
+ 说明:仅专属集群可调用,该接口即将下线。
3284
3285
 
3285
3286
  :param request: Request instance for ModifyProtectMode.
3286
3287
  :type request: :class:`tencentcloud.cdb.v20170320.models.ModifyProtectModeRequest`
@@ -2878,29 +2878,37 @@ class AuditRuleTemplateInfo(AbstractModel):
2878
2878
 
2879
2879
 
2880
2880
  class AutoStrategy(AbstractModel):
2881
- """CPU弹性扩容的自动扩容策略
2881
+ """CPU 弹性扩容的自动扩容策略。
2882
2882
 
2883
2883
  """
2884
2884
 
2885
2885
  def __init__(self):
2886
2886
  r"""
2887
- :param _ExpandThreshold: 自动扩容阈值,可选值70、80、90,代表CPU利用率达到70%、80%、90%时后台进行自动扩容
2887
+ :param _ExpandThreshold: 自动扩容阈值,可选值40、50、60、70、80、90,代表 CPU 利用率达到40%、50%、60%、70%、80%、90%时后台进行自动扩容。
2888
2888
  :type ExpandThreshold: int
2889
- :param _ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2890
- :type ExpandPeriod: int
2891
2889
  :param _ShrinkThreshold: 自动缩容阈值,可选值10、20、30,代表CPU利用率达到10%、20%、30%时后台进行自动缩容
2892
2890
  :type ShrinkThreshold: int
2891
+ :param _ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2892
+ 注意:此字段可能返回 null,表示取不到有效值。
2893
+ :type ExpandPeriod: int
2893
2894
  :param _ShrinkPeriod: 自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
2895
+ 注意:此字段可能返回 null,表示取不到有效值。
2894
2896
  :type ShrinkPeriod: int
2897
+ :param _ExpandSecondPeriod: 弹性扩容观测周期(秒级)
2898
+ :type ExpandSecondPeriod: int
2899
+ :param _ShrinkSecondPeriod: 缩容观测周期(秒级)
2900
+ :type ShrinkSecondPeriod: int
2895
2901
  """
2896
2902
  self._ExpandThreshold = None
2897
- self._ExpandPeriod = None
2898
2903
  self._ShrinkThreshold = None
2904
+ self._ExpandPeriod = None
2899
2905
  self._ShrinkPeriod = None
2906
+ self._ExpandSecondPeriod = None
2907
+ self._ShrinkSecondPeriod = None
2900
2908
 
2901
2909
  @property
2902
2910
  def ExpandThreshold(self):
2903
- """自动扩容阈值,可选值70、80、90,代表CPU利用率达到70%、80%、90%时后台进行自动扩容
2911
+ """自动扩容阈值,可选值40、50、60、70、80、90,代表 CPU 利用率达到40%、50%、60%、70%、80%、90%时后台进行自动扩容。
2904
2912
  :rtype: int
2905
2913
  """
2906
2914
  return self._ExpandThreshold
@@ -2909,17 +2917,6 @@ class AutoStrategy(AbstractModel):
2909
2917
  def ExpandThreshold(self, ExpandThreshold):
2910
2918
  self._ExpandThreshold = ExpandThreshold
2911
2919
 
2912
- @property
2913
- def ExpandPeriod(self):
2914
- """自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2915
- :rtype: int
2916
- """
2917
- return self._ExpandPeriod
2918
-
2919
- @ExpandPeriod.setter
2920
- def ExpandPeriod(self, ExpandPeriod):
2921
- self._ExpandPeriod = ExpandPeriod
2922
-
2923
2920
  @property
2924
2921
  def ShrinkThreshold(self):
2925
2922
  """自动缩容阈值,可选值10、20、30,代表CPU利用率达到10%、20%、30%时后台进行自动缩容
@@ -2931,23 +2928,68 @@ class AutoStrategy(AbstractModel):
2931
2928
  def ShrinkThreshold(self, ShrinkThreshold):
2932
2929
  self._ShrinkThreshold = ShrinkThreshold
2933
2930
 
2931
+ @property
2932
+ def ExpandPeriod(self):
2933
+ warnings.warn("parameter `ExpandPeriod` is deprecated", DeprecationWarning)
2934
+
2935
+ """自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2936
+ 注意:此字段可能返回 null,表示取不到有效值。
2937
+ :rtype: int
2938
+ """
2939
+ return self._ExpandPeriod
2940
+
2941
+ @ExpandPeriod.setter
2942
+ def ExpandPeriod(self, ExpandPeriod):
2943
+ warnings.warn("parameter `ExpandPeriod` is deprecated", DeprecationWarning)
2944
+
2945
+ self._ExpandPeriod = ExpandPeriod
2946
+
2934
2947
  @property
2935
2948
  def ShrinkPeriod(self):
2949
+ warnings.warn("parameter `ShrinkPeriod` is deprecated", DeprecationWarning)
2950
+
2936
2951
  """自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
2952
+ 注意:此字段可能返回 null,表示取不到有效值。
2937
2953
  :rtype: int
2938
2954
  """
2939
2955
  return self._ShrinkPeriod
2940
2956
 
2941
2957
  @ShrinkPeriod.setter
2942
2958
  def ShrinkPeriod(self, ShrinkPeriod):
2959
+ warnings.warn("parameter `ShrinkPeriod` is deprecated", DeprecationWarning)
2960
+
2943
2961
  self._ShrinkPeriod = ShrinkPeriod
2944
2962
 
2963
+ @property
2964
+ def ExpandSecondPeriod(self):
2965
+ """弹性扩容观测周期(秒级)
2966
+ :rtype: int
2967
+ """
2968
+ return self._ExpandSecondPeriod
2969
+
2970
+ @ExpandSecondPeriod.setter
2971
+ def ExpandSecondPeriod(self, ExpandSecondPeriod):
2972
+ self._ExpandSecondPeriod = ExpandSecondPeriod
2973
+
2974
+ @property
2975
+ def ShrinkSecondPeriod(self):
2976
+ """缩容观测周期(秒级)
2977
+ :rtype: int
2978
+ """
2979
+ return self._ShrinkSecondPeriod
2980
+
2981
+ @ShrinkSecondPeriod.setter
2982
+ def ShrinkSecondPeriod(self, ShrinkSecondPeriod):
2983
+ self._ShrinkSecondPeriod = ShrinkSecondPeriod
2984
+
2945
2985
 
2946
2986
  def _deserialize(self, params):
2947
2987
  self._ExpandThreshold = params.get("ExpandThreshold")
2948
- self._ExpandPeriod = params.get("ExpandPeriod")
2949
2988
  self._ShrinkThreshold = params.get("ShrinkThreshold")
2989
+ self._ExpandPeriod = params.get("ExpandPeriod")
2950
2990
  self._ShrinkPeriod = params.get("ShrinkPeriod")
2991
+ self._ExpandSecondPeriod = params.get("ExpandSecondPeriod")
2992
+ self._ShrinkSecondPeriod = params.get("ShrinkSecondPeriod")
2951
2993
  memeber_set = set(params.keys())
2952
2994
  for name, value in vars(self).items():
2953
2995
  property_name = name[1:]
@@ -21919,10 +21919,8 @@ class StatisticalFilter(AbstractModel):
21919
21919
  1:发生次数高于固定值
21920
21920
  2:发生次数高于周期平均值的百分之
21921
21921
  3:发生次数高于用户平均值的百分之
21922
- 注意:此字段可能返回 null,表示取不到有效值。
21923
21922
  :type OperatorType: int
21924
21923
  :param _Value: 统计值
21925
- 注意:此字段可能返回 null,表示取不到有效值。
21926
21924
  :type Value: float
21927
21925
  """
21928
21926
  self._OperatorType = None
@@ -21934,7 +21932,6 @@ class StatisticalFilter(AbstractModel):
21934
21932
  1:发生次数高于固定值
21935
21933
  2:发生次数高于周期平均值的百分之
21936
21934
  3:发生次数高于用户平均值的百分之
21937
- 注意:此字段可能返回 null,表示取不到有效值。
21938
21935
  :rtype: int
21939
21936
  """
21940
21937
  return self._OperatorType
@@ -21946,7 +21943,6 @@ class StatisticalFilter(AbstractModel):
21946
21943
  @property
21947
21944
  def Value(self):
21948
21945
  """统计值
21949
- 注意:此字段可能返回 null,表示取不到有效值。
21950
21946
  :rtype: float
21951
21947
  """
21952
21948
  return self._Value
@@ -23865,15 +23861,12 @@ class UebaRule(AbstractModel):
23865
23861
  def __init__(self):
23866
23862
  r"""
23867
23863
  :param _RuleID: 策略id
23868
- 注意:此字段可能返回 null,表示取不到有效值。
23869
23864
  :type RuleID: str
23870
23865
  :param _RuleName: 规则名称
23871
- 注意:此字段可能返回 null,表示取不到有效值。
23872
23866
  :type RuleName: str
23873
23867
  :param _RuleType: 策略类型
23874
23868
  0:系统策略
23875
23869
  1:自定义策略
23876
- 注意:此字段可能返回 null,表示取不到有效值。
23877
23870
  :type RuleType: int
23878
23871
  :param _RuleLevel: 策略等级
23879
23872
  0:提示
@@ -23881,36 +23874,26 @@ class UebaRule(AbstractModel):
23881
23874
  2:中危
23882
23875
  3:高危
23883
23876
  4:严重
23884
- 注意:此字段可能返回 null,表示取不到有效值。
23885
23877
  :type RuleLevel: int
23886
23878
  :param _RuleContent: 策略内容
23887
- 注意:此字段可能返回 null,表示取不到有效值。
23888
23879
  :type RuleContent: str
23889
23880
  :param _RuleStatus: 策略开关
23890
- 注意:此字段可能返回 null,表示取不到有效值。
23891
23881
  :type RuleStatus: bool
23892
23882
  :param _HitCount: 命中次数
23893
- 注意:此字段可能返回 null,表示取不到有效值。
23894
23883
  :type HitCount: int
23895
23884
  :param _AppID: 所属账号Appid
23896
- 注意:此字段可能返回 null,表示取不到有效值。
23897
23885
  :type AppID: str
23898
23886
  :param _MemberID: 多账号,成员ID
23899
- 注意:此字段可能返回 null,表示取不到有效值。
23900
23887
  :type MemberID: str
23901
23888
  :param _Uin: Uin
23902
- 注意:此字段可能返回 null,表示取不到有效值。
23903
23889
  :type Uin: str
23904
23890
  :param _Nickname: 昵称
23905
- 注意:此字段可能返回 null,表示取不到有效值。
23906
23891
  :type Nickname: str
23907
23892
  :param _CustomRuleDetail: 自定义规则具体内容
23908
- 注意:此字段可能返回 null,表示取不到有效值。
23909
23893
  :type CustomRuleDetail: :class:`tencentcloud.csip.v20221121.models.UebaCustomRule`
23910
23894
  :param _CloudType: 云类型
23911
23895
  腾讯云:0
23912
23896
  aws:1
23913
- 注意:此字段可能返回 null,表示取不到有效值。
23914
23897
  :type CloudType: int
23915
23898
  """
23916
23899
  self._RuleID = None
@@ -23930,7 +23913,6 @@ aws:1
23930
23913
  @property
23931
23914
  def RuleID(self):
23932
23915
  """策略id
23933
- 注意:此字段可能返回 null,表示取不到有效值。
23934
23916
  :rtype: str
23935
23917
  """
23936
23918
  return self._RuleID
@@ -23942,7 +23924,6 @@ aws:1
23942
23924
  @property
23943
23925
  def RuleName(self):
23944
23926
  """规则名称
23945
- 注意:此字段可能返回 null,表示取不到有效值。
23946
23927
  :rtype: str
23947
23928
  """
23948
23929
  return self._RuleName
@@ -23956,7 +23937,6 @@ aws:1
23956
23937
  """策略类型
23957
23938
  0:系统策略
23958
23939
  1:自定义策略
23959
- 注意:此字段可能返回 null,表示取不到有效值。
23960
23940
  :rtype: int
23961
23941
  """
23962
23942
  return self._RuleType
@@ -23973,7 +23953,6 @@ aws:1
23973
23953
  2:中危
23974
23954
  3:高危
23975
23955
  4:严重
23976
- 注意:此字段可能返回 null,表示取不到有效值。
23977
23956
  :rtype: int
23978
23957
  """
23979
23958
  return self._RuleLevel
@@ -23985,7 +23964,6 @@ aws:1
23985
23964
  @property
23986
23965
  def RuleContent(self):
23987
23966
  """策略内容
23988
- 注意:此字段可能返回 null,表示取不到有效值。
23989
23967
  :rtype: str
23990
23968
  """
23991
23969
  return self._RuleContent
@@ -23997,7 +23975,6 @@ aws:1
23997
23975
  @property
23998
23976
  def RuleStatus(self):
23999
23977
  """策略开关
24000
- 注意:此字段可能返回 null,表示取不到有效值。
24001
23978
  :rtype: bool
24002
23979
  """
24003
23980
  return self._RuleStatus
@@ -24009,7 +23986,6 @@ aws:1
24009
23986
  @property
24010
23987
  def HitCount(self):
24011
23988
  """命中次数
24012
- 注意:此字段可能返回 null,表示取不到有效值。
24013
23989
  :rtype: int
24014
23990
  """
24015
23991
  return self._HitCount
@@ -24021,7 +23997,6 @@ aws:1
24021
23997
  @property
24022
23998
  def AppID(self):
24023
23999
  """所属账号Appid
24024
- 注意:此字段可能返回 null,表示取不到有效值。
24025
24000
  :rtype: str
24026
24001
  """
24027
24002
  return self._AppID
@@ -24033,7 +24008,6 @@ aws:1
24033
24008
  @property
24034
24009
  def MemberID(self):
24035
24010
  """多账号,成员ID
24036
- 注意:此字段可能返回 null,表示取不到有效值。
24037
24011
  :rtype: str
24038
24012
  """
24039
24013
  return self._MemberID
@@ -24045,7 +24019,6 @@ aws:1
24045
24019
  @property
24046
24020
  def Uin(self):
24047
24021
  """Uin
24048
- 注意:此字段可能返回 null,表示取不到有效值。
24049
24022
  :rtype: str
24050
24023
  """
24051
24024
  return self._Uin
@@ -24057,7 +24030,6 @@ aws:1
24057
24030
  @property
24058
24031
  def Nickname(self):
24059
24032
  """昵称
24060
- 注意:此字段可能返回 null,表示取不到有效值。
24061
24033
  :rtype: str
24062
24034
  """
24063
24035
  return self._Nickname
@@ -24069,7 +24041,6 @@ aws:1
24069
24041
  @property
24070
24042
  def CustomRuleDetail(self):
24071
24043
  """自定义规则具体内容
24072
- 注意:此字段可能返回 null,表示取不到有效值。
24073
24044
  :rtype: :class:`tencentcloud.csip.v20221121.models.UebaCustomRule`
24074
24045
  """
24075
24046
  return self._CustomRuleDetail
@@ -24083,7 +24054,6 @@ aws:1
24083
24054
  """云类型
24084
24055
  腾讯云:0
24085
24056
  aws:1
24086
- 注意:此字段可能返回 null,表示取不到有效值。
24087
24057
  :rtype: int
24088
24058
  """
24089
24059
  return self._CloudType
@@ -26967,10 +26967,10 @@ class ReleasedApprover(AbstractModel):
26967
26967
  如果签署方是企业签署方(approverType = 0 或者 approverType = 3), 则企业名称必填。
26968
26968
  :type OrganizationName: str
26969
26969
  :param _OrganizationOpenId: 第三方平台子客企业的唯一标识,定义Agent中的ProxyOrganizationOpenId一样, 可以参考<a href="https://qian.tencent.com/developers/partnerApis/dataTypes/#agent" target="_blank">Agent结构体</a>。
26970
- 当为子客企业指定经办人时,此OrganizationOpenId必传。
26970
+ <font color="red">当为子客企业指定经办人时,此OrganizationOpenId必传。</font>
26971
26971
  :type OrganizationOpenId: str
26972
26972
  :param _OpenId: 第三方平台子客企业员工的唯一标识,长度不能超过64,只能由字母和数字组成。
26973
- 当签署方为同一第三方平台下的员工时,此OpenId必传。
26973
+ <font color="red">当签署方为同一第三方平台下的员工时,此OpenId必传。</font>
26974
26974
  :type OpenId: str
26975
26975
  :param _ApproverSignComponentType: 签署控件类型,支持自定义企业签署方的签署控件类型
26976
26976
  <ul><li> **SIGN_SEAL**:默认为印章控件类型(默认值)</li>
@@ -27103,7 +27103,7 @@ class ReleasedApprover(AbstractModel):
27103
27103
  @property
27104
27104
  def OrganizationOpenId(self):
27105
27105
  """第三方平台子客企业的唯一标识,定义Agent中的ProxyOrganizationOpenId一样, 可以参考<a href="https://qian.tencent.com/developers/partnerApis/dataTypes/#agent" target="_blank">Agent结构体</a>。
27106
- 当为子客企业指定经办人时,此OrganizationOpenId必传。
27106
+ <font color="red">当为子客企业指定经办人时,此OrganizationOpenId必传。</font>
27107
27107
  :rtype: str
27108
27108
  """
27109
27109
  return self._OrganizationOpenId
@@ -27115,7 +27115,7 @@ class ReleasedApprover(AbstractModel):
27115
27115
  @property
27116
27116
  def OpenId(self):
27117
27117
  """第三方平台子客企业员工的唯一标识,长度不能超过64,只能由字母和数字组成。
27118
- 当签署方为同一第三方平台下的员工时,此OpenId必传。
27118
+ <font color="red">当签署方为同一第三方平台下的员工时,此OpenId必传。</font>
27119
27119
  :rtype: str
27120
27120
  """
27121
27121
  return self._OpenId
@@ -338,6 +338,9 @@ class FuseFaceRequest(AbstractModel):
338
338
  :param _RspImgType: 返回图像方式(url 或 base64) ,二选一。url有效期为7天。
339
339
  :type RspImgType: str
340
340
  :param _MergeInfos: 用户人脸图片、素材模板图的人脸位置信息。不能超过6个。
341
+ ●图片分辨率限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于4096*4096(单边限制)。
342
+ ●图片大小限制:base64 编码后大小不可超过5M, url不超过10M。
343
+ ●支持图片格式:支持jpg或png
341
344
  :type MergeInfos: list of MergeInfo
342
345
  :param _FuseProfileDegree: 脸型融合比例,数值越高,融合后的脸型越像素材人物。取值范围[0,100]
343
346
  若此参数不填写,则使用人脸融合控制台中脸型参数数值。(换脸版算法暂不支持此参数调整)
@@ -403,6 +406,9 @@ class FuseFaceRequest(AbstractModel):
403
406
  @property
404
407
  def MergeInfos(self):
405
408
  """用户人脸图片、素材模板图的人脸位置信息。不能超过6个。
409
+ ●图片分辨率限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于4096*4096(单边限制)。
410
+ ●图片大小限制:base64 编码后大小不可超过5M, url不超过10M。
411
+ ●支持图片格式:支持jpg或png
406
412
  :rtype: list of MergeInfo
407
413
  """
408
414
  return self._MergeInfos
@@ -560,12 +566,15 @@ class FuseFaceUltraRequest(AbstractModel):
560
566
  :type MergeInfos: list of MergeInfo
561
567
  :param _ModelUrl: 素材模版图片的url地址。
562
568
  ●base64 和 url 必须提供一个,如果都提供以 url 为准。
563
- ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)
569
+ ●图片分辨率限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。
570
+ ●图片大小限制:base64 编码后大小不可超过10M, url不超过20M。
564
571
  ●图片格式:支持jpg或png
572
+
565
573
  :type ModelUrl: str
566
574
  :param _ModelImage: 素材模版图片base64数据。
567
575
  ●base64 和 url 必须提供一个,如果都提供以 url 为准。
568
- ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)
576
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。
577
+ ●图片大小限制:base64 编码后大小不可超过10M, url不超过20M。
569
578
  ●支持图片格式:支持jpg或png
570
579
  :type ModelImage: str
571
580
  :param _FusionUltraParam: 图片人脸融合(专业版)效果参数。可用于设置拉脸、人脸增强、磨皮、牙齿增强、妆容迁移等融合效果参数,生成理想的融合效果。不传默认使用接口推荐值。具体见FusionUltraParam说明
@@ -624,8 +633,10 @@ class FuseFaceUltraRequest(AbstractModel):
624
633
  def ModelUrl(self):
625
634
  """素材模版图片的url地址。
626
635
  ●base64 和 url 必须提供一个,如果都提供以 url 为准。
627
- ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)
636
+ ●图片分辨率限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。
637
+ ●图片大小限制:base64 编码后大小不可超过10M, url不超过20M。
628
638
  ●图片格式:支持jpg或png
639
+
629
640
  :rtype: str
630
641
  """
631
642
  return self._ModelUrl
@@ -638,7 +649,8 @@ class FuseFaceUltraRequest(AbstractModel):
638
649
  def ModelImage(self):
639
650
  """素材模版图片base64数据。
640
651
  ●base64 和 url 必须提供一个,如果都提供以 url 为准。
641
- ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)
652
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。
653
+ ●图片大小限制:base64 编码后大小不可超过10M, url不超过20M。
642
654
  ●支持图片格式:支持jpg或png
643
655
  :rtype: str
644
656
  """
@@ -3056,10 +3056,8 @@ class DescribeScanResult(AbstractModel):
3056
3056
  :param _Live: 是否为流
3057
3057
  :type Live: bool
3058
3058
  :param _Msg: 业务返回描述
3059
- 注意:此字段可能返回 null,表示取不到有效值。
3060
3059
  :type Msg: str
3061
3060
  :param _ScanPiece: 检测结果,Code 为 0 时返回
3062
- 注意:此字段可能返回 null,表示取不到有效值。
3063
3061
  :type ScanPiece: list of ScanPiece
3064
3062
  :param _ScanStartTime: 提交检测的时间戳
3065
3063
  :type ScanStartTime: int
@@ -3149,7 +3147,6 @@ class DescribeScanResult(AbstractModel):
3149
3147
  @property
3150
3148
  def Msg(self):
3151
3149
  """业务返回描述
3152
- 注意:此字段可能返回 null,表示取不到有效值。
3153
3150
  :rtype: str
3154
3151
  """
3155
3152
  return self._Msg
@@ -3161,7 +3158,6 @@ class DescribeScanResult(AbstractModel):
3161
3158
  @property
3162
3159
  def ScanPiece(self):
3163
3160
  """检测结果,Code 为 0 时返回
3164
- 注意:此字段可能返回 null,表示取不到有效值。
3165
3161
  :rtype: list of ScanPiece
3166
3162
  """
3167
3163
  return self._ScanPiece
@@ -4825,13 +4821,10 @@ class RoomUser(AbstractModel):
4825
4821
  :param _RoomId: 房间id
4826
4822
  :type RoomId: int
4827
4823
  :param _Uins: 房间里用户uin列表
4828
- 注意:此字段可能返回 null,表示取不到有效值。
4829
4824
  :type Uins: list of int non-negative
4830
4825
  :param _StrRoomId: 字符串房间id
4831
- 注意:此字段可能返回 null,表示取不到有效值。
4832
4826
  :type StrRoomId: str
4833
4827
  :param _StrUins: 房间里用户字符串uin列表
4834
- 注意:此字段可能返回 null,表示取不到有效值。
4835
4828
  :type StrUins: list of str
4836
4829
  """
4837
4830
  self._RoomId = None
@@ -4853,7 +4846,6 @@ class RoomUser(AbstractModel):
4853
4846
  @property
4854
4847
  def Uins(self):
4855
4848
  """房间里用户uin列表
4856
- 注意:此字段可能返回 null,表示取不到有效值。
4857
4849
  :rtype: list of int non-negative
4858
4850
  """
4859
4851
  return self._Uins
@@ -4865,7 +4857,6 @@ class RoomUser(AbstractModel):
4865
4857
  @property
4866
4858
  def StrRoomId(self):
4867
4859
  """字符串房间id
4868
- 注意:此字段可能返回 null,表示取不到有效值。
4869
4860
  :rtype: str
4870
4861
  """
4871
4862
  return self._StrRoomId
@@ -4877,7 +4868,6 @@ class RoomUser(AbstractModel):
4877
4868
  @property
4878
4869
  def StrUins(self):
4879
4870
  """房间里用户字符串uin列表
4880
- 注意:此字段可能返回 null,表示取不到有效值。
4881
4871
  :rtype: list of str
4882
4872
  """
4883
4873
  return self._StrUins
@@ -5006,32 +4996,24 @@ class ScanPiece(AbstractModel):
5006
4996
  def __init__(self):
5007
4997
  r"""
5008
4998
  :param _DumpUrl: 流检测时返回,音频转存地址,保留30min
5009
- 注意:此字段可能返回 null,表示取不到有效值。
5010
4999
  :type DumpUrl: str
5011
5000
  :param _HitFlag: 是否违规
5012
5001
  :type HitFlag: bool
5013
5002
  :param _MainType: 违规主要类型
5014
- 注意:此字段可能返回 null,表示取不到有效值。
5015
5003
  :type MainType: str
5016
5004
  :param _ScanDetail: 语音检测详情
5017
5005
  :type ScanDetail: list of ScanDetail
5018
5006
  :param _RoomId: gme实时语音房间ID,透传任务传入时的RoomId
5019
- 注意:此字段可能返回 null,表示取不到有效值。
5020
5007
  :type RoomId: str
5021
5008
  :param _OpenId: gme实时语音用户ID,透传任务传入时的OpenId
5022
- 注意:此字段可能返回 null,表示取不到有效值。
5023
5009
  :type OpenId: str
5024
5010
  :param _Info: 备注
5025
- 注意:此字段可能返回 null,表示取不到有效值。
5026
5011
  :type Info: str
5027
5012
  :param _Offset: 流检测时分片在流中的偏移时间,单位毫秒
5028
- 注意:此字段可能返回 null,表示取不到有效值。
5029
5013
  :type Offset: int
5030
5014
  :param _Duration: 流检测时分片时长
5031
- 注意:此字段可能返回 null,表示取不到有效值。
5032
5015
  :type Duration: int
5033
5016
  :param _PieceStartTime: 分片开始检测时间
5034
- 注意:此字段可能返回 null,表示取不到有效值。
5035
5017
  :type PieceStartTime: int
5036
5018
  """
5037
5019
  self._DumpUrl = None
@@ -5048,7 +5030,6 @@ class ScanPiece(AbstractModel):
5048
5030
  @property
5049
5031
  def DumpUrl(self):
5050
5032
  """流检测时返回,音频转存地址,保留30min
5051
- 注意:此字段可能返回 null,表示取不到有效值。
5052
5033
  :rtype: str
5053
5034
  """
5054
5035
  return self._DumpUrl
@@ -5071,7 +5052,6 @@ class ScanPiece(AbstractModel):
5071
5052
  @property
5072
5053
  def MainType(self):
5073
5054
  """违规主要类型
5074
- 注意:此字段可能返回 null,表示取不到有效值。
5075
5055
  :rtype: str
5076
5056
  """
5077
5057
  return self._MainType
@@ -5094,7 +5074,6 @@ class ScanPiece(AbstractModel):
5094
5074
  @property
5095
5075
  def RoomId(self):
5096
5076
  """gme实时语音房间ID,透传任务传入时的RoomId
5097
- 注意:此字段可能返回 null,表示取不到有效值。
5098
5077
  :rtype: str
5099
5078
  """
5100
5079
  return self._RoomId
@@ -5106,7 +5085,6 @@ class ScanPiece(AbstractModel):
5106
5085
  @property
5107
5086
  def OpenId(self):
5108
5087
  """gme实时语音用户ID,透传任务传入时的OpenId
5109
- 注意:此字段可能返回 null,表示取不到有效值。
5110
5088
  :rtype: str
5111
5089
  """
5112
5090
  return self._OpenId
@@ -5118,7 +5096,6 @@ class ScanPiece(AbstractModel):
5118
5096
  @property
5119
5097
  def Info(self):
5120
5098
  """备注
5121
- 注意:此字段可能返回 null,表示取不到有效值。
5122
5099
  :rtype: str
5123
5100
  """
5124
5101
  return self._Info
@@ -5130,7 +5107,6 @@ class ScanPiece(AbstractModel):
5130
5107
  @property
5131
5108
  def Offset(self):
5132
5109
  """流检测时分片在流中的偏移时间,单位毫秒
5133
- 注意:此字段可能返回 null,表示取不到有效值。
5134
5110
  :rtype: int
5135
5111
  """
5136
5112
  return self._Offset
@@ -5142,7 +5118,6 @@ class ScanPiece(AbstractModel):
5142
5118
  @property
5143
5119
  def Duration(self):
5144
5120
  """流检测时分片时长
5145
- 注意:此字段可能返回 null,表示取不到有效值。
5146
5121
  :rtype: int
5147
5122
  """
5148
5123
  return self._Duration
@@ -5154,7 +5129,6 @@ class ScanPiece(AbstractModel):
5154
5129
  @property
5155
5130
  def PieceStartTime(self):
5156
5131
  """分片开始检测时间
5157
- 注意:此字段可能返回 null,表示取不到有效值。
5158
5132
  :rtype: int
5159
5133
  """
5160
5134
  return self._PieceStartTime
@@ -6430,7 +6404,6 @@ class VoiceFilterConf(AbstractModel):
6430
6404
  :param _Status: 语音过滤服务开关,取值:open/close
6431
6405
  :type Status: str
6432
6406
  :param _SceneInfos: 场景配置信息,如开关状态,回调地址。
6433
- 注意:此字段可能返回 null,表示取不到有效值。
6434
6407
  :type SceneInfos: list of SceneInfo
6435
6408
  """
6436
6409
  self._Status = None
@@ -6450,7 +6423,6 @@ class VoiceFilterConf(AbstractModel):
6450
6423
  @property
6451
6424
  def SceneInfos(self):
6452
6425
  """场景配置信息,如开关状态,回调地址。
6453
- 注意:此字段可能返回 null,表示取不到有效值。
6454
6426
  :rtype: list of SceneInfo
6455
6427
  """
6456
6428
  return self._SceneInfos