tencentcloud-sdk-python-intl-en 3.0.1203__py2.py3-none-any.whl → 3.0.1205__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-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1203'
16
+ __version__ = '3.0.1205'
@@ -335,6 +335,12 @@ INVALIDPARAMETERVALUE_XPOS = 'InvalidParameterValue.XPos'
335
335
  # The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported.
336
336
  INVALIDPARAMETERVALUE_YPOS = 'InvalidParameterValue.YPos'
337
337
 
338
+ # The number of created hotword lexicons has reached the default upper limit.
339
+ LIMITEXCEEDED_TOOMUCHHOTWORDS = 'LimitExceeded.TooMuchHotWords'
340
+
341
+ # The number of created large hotword lexicons has reached the upper limit.
342
+ LIMITEXCEEDED_TOOMUCHLARGEHOTWORDS = 'LimitExceeded.TooMuchLargeHotWords'
343
+
338
344
  # Limit reached: the number of templates exceeds the limit.
339
345
  LIMITEXCEEDED_TOOMUCHTEMPLATE = 'LimitExceeded.TooMuchTemplate'
340
346
 
@@ -3636,10 +3636,10 @@ class AiAnalysisTaskInput(AbstractModel):
3636
3636
  :type Definition: int
3637
3637
  :param _ExtendedParameter: Additional parameter. Its value is a serialized JSON string.
3638
3638
  Note: This parameter is used to meet customization requirements. References:
3639
- Smart erase: https://intl.cloud.tencent.com/document/product/862/101530?from_cn_redirect=1
3640
- Video splitting: https://intl.cloud.tencent.com/document/product/862/112098?from_cn_redirect=1
3641
- Intelligent highlights: https://intl.cloud.tencent.com/document/product/862/107280?from_cn_redirect=1
3642
- Horizontal-to-vertical video transformation: https://intl.cloud.tencent.com/document/product/862/112112?from_cn_redirect=1
3639
+ [Smart Erase Tutorial]: https://intl.cloud.tencent.com/document/product/862/101530?from_cn_redirect=1
3640
+ [Video Splitting (Long Videos to Short Videos) Tutorial](https://intl.cloud.tencent.com/document/product/862/112098?from_cn_redirect=1)
3641
+ [Intelligent Highlights Tutorial](https://intl.cloud.tencent.com/document/product/862/107280?from_cn_redirect=1)
3642
+ [Horizontal-to-Vertical Video Transformation Tutorial](https://intl.cloud.tencent.com/document/product/862/112112?from_cn_redirect=1)
3643
3643
  Note: This field may return null, indicating that no valid value can be obtained.
3644
3644
  :type ExtendedParameter: str
3645
3645
  """
@@ -3661,10 +3661,10 @@ Note: This field may return null, indicating that no valid value can be obtained
3661
3661
  def ExtendedParameter(self):
3662
3662
  """Additional parameter. Its value is a serialized JSON string.
3663
3663
  Note: This parameter is used to meet customization requirements. References:
3664
- Smart erase: https://intl.cloud.tencent.com/document/product/862/101530?from_cn_redirect=1
3665
- Video splitting: https://intl.cloud.tencent.com/document/product/862/112098?from_cn_redirect=1
3666
- Intelligent highlights: https://intl.cloud.tencent.com/document/product/862/107280?from_cn_redirect=1
3667
- Horizontal-to-vertical video transformation: https://intl.cloud.tencent.com/document/product/862/112112?from_cn_redirect=1
3664
+ [Smart Erase Tutorial]: https://intl.cloud.tencent.com/document/product/862/101530?from_cn_redirect=1
3665
+ [Video Splitting (Long Videos to Short Videos) Tutorial](https://intl.cloud.tencent.com/document/product/862/112098?from_cn_redirect=1)
3666
+ [Intelligent Highlights Tutorial](https://intl.cloud.tencent.com/document/product/862/107280?from_cn_redirect=1)
3667
+ [Horizontal-to-Vertical Video Transformation Tutorial](https://intl.cloud.tencent.com/document/product/862/112112?from_cn_redirect=1)
3668
3668
  Note: This field may return null, indicating that no valid value can be obtained.
3669
3669
  :rtype: str
3670
3670
  """
@@ -11505,9 +11505,9 @@ Cannot be set to 0.
11505
11505
 
11506
11506
 
11507
11507
  :type Bitrate: int
11508
- :param _SampleRate: The sampling rate of the audio stream. the supported sampling rate options vary for different encoding standards. for details, see audio sampling rate support scope document https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53.
11508
+ :param _SampleRate: Audio stream sampling rate. Different sampling rate options are provided for different encoding standards. For details, see [Audio/Video Transcoding Template](https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
11509
11509
  Unit: Hz.
11510
- Please ensure that the sampling rate of the source audio stream is within the value range of the above options. otherwise, transcoding failure may occur.
11510
+ Note: Make sure that the sampling rate of the source audio stream is among the above options. Otherwise, transcoding may fail.
11511
11511
  :type SampleRate: int
11512
11512
  :param _AudioChannel: Audio channel mode. Valid values:
11513
11513
  <li>1: mono-channel.</li>
@@ -11577,9 +11577,9 @@ Cannot be set to 0.
11577
11577
 
11578
11578
  @property
11579
11579
  def SampleRate(self):
11580
- """The sampling rate of the audio stream. the supported sampling rate options vary for different encoding standards. for details, see audio sampling rate support scope document https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53.
11580
+ """Audio stream sampling rate. Different sampling rate options are provided for different encoding standards. For details, see [Audio/Video Transcoding Template](https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
11581
11581
  Unit: Hz.
11582
- Please ensure that the sampling rate of the source audio stream is within the value range of the above options. otherwise, transcoding failure may occur.
11582
+ Note: Make sure that the sampling rate of the source audio stream is among the above options. Otherwise, transcoding may fail.
11583
11583
  :rtype: int
11584
11584
  """
11585
11585
  return self._SampleRate
@@ -13104,7 +13104,7 @@ class ComposeMediaTrack(AbstractModel):
13104
13104
 
13105
13105
  def __init__(self):
13106
13106
  r"""
13107
- :param _Type: The track type. Valid values:<ul><li>`Video`: Video track. A video track can consist of the following elements:</li><ul><li>Video</li><li>Image</li><li>Transition</li><li>Empty</li></ul><li>`Audio`: Audio track. An audio track can consist of the following elements:</li><ul><li>Audio</li><li>Transition</li><li>Empty</li></ul><li>`Title`: Text track. A text track can consist of the following elements: </li><ul><li>Subtitle</li></ul>
13107
+ :param _Type: Track type. Valid values: <ul><li>Video: video track. It can consist of the following elements:</li><ul><li>Video elements</li><li>Image elements</li><li>Transition elements</li><li>Empty elements</li></ul><li>Audio: audio track. It can consist of the following elements:</li><ul><li>Audio elements</li><li>Transition elements</li><li>Empty elements</li></ul><li>Title: text track. It can consist of the following elements:</li><ul><li>Subtitle elements</li></ul></ul>
13108
13108
  :type Type: str
13109
13109
  :param _Items: The elements of a track.
13110
13110
  :type Items: list of ComposeMediaItem
@@ -13114,7 +13114,7 @@ class ComposeMediaTrack(AbstractModel):
13114
13114
 
13115
13115
  @property
13116
13116
  def Type(self):
13117
- """The track type. Valid values:<ul><li>`Video`: Video track. A video track can consist of the following elements:</li><ul><li>Video</li><li>Image</li><li>Transition</li><li>Empty</li></ul><li>`Audio`: Audio track. An audio track can consist of the following elements:</li><ul><li>Audio</li><li>Transition</li><li>Empty</li></ul><li>`Title`: Text track. A text track can consist of the following elements: </li><ul><li>Subtitle</li></ul>
13117
+ """Track type. Valid values: <ul><li>Video: video track. It can consist of the following elements:</li><ul><li>Video elements</li><li>Image elements</li><li>Transition elements</li><li>Empty elements</li></ul><li>Audio: audio track. It can consist of the following elements:</li><ul><li>Audio elements</li><li>Transition elements</li><li>Empty elements</li></ul><li>Title: text track. It can consist of the following elements:</li><ul><li>Subtitle elements</li></ul></ul>
13118
13118
  :rtype: str
13119
13119
  """
13120
13120
  return self._Type
@@ -16346,20 +16346,23 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
16346
16346
 
16347
16347
  def __init__(self):
16348
16348
  r"""
16349
- :param _HLSConfigure: HLS configuration parameters.
16349
+ :param _HLSConfigure: HLS configuration parameter. Either this parameter or MP4Configure should be specified.
16350
16350
  :type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
16351
+ :param _MP4Configure: MP4 configuration parameter. Either this parameter or HLSConfigure should be specified.
16352
+ :type MP4Configure: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
16351
16353
  :param _Name: Recording template name. Length limit: 64 characters.
16352
16354
  :type Name: str
16353
16355
  :param _Comment: Template description, with a length limit of 256 characters.
16354
16356
  :type Comment: str
16355
16357
  """
16356
16358
  self._HLSConfigure = None
16359
+ self._MP4Configure = None
16357
16360
  self._Name = None
16358
16361
  self._Comment = None
16359
16362
 
16360
16363
  @property
16361
16364
  def HLSConfigure(self):
16362
- """HLS configuration parameters.
16365
+ """HLS configuration parameter. Either this parameter or MP4Configure should be specified.
16363
16366
  :rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
16364
16367
  """
16365
16368
  return self._HLSConfigure
@@ -16368,6 +16371,17 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
16368
16371
  def HLSConfigure(self, HLSConfigure):
16369
16372
  self._HLSConfigure = HLSConfigure
16370
16373
 
16374
+ @property
16375
+ def MP4Configure(self):
16376
+ """MP4 configuration parameter. Either this parameter or HLSConfigure should be specified.
16377
+ :rtype: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
16378
+ """
16379
+ return self._MP4Configure
16380
+
16381
+ @MP4Configure.setter
16382
+ def MP4Configure(self, MP4Configure):
16383
+ self._MP4Configure = MP4Configure
16384
+
16371
16385
  @property
16372
16386
  def Name(self):
16373
16387
  """Recording template name. Length limit: 64 characters.
@@ -16395,6 +16409,9 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
16395
16409
  if params.get("HLSConfigure") is not None:
16396
16410
  self._HLSConfigure = HLSConfigureInfo()
16397
16411
  self._HLSConfigure._deserialize(params.get("HLSConfigure"))
16412
+ if params.get("MP4Configure") is not None:
16413
+ self._MP4Configure = MP4ConfigureInfo()
16414
+ self._MP4Configure._deserialize(params.get("MP4Configure"))
16398
16415
  self._Name = params.get("Name")
16399
16416
  self._Comment = params.get("Comment")
16400
16417
  memeber_set = set(params.keys())
@@ -17642,6 +17659,8 @@ Default value: 0.
17642
17659
  :type TEHDConfig: :class:`tencentcloud.mps.v20190612.models.TEHDConfig`
17643
17660
  :param _EnhanceConfig: Audio/Video enhancement configuration.
17644
17661
  :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
17662
+ :param _StdExtInfo:
17663
+ :type StdExtInfo: str
17645
17664
  """
17646
17665
  self._Container = None
17647
17666
  self._Name = None
@@ -17652,6 +17671,7 @@ Default value: 0.
17652
17671
  self._AudioTemplate = None
17653
17672
  self._TEHDConfig = None
17654
17673
  self._EnhanceConfig = None
17674
+ self._StdExtInfo = None
17655
17675
 
17656
17676
  @property
17657
17677
  def Container(self):
@@ -17758,6 +17778,17 @@ Default value: 0.
17758
17778
  def EnhanceConfig(self, EnhanceConfig):
17759
17779
  self._EnhanceConfig = EnhanceConfig
17760
17780
 
17781
+ @property
17782
+ def StdExtInfo(self):
17783
+ """
17784
+ :rtype: str
17785
+ """
17786
+ return self._StdExtInfo
17787
+
17788
+ @StdExtInfo.setter
17789
+ def StdExtInfo(self, StdExtInfo):
17790
+ self._StdExtInfo = StdExtInfo
17791
+
17761
17792
 
17762
17793
  def _deserialize(self, params):
17763
17794
  self._Container = params.get("Container")
@@ -17777,6 +17808,7 @@ Default value: 0.
17777
17808
  if params.get("EnhanceConfig") is not None:
17778
17809
  self._EnhanceConfig = EnhanceConfig()
17779
17810
  self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
17811
+ self._StdExtInfo = params.get("StdExtInfo")
17780
17812
  memeber_set = set(params.keys())
17781
17813
  for name, value in vars(self).items():
17782
17814
  property_name = name[1:]
@@ -22102,7 +22134,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
22102
22134
 
22103
22135
  def __init__(self):
22104
22136
  r"""
22105
- :param _Definitions: Condition for filtering smart subtitle templates by unique identifier. The array can contain up to 10 unique identifiers.
22137
+ :param _Definitions: Unique identifiers of smart subtitle templates for filtering. The array can contain up to 100 unique identifiers.
22106
22138
  :type Definitions: list of int
22107
22139
  :param _Offset: Paging offset. Default value: 0.
22108
22140
  :type Offset: int
@@ -22123,7 +22155,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
22123
22155
 
22124
22156
  @property
22125
22157
  def Definitions(self):
22126
- """Condition for filtering smart subtitle templates by unique identifier. The array can contain up to 10 unique identifiers.
22158
+ """Unique identifiers of smart subtitle templates for filtering. The array can contain up to 100 unique identifiers.
22127
22159
  :rtype: list of int
22128
22160
  """
22129
22161
  return self._Definitions
@@ -25807,6 +25839,84 @@ Note: This field may return null, indicating that no valid value can be obtained
25807
25839
 
25808
25840
 
25809
25841
 
25842
+ class ImageAreaBoxInfo(AbstractModel):
25843
+ """Information on the box selection area in an image.
25844
+
25845
+ """
25846
+
25847
+ def __init__(self):
25848
+ r"""
25849
+ :param _Type: Type of the box selection area in the image. Valid values:
25850
+ <li>logo: icon</li>
25851
+ <li>text: text</li>
25852
+ Default value: logo.
25853
+ Note: This field may return null, indicating that no valid value can be obtained.
25854
+ :type Type: str
25855
+ :param _AreaCoordSet: Coordinates (pixel-level) of the box selection area in the image. Format: [x1, y1, x2, y2], which indicates the coordinates of the top left corner and the bottom right corner.
25856
+ For example, [101, 85, 111, 95].
25857
+ Note: This field may return null, indicating that no valid value can be obtained.
25858
+ :type AreaCoordSet: list of int
25859
+ :param _BoundingBox:
25860
+ :type BoundingBox: list of float
25861
+ """
25862
+ self._Type = None
25863
+ self._AreaCoordSet = None
25864
+ self._BoundingBox = None
25865
+
25866
+ @property
25867
+ def Type(self):
25868
+ """Type of the box selection area in the image. Valid values:
25869
+ <li>logo: icon</li>
25870
+ <li>text: text</li>
25871
+ Default value: logo.
25872
+ Note: This field may return null, indicating that no valid value can be obtained.
25873
+ :rtype: str
25874
+ """
25875
+ return self._Type
25876
+
25877
+ @Type.setter
25878
+ def Type(self, Type):
25879
+ self._Type = Type
25880
+
25881
+ @property
25882
+ def AreaCoordSet(self):
25883
+ """Coordinates (pixel-level) of the box selection area in the image. Format: [x1, y1, x2, y2], which indicates the coordinates of the top left corner and the bottom right corner.
25884
+ For example, [101, 85, 111, 95].
25885
+ Note: This field may return null, indicating that no valid value can be obtained.
25886
+ :rtype: list of int
25887
+ """
25888
+ return self._AreaCoordSet
25889
+
25890
+ @AreaCoordSet.setter
25891
+ def AreaCoordSet(self, AreaCoordSet):
25892
+ self._AreaCoordSet = AreaCoordSet
25893
+
25894
+ @property
25895
+ def BoundingBox(self):
25896
+ """
25897
+ :rtype: list of float
25898
+ """
25899
+ return self._BoundingBox
25900
+
25901
+ @BoundingBox.setter
25902
+ def BoundingBox(self, BoundingBox):
25903
+ self._BoundingBox = BoundingBox
25904
+
25905
+
25906
+ def _deserialize(self, params):
25907
+ self._Type = params.get("Type")
25908
+ self._AreaCoordSet = params.get("AreaCoordSet")
25909
+ self._BoundingBox = params.get("BoundingBox")
25910
+ memeber_set = set(params.keys())
25911
+ for name, value in vars(self).items():
25912
+ property_name = name[1:]
25913
+ if property_name in memeber_set:
25914
+ memeber_set.remove(property_name)
25915
+ if len(memeber_set) > 0:
25916
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25917
+
25918
+
25919
+
25810
25920
  class ImageEncodeConfig(AbstractModel):
25811
25921
  """Image encoding format parameters
25812
25922
 
@@ -25814,7 +25924,7 @@ class ImageEncodeConfig(AbstractModel):
25814
25924
 
25815
25925
  def __init__(self):
25816
25926
  r"""
25817
- :param _Format: Image format. Valid values: JPG, BMP, GIF, PNG, and WebP. The default is the original image format.
25927
+ :param _Format: Image format. Valid values: JPEG, PNG, BMP, and WebP. If it is not specified, the original image format is used. Animations are not supported.
25818
25928
  Note: This field may return null, indicating that no valid value can be obtained.
25819
25929
  :type Format: str
25820
25930
  :param _Quality: Relative image quality. Valid range: 1 - 100. The value is based on the original image quality, and the default is the original image quality.
@@ -25826,7 +25936,7 @@ Note: This field may return null, indicating that no valid value can be obtained
25826
25936
 
25827
25937
  @property
25828
25938
  def Format(self):
25829
- """Image format. Valid values: JPG, BMP, GIF, PNG, and WebP. The default is the original image format.
25939
+ """Image format. Valid values: JPEG, PNG, BMP, and WebP. If it is not specified, the original image format is used. Animations are not supported.
25830
25940
  Note: This field may return null, indicating that no valid value can be obtained.
25831
25941
  :rtype: str
25832
25942
  """
@@ -25959,6 +26069,116 @@ class ImageEnhanceConfig(AbstractModel):
25959
26069
 
25960
26070
 
25961
26071
 
26072
+ class ImageEraseConfig(AbstractModel):
26073
+ """Image erasing parameter.
26074
+
26075
+ """
26076
+
26077
+ def __init__(self):
26078
+ r"""
26079
+ :param _ImageEraseLogo: Icon erasing configuration.
26080
+ Note: This field may return null, indicating that no valid value can be obtained.
26081
+ :type ImageEraseLogo: :class:`tencentcloud.mps.v20190612.models.ImageEraseLogoConfig`
26082
+ """
26083
+ self._ImageEraseLogo = None
26084
+
26085
+ @property
26086
+ def ImageEraseLogo(self):
26087
+ """Icon erasing configuration.
26088
+ Note: This field may return null, indicating that no valid value can be obtained.
26089
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEraseLogoConfig`
26090
+ """
26091
+ return self._ImageEraseLogo
26092
+
26093
+ @ImageEraseLogo.setter
26094
+ def ImageEraseLogo(self, ImageEraseLogo):
26095
+ self._ImageEraseLogo = ImageEraseLogo
26096
+
26097
+
26098
+ def _deserialize(self, params):
26099
+ if params.get("ImageEraseLogo") is not None:
26100
+ self._ImageEraseLogo = ImageEraseLogoConfig()
26101
+ self._ImageEraseLogo._deserialize(params.get("ImageEraseLogo"))
26102
+ memeber_set = set(params.keys())
26103
+ for name, value in vars(self).items():
26104
+ property_name = name[1:]
26105
+ if property_name in memeber_set:
26106
+ memeber_set.remove(property_name)
26107
+ if len(memeber_set) > 0:
26108
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26109
+
26110
+
26111
+
26112
+ class ImageEraseLogoConfig(AbstractModel):
26113
+ """Icon erasing configuration.
26114
+
26115
+ """
26116
+
26117
+ def __init__(self):
26118
+ r"""
26119
+ :param _Switch: Capability configuration enabling status. Valid values:
26120
+ <li>ON: enabled</li>
26121
+ <li>OFF: disabled</li>
26122
+ Default value: ON.
26123
+ Note: This field may return null, indicating that no valid value can be obtained.
26124
+ :type Switch: str
26125
+ :param _ImageAreaBoxes: Multiple box selection areas to be erased. Note: The value array of this parameter can contain up to 2 values.
26126
+ Note: This field may return null, indicating that no valid value can be obtained.
26127
+
26128
+ Note: This field may return null, indicating that no valid value can be obtained.
26129
+ :type ImageAreaBoxes: list of ImageAreaBoxInfo
26130
+ """
26131
+ self._Switch = None
26132
+ self._ImageAreaBoxes = None
26133
+
26134
+ @property
26135
+ def Switch(self):
26136
+ """Capability configuration enabling status. Valid values:
26137
+ <li>ON: enabled</li>
26138
+ <li>OFF: disabled</li>
26139
+ Default value: ON.
26140
+ Note: This field may return null, indicating that no valid value can be obtained.
26141
+ :rtype: str
26142
+ """
26143
+ return self._Switch
26144
+
26145
+ @Switch.setter
26146
+ def Switch(self, Switch):
26147
+ self._Switch = Switch
26148
+
26149
+ @property
26150
+ def ImageAreaBoxes(self):
26151
+ """Multiple box selection areas to be erased. Note: The value array of this parameter can contain up to 2 values.
26152
+ Note: This field may return null, indicating that no valid value can be obtained.
26153
+
26154
+ Note: This field may return null, indicating that no valid value can be obtained.
26155
+ :rtype: list of ImageAreaBoxInfo
26156
+ """
26157
+ return self._ImageAreaBoxes
26158
+
26159
+ @ImageAreaBoxes.setter
26160
+ def ImageAreaBoxes(self, ImageAreaBoxes):
26161
+ self._ImageAreaBoxes = ImageAreaBoxes
26162
+
26163
+
26164
+ def _deserialize(self, params):
26165
+ self._Switch = params.get("Switch")
26166
+ if params.get("ImageAreaBoxes") is not None:
26167
+ self._ImageAreaBoxes = []
26168
+ for item in params.get("ImageAreaBoxes"):
26169
+ obj = ImageAreaBoxInfo()
26170
+ obj._deserialize(item)
26171
+ self._ImageAreaBoxes.append(obj)
26172
+ memeber_set = set(params.keys())
26173
+ for name, value in vars(self).items():
26174
+ property_name = name[1:]
26175
+ if property_name in memeber_set:
26176
+ memeber_set.remove(property_name)
26177
+ if len(memeber_set) > 0:
26178
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26179
+
26180
+
26181
+
25962
26182
  class ImageQualityEnhanceConfig(AbstractModel):
25963
26183
  """Overall enhancement configuration.
25964
26184
 
@@ -26417,9 +26637,13 @@ Note: This field may return null, indicating that no valid value can be obtained
26417
26637
  :param _EnhanceConfig: Image enhancement configuration.
26418
26638
  Note: This field may return null, indicating that no valid value can be obtained.
26419
26639
  :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
26640
+ :param _EraseConfig: Image erasing configuration.
26641
+ Note: This field may return null, indicating that no valid value can be obtained.
26642
+ :type EraseConfig: :class:`tencentcloud.mps.v20190612.models.ImageEraseConfig`
26420
26643
  """
26421
26644
  self._EncodeConfig = None
26422
26645
  self._EnhanceConfig = None
26646
+ self._EraseConfig = None
26423
26647
 
26424
26648
  @property
26425
26649
  def EncodeConfig(self):
@@ -26445,6 +26669,18 @@ Note: This field may return null, indicating that no valid value can be obtained
26445
26669
  def EnhanceConfig(self, EnhanceConfig):
26446
26670
  self._EnhanceConfig = EnhanceConfig
26447
26671
 
26672
+ @property
26673
+ def EraseConfig(self):
26674
+ """Image erasing configuration.
26675
+ Note: This field may return null, indicating that no valid value can be obtained.
26676
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEraseConfig`
26677
+ """
26678
+ return self._EraseConfig
26679
+
26680
+ @EraseConfig.setter
26681
+ def EraseConfig(self, EraseConfig):
26682
+ self._EraseConfig = EraseConfig
26683
+
26448
26684
 
26449
26685
  def _deserialize(self, params):
26450
26686
  if params.get("EncodeConfig") is not None:
@@ -26453,6 +26689,9 @@ Note: This field may return null, indicating that no valid value can be obtained
26453
26689
  if params.get("EnhanceConfig") is not None:
26454
26690
  self._EnhanceConfig = ImageEnhanceConfig()
26455
26691
  self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
26692
+ if params.get("EraseConfig") is not None:
26693
+ self._EraseConfig = ImageEraseConfig()
26694
+ self._EraseConfig._deserialize(params.get("EraseConfig"))
26456
26695
  memeber_set = set(params.keys())
26457
26696
  for name, value in vars(self).items():
26458
26697
  property_name = name[1:]
@@ -27131,6 +27370,8 @@ class LiveRecordTemplate(AbstractModel):
27131
27370
  :type Definition: int
27132
27371
  :param _HLSConfigure: HLS configuration parameters
27133
27372
  :type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
27373
+ :param _MP4Configure: MP4 configuration parameter.
27374
+ :type MP4Configure: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
27134
27375
  :param _Name: Recording template name.
27135
27376
  :type Name: str
27136
27377
  :param _Comment: Template description.
@@ -27147,6 +27388,7 @@ class LiveRecordTemplate(AbstractModel):
27147
27388
  """
27148
27389
  self._Definition = None
27149
27390
  self._HLSConfigure = None
27391
+ self._MP4Configure = None
27150
27392
  self._Name = None
27151
27393
  self._Comment = None
27152
27394
  self._Type = None
@@ -27175,6 +27417,17 @@ class LiveRecordTemplate(AbstractModel):
27175
27417
  def HLSConfigure(self, HLSConfigure):
27176
27418
  self._HLSConfigure = HLSConfigure
27177
27419
 
27420
+ @property
27421
+ def MP4Configure(self):
27422
+ """MP4 configuration parameter.
27423
+ :rtype: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
27424
+ """
27425
+ return self._MP4Configure
27426
+
27427
+ @MP4Configure.setter
27428
+ def MP4Configure(self, MP4Configure):
27429
+ self._MP4Configure = MP4Configure
27430
+
27178
27431
  @property
27179
27432
  def Name(self):
27180
27433
  """Recording template name.
@@ -27239,6 +27492,9 @@ class LiveRecordTemplate(AbstractModel):
27239
27492
  if params.get("HLSConfigure") is not None:
27240
27493
  self._HLSConfigure = HLSConfigureInfo()
27241
27494
  self._HLSConfigure._deserialize(params.get("HLSConfigure"))
27495
+ if params.get("MP4Configure") is not None:
27496
+ self._MP4Configure = MP4ConfigureInfo()
27497
+ self._MP4Configure._deserialize(params.get("MP4Configure"))
27242
27498
  self._Name = params.get("Name")
27243
27499
  self._Comment = params.get("Comment")
27244
27500
  self._Type = params.get("Type")
@@ -29945,6 +30201,42 @@ Note: This field may return null, indicating that no valid values can be obtaine
29945
30201
 
29946
30202
 
29947
30203
 
30204
+ class MP4ConfigureInfo(AbstractModel):
30205
+ """MP4 configuration parameter.
30206
+
30207
+ """
30208
+
30209
+ def __init__(self):
30210
+ r"""
30211
+ :param _Interval: Recording duration, in seconds. The interval can range from 10 minutes to 720 minutes. It is 60 minutes (3,600 seconds) by default.
30212
+ :type Interval: int
30213
+ """
30214
+ self._Interval = None
30215
+
30216
+ @property
30217
+ def Interval(self):
30218
+ """Recording duration, in seconds. The interval can range from 10 minutes to 720 minutes. It is 60 minutes (3,600 seconds) by default.
30219
+ :rtype: int
30220
+ """
30221
+ return self._Interval
30222
+
30223
+ @Interval.setter
30224
+ def Interval(self, Interval):
30225
+ self._Interval = Interval
30226
+
30227
+
30228
+ def _deserialize(self, params):
30229
+ self._Interval = params.get("Interval")
30230
+ memeber_set = set(params.keys())
30231
+ for name, value in vars(self).items():
30232
+ property_name = name[1:]
30233
+ if property_name in memeber_set:
30234
+ memeber_set.remove(property_name)
30235
+ if len(memeber_set) > 0:
30236
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
30237
+
30238
+
30239
+
29948
30240
  class ManageTaskRequest(AbstractModel):
29949
30241
  """ManageTask request structure.
29950
30242
 
@@ -34401,7 +34693,11 @@ class ModifyAsrHotwordsRequest(AbstractModel):
34401
34693
 
34402
34694
  def __init__(self):
34403
34695
  r"""
34404
- :param _HotwordsId: Hotword lexicon ID.
34696
+ :param _HotwordsId: Hotword lexicon ID.
34697
+
34698
+ Either Name or Content should be specified if the hotword lexicon is a text-based hotword lexicon.
34699
+ One of Name, FileContent, and FileName should be specified if the hotword lexicon is a file-based hotword lexicon.
34700
+
34405
34701
  :type HotwordsId: str
34406
34702
  :param _Name: Hotword lexicon name.
34407
34703
  :type Name: str
@@ -34423,7 +34719,11 @@ class ModifyAsrHotwordsRequest(AbstractModel):
34423
34719
 
34424
34720
  @property
34425
34721
  def HotwordsId(self):
34426
- """Hotword lexicon ID.
34722
+ """Hotword lexicon ID.
34723
+
34724
+ Either Name or Content should be specified if the hotword lexicon is a text-based hotword lexicon.
34725
+ One of Name, FileContent, and FileName should be specified if the hotword lexicon is a file-based hotword lexicon.
34726
+
34427
34727
  :rtype: str
34428
34728
  """
34429
34729
  return self._HotwordsId
@@ -34967,8 +35267,10 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
34967
35267
  r"""
34968
35268
  :param _Definition: Specifies the recording template unique identifier.
34969
35269
  :type Definition: int
34970
- :param _HLSConfigure: HLS configuration parameters.
35270
+ :param _HLSConfigure: HLS configuration parameter. Either this parameter or MP4Configure should be specified.
34971
35271
  :type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
35272
+ :param _MP4Configure: MP4 configuration parameter. Either this parameter or HLSConfigure should be specified.
35273
+ :type MP4Configure: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
34972
35274
  :param _Name: Recording template name. Length limit: 64 characters.
34973
35275
  :type Name: str
34974
35276
  :param _Comment: Template description, with a length limit of 256 characters.
@@ -34976,6 +35278,7 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
34976
35278
  """
34977
35279
  self._Definition = None
34978
35280
  self._HLSConfigure = None
35281
+ self._MP4Configure = None
34979
35282
  self._Name = None
34980
35283
  self._Comment = None
34981
35284
 
@@ -34992,7 +35295,7 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
34992
35295
 
34993
35296
  @property
34994
35297
  def HLSConfigure(self):
34995
- """HLS configuration parameters.
35298
+ """HLS configuration parameter. Either this parameter or MP4Configure should be specified.
34996
35299
  :rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
34997
35300
  """
34998
35301
  return self._HLSConfigure
@@ -35001,6 +35304,17 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
35001
35304
  def HLSConfigure(self, HLSConfigure):
35002
35305
  self._HLSConfigure = HLSConfigure
35003
35306
 
35307
+ @property
35308
+ def MP4Configure(self):
35309
+ """MP4 configuration parameter. Either this parameter or HLSConfigure should be specified.
35310
+ :rtype: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
35311
+ """
35312
+ return self._MP4Configure
35313
+
35314
+ @MP4Configure.setter
35315
+ def MP4Configure(self, MP4Configure):
35316
+ self._MP4Configure = MP4Configure
35317
+
35004
35318
  @property
35005
35319
  def Name(self):
35006
35320
  """Recording template name. Length limit: 64 characters.
@@ -35029,6 +35343,9 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
35029
35343
  if params.get("HLSConfigure") is not None:
35030
35344
  self._HLSConfigure = HLSConfigureInfo()
35031
35345
  self._HLSConfigure._deserialize(params.get("HLSConfigure"))
35346
+ if params.get("MP4Configure") is not None:
35347
+ self._MP4Configure = MP4ConfigureInfo()
35348
+ self._MP4Configure._deserialize(params.get("MP4Configure"))
35032
35349
  self._Name = params.get("Name")
35033
35350
  self._Comment = params.get("Comment")
35034
35351
  memeber_set = set(params.keys())
@@ -40320,9 +40637,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
40320
40637
  :param _NoVideo: Whether there is a video track. `true` indicates that there isn't.
40321
40638
  Note: This field may return null, indicating that no valid values can be obtained.
40322
40639
  :type NoVideo: bool
40323
- :param _QualityEvaluationScore: The no-reference video quality score. Value range: 0-100.
40324
- Note: This field may return null, indicating that no valid values can be obtained.
40640
+ :param _QualityEvaluationScore: No-reference quality score of the video (100 points in total).
40641
+ Note: This field may return null, indicating that no valid value can be obtained.
40325
40642
  :type QualityEvaluationScore: int
40643
+ :param _QualityEvaluationMeanOpinionScore: No-reference quality score of the video (MOS).
40644
+ Note: This field may return null, indicating that no valid value can be obtained.
40645
+ :type QualityEvaluationMeanOpinionScore: float
40326
40646
  :param _QualityControlResultSet: Exception items detected in content quality inspection.
40327
40647
  Note: This field may return null, indicating that no valid values can be obtained.
40328
40648
  :type QualityControlResultSet: list of QualityControlResult
@@ -40333,6 +40653,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
40333
40653
  self._NoAudio = None
40334
40654
  self._NoVideo = None
40335
40655
  self._QualityEvaluationScore = None
40656
+ self._QualityEvaluationMeanOpinionScore = None
40336
40657
  self._QualityControlResultSet = None
40337
40658
  self._ContainerDiagnoseResultSet = None
40338
40659
 
@@ -40362,8 +40683,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
40362
40683
 
40363
40684
  @property
40364
40685
  def QualityEvaluationScore(self):
40365
- """The no-reference video quality score. Value range: 0-100.
40366
- Note: This field may return null, indicating that no valid values can be obtained.
40686
+ """No-reference quality score of the video (100 points in total).
40687
+ Note: This field may return null, indicating that no valid value can be obtained.
40367
40688
  :rtype: int
40368
40689
  """
40369
40690
  return self._QualityEvaluationScore
@@ -40372,6 +40693,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
40372
40693
  def QualityEvaluationScore(self, QualityEvaluationScore):
40373
40694
  self._QualityEvaluationScore = QualityEvaluationScore
40374
40695
 
40696
+ @property
40697
+ def QualityEvaluationMeanOpinionScore(self):
40698
+ """No-reference quality score of the video (MOS).
40699
+ Note: This field may return null, indicating that no valid value can be obtained.
40700
+ :rtype: float
40701
+ """
40702
+ return self._QualityEvaluationMeanOpinionScore
40703
+
40704
+ @QualityEvaluationMeanOpinionScore.setter
40705
+ def QualityEvaluationMeanOpinionScore(self, QualityEvaluationMeanOpinionScore):
40706
+ self._QualityEvaluationMeanOpinionScore = QualityEvaluationMeanOpinionScore
40707
+
40375
40708
  @property
40376
40709
  def QualityControlResultSet(self):
40377
40710
  """Exception items detected in content quality inspection.
@@ -40401,6 +40734,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
40401
40734
  self._NoAudio = params.get("NoAudio")
40402
40735
  self._NoVideo = params.get("NoVideo")
40403
40736
  self._QualityEvaluationScore = params.get("QualityEvaluationScore")
40737
+ self._QualityEvaluationMeanOpinionScore = params.get("QualityEvaluationMeanOpinionScore")
40404
40738
  if params.get("QualityControlResultSet") is not None:
40405
40739
  self._QualityControlResultSet = []
40406
40740
  for item in params.get("QualityControlResultSet"):
@@ -50820,10 +51154,13 @@ class WordResult(AbstractModel):
50820
51154
  :type Start: float
50821
51155
  :param _End: Word end timestamp, in seconds.
50822
51156
  :type End: float
51157
+ :param _Trans: Text after translation.
51158
+ :type Trans: str
50823
51159
  """
50824
51160
  self._Word = None
50825
51161
  self._Start = None
50826
51162
  self._End = None
51163
+ self._Trans = None
50827
51164
 
50828
51165
  @property
50829
51166
  def Word(self):
@@ -50858,11 +51195,23 @@ class WordResult(AbstractModel):
50858
51195
  def End(self, End):
50859
51196
  self._End = End
50860
51197
 
51198
+ @property
51199
+ def Trans(self):
51200
+ """Text after translation.
51201
+ :rtype: str
51202
+ """
51203
+ return self._Trans
51204
+
51205
+ @Trans.setter
51206
+ def Trans(self, Trans):
51207
+ self._Trans = Trans
51208
+
50861
51209
 
50862
51210
  def _deserialize(self, params):
50863
51211
  self._Word = params.get("Word")
50864
51212
  self._Start = params.get("Start")
50865
51213
  self._End = params.get("End")
51214
+ self._Trans = params.get("Trans")
50866
51215
  memeber_set = set(params.keys())
50867
51216
  for name, value in vars(self).items():
50868
51217
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1203
3
+ Version: 3.0.1205
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=x8AyAZUqTmlLR_DC5YH9ahO8X4GM5j807KpUH8I13Bk,630
1
+ tencentcloud/__init__.py,sha256=xLXTGUpd6hgvWMkKXDscXfWmEiJbPih3zHVQ-mrSmeU,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
@@ -402,8 +402,8 @@ tencentcloud/monitor/v20180724/models.py,sha256=AB9wmLkvVRXv_8-QROetMGH_R33ljbEn
402
402
  tencentcloud/monitor/v20180724/monitor_client.py,sha256=trcnM-vkXAG1BuLAcjoqaAox35coKdJaHW3BzC6DW14,142926
403
403
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
404
404
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
405
- tencentcloud/mps/v20190612/errorcodes.py,sha256=0WGDmaaECcbep9x_pR7sjx0Qasdop6W4CSNp7CBVw9Q,14959
406
- tencentcloud/mps/v20190612/models.py,sha256=0HnBzqjNezM_Mv841q5TmXCE-STNlUcOjsyDXjRvO7o,1894993
405
+ tencentcloud/mps/v20190612/errorcodes.py,sha256=OO1P1ImPOrG2TF71Wk-MNeoPcXLs2K2ft0FSY0OacyE,15253
406
+ tencentcloud/mps/v20190612/models.py,sha256=Z-mZTpiNLBsnRH2OCvcdQuGrKGkkVTQYoEfDaLZPWAc,1908073
407
407
  tencentcloud/mps/v20190612/mps_client.py,sha256=mg_9_Qt-Ys4SBVEdkyzt0xVH-rvfLEJNSTROvVWRQO0,93242
408
408
  tencentcloud/msp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
409
409
  tencentcloud/msp/v20180319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -654,7 +654,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
654
654
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
655
655
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
656
656
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
657
- tencentcloud_sdk_python_intl_en-3.0.1203.dist-info/METADATA,sha256=Hp3dASZZc54QcCnCBNlxMYyGh3pKfMDXgnmxnqVozQQ,1628
658
- tencentcloud_sdk_python_intl_en-3.0.1203.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
659
- tencentcloud_sdk_python_intl_en-3.0.1203.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
660
- tencentcloud_sdk_python_intl_en-3.0.1203.dist-info/RECORD,,
657
+ tencentcloud_sdk_python_intl_en-3.0.1205.dist-info/METADATA,sha256=lprzC3n1Y7zQzNAKF6BvehjIqhohTMPadiUm0PXgDQs,1628
658
+ tencentcloud_sdk_python_intl_en-3.0.1205.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
659
+ tencentcloud_sdk_python_intl_en-3.0.1205.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
660
+ tencentcloud_sdk_python_intl_en-3.0.1205.dist-info/RECORD,,