tencentcloud-sdk-python-intl-en 3.0.1281__py2.py3-none-any.whl → 3.0.1283__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.1281'
16
+ __version__ = '3.0.1283'
@@ -1222,6 +1222,29 @@ class DlcClient(AbstractClient):
1222
1222
  raise TencentCloudSDKException(type(e).__name__, str(e))
1223
1223
 
1224
1224
 
1225
+ def DescribeSessionImageVersion(self, request):
1226
+ r"""This API is used to retrieve all built-in images of all minor versions under a specified major version.
1227
+
1228
+ :param request: Request instance for DescribeSessionImageVersion.
1229
+ :type request: :class:`tencentcloud.dlc.v20210125.models.DescribeSessionImageVersionRequest`
1230
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeSessionImageVersionResponse`
1231
+
1232
+ """
1233
+ try:
1234
+ params = request._serialize()
1235
+ headers = request.headers
1236
+ body = self.call("DescribeSessionImageVersion", params, headers=headers)
1237
+ response = json.loads(body)
1238
+ model = models.DescribeSessionImageVersionResponse()
1239
+ model._deserialize(response["Response"])
1240
+ return model
1241
+ except Exception as e:
1242
+ if isinstance(e, TencentCloudSDKException):
1243
+ raise
1244
+ else:
1245
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1246
+
1247
+
1225
1248
  def DescribeSparkAppJob(self, request):
1226
1249
  r"""u200cThis API is used to query the information of a Spark job.
1227
1250
 
@@ -10579,6 +10579,107 @@ Note: This field may return null, indicating that no valid values can be obtaine
10579
10579
  self._RequestId = params.get("RequestId")
10580
10580
 
10581
10581
 
10582
+ class DescribeSessionImageVersionRequest(AbstractModel):
10583
+ r"""DescribeSessionImageVersion request structure.
10584
+
10585
+ """
10586
+
10587
+ def __init__(self):
10588
+ r"""
10589
+ :param _DataEngineId: Engine Id.
10590
+ :type DataEngineId: str
10591
+ :param _FrameworkType: Framework type: machine-learning, python, spark-ml.
10592
+ :type FrameworkType: str
10593
+ """
10594
+ self._DataEngineId = None
10595
+ self._FrameworkType = None
10596
+
10597
+ @property
10598
+ def DataEngineId(self):
10599
+ r"""Engine Id.
10600
+ :rtype: str
10601
+ """
10602
+ return self._DataEngineId
10603
+
10604
+ @DataEngineId.setter
10605
+ def DataEngineId(self, DataEngineId):
10606
+ self._DataEngineId = DataEngineId
10607
+
10608
+ @property
10609
+ def FrameworkType(self):
10610
+ r"""Framework type: machine-learning, python, spark-ml.
10611
+ :rtype: str
10612
+ """
10613
+ return self._FrameworkType
10614
+
10615
+ @FrameworkType.setter
10616
+ def FrameworkType(self, FrameworkType):
10617
+ self._FrameworkType = FrameworkType
10618
+
10619
+
10620
+ def _deserialize(self, params):
10621
+ self._DataEngineId = params.get("DataEngineId")
10622
+ self._FrameworkType = params.get("FrameworkType")
10623
+ memeber_set = set(params.keys())
10624
+ for name, value in vars(self).items():
10625
+ property_name = name[1:]
10626
+ if property_name in memeber_set:
10627
+ memeber_set.remove(property_name)
10628
+ if len(memeber_set) > 0:
10629
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10630
+
10631
+
10632
+
10633
+ class DescribeSessionImageVersionResponse(AbstractModel):
10634
+ r"""DescribeSessionImageVersion response structure.
10635
+
10636
+ """
10637
+
10638
+ def __init__(self):
10639
+ r"""
10640
+ :param _EngineSessionImages: Expands the image list.
10641
+ Note: This field may return null, indicating that no valid values can be obtained.
10642
+ :type EngineSessionImages: list of EngineSessionImage
10643
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10644
+ :type RequestId: str
10645
+ """
10646
+ self._EngineSessionImages = None
10647
+ self._RequestId = None
10648
+
10649
+ @property
10650
+ def EngineSessionImages(self):
10651
+ r"""Expands the image list.
10652
+ Note: This field may return null, indicating that no valid values can be obtained.
10653
+ :rtype: list of EngineSessionImage
10654
+ """
10655
+ return self._EngineSessionImages
10656
+
10657
+ @EngineSessionImages.setter
10658
+ def EngineSessionImages(self, EngineSessionImages):
10659
+ self._EngineSessionImages = EngineSessionImages
10660
+
10661
+ @property
10662
+ def RequestId(self):
10663
+ r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10664
+ :rtype: str
10665
+ """
10666
+ return self._RequestId
10667
+
10668
+ @RequestId.setter
10669
+ def RequestId(self, RequestId):
10670
+ self._RequestId = RequestId
10671
+
10672
+
10673
+ def _deserialize(self, params):
10674
+ if params.get("EngineSessionImages") is not None:
10675
+ self._EngineSessionImages = []
10676
+ for item in params.get("EngineSessionImages"):
10677
+ obj = EngineSessionImage()
10678
+ obj._deserialize(item)
10679
+ self._EngineSessionImages.append(obj)
10680
+ self._RequestId = params.get("RequestId")
10681
+
10682
+
10582
10683
  class DescribeSparkAppJobRequest(AbstractModel):
10583
10684
  r"""DescribeSparkAppJob request structure.
10584
10685
 
@@ -13929,6 +14030,99 @@ class DropDMSTableResponse(AbstractModel):
13929
14030
  self._RequestId = params.get("RequestId")
13930
14031
 
13931
14032
 
14033
+ class EngineSessionImage(AbstractModel):
14034
+ r"""TensorFlow, Pytorch, SK-learn image information list.
14035
+
14036
+ """
14037
+
14038
+ def __init__(self):
14039
+ r"""
14040
+ :param _SparkImageId: Specifies the unique id of the Spark mirror.
14041
+ Note: This field may return null, indicating that no valid values can be obtained.
14042
+ :type SparkImageId: str
14043
+ :param _SparkImageVersion: Spark image version name.
14044
+ Note: This field may return null, indicating that no valid values can be obtained.
14045
+ :type SparkImageVersion: str
14046
+ :param _SparkImageType: Minor version image type. 1: TensorFlow, 2: Pytorch, 3: SK-learn.
14047
+
14048
+ Note: This field may return null, indicating that no valid values can be obtained.
14049
+ :type SparkImageType: int
14050
+ :param _SparkImageTag: Image address.
14051
+
14052
+ Note: This field may return null, indicating that no valid values can be obtained.
14053
+ :type SparkImageTag: str
14054
+ """
14055
+ self._SparkImageId = None
14056
+ self._SparkImageVersion = None
14057
+ self._SparkImageType = None
14058
+ self._SparkImageTag = None
14059
+
14060
+ @property
14061
+ def SparkImageId(self):
14062
+ r"""Specifies the unique id of the Spark mirror.
14063
+ Note: This field may return null, indicating that no valid values can be obtained.
14064
+ :rtype: str
14065
+ """
14066
+ return self._SparkImageId
14067
+
14068
+ @SparkImageId.setter
14069
+ def SparkImageId(self, SparkImageId):
14070
+ self._SparkImageId = SparkImageId
14071
+
14072
+ @property
14073
+ def SparkImageVersion(self):
14074
+ r"""Spark image version name.
14075
+ Note: This field may return null, indicating that no valid values can be obtained.
14076
+ :rtype: str
14077
+ """
14078
+ return self._SparkImageVersion
14079
+
14080
+ @SparkImageVersion.setter
14081
+ def SparkImageVersion(self, SparkImageVersion):
14082
+ self._SparkImageVersion = SparkImageVersion
14083
+
14084
+ @property
14085
+ def SparkImageType(self):
14086
+ r"""Minor version image type. 1: TensorFlow, 2: Pytorch, 3: SK-learn.
14087
+
14088
+ Note: This field may return null, indicating that no valid values can be obtained.
14089
+ :rtype: int
14090
+ """
14091
+ return self._SparkImageType
14092
+
14093
+ @SparkImageType.setter
14094
+ def SparkImageType(self, SparkImageType):
14095
+ self._SparkImageType = SparkImageType
14096
+
14097
+ @property
14098
+ def SparkImageTag(self):
14099
+ r"""Image address.
14100
+
14101
+ Note: This field may return null, indicating that no valid values can be obtained.
14102
+ :rtype: str
14103
+ """
14104
+ return self._SparkImageTag
14105
+
14106
+ @SparkImageTag.setter
14107
+ def SparkImageTag(self, SparkImageTag):
14108
+ self._SparkImageTag = SparkImageTag
14109
+
14110
+
14111
+ def _deserialize(self, params):
14112
+ self._SparkImageId = params.get("SparkImageId")
14113
+ self._SparkImageVersion = params.get("SparkImageVersion")
14114
+ self._SparkImageType = params.get("SparkImageType")
14115
+ self._SparkImageTag = params.get("SparkImageTag")
14116
+ memeber_set = set(params.keys())
14117
+ for name, value in vars(self).items():
14118
+ property_name = name[1:]
14119
+ if property_name in memeber_set:
14120
+ memeber_set.remove(property_name)
14121
+ if len(memeber_set) > 0:
14122
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14123
+
14124
+
14125
+
13932
14126
  class Execution(AbstractModel):
13933
14127
  r"""SQL statement objects
13934
14128
 
@@ -522,20 +522,21 @@ Default value: 1
522
522
  4: Motion- and reflection-based liveness detection
523
523
  Default value: 4
524
524
  :type SecurityLevel: int
525
- :param _IdCardType: Card Types Supported for Authentication: Currently supported types are as follows:
526
- 1.HK (Default): Hong Kong (China) Identity Card
527
- 2.ML: Malaysia Identity Card
528
- 3.IndonesiaIDCard: Indonesia Identity Card
529
- 4.PhilippinesVoteID: Philippines Voter ID
530
- 5.PhilippinesDrivingLicense: Philippines Driving License
531
- 6.PhilippinesTinID: Philippines Tin ID
532
- 7.PhilippinesSSSID: Philippines SSS ID
533
- 8.PhilippinesUMID: Philippines UMID
534
- 9.MLIDPassport: Passports of Hong Kong, Macao, Taiwan Regions (China) and Foreign Countries
535
- 10.ThailandIDCard: Thailand Identity Card
536
- 11.MainlandIDCard: Mainland China Identity Card
537
- 12.SingaporeIDCard: Singapore Identity Card
538
- 13.HMTPermit: Exit-Entry Permit for Travel to and from Hong Kong, Macao and Taiwan (China)
525
+ :param _IdCardType: Specifies the identity document type used for authentication. valid values:.
526
+
527
+ HK (default): hong kong (china) identity card.
528
+ 2. ML: malaysian identity card.
529
+ Indonesian identity card.
530
+ 4. PhilippinesVoteID: specifies the voter card in the philippines.
531
+ 5. PhilippinesDrivingLicense: specifies the driving license in philippines.
532
+ 6. PhilippinesTinID: specifies the philippines tin id.
533
+ 7. PhilippinesSSSID: specifies the SSSID in the philippines.
534
+ 8. philippines UMID: specifies the philippines UMID.
535
+ 9. MLIDPassport: specifies the passport for hong kong (china), macao (china), and taiwan (china) as well as overseas passports.
536
+ ThailandIDCard: specifies the thai identity card.
537
+ Mainland id card.
538
+ 12. SingaporeIDCard: specifies the Singapore id card.
539
+ 13. HMTPermit: specifies the hong kong, macau and taiwan travel permit.
539
540
  :type IdCardType: str
540
541
  :param _CompareImage: The Base64-encoded value of the photo to compare, which is required only when `CheckMode` is set to `2`.
541
542
  :type CompareImage: str
@@ -546,9 +547,13 @@ Default value: 4
546
547
  :param _DisableCheckOcrWarnings: Whether to disable the OCR warnings. Default value: `false` (not disable), where OCR warnings are enabled and the OCR result will not be returned if there is a warning.
547
548
  This feature applies only to Hong Kong (China) identity cards, Malaysian identity cards, and passports.
548
549
  :type DisableCheckOcrWarnings: bool
550
+ :param _SelectedWarningCodes: Customize which alarm codes to block. If left blank, all alarm codes will be blocked by default.
551
+ Optional alarm codes are: -9101 (occlusion or incomplete border), -9102 (photocopying), -9103 (screen capture by camera), -9104 (image editing/PS modification), -9107 (glare/reflection), -9108 (blurriness), -9901 (other alarms).
552
+ :type SelectedWarningCodes: list of int
549
553
  :param _Extra: A passthrough field, which is returned together with the verification result and can contain up to 1,024 bits.
550
554
  :type Extra: str
551
- :param _SdkVersion: ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
555
+ :param _SdkVersion: ENHANCED: enhanced.
556
+ BASIC: basic version (default).
552
557
  :type SdkVersion: str
553
558
  :param _ActionList: This interface is used to control th action sequences.
554
559
  Action types are as follows:
@@ -569,6 +574,7 @@ The default value is blink. The different action types passed in this parameter
569
574
  self._NeedVerifyIdCard = None
570
575
  self._DisableChangeOcrResult = None
571
576
  self._DisableCheckOcrWarnings = None
577
+ self._SelectedWarningCodes = None
572
578
  self._Extra = None
573
579
  self._SdkVersion = None
574
580
  self._ActionList = None
@@ -606,20 +612,21 @@ Default value: 4
606
612
 
607
613
  @property
608
614
  def IdCardType(self):
609
- r"""Card Types Supported for Authentication: Currently supported types are as follows:
610
- 1.HK (Default): Hong Kong (China) Identity Card
611
- 2.ML: Malaysia Identity Card
612
- 3.IndonesiaIDCard: Indonesia Identity Card
613
- 4.PhilippinesVoteID: Philippines Voter ID
614
- 5.PhilippinesDrivingLicense: Philippines Driving License
615
- 6.PhilippinesTinID: Philippines Tin ID
616
- 7.PhilippinesSSSID: Philippines SSS ID
617
- 8.PhilippinesUMID: Philippines UMID
618
- 9.MLIDPassport: Passports of Hong Kong, Macao, Taiwan Regions (China) and Foreign Countries
619
- 10.ThailandIDCard: Thailand Identity Card
620
- 11.MainlandIDCard: Mainland China Identity Card
621
- 12.SingaporeIDCard: Singapore Identity Card
622
- 13.HMTPermit: Exit-Entry Permit for Travel to and from Hong Kong, Macao and Taiwan (China)
615
+ r"""Specifies the identity document type used for authentication. valid values:.
616
+
617
+ HK (default): hong kong (china) identity card.
618
+ 2. ML: malaysian identity card.
619
+ Indonesian identity card.
620
+ 4. PhilippinesVoteID: specifies the voter card in the philippines.
621
+ 5. PhilippinesDrivingLicense: specifies the driving license in philippines.
622
+ 6. PhilippinesTinID: specifies the philippines tin id.
623
+ 7. PhilippinesSSSID: specifies the SSSID in the philippines.
624
+ 8. philippines UMID: specifies the philippines UMID.
625
+ 9. MLIDPassport: specifies the passport for hong kong (china), macao (china), and taiwan (china) as well as overseas passports.
626
+ ThailandIDCard: specifies the thai identity card.
627
+ Mainland id card.
628
+ 12. SingaporeIDCard: specifies the Singapore id card.
629
+ 13. HMTPermit: specifies the hong kong, macau and taiwan travel permit.
623
630
  :rtype: str
624
631
  """
625
632
  return self._IdCardType
@@ -677,6 +684,18 @@ This feature applies only to Hong Kong (China) identity cards, Malaysian identit
677
684
  def DisableCheckOcrWarnings(self, DisableCheckOcrWarnings):
678
685
  self._DisableCheckOcrWarnings = DisableCheckOcrWarnings
679
686
 
687
+ @property
688
+ def SelectedWarningCodes(self):
689
+ r"""Customize which alarm codes to block. If left blank, all alarm codes will be blocked by default.
690
+ Optional alarm codes are: -9101 (occlusion or incomplete border), -9102 (photocopying), -9103 (screen capture by camera), -9104 (image editing/PS modification), -9107 (glare/reflection), -9108 (blurriness), -9901 (other alarms).
691
+ :rtype: list of int
692
+ """
693
+ return self._SelectedWarningCodes
694
+
695
+ @SelectedWarningCodes.setter
696
+ def SelectedWarningCodes(self, SelectedWarningCodes):
697
+ self._SelectedWarningCodes = SelectedWarningCodes
698
+
680
699
  @property
681
700
  def Extra(self):
682
701
  r"""A passthrough field, which is returned together with the verification result and can contain up to 1,024 bits.
@@ -690,7 +709,8 @@ This feature applies only to Hong Kong (China) identity cards, Malaysian identit
690
709
 
691
710
  @property
692
711
  def SdkVersion(self):
693
- r"""ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
712
+ r"""ENHANCED: enhanced.
713
+ BASIC: basic version (default).
694
714
  :rtype: str
695
715
  """
696
716
  return self._SdkVersion
@@ -728,6 +748,7 @@ The default value is blink. The different action types passed in this parameter
728
748
  self._NeedVerifyIdCard = params.get("NeedVerifyIdCard")
729
749
  self._DisableChangeOcrResult = params.get("DisableChangeOcrResult")
730
750
  self._DisableCheckOcrWarnings = params.get("DisableCheckOcrWarnings")
751
+ self._SelectedWarningCodes = params.get("SelectedWarningCodes")
731
752
  self._Extra = params.get("Extra")
732
753
  self._SdkVersion = params.get("SdkVersion")
733
754
  self._ActionList = params.get("ActionList")
@@ -748,7 +769,7 @@ class ApplySdkVerificationTokenResponse(AbstractModel):
748
769
 
749
770
  def __init__(self):
750
771
  r"""
751
- :param _SdkToken: The token used to identify an SDK-based verification process. It is valid for 7,200s and can be used to get the verification result after the process is completed.
772
+ :param _SdkToken: A token that identifies an SDK verification process. the validity time is 10 minutes. after the process is complete, the token can be used to retrieve the verification result.
752
773
  :type SdkToken: str
753
774
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
754
775
  :type RequestId: str
@@ -758,7 +779,7 @@ class ApplySdkVerificationTokenResponse(AbstractModel):
758
779
 
759
780
  @property
760
781
  def SdkToken(self):
761
- r"""The token used to identify an SDK-based verification process. It is valid for 7,200s and can be used to get the verification result after the process is completed.
782
+ r"""A token that identifies an SDK verification process. the validity time is 10 minutes. after the process is complete, the token can be used to retrieve the verification result.
762
783
  :rtype: str
763
784
  """
764
785
  return self._SdkToken
@@ -41912,12 +41912,24 @@ class ProcessImageRequest(AbstractModel):
41912
41912
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
41913
41913
  :param _OutputDir: Output file path for image processing. If left blank, it is the directory of the file in InputInfo. If it is a directory, such as `/image/201907/`, it means inheriting the original filename and outputting to this directory.
41914
41914
  :type OutputDir: str
41915
+ :param _OutputPath: Output path, which can be a relative or an absolute path.
41916
+ The path must end with `.{format}`. For details, please refer to the [Filename Variable](https://www.tencentcloud.comom/document/product/862/37039?from_cn_redirect=1).
41917
+ **Relative path example:**
41918
+ <Li>`Filename_{Variablename}.{format}`.</li>
41919
+ <Li>`Filename.{format}`.</li>
41920
+
41921
+ **Absolute path example:**
41922
+ <Li>`/Path/Filename_{Variablename}.{format}`.</li>
41923
+
41924
+ If not filled in, default relative path: `{inputName}.{format}`.
41925
+ :type OutputPath: str
41915
41926
  :param _ImageTask: Image processing parameter.
41916
41927
  :type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
41917
41928
  """
41918
41929
  self._InputInfo = None
41919
41930
  self._OutputStorage = None
41920
41931
  self._OutputDir = None
41932
+ self._OutputPath = None
41921
41933
  self._ImageTask = None
41922
41934
 
41923
41935
  @property
@@ -41953,6 +41965,26 @@ class ProcessImageRequest(AbstractModel):
41953
41965
  def OutputDir(self, OutputDir):
41954
41966
  self._OutputDir = OutputDir
41955
41967
 
41968
+ @property
41969
+ def OutputPath(self):
41970
+ r"""Output path, which can be a relative or an absolute path.
41971
+ The path must end with `.{format}`. For details, please refer to the [Filename Variable](https://www.tencentcloud.comom/document/product/862/37039?from_cn_redirect=1).
41972
+ **Relative path example:**
41973
+ <Li>`Filename_{Variablename}.{format}`.</li>
41974
+ <Li>`Filename.{format}`.</li>
41975
+
41976
+ **Absolute path example:**
41977
+ <Li>`/Path/Filename_{Variablename}.{format}`.</li>
41978
+
41979
+ If not filled in, default relative path: `{inputName}.{format}`.
41980
+ :rtype: str
41981
+ """
41982
+ return self._OutputPath
41983
+
41984
+ @OutputPath.setter
41985
+ def OutputPath(self, OutputPath):
41986
+ self._OutputPath = OutputPath
41987
+
41956
41988
  @property
41957
41989
  def ImageTask(self):
41958
41990
  r"""Image processing parameter.
@@ -41973,6 +42005,7 @@ class ProcessImageRequest(AbstractModel):
41973
42005
  self._OutputStorage = TaskOutputStorage()
41974
42006
  self._OutputStorage._deserialize(params.get("OutputStorage"))
41975
42007
  self._OutputDir = params.get("OutputDir")
42008
+ self._OutputPath = params.get("OutputPath")
41976
42009
  if params.get("ImageTask") is not None:
41977
42010
  self._ImageTask = ImageTaskInput()
41978
42011
  self._ImageTask._deserialize(params.get("ImageTask"))
@@ -631,56 +631,44 @@ class ClusterInfo(AbstractModel):
631
631
  :type ApiAccessIp: str
632
632
  :param _ApiAccessPort: TcaplusDB SDK connection parameter: access port
633
633
  :type ApiAccessPort: int
634
- :param _OldPasswordExpireTime: If `PasswordStatus` is `unmodifiable`, the old password has not expired, and this field will display its expiration time; otherwise, this field will be empty
635
- Note: this field may return null, indicating that no valid values can be obtained.
634
+ :param _OldPasswordExpireTime: If the value of PasswordStatus is unmodifiable, it indicates that the old password has not expired. This field will display the expiration time of the old password; otherwise, the value is null.
636
635
  :type OldPasswordExpireTime: str
637
- :param _ApiAccessIpv6: TcaplusDB SDK connection parameter for accessing IPv6 addresses
638
- Note: this field may return null, indicating that no valid values can be obtained.
636
+ :param _ApiAccessIpv6: TencentDB for TcaplusDB (TcaplusDB) SDK connection parameters, which are used to access the IPv6 address.
639
637
  :type ApiAccessIpv6: str
640
- :param _ClusterType: Cluster type. Valid values: `0` and `1` (shared cluster), `2` (dedicated cluster).
641
- Note: This field may return null, indicating that no valid values can be obtained.
638
+ :param _ClusterType: Cluster type. 0,1: shared cluster; 2: independent cluster.
642
639
  :type ClusterType: int
643
- :param _ClusterStatus: Cluster status. Valid values: `0` (Running), `1` (Isolated. This status is caused by overdue payments), `2` (To be repossessed. This status is caused when the cluster is actively deleted.),·`3` (To be released. The resources occupied by the table can be released in this status.), `4` (Modifying).
644
- Note: This field may return null, indicating that no valid values can be obtained.
640
+ :param _ClusterStatus: Cluster status. 0: indicates normal operation; 1: indicates frozen isolation (usually due to arrears); 2: indicates to be recycled (usually when the user proactively triggers deletion); 3: pending release (indicating that resources occupied by this table can be released); 4: changing.
645
641
  :type ClusterStatus: int
646
- :param _ReadCapacityUnit: Read CU
647
- Note: this field may return `null`, indicating that no valid values can be obtained.
642
+ :param _ReadCapacityUnit: Read CU.
648
643
  :type ReadCapacityUnit: int
649
- :param _WriteCapacityUnit: Write CU
650
- Note: this field may return `null`, indicating that no valid values can be obtained.
644
+ :param _WriteCapacityUnit: Write CU.
651
645
  :type WriteCapacityUnit: int
652
- :param _DiskVolume: Disk capacity
653
- Note: this field may return `null`, indicating that no valid values can be obtained.
646
+ :param _DiskVolume: Disk capacity.
654
647
  :type DiskVolume: int
655
- :param _ServerList: Information of the machine at the storage layer (tcapsvr) in a dedicated cluster
656
- Note: this field may return `null`, indicating that no valid values can be obtained.
648
+ :param _ServerList: Information about the dedicated server.
657
649
  :type ServerList: list of ServerDetailInfo
658
- :param _ProxyList: Information of the machine at the access layer (tcaproxy) in a dedicated cluster
659
- Note: this field may return `null`, indicating that no valid values can be obtained.
650
+ :param _ProxyList: Information about the dedicated proxy server.
660
651
  :type ProxyList: list of ProxyDetailInfo
661
652
  :param _Censorship: Whether the cluster operation approval feature is enabled. Valid values: `0` (disabled), `1` (enabled)
662
653
  :type Censorship: int
663
- :param _DbaUins: Approver UIN list
664
- Note: `null` may be returned for this field, indicating that no valid values can be obtained.
654
+ :param _DbaUins: Approver UIN list.
665
655
  :type DbaUins: list of str
666
- :param _DataFlowStatus: Whether data subscription is enabled
667
- Note: this field may return `null`, indicating that no valid values can be obtained.
656
+ :param _DataFlowStatus: Whether data subscription is enabled.
668
657
  :type DataFlowStatus: int
669
- :param _KafkaInfo: CKafka information when data subscription is enabled
670
- Note: this field may return `null`, indicating that no valid values can be obtained.
658
+ :param _KafkaInfo: Kafka information for data subscription.
671
659
  :type KafkaInfo: :class:`tencentcloud.tcaplusdb.v20190823.models.KafkaInfo`
672
- :param _TxhBackupExpireDay: The number of days after which the cluster Txh backup file will expire and be deleted.
673
- Note: This field may return `null`, indicating that no valid values can be obtained.
660
+ :param _TxhBackupExpireDay: Retention period for the Txh backup file of the cluster before expiration and deletion.
674
661
  :type TxhBackupExpireDay: int
675
- :param _UlogBackupExpireDay: The number of days after which the cluster Ulog backup file will expire and be deleted.
676
- Note: This field may return `null`, indicating that no valid values can be obtained.
662
+ :param _UlogBackupExpireDay: Retention period for the Ulog backup file of the cluster before expiration and deletion.
677
663
  :type UlogBackupExpireDay: int
678
- :param _IsReadOnlyUlogBackupExpireDay: Whether the expiration policy of cluster Ulog backup file is read-only. `0`: Yes; `1`: No.
679
- Note: This field may return `null`, indicating that no valid values can be obtained.
664
+ :param _IsReadOnlyUlogBackupExpireDay: Whether the expiration policy for the Ulog backup file of the cluster is read-only. 0: UlogBackupExpire is read-only and cannot be modified; 1: UlogBackupExpire can be modified.
680
665
  :type IsReadOnlyUlogBackupExpireDay: int
681
- :param _RestProxyStatus: restproxy Status
682
- Note: This field may return null, indicating that no valid values can be obtained.
666
+ :param _RestProxyStatus: restproxy status.
683
667
  :type RestProxyStatus: int
668
+ :param _ShardTotalNum: Total number of shards in the cluster.
669
+ :type ShardTotalNum: int
670
+ :param _ShardUsedNum: Total number of used shards.
671
+ :type ShardUsedNum: int
684
672
  """
685
673
  self._ClusterName = None
686
674
  self._ClusterId = None
@@ -712,6 +700,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
712
700
  self._UlogBackupExpireDay = None
713
701
  self._IsReadOnlyUlogBackupExpireDay = None
714
702
  self._RestProxyStatus = None
703
+ self._ShardTotalNum = None
704
+ self._ShardUsedNum = None
715
705
 
716
706
  @property
717
707
  def ClusterName(self):
@@ -858,8 +848,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
858
848
 
859
849
  @property
860
850
  def OldPasswordExpireTime(self):
861
- r"""If `PasswordStatus` is `unmodifiable`, the old password has not expired, and this field will display its expiration time; otherwise, this field will be empty
862
- Note: this field may return null, indicating that no valid values can be obtained.
851
+ r"""If the value of PasswordStatus is unmodifiable, it indicates that the old password has not expired. This field will display the expiration time of the old password; otherwise, the value is null.
863
852
  :rtype: str
864
853
  """
865
854
  return self._OldPasswordExpireTime
@@ -870,8 +859,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
870
859
 
871
860
  @property
872
861
  def ApiAccessIpv6(self):
873
- r"""TcaplusDB SDK connection parameter for accessing IPv6 addresses
874
- Note: this field may return null, indicating that no valid values can be obtained.
862
+ r"""TencentDB for TcaplusDB (TcaplusDB) SDK connection parameters, which are used to access the IPv6 address.
875
863
  :rtype: str
876
864
  """
877
865
  return self._ApiAccessIpv6
@@ -882,8 +870,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
882
870
 
883
871
  @property
884
872
  def ClusterType(self):
885
- r"""Cluster type. Valid values: `0` and `1` (shared cluster), `2` (dedicated cluster).
886
- Note: This field may return null, indicating that no valid values can be obtained.
873
+ r"""Cluster type. 0,1: shared cluster; 2: independent cluster.
887
874
  :rtype: int
888
875
  """
889
876
  return self._ClusterType
@@ -894,8 +881,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
894
881
 
895
882
  @property
896
883
  def ClusterStatus(self):
897
- r"""Cluster status. Valid values: `0` (Running), `1` (Isolated. This status is caused by overdue payments), `2` (To be repossessed. This status is caused when the cluster is actively deleted.),·`3` (To be released. The resources occupied by the table can be released in this status.), `4` (Modifying).
898
- Note: This field may return null, indicating that no valid values can be obtained.
884
+ r"""Cluster status. 0: indicates normal operation; 1: indicates frozen isolation (usually due to arrears); 2: indicates to be recycled (usually when the user proactively triggers deletion); 3: pending release (indicating that resources occupied by this table can be released); 4: changing.
899
885
  :rtype: int
900
886
  """
901
887
  return self._ClusterStatus
@@ -906,8 +892,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
906
892
 
907
893
  @property
908
894
  def ReadCapacityUnit(self):
909
- r"""Read CU
910
- Note: this field may return `null`, indicating that no valid values can be obtained.
895
+ r"""Read CU.
911
896
  :rtype: int
912
897
  """
913
898
  return self._ReadCapacityUnit
@@ -918,8 +903,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
918
903
 
919
904
  @property
920
905
  def WriteCapacityUnit(self):
921
- r"""Write CU
922
- Note: this field may return `null`, indicating that no valid values can be obtained.
906
+ r"""Write CU.
923
907
  :rtype: int
924
908
  """
925
909
  return self._WriteCapacityUnit
@@ -930,8 +914,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
930
914
 
931
915
  @property
932
916
  def DiskVolume(self):
933
- r"""Disk capacity
934
- Note: this field may return `null`, indicating that no valid values can be obtained.
917
+ r"""Disk capacity.
935
918
  :rtype: int
936
919
  """
937
920
  return self._DiskVolume
@@ -942,8 +925,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
942
925
 
943
926
  @property
944
927
  def ServerList(self):
945
- r"""Information of the machine at the storage layer (tcapsvr) in a dedicated cluster
946
- Note: this field may return `null`, indicating that no valid values can be obtained.
928
+ r"""Information about the dedicated server.
947
929
  :rtype: list of ServerDetailInfo
948
930
  """
949
931
  return self._ServerList
@@ -954,8 +936,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
954
936
 
955
937
  @property
956
938
  def ProxyList(self):
957
- r"""Information of the machine at the access layer (tcaproxy) in a dedicated cluster
958
- Note: this field may return `null`, indicating that no valid values can be obtained.
939
+ r"""Information about the dedicated proxy server.
959
940
  :rtype: list of ProxyDetailInfo
960
941
  """
961
942
  return self._ProxyList
@@ -977,8 +958,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
977
958
 
978
959
  @property
979
960
  def DbaUins(self):
980
- r"""Approver UIN list
981
- Note: `null` may be returned for this field, indicating that no valid values can be obtained.
961
+ r"""Approver UIN list.
982
962
  :rtype: list of str
983
963
  """
984
964
  return self._DbaUins
@@ -989,8 +969,7 @@ Note: `null` may be returned for this field, indicating that no valid values can
989
969
 
990
970
  @property
991
971
  def DataFlowStatus(self):
992
- r"""Whether data subscription is enabled
993
- Note: this field may return `null`, indicating that no valid values can be obtained.
972
+ r"""Whether data subscription is enabled.
994
973
  :rtype: int
995
974
  """
996
975
  return self._DataFlowStatus
@@ -1001,8 +980,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1001
980
 
1002
981
  @property
1003
982
  def KafkaInfo(self):
1004
- r"""CKafka information when data subscription is enabled
1005
- Note: this field may return `null`, indicating that no valid values can be obtained.
983
+ r"""Kafka information for data subscription.
1006
984
  :rtype: :class:`tencentcloud.tcaplusdb.v20190823.models.KafkaInfo`
1007
985
  """
1008
986
  return self._KafkaInfo
@@ -1013,8 +991,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1013
991
 
1014
992
  @property
1015
993
  def TxhBackupExpireDay(self):
1016
- r"""The number of days after which the cluster Txh backup file will expire and be deleted.
1017
- Note: This field may return `null`, indicating that no valid values can be obtained.
994
+ r"""Retention period for the Txh backup file of the cluster before expiration and deletion.
1018
995
  :rtype: int
1019
996
  """
1020
997
  return self._TxhBackupExpireDay
@@ -1025,8 +1002,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
1025
1002
 
1026
1003
  @property
1027
1004
  def UlogBackupExpireDay(self):
1028
- r"""The number of days after which the cluster Ulog backup file will expire and be deleted.
1029
- Note: This field may return `null`, indicating that no valid values can be obtained.
1005
+ r"""Retention period for the Ulog backup file of the cluster before expiration and deletion.
1030
1006
  :rtype: int
1031
1007
  """
1032
1008
  return self._UlogBackupExpireDay
@@ -1037,8 +1013,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
1037
1013
 
1038
1014
  @property
1039
1015
  def IsReadOnlyUlogBackupExpireDay(self):
1040
- r"""Whether the expiration policy of cluster Ulog backup file is read-only. `0`: Yes; `1`: No.
1041
- Note: This field may return `null`, indicating that no valid values can be obtained.
1016
+ r"""Whether the expiration policy for the Ulog backup file of the cluster is read-only. 0: UlogBackupExpire is read-only and cannot be modified; 1: UlogBackupExpire can be modified.
1042
1017
  :rtype: int
1043
1018
  """
1044
1019
  return self._IsReadOnlyUlogBackupExpireDay
@@ -1049,8 +1024,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
1049
1024
 
1050
1025
  @property
1051
1026
  def RestProxyStatus(self):
1052
- r"""restproxy Status
1053
- Note: This field may return null, indicating that no valid values can be obtained.
1027
+ r"""restproxy status.
1054
1028
  :rtype: int
1055
1029
  """
1056
1030
  return self._RestProxyStatus
@@ -1059,6 +1033,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
1059
1033
  def RestProxyStatus(self, RestProxyStatus):
1060
1034
  self._RestProxyStatus = RestProxyStatus
1061
1035
 
1036
+ @property
1037
+ def ShardTotalNum(self):
1038
+ r"""Total number of shards in the cluster.
1039
+ :rtype: int
1040
+ """
1041
+ return self._ShardTotalNum
1042
+
1043
+ @ShardTotalNum.setter
1044
+ def ShardTotalNum(self, ShardTotalNum):
1045
+ self._ShardTotalNum = ShardTotalNum
1046
+
1047
+ @property
1048
+ def ShardUsedNum(self):
1049
+ r"""Total number of used shards.
1050
+ :rtype: int
1051
+ """
1052
+ return self._ShardUsedNum
1053
+
1054
+ @ShardUsedNum.setter
1055
+ def ShardUsedNum(self, ShardUsedNum):
1056
+ self._ShardUsedNum = ShardUsedNum
1057
+
1062
1058
 
1063
1059
  def _deserialize(self, params):
1064
1060
  self._ClusterName = params.get("ClusterName")
@@ -1103,6 +1099,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
1103
1099
  self._UlogBackupExpireDay = params.get("UlogBackupExpireDay")
1104
1100
  self._IsReadOnlyUlogBackupExpireDay = params.get("IsReadOnlyUlogBackupExpireDay")
1105
1101
  self._RestProxyStatus = params.get("RestProxyStatus")
1102
+ self._ShardTotalNum = params.get("ShardTotalNum")
1103
+ self._ShardUsedNum = params.get("ShardUsedNum")
1106
1104
  memeber_set = set(params.keys())
1107
1105
  for name, value in vars(self).items():
1108
1106
  property_name = name[1:]
@@ -5767,9 +5765,9 @@ class KafkaInfo(AbstractModel):
5767
5765
 
5768
5766
  def __init__(self):
5769
5767
  r"""
5770
- :param _Address: CKafka address
5768
+ :param _Address: Kafka address
5771
5769
  :type Address: str
5772
- :param _Topic: CKafka topic
5770
+ :param _Topic: Kafka topic
5773
5771
  :type Topic: str
5774
5772
  :param _User: CKafka username
5775
5773
  :type User: str
@@ -5789,7 +5787,7 @@ class KafkaInfo(AbstractModel):
5789
5787
 
5790
5788
  @property
5791
5789
  def Address(self):
5792
- r"""CKafka address
5790
+ r"""Kafka address
5793
5791
  :rtype: str
5794
5792
  """
5795
5793
  return self._Address
@@ -5800,7 +5798,7 @@ class KafkaInfo(AbstractModel):
5800
5798
 
5801
5799
  @property
5802
5800
  def Topic(self):
5803
- r"""CKafka topic
5801
+ r"""Kafka topic
5804
5802
  :rtype: str
5805
5803
  """
5806
5804
  return self._Topic
@@ -8183,8 +8181,7 @@ class ProxyDetailInfo(AbstractModel):
8183
8181
  :type AverageProcessDelay: int
8184
8182
  :param _SlowProcessSpeed: The speed of processing delayed request packets
8185
8183
  :type SlowProcessSpeed: int
8186
- :param _Version: Version
8187
- Note: This field may return null, indicating that no valid values can be obtained.
8184
+ :param _Version: Version.
8188
8185
  :type Version: str
8189
8186
  """
8190
8187
  self._ProxyUid = None
@@ -8251,8 +8248,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
8251
8248
 
8252
8249
  @property
8253
8250
  def Version(self):
8254
- r"""Version
8255
- Note: This field may return null, indicating that no valid values can be obtained.
8251
+ r"""Version.
8256
8252
  :rtype: str
8257
8253
  """
8258
8254
  return self._Version
@@ -9092,8 +9088,7 @@ class ServerDetailInfo(AbstractModel):
9092
9088
  :type ReadNum: int
9093
9089
  :param _WriteNum: The number of writes
9094
9090
  :type WriteNum: int
9095
- :param _Version: Version
9096
- Note: This field may return null, indicating that no valid values can be obtained.
9091
+ :param _Version: Version.
9097
9092
  :type Version: str
9098
9093
  """
9099
9094
  self._ServerUid = None
@@ -9172,8 +9167,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
9172
9167
 
9173
9168
  @property
9174
9169
  def Version(self):
9175
- r"""Version
9176
- Note: This field may return null, indicating that no valid values can be obtained.
9170
+ r"""Version.
9177
9171
  :rtype: str
9178
9172
  """
9179
9173
  return self._Version
@@ -10231,6 +10231,8 @@ class StartAITranscriptionRequest(AbstractModel):
10231
10231
  :type RoomIdType: int
10232
10232
  :param _RecognizeConfig: Speech recognition configuration.
10233
10233
  :type RecognizeConfig: :class:`tencentcloud.trtc.v20190722.models.RecognizeConfig`
10234
+ :param _TranslationConfig: Translation config.
10235
+ :type TranslationConfig: :class:`tencentcloud.trtc.v20190722.models.TranslationConfig`
10234
10236
  """
10235
10237
  self._SdkAppId = None
10236
10238
  self._RoomId = None
@@ -10238,6 +10240,7 @@ class StartAITranscriptionRequest(AbstractModel):
10238
10240
  self._SessionId = None
10239
10241
  self._RoomIdType = None
10240
10242
  self._RecognizeConfig = None
10243
+ self._TranslationConfig = None
10241
10244
 
10242
10245
  @property
10243
10246
  def SdkAppId(self):
@@ -10307,6 +10310,17 @@ class StartAITranscriptionRequest(AbstractModel):
10307
10310
  def RecognizeConfig(self, RecognizeConfig):
10308
10311
  self._RecognizeConfig = RecognizeConfig
10309
10312
 
10313
+ @property
10314
+ def TranslationConfig(self):
10315
+ r"""Translation config.
10316
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.TranslationConfig`
10317
+ """
10318
+ return self._TranslationConfig
10319
+
10320
+ @TranslationConfig.setter
10321
+ def TranslationConfig(self, TranslationConfig):
10322
+ self._TranslationConfig = TranslationConfig
10323
+
10310
10324
 
10311
10325
  def _deserialize(self, params):
10312
10326
  self._SdkAppId = params.get("SdkAppId")
@@ -10319,6 +10333,9 @@ class StartAITranscriptionRequest(AbstractModel):
10319
10333
  if params.get("RecognizeConfig") is not None:
10320
10334
  self._RecognizeConfig = RecognizeConfig()
10321
10335
  self._RecognizeConfig._deserialize(params.get("RecognizeConfig"))
10336
+ if params.get("TranslationConfig") is not None:
10337
+ self._TranslationConfig = TranslationConfig()
10338
+ self._TranslationConfig._deserialize(params.get("TranslationConfig"))
10322
10339
  memeber_set = set(params.keys())
10323
10340
  for name, value in vars(self).items():
10324
10341
  property_name = name[1:]
@@ -11909,6 +11926,42 @@ class TRTCDataResult(AbstractModel):
11909
11926
 
11910
11927
 
11911
11928
 
11929
+ class TTSConfig(AbstractModel):
11930
+ r"""
11931
+
11932
+ """
11933
+
11934
+ def __init__(self):
11935
+ r"""
11936
+ :param _VoiceId:
11937
+ :type VoiceId: str
11938
+ """
11939
+ self._VoiceId = None
11940
+
11941
+ @property
11942
+ def VoiceId(self):
11943
+ r"""
11944
+ :rtype: str
11945
+ """
11946
+ return self._VoiceId
11947
+
11948
+ @VoiceId.setter
11949
+ def VoiceId(self, VoiceId):
11950
+ self._VoiceId = VoiceId
11951
+
11952
+
11953
+ def _deserialize(self, params):
11954
+ self._VoiceId = params.get("VoiceId")
11955
+ memeber_set = set(params.keys())
11956
+ for name, value in vars(self).items():
11957
+ property_name = name[1:]
11958
+ if property_name in memeber_set:
11959
+ memeber_set.remove(property_name)
11960
+ if len(memeber_set) > 0:
11961
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11962
+
11963
+
11964
+
11912
11965
  class TencentVod(AbstractModel):
11913
11966
  r"""The Tencent Cloud VOD parameters.
11914
11967
 
@@ -12067,6 +12120,57 @@ The default value is `0`, which means others.
12067
12120
 
12068
12121
 
12069
12122
 
12123
+ class Terminology(AbstractModel):
12124
+ r"""Translation terminology
12125
+
12126
+ """
12127
+
12128
+ def __init__(self):
12129
+ r"""
12130
+ :param _Source: Source terminology
12131
+ :type Source: str
12132
+ :param _Target: Target terminology
12133
+ :type Target: str
12134
+ """
12135
+ self._Source = None
12136
+ self._Target = None
12137
+
12138
+ @property
12139
+ def Source(self):
12140
+ r"""Source terminology
12141
+ :rtype: str
12142
+ """
12143
+ return self._Source
12144
+
12145
+ @Source.setter
12146
+ def Source(self, Source):
12147
+ self._Source = Source
12148
+
12149
+ @property
12150
+ def Target(self):
12151
+ r"""Target terminology
12152
+ :rtype: str
12153
+ """
12154
+ return self._Target
12155
+
12156
+ @Target.setter
12157
+ def Target(self, Target):
12158
+ self._Target = Target
12159
+
12160
+
12161
+ def _deserialize(self, params):
12162
+ self._Source = params.get("Source")
12163
+ self._Target = params.get("Target")
12164
+ memeber_set = set(params.keys())
12165
+ for name, value in vars(self).items():
12166
+ property_name = name[1:]
12167
+ if property_name in memeber_set:
12168
+ memeber_set.remove(property_name)
12169
+ if len(memeber_set) > 0:
12170
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12171
+
12172
+
12173
+
12070
12174
  class TimeValue(AbstractModel):
12071
12175
  r"""The quality data, which consists of the `time` and `value` parameters.
12072
12176
 
@@ -12214,6 +12318,94 @@ class TranscriptionParams(AbstractModel):
12214
12318
 
12215
12319
 
12216
12320
 
12321
+ class TranslationConfig(AbstractModel):
12322
+ r"""Translation config
12323
+
12324
+ """
12325
+
12326
+ def __init__(self):
12327
+ r"""
12328
+ :param _TargetLanguages: Target language, target language list (ISO 639-1).
12329
+ :type TargetLanguages: list of str
12330
+ :param _Mode: 1: Only text translation, 2: Voice simultaneous interpretation.
12331
+ :type Mode: int
12332
+ :param _TTSConfig: Voice simultaneous interpretation configuration: When enabling simultaneous interpretation, this parameter needs to be passed.
12333
+ :type TTSConfig: :class:`tencentcloud.trtc.v20190722.models.TTSConfig`
12334
+ :param _Terminology: Translation terminology.
12335
+ :type Terminology: list of Terminology
12336
+ """
12337
+ self._TargetLanguages = None
12338
+ self._Mode = None
12339
+ self._TTSConfig = None
12340
+ self._Terminology = None
12341
+
12342
+ @property
12343
+ def TargetLanguages(self):
12344
+ r"""Target language, target language list (ISO 639-1).
12345
+ :rtype: list of str
12346
+ """
12347
+ return self._TargetLanguages
12348
+
12349
+ @TargetLanguages.setter
12350
+ def TargetLanguages(self, TargetLanguages):
12351
+ self._TargetLanguages = TargetLanguages
12352
+
12353
+ @property
12354
+ def Mode(self):
12355
+ r"""1: Only text translation, 2: Voice simultaneous interpretation.
12356
+ :rtype: int
12357
+ """
12358
+ return self._Mode
12359
+
12360
+ @Mode.setter
12361
+ def Mode(self, Mode):
12362
+ self._Mode = Mode
12363
+
12364
+ @property
12365
+ def TTSConfig(self):
12366
+ r"""Voice simultaneous interpretation configuration: When enabling simultaneous interpretation, this parameter needs to be passed.
12367
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.TTSConfig`
12368
+ """
12369
+ return self._TTSConfig
12370
+
12371
+ @TTSConfig.setter
12372
+ def TTSConfig(self, TTSConfig):
12373
+ self._TTSConfig = TTSConfig
12374
+
12375
+ @property
12376
+ def Terminology(self):
12377
+ r"""Translation terminology.
12378
+ :rtype: list of Terminology
12379
+ """
12380
+ return self._Terminology
12381
+
12382
+ @Terminology.setter
12383
+ def Terminology(self, Terminology):
12384
+ self._Terminology = Terminology
12385
+
12386
+
12387
+ def _deserialize(self, params):
12388
+ self._TargetLanguages = params.get("TargetLanguages")
12389
+ self._Mode = params.get("Mode")
12390
+ if params.get("TTSConfig") is not None:
12391
+ self._TTSConfig = TTSConfig()
12392
+ self._TTSConfig._deserialize(params.get("TTSConfig"))
12393
+ if params.get("Terminology") is not None:
12394
+ self._Terminology = []
12395
+ for item in params.get("Terminology"):
12396
+ obj = Terminology()
12397
+ obj._deserialize(item)
12398
+ self._Terminology.append(obj)
12399
+ memeber_set = set(params.keys())
12400
+ for name, value in vars(self).items():
12401
+ property_name = name[1:]
12402
+ if property_name in memeber_set:
12403
+ memeber_set.remove(property_name)
12404
+ if len(memeber_set) > 0:
12405
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12406
+
12407
+
12408
+
12217
12409
  class TrtcUsage(AbstractModel):
12218
12410
  r"""The TRTC audio/video duration generated in a certain time period.
12219
12411
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1281
3
+ Version: 3.0.1283
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=AYOT8LQGXHCEo8VDIs-6_fBze2btEcJLTyw5svXyd9w,630
1
+ tencentcloud/__init__.py,sha256=-bx4iZkMV8RNTz_R0ZkUCxtNrPBPYA9Mkv5F-uR0Vk0,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=PI6LX0PouoGb8e_ydQ9rATqY795jQh7JPK2COE_oH-Q,2899
@@ -243,9 +243,9 @@ tencentcloud/dcdb/v20180411/errorcodes.py,sha256=N__WJ70XTRcqJwXxMF2KDrNa6O7LJBO
243
243
  tencentcloud/dcdb/v20180411/models.py,sha256=xXwJdWC2Lafh_p8YrN1aygXt7f0J7f9MirFt2JI97Ls,461989
244
244
  tencentcloud/dlc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
245
  tencentcloud/dlc/v20210125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
246
- tencentcloud/dlc/v20210125/dlc_client.py,sha256=gfiJo7lXVOiEZkc71fFjbEIgNEAvUSXeU0SmX__P7nU,96693
246
+ tencentcloud/dlc/v20210125/dlc_client.py,sha256=hSrnGW-lNLPilMytEIqIbtCwarjNqtc0DSKEvoREMSs,97708
247
247
  tencentcloud/dlc/v20210125/errorcodes.py,sha256=f0QStwofoAwEbv1pTNlRjRnDm5dv0fNcp-PDqVbyr2o,31542
248
- tencentcloud/dlc/v20210125/models.py,sha256=aiSAOQfjY_cpvrkrNRwmDcakwLj78pU9vIoX3ai6McA,804383
248
+ tencentcloud/dlc/v20210125/models.py,sha256=GEr4enUmdhUyxX0PHVt-u4BCYE83ej9gQnUDVgnVAbM,810953
249
249
  tencentcloud/dms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
250
250
  tencentcloud/dms/v20200819/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
251
251
  tencentcloud/dms/v20200819/dms_client.py,sha256=rbd9TqhAUebfyTNh-_MXic9EGgATMaf4WLf29rpq7Ek,2718
@@ -309,7 +309,7 @@ tencentcloud/faceid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
309
309
  tencentcloud/faceid/v20180301/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
310
310
  tencentcloud/faceid/v20180301/errorcodes.py,sha256=omuQa43ZPwrPDvFncq4YQvty93Odk96UdO0AeDV694I,10036
311
311
  tencentcloud/faceid/v20180301/faceid_client.py,sha256=bOnaaNx1TO0GRUG8HVo2PT1AvPkoViBVQUNkcGk7gSw,24125
312
- tencentcloud/faceid/v20180301/models.py,sha256=GOXUHCug95fMY8CaukIyf31GT2ZA6GkUumigINpbzOY,389496
312
+ tencentcloud/faceid/v20180301/models.py,sha256=xNsAlrzrbVHFTLiDpioMjvhFvtMlgNEEWml7K_-WYhs,390825
313
313
  tencentcloud/gaap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
314
314
  tencentcloud/gaap/v20180529/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
315
315
  tencentcloud/gaap/v20180529/errorcodes.py,sha256=mZT9m757HMuDMHkibCs0PWFE_VK9tryUOt7sCMwAi8U,11115
@@ -428,7 +428,7 @@ tencentcloud/monitor/v20180724/monitor_client.py,sha256=1fL7_-XV-jpyxmH5ibvE--Ep
428
428
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
429
429
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
430
430
  tencentcloud/mps/v20190612/errorcodes.py,sha256=KRFJLNys_Tgj_5vUwZbVZGAj3XJJzq5M5CfkyHvTC5Y,15293
431
- tencentcloud/mps/v20190612/models.py,sha256=8sxi9R0OvVVJgh3WZJl0ux8QotyxcUbEEXMyTIP35n4,2079710
431
+ tencentcloud/mps/v20190612/models.py,sha256=B_7vlBH6X8l8Jt4sSZA0x957ypCIDWDO4RJqKafzitg,2081015
432
432
  tencentcloud/mps/v20190612/mps_client.py,sha256=SZyBmd0TDJZN_A3lNdQG-IaqbDufE1slCctWP6bowYU,97491
433
433
  tencentcloud/msp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
434
434
  tencentcloud/msp/v20180319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -551,7 +551,7 @@ tencentcloud/tbaas/v20180416/tbaas_client.py,sha256=t1Kz-Hokmg3ipE4yFAauOJnzoldf
551
551
  tencentcloud/tcaplusdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
552
552
  tencentcloud/tcaplusdb/v20190823/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
553
553
  tencentcloud/tcaplusdb/v20190823/errorcodes.py,sha256=e0YaxfHNicVgBOwmGtUzqUPP0jnpDdVWMet90eBwzzA,3720
554
- tencentcloud/tcaplusdb/v20190823/models.py,sha256=xdeH3aOrTm4_zdLiJJNtcNZD_r9Lt3D4RXg6f5j9ss0,383968
554
+ tencentcloud/tcaplusdb/v20190823/models.py,sha256=2ehKHFQJGXUl_GeoALcF5fQJVkZ-nOZFb6vtx10syNM,381930
555
555
  tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py,sha256=R9suvLOLKpuRpEmcKjkanycKaY19w8UmNigfvVzbnaI,50045
556
556
  tencentcloud/tchd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
557
557
  tencentcloud/tchd/v20230306/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -648,7 +648,7 @@ tencentcloud/trro/v20220325/trro_client.py,sha256=A_qgis3-uoe5EFRevBTYviB806IND2
648
648
  tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
649
649
  tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
650
650
  tencentcloud/trtc/v20190722/errorcodes.py,sha256=OhkumrO8gu8pKrKOwgMrPEBd88RnzJYN_Ii_fTPZa94,8928
651
- tencentcloud/trtc/v20190722/models.py,sha256=QktYDSWQSUaawTJZwFQdp07ey2a2p4MXoHJtp9k4P3k,512491
651
+ tencentcloud/trtc/v20190722/models.py,sha256=wz6zmCsT6VY_sxCkcM751WCMU4jgpMP3vjajgB1Ijbo,518143
652
652
  tencentcloud/trtc/v20190722/trtc_client.py,sha256=OZ-nkw1ulj07Oa5TdATJE5OUpYQIMxBtcLRJI889QMg,78607
653
653
  tencentcloud/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
654
654
  tencentcloud/tts/v20190823/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -698,7 +698,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
698
698
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
699
699
  tencentcloud/yunjing/v20180228/models.py,sha256=nivJxxJYNvW-I_WWuoZj5RJaexdeSctX04e7osSjSUo,331388
700
700
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=XYRY2x9Bs-06YaFx6swLlxuqhNRuykLZuIte6bc8T2E,67433
701
- tencentcloud_sdk_python_intl_en-3.0.1281.dist-info/METADATA,sha256=J7yL9D9oauAlg5Z7RBSZ6hVbMgr-2QEsPBXHDwGT0RU,1628
702
- tencentcloud_sdk_python_intl_en-3.0.1281.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
703
- tencentcloud_sdk_python_intl_en-3.0.1281.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
704
- tencentcloud_sdk_python_intl_en-3.0.1281.dist-info/RECORD,,
701
+ tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/METADATA,sha256=73Yq2wBN3BaC_j4L24lzr7R_0rtd6AgdYsvte81mrkQ,1628
702
+ tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
703
+ tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
704
+ tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/RECORD,,