tencentcloud-sdk-python-intl-en 3.0.1202__py2.py3-none-any.whl → 3.0.1204__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.1202'
16
+ __version__ = '3.0.1204'
@@ -2707,8 +2707,7 @@ class ClusterItem(AbstractModel):
2707
2707
  r"""
2708
2708
  :param _ClusterId: Unique cluster ID
2709
2709
  :type ClusterId: str
2710
- :param _ClusterName: Cluster name
2711
- Note: this field may return null, indicating that no valid values can be obtained.
2710
+ :param _ClusterName: Cluster name.
2712
2711
  :type ClusterName: str
2713
2712
  :param _Zone: Cluster AZ, such as ap-guangzhou-1
2714
2713
  Note: this field may return null, indicating that no valid values can be obtained.
@@ -2731,8 +2730,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
2731
2730
 
2732
2731
  @property
2733
2732
  def ClusterName(self):
2734
- """Cluster name
2735
- Note: this field may return null, indicating that no valid values can be obtained.
2733
+ """Cluster name.
2736
2734
  :rtype: str
2737
2735
  """
2738
2736
  return self._ClusterName
@@ -3379,7 +3377,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
3379
3377
  :type LoadBalancerName: str
3380
3378
  :param _VpcId: Network ID of the target device on the CLB backend, such as `vpc-12345678`, which can be obtained through the `DescribeVpcEx` API. If this parameter is not entered, `DefaultVPC` is used by default. This parameter is required when creating a private network instance.
3381
3379
  :type VpcId: str
3382
- :param _SubnetId: A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet. This parameter is required for creating a CLB instance.
3380
+ :param _SubnetId: A subnet ID should be specified when you purchase a private network CLB instance under a VPC. The VIP of the private network CLB instance is in this subnet. This parameter is required when you create a private network CLB instance but not supported when you create a public network IPv4 CLB instance.
3383
3381
  :type SubnetId: str
3384
3382
  :param _ProjectId: ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not entered, the default project will be used.
3385
3383
  :type ProjectId: int
@@ -3387,11 +3385,12 @@ Note: if the name of the new CLB instance already exists, a default name will be
3387
3385
  :type AddressIPVersion: str
3388
3386
  :param _Number: Number of CLBs to be created. Default value: 1.
3389
3387
  :type Number: int
3390
- :param _MasterZoneId: ID of the primary availability zone configured for cross-availability zone disaster recovery, such as 100001 or ap-guangzhou-1. It applies only to public network CLB.Note: The primary availability zone is the one that carries traffic. The replica availability zone does not carry traffic by default and is only used when the primary availability zone is unavailable. Currently, primary and replica availability zones are supported only for the IPv4 CLB instances in the regions of Guangzhou, Shanghai, Nanjing, Beijing, Chengdu, Shenzhen Finance Zone, Hong Kong (China), Seoul, Frankfurt, and Singapore. You can query the list of primary availability zones in a region through the [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1) API.
3388
+ :param _MasterZoneId: Applicable only to public network IPv4 CLB instances. This parameter specifies the primary AZ ID for cross-AZ disaster recovery. For example, 100001 or ap-guangzhou-1.
3389
+ Note: The primary AZ sustains traffic. The secondary AZ does not sustain traffic by default and is used only when the primary AZ is unavailable. Currently, primary and secondary AZs are supported only for IPv4 CLB instances in Guangzhou, Shanghai, Nanjing, Beijing, Chengdu, Shenzhen Finance, Hong Kong (China), Seoul, Frankfurt, and Singapore regions. You can call the [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1) API to query the list of primary AZs in a region. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3391
3390
  :type MasterZoneId: str
3392
- :param _ZoneId: Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
3391
+ :param _ZoneId: Applicable only to public network IPv4 CLB instances. This parameter specifies the AZ ID for creating a CLB instance. For example, ap-guangzhou-1.
3393
3392
  :type ZoneId: str
3394
- :param _InternetAccessible: Maximum outbound bandwidth under the network billing mode. It applies only to LCU-supported instances of the private network type and all instances of the public network type.
3393
+ :param _InternetAccessible: Network billing mode by the maximum outbound bandwidth. It applies only to private network LCU-supported instances and all public network instances. The feature of purchasing monthly subscription instances via an API is under grayscale release. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3395
3394
  :type InternetAccessible: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
3396
3395
  :param _VipIsp: ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
3397
3396
  :type VipIsp: str
@@ -3416,8 +3415,8 @@ Note: If the specified VIP is occupied or is not within the IP range of the spec
3416
3415
  :type SnatIps: list of SnatIp
3417
3416
  :param _ClusterTag: Tag for the STGW exclusive cluster.
3418
3417
  :type ClusterTag: str
3419
- :param _SlaveZoneId: Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
3420
- Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
3418
+ :param _SlaveZoneId: Applicable only to public network IPv4 CLB instances. This parameter specifies the secondary AZ ID for cross-AZ disaster recovery. For example, 100001 or ap-guangzhou-1.
3419
+ Note: The secondary AZ sustains traffic when the primary AZ encounters faults. You can call the [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1) API to query the list of primary/secondary AZs in a region. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3421
3420
  :type SlaveZoneId: str
3422
3421
  :param _EipAddressId: Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance. E.g., `eip-11112222`.
3423
3422
  :type EipAddressId: str
@@ -3427,8 +3426,12 @@ Note: The traffic only goes to the secondary AZ when the primary AZ is unavailab
3427
3426
  :type DynamicVip: bool
3428
3427
  :param _Egress: Network egress point
3429
3428
  :type Egress: str
3430
- :param _LBChargePrepaid: Prepaid billing attributes of a CLB instance
3429
+ :param _LBChargePrepaid: Prepayment-related attributes of a CLB instance. The feature of purchasing monthly subscription instances via an API is under grayscale release. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3431
3430
  :type LBChargePrepaid: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
3431
+ :param _LBChargeType: Billing type of a CLB instance. Valid values: POSTPAID_BY_HOUR and PREPAID. Default value: POSTPAID_BY_HOUR. The feature of purchasing monthly subscription instances via an API is under grayscale release. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3432
+ :type LBChargeType: str
3433
+ :param _AccessLogTopicId: Topic ID of logs of traffic access over layer-7 protocols.
3434
+ :type AccessLogTopicId: str
3432
3435
  """
3433
3436
  self._LoadBalancerType = None
3434
3437
  self._Forward = None
@@ -3458,6 +3461,8 @@ Note: The traffic only goes to the secondary AZ when the primary AZ is unavailab
3458
3461
  self._DynamicVip = None
3459
3462
  self._Egress = None
3460
3463
  self._LBChargePrepaid = None
3464
+ self._LBChargeType = None
3465
+ self._AccessLogTopicId = None
3461
3466
 
3462
3467
  @property
3463
3468
  def LoadBalancerType(self):
@@ -3507,7 +3512,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
3507
3512
 
3508
3513
  @property
3509
3514
  def SubnetId(self):
3510
- """A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet. This parameter is required for creating a CLB instance.
3515
+ """A subnet ID should be specified when you purchase a private network CLB instance under a VPC. The VIP of the private network CLB instance is in this subnet. This parameter is required when you create a private network CLB instance but not supported when you create a public network IPv4 CLB instance.
3511
3516
  :rtype: str
3512
3517
  """
3513
3518
  return self._SubnetId
@@ -3551,7 +3556,8 @@ Note: if the name of the new CLB instance already exists, a default name will be
3551
3556
 
3552
3557
  @property
3553
3558
  def MasterZoneId(self):
3554
- """ID of the primary availability zone configured for cross-availability zone disaster recovery, such as 100001 or ap-guangzhou-1. It applies only to public network CLB.Note: The primary availability zone is the one that carries traffic. The replica availability zone does not carry traffic by default and is only used when the primary availability zone is unavailable. Currently, primary and replica availability zones are supported only for the IPv4 CLB instances in the regions of Guangzhou, Shanghai, Nanjing, Beijing, Chengdu, Shenzhen Finance Zone, Hong Kong (China), Seoul, Frankfurt, and Singapore. You can query the list of primary availability zones in a region through the [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1) API.
3559
+ """Applicable only to public network IPv4 CLB instances. This parameter specifies the primary AZ ID for cross-AZ disaster recovery. For example, 100001 or ap-guangzhou-1.
3560
+ Note: The primary AZ sustains traffic. The secondary AZ does not sustain traffic by default and is used only when the primary AZ is unavailable. Currently, primary and secondary AZs are supported only for IPv4 CLB instances in Guangzhou, Shanghai, Nanjing, Beijing, Chengdu, Shenzhen Finance, Hong Kong (China), Seoul, Frankfurt, and Singapore regions. You can call the [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1) API to query the list of primary AZs in a region. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3555
3561
  :rtype: str
3556
3562
  """
3557
3563
  return self._MasterZoneId
@@ -3562,7 +3568,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
3562
3568
 
3563
3569
  @property
3564
3570
  def ZoneId(self):
3565
- """Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
3571
+ """Applicable only to public network IPv4 CLB instances. This parameter specifies the AZ ID for creating a CLB instance. For example, ap-guangzhou-1.
3566
3572
  :rtype: str
3567
3573
  """
3568
3574
  return self._ZoneId
@@ -3573,7 +3579,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
3573
3579
 
3574
3580
  @property
3575
3581
  def InternetAccessible(self):
3576
- """Maximum outbound bandwidth under the network billing mode. It applies only to LCU-supported instances of the private network type and all instances of the public network type.
3582
+ """Network billing mode by the maximum outbound bandwidth. It applies only to private network LCU-supported instances and all public network instances. The feature of purchasing monthly subscription instances via an API is under grayscale release. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3577
3583
  :rtype: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
3578
3584
  """
3579
3585
  return self._InternetAccessible
@@ -3706,8 +3712,8 @@ Note: If the specified VIP is occupied or is not within the IP range of the spec
3706
3712
 
3707
3713
  @property
3708
3714
  def SlaveZoneId(self):
3709
- """Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB.
3710
- Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1).
3715
+ """Applicable only to public network IPv4 CLB instances. This parameter specifies the secondary AZ ID for cross-AZ disaster recovery. For example, 100001 or ap-guangzhou-1.
3716
+ Note: The secondary AZ sustains traffic when the primary AZ encounters faults. You can call the [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1) API to query the list of primary/secondary AZs in a region. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3711
3717
  :rtype: str
3712
3718
  """
3713
3719
  return self._SlaveZoneId
@@ -3762,7 +3768,7 @@ Note: The traffic only goes to the secondary AZ when the primary AZ is unavailab
3762
3768
 
3763
3769
  @property
3764
3770
  def LBChargePrepaid(self):
3765
- """Prepaid billing attributes of a CLB instance
3771
+ """Prepayment-related attributes of a CLB instance. The feature of purchasing monthly subscription instances via an API is under grayscale release. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3766
3772
  :rtype: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
3767
3773
  """
3768
3774
  return self._LBChargePrepaid
@@ -3771,6 +3777,28 @@ Note: The traffic only goes to the secondary AZ when the primary AZ is unavailab
3771
3777
  def LBChargePrepaid(self, LBChargePrepaid):
3772
3778
  self._LBChargePrepaid = LBChargePrepaid
3773
3779
 
3780
+ @property
3781
+ def LBChargeType(self):
3782
+ """Billing type of a CLB instance. Valid values: POSTPAID_BY_HOUR and PREPAID. Default value: POSTPAID_BY_HOUR. The feature of purchasing monthly subscription instances via an API is under grayscale release. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3783
+ :rtype: str
3784
+ """
3785
+ return self._LBChargeType
3786
+
3787
+ @LBChargeType.setter
3788
+ def LBChargeType(self, LBChargeType):
3789
+ self._LBChargeType = LBChargeType
3790
+
3791
+ @property
3792
+ def AccessLogTopicId(self):
3793
+ """Topic ID of logs of traffic access over layer-7 protocols.
3794
+ :rtype: str
3795
+ """
3796
+ return self._AccessLogTopicId
3797
+
3798
+ @AccessLogTopicId.setter
3799
+ def AccessLogTopicId(self, AccessLogTopicId):
3800
+ self._AccessLogTopicId = AccessLogTopicId
3801
+
3774
3802
 
3775
3803
  def _deserialize(self, params):
3776
3804
  self._LoadBalancerType = params.get("LoadBalancerType")
@@ -3817,6 +3845,8 @@ Note: The traffic only goes to the secondary AZ when the primary AZ is unavailab
3817
3845
  if params.get("LBChargePrepaid") is not None:
3818
3846
  self._LBChargePrepaid = LBChargePrepaid()
3819
3847
  self._LBChargePrepaid._deserialize(params.get("LBChargePrepaid"))
3848
+ self._LBChargeType = params.get("LBChargeType")
3849
+ self._AccessLogTopicId = params.get("AccessLogTopicId")
3820
3850
  memeber_set = set(params.keys())
3821
3851
  for name, value in vars(self).items():
3822
3852
  property_name = name[1:]
@@ -10362,10 +10392,12 @@ class InternetAccessible(AbstractModel):
10362
10392
 
10363
10393
  def __init__(self):
10364
10394
  r"""
10365
- :param _InternetChargeType: TRAFFIC_POSTPAID_BY_HOUR: hourly pay-as-you-go by traffic; BANDWIDTH_POSTPAID_BY_HOUR: hourly pay-as-you-go by bandwidth;
10366
- BANDWIDTH_PACKAGE: billed by bandwidth package (currently, this method is supported only if the ISP is specified)
10395
+ :param _InternetChargeType: TRAFFIC_POSTPAID_BY_HOUR: Postpaid by traffic on an hourly basis. BANDWIDTH_POSTPAID_BY_HOUR: Postpaid by bandwidth on an hourly basis. International site users do not support this billing mode. BANDWIDTH_PACKAGE: Charged by bandwidth package. BANDWIDTH_PREPAID: Bandwidth prepaid.
10367
10396
  :type InternetChargeType: str
10368
- :param _InternetMaxBandwidthOut: Maximum outbound bandwidth, in Mbps. This applies only to shared, LCU-supported, and exclusive CLB instances of the public network type, as well as the LCU-supported CLB instances of the private network type.- For shared and exclusive CLB instances of the public network type, the maximum outbound bandwidth ranges from 1 Mbps to 2048 Mbps.- For LCU-supported CLB instances of the public network type and the private network type, the maximum outbound bandwidth ranges from 1 Mbps to 61440 Mbps.(If this parameter is not specified when CreateLoadBalancer is called to create a CLB instance, it defaults to 10 Mbps. This upper limit can be adjusted.)Note: This field may return null, indicating that no valid values can be obtained.
10397
+ :param _InternetMaxBandwidthOut: Maximum outbound bandwidth, in Mbps. This parameter is valid only for public network shared, LCU-supported, and exclusive CLB instances and private network LCU-supported CLB instances.
10398
+ - The range of the maximum outbound bandwidth for public network shared and exclusive CLB instances is 1 Mbps to 2,048 Mbps.
10399
+ - The range of the maximum outbound bandwidth for public network and private network LCU-supported CLB instances is 1 Mbps to 61,440 Mbps.
10400
+ (If this parameter is not specified when CreateLoadBalancer is called to create a CLB instance, the default value of 10 Mbps is used. This value can be modified.)
10369
10401
  :type InternetMaxBandwidthOut: int
10370
10402
  :param _BandwidthpkgSubType: Bandwidth package type, such as SINGLEISP (single-line) and BGP (multi-line).Note: This field may return null, indicating that no valid values can be obtained.
10371
10403
  :type BandwidthpkgSubType: str
@@ -10376,8 +10408,7 @@ BANDWIDTH_PACKAGE: billed by bandwidth package (currently, this method is suppor
10376
10408
 
10377
10409
  @property
10378
10410
  def InternetChargeType(self):
10379
- """TRAFFIC_POSTPAID_BY_HOUR: hourly pay-as-you-go by traffic; BANDWIDTH_POSTPAID_BY_HOUR: hourly pay-as-you-go by bandwidth;
10380
- BANDWIDTH_PACKAGE: billed by bandwidth package (currently, this method is supported only if the ISP is specified)
10411
+ """TRAFFIC_POSTPAID_BY_HOUR: Postpaid by traffic on an hourly basis. BANDWIDTH_POSTPAID_BY_HOUR: Postpaid by bandwidth on an hourly basis. International site users do not support this billing mode. BANDWIDTH_PACKAGE: Charged by bandwidth package. BANDWIDTH_PREPAID: Bandwidth prepaid.
10381
10412
  :rtype: str
10382
10413
  """
10383
10414
  return self._InternetChargeType
@@ -10388,7 +10419,10 @@ BANDWIDTH_PACKAGE: billed by bandwidth package (currently, this method is suppor
10388
10419
 
10389
10420
  @property
10390
10421
  def InternetMaxBandwidthOut(self):
10391
- """Maximum outbound bandwidth, in Mbps. This applies only to shared, LCU-supported, and exclusive CLB instances of the public network type, as well as the LCU-supported CLB instances of the private network type.- For shared and exclusive CLB instances of the public network type, the maximum outbound bandwidth ranges from 1 Mbps to 2048 Mbps.- For LCU-supported CLB instances of the public network type and the private network type, the maximum outbound bandwidth ranges from 1 Mbps to 61440 Mbps.(If this parameter is not specified when CreateLoadBalancer is called to create a CLB instance, it defaults to 10 Mbps. This upper limit can be adjusted.)Note: This field may return null, indicating that no valid values can be obtained.
10422
+ """Maximum outbound bandwidth, in Mbps. This parameter is valid only for public network shared, LCU-supported, and exclusive CLB instances and private network LCU-supported CLB instances.
10423
+ - The range of the maximum outbound bandwidth for public network shared and exclusive CLB instances is 1 Mbps to 2,048 Mbps.
10424
+ - The range of the maximum outbound bandwidth for public network and private network LCU-supported CLB instances is 1 Mbps to 61,440 Mbps.
10425
+ (If this parameter is not specified when CreateLoadBalancer is called to create a CLB instance, the default value of 10 Mbps is used. This value can be modified.)
10392
10426
  :rtype: int
10393
10427
  """
10394
10428
  return self._InternetMaxBandwidthOut
@@ -10557,11 +10591,9 @@ class LBChargePrepaid(AbstractModel):
10557
10591
 
10558
10592
  def __init__(self):
10559
10593
  r"""
10560
- :param _RenewFlag: Renewal type. AUTO_RENEW: automatic renewal; MANUAL_RENEW: manual renewal
10561
- Note: This field may return null, indicating that no valid values can be obtained.
10594
+ :param _RenewFlag: Reserved field.
10562
10595
  :type RenewFlag: str
10563
- :param _Period: Cycle, indicating the number of months (reserved field)
10564
- Note: This field may return null, indicating that no valid values can be obtained.
10596
+ :param _Period: Reserved field.
10565
10597
  :type Period: int
10566
10598
  """
10567
10599
  self._RenewFlag = None
@@ -10569,8 +10601,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
10569
10601
 
10570
10602
  @property
10571
10603
  def RenewFlag(self):
10572
- """Renewal type. AUTO_RENEW: automatic renewal; MANUAL_RENEW: manual renewal
10573
- Note: This field may return null, indicating that no valid values can be obtained.
10604
+ """Reserved field.
10574
10605
  :rtype: str
10575
10606
  """
10576
10607
  return self._RenewFlag
@@ -10581,8 +10612,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
10581
10612
 
10582
10613
  @property
10583
10614
  def Period(self):
10584
- """Cycle, indicating the number of months (reserved field)
10585
- Note: This field may return null, indicating that no valid values can be obtained.
10615
+ """Reserved field.
10586
10616
  :rtype: int
10587
10617
  """
10588
10618
  return self._Period
@@ -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.1202
3
+ Version: 3.0.1204
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=VSWuJ1IY6hBM0HqSHBibS-rVYmEcCEdqHSWnzubwwLc,630
1
+ tencentcloud/__init__.py,sha256=wkCRx1tPqiYyLVL8gnapwRrl5E5WLEa22j5qS-EbBQo,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
@@ -137,7 +137,7 @@ tencentcloud/clb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
137
137
  tencentcloud/clb/v20180317/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
138
138
  tencentcloud/clb/v20180317/clb_client.py,sha256=SCZmXAenI8eR6N_1X_1zyAREiyhF5Ifw8fbPd2fFEbw,97844
139
139
  tencentcloud/clb/v20180317/errorcodes.py,sha256=lHQpKuOl4pAupRvV2BYU2e8UV_75tNXF8ALAmBFS11w,4207
140
- tencentcloud/clb/v20180317/models.py,sha256=vC9qieJ01CBM1JqAKrqTN-kFgrIHEZZejUYrB-O9dcs,697355
140
+ tencentcloud/clb/v20180317/models.py,sha256=iSR2vWpagifnd5YGG67nGXTG9SCsxlscXh_mlpBqN-c,699387
141
141
  tencentcloud/cloudaudit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
142
142
  tencentcloud/cloudaudit/v20190319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
143
143
  tencentcloud/cloudaudit/v20190319/cloudaudit_client.py,sha256=x7hq5sPidBryCDaX6DGlR_1MMbTqgg9axq8VBRu1NqY,18127
@@ -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.1202.dist-info/METADATA,sha256=R95t3dSVlFoQ1kgDr5K0Z8C6GcqAyY1A-FMKVfWwSSU,1628
658
- tencentcloud_sdk_python_intl_en-3.0.1202.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
659
- tencentcloud_sdk_python_intl_en-3.0.1202.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
660
- tencentcloud_sdk_python_intl_en-3.0.1202.dist-info/RECORD,,
657
+ tencentcloud_sdk_python_intl_en-3.0.1204.dist-info/METADATA,sha256=nm4zJT9B7g5XoY4Bbfhe-hNiUw4hTMKCx78hpnJXjHo,1628
658
+ tencentcloud_sdk_python_intl_en-3.0.1204.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
659
+ tencentcloud_sdk_python_intl_en-3.0.1204.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
660
+ tencentcloud_sdk_python_intl_en-3.0.1204.dist-info/RECORD,,