tencentcloud-sdk-python 3.0.1150__py2.py3-none-any.whl → 3.0.1151__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdn/v20180606/models.py +22 -0
- tencentcloud/dsgc/v20190723/models.py +4 -9
- tencentcloud/mps/v20190612/models.py +10 -10
- tencentcloud/ocr/v20181119/models.py +60 -0
- tencentcloud/sms/v20210111/models.py +4 -2
- tencentcloud/tmt/v20180321/models.py +8 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +458 -0
- tencentcloud/trtc/v20190722/trtc_client.py +92 -0
- {tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/RECORD +15 -15
- {tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -3016,8 +3016,21 @@ on:开启
|
|
3016
3016
|
off:关闭
|
3017
3017
|
注意:此字段可能返回 null,表示取不到有效值。
|
3018
3018
|
:type Switch: str
|
3019
|
+
:param _FallbackFormats: 当原图是 avif 且客户端 Accept 头包含 image/avif 时,直接返回原图。
|
3020
|
+
当原图是 avif 且客户端 Accept 头不包含 image/avif 时但包含 image/webp,将 avif 转 webp 格式返回。如果 Accept 头不包含 image/webp, 则转 jpeg 返回。
|
3021
|
+
|
3022
|
+
可用的枚举值:
|
3023
|
+
- []
|
3024
|
+
- ["webp"]
|
3025
|
+
- ["jpeg"]
|
3026
|
+
- ["webp", "jpeg"]
|
3027
|
+
|
3028
|
+
"webp":是否开启 avif 转 webp,"jpeg": 是否开启 avif 转 jpeg。如果 webp 和 jpeg 都开启的情况下,webp 必须在 jpeg 前面。
|
3029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3030
|
+
:type FallbackFormats: list of str
|
3019
3031
|
"""
|
3020
3032
|
self._Switch = None
|
3033
|
+
self._FallbackFormats = None
|
3021
3034
|
|
3022
3035
|
@property
|
3023
3036
|
def Switch(self):
|
@@ -3027,9 +3040,18 @@ off:关闭
|
|
3027
3040
|
def Switch(self, Switch):
|
3028
3041
|
self._Switch = Switch
|
3029
3042
|
|
3043
|
+
@property
|
3044
|
+
def FallbackFormats(self):
|
3045
|
+
return self._FallbackFormats
|
3046
|
+
|
3047
|
+
@FallbackFormats.setter
|
3048
|
+
def FallbackFormats(self, FallbackFormats):
|
3049
|
+
self._FallbackFormats = FallbackFormats
|
3050
|
+
|
3030
3051
|
|
3031
3052
|
def _deserialize(self, params):
|
3032
3053
|
self._Switch = params.get("Switch")
|
3054
|
+
self._FallbackFormats = params.get("FallbackFormats")
|
3033
3055
|
memeber_set = set(params.keys())
|
3034
3056
|
for name, value in vars(self).items():
|
3035
3057
|
property_name = name[1:]
|
@@ -948,7 +948,7 @@ class AssessmentTask(AbstractModel):
|
|
948
948
|
|
949
949
|
|
950
950
|
class AssessmentTemplate(AbstractModel):
|
951
|
-
"""DSPA
|
951
|
+
"""DSPA评估模板
|
952
952
|
|
953
953
|
"""
|
954
954
|
|
@@ -3055,13 +3055,13 @@ class CreateDSPAAssessmentRiskTemplateRequest(AbstractModel):
|
|
3055
3055
|
r"""
|
3056
3056
|
:param _DspaId: dspa实例id
|
3057
3057
|
:type DspaId: str
|
3058
|
-
:param _TemplateName:
|
3058
|
+
:param _TemplateName: 模板名称
|
3059
3059
|
:type TemplateName: str
|
3060
3060
|
:param _RiskLevelId: 风险等级id
|
3061
3061
|
:type RiskLevelId: int
|
3062
3062
|
:param _RiskIdList: 风险id列表
|
3063
3063
|
:type RiskIdList: list of int
|
3064
|
-
:param _TemplateDescription:
|
3064
|
+
:param _TemplateDescription: 模板描述
|
3065
3065
|
:type TemplateDescription: str
|
3066
3066
|
"""
|
3067
3067
|
self._DspaId = None
|
@@ -10796,12 +10796,7 @@ class DescribeDSPAAssessmentTemplatesRequest(AbstractModel):
|
|
10796
10796
|
:type Offset: int
|
10797
10797
|
:param _Limit: 结果集个数限制。默认为20,最大值为100
|
10798
10798
|
:type Limit: int
|
10799
|
-
:param _Filters:
|
10800
|
-
支持模糊搜索:(TemplateId,TemplateName)
|
10801
|
-
支持过滤:
|
10802
|
-
Source:模版来源,system / user
|
10803
|
-
UseType:模版类型,auto,semi-auto,law等
|
10804
|
-
Status:模版启用状态,draft / launched
|
10799
|
+
:param _Filters: 过滤项。支持模糊搜索:(TemplateId,TemplateName)支持过滤:Source:模板来源,system / userUseType:模板类型,auto,semi-auto,law等Status:模板启用状态,draft / launched
|
10805
10800
|
:type Filters: list of DspaAssessmentFilter
|
10806
10801
|
"""
|
10807
10802
|
self._DspaId = None
|
@@ -1367,7 +1367,7 @@ class AiAnalysisResult(AbstractModel):
|
|
1367
1367
|
<li>Tag:智能标签</li>
|
1368
1368
|
<li>FrameTag:智能按帧标签</li>
|
1369
1369
|
<li>Highlight:智能精彩集锦</li>
|
1370
|
-
<li>DeLogo
|
1370
|
+
<li>DeLogo:智能擦除</li>
|
1371
1371
|
<li>Description:大模型摘要</li>
|
1372
1372
|
:type Type: str
|
1373
1373
|
:param _ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
@@ -1385,7 +1385,7 @@ class AiAnalysisResult(AbstractModel):
|
|
1385
1385
|
:param _HighlightTask: 视频内容分析集锦任务的查询结果,当任务类型为 Highlight时有效。
|
1386
1386
|
注意:此字段可能返回 null,表示取不到有效值。
|
1387
1387
|
:type HighlightTask: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskHighlightResult`
|
1388
|
-
:param _DeLogoTask:
|
1388
|
+
:param _DeLogoTask: 视频内容分析智能擦除任务的查询结果,当任务类型为 DeLogo 时有效。
|
1389
1389
|
注意:此字段可能返回 null,表示取不到有效值。
|
1390
1390
|
:type DeLogoTask: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoResult`
|
1391
1391
|
:param _HeadTailTask: 视频内容分析片头片尾任务的查询结果,当任务类型为 HeadTailRecognition 时有效。
|
@@ -1867,13 +1867,13 @@ class AiAnalysisTaskCoverResult(AbstractModel):
|
|
1867
1867
|
|
1868
1868
|
|
1869
1869
|
class AiAnalysisTaskDelLogoInput(AbstractModel):
|
1870
|
-
"""
|
1870
|
+
"""智能擦除任务输入类型
|
1871
1871
|
|
1872
1872
|
"""
|
1873
1873
|
|
1874
1874
|
def __init__(self):
|
1875
1875
|
r"""
|
1876
|
-
:param _Definition:
|
1876
|
+
:param _Definition: 视频智能擦除模板 ID。
|
1877
1877
|
:type Definition: int
|
1878
1878
|
"""
|
1879
1879
|
self._Definition = None
|
@@ -1900,15 +1900,15 @@ class AiAnalysisTaskDelLogoInput(AbstractModel):
|
|
1900
1900
|
|
1901
1901
|
|
1902
1902
|
class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
1903
|
-
"""
|
1903
|
+
"""智能擦除结果信息
|
1904
1904
|
|
1905
1905
|
"""
|
1906
1906
|
|
1907
1907
|
def __init__(self):
|
1908
1908
|
r"""
|
1909
|
-
:param _Path:
|
1909
|
+
:param _Path: 擦除后文件的路径。
|
1910
1910
|
:type Path: str
|
1911
|
-
:param _OutputStorage:
|
1911
|
+
:param _OutputStorage: 擦除后文件的存储位置。
|
1912
1912
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
1913
1913
|
"""
|
1914
1914
|
self._Path = None
|
@@ -1947,7 +1947,7 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
|
1947
1947
|
|
1948
1948
|
|
1949
1949
|
class AiAnalysisTaskDelLogoResult(AbstractModel):
|
1950
|
-
"""
|
1950
|
+
"""智能擦除结果类型
|
1951
1951
|
|
1952
1952
|
"""
|
1953
1953
|
|
@@ -1959,9 +1959,9 @@ class AiAnalysisTaskDelLogoResult(AbstractModel):
|
|
1959
1959
|
:type ErrCode: int
|
1960
1960
|
:param _Message: 错误信息。
|
1961
1961
|
:type Message: str
|
1962
|
-
:param _Input:
|
1962
|
+
:param _Input: 智能擦除任务输入。
|
1963
1963
|
:type Input: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoInput`
|
1964
|
-
:param _Output:
|
1964
|
+
:param _Output: 智能擦除任务输出。
|
1965
1965
|
注意:此字段可能返回 null,表示取不到有效值。
|
1966
1966
|
:type Output: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoOutput`
|
1967
1967
|
"""
|
@@ -18849,8 +18849,18 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18849
18849
|
:type IssueDate: str
|
18850
18850
|
:param _ExpirationDate: 泰文到期日期
|
18851
18851
|
:type ExpirationDate: str
|
18852
|
+
:param _EnIssueDate: 英文签发日期
|
18853
|
+
:type EnIssueDate: str
|
18854
|
+
:param _EnExpirationDate: 英文到期日期
|
18855
|
+
:type EnExpirationDate: str
|
18852
18856
|
:param _Birthday: 泰文出生日期
|
18853
18857
|
:type Birthday: str
|
18858
|
+
:param _EnBirthday: 英文出生日期
|
18859
|
+
:type EnBirthday: str
|
18860
|
+
:param _Religion: 宗教信仰
|
18861
|
+
:type Religion: str
|
18862
|
+
:param _SerialNumber: 序列号
|
18863
|
+
:type SerialNumber: str
|
18854
18864
|
:param _Address: 地址
|
18855
18865
|
:type Address: str
|
18856
18866
|
:param _PortraitImage: 证件人像照片抠取
|
@@ -18872,7 +18882,12 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18872
18882
|
self._EnLastName = None
|
18873
18883
|
self._IssueDate = None
|
18874
18884
|
self._ExpirationDate = None
|
18885
|
+
self._EnIssueDate = None
|
18886
|
+
self._EnExpirationDate = None
|
18875
18887
|
self._Birthday = None
|
18888
|
+
self._EnBirthday = None
|
18889
|
+
self._Religion = None
|
18890
|
+
self._SerialNumber = None
|
18876
18891
|
self._Address = None
|
18877
18892
|
self._PortraitImage = None
|
18878
18893
|
self._WarnCardInfos = None
|
@@ -18926,6 +18941,22 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18926
18941
|
def ExpirationDate(self, ExpirationDate):
|
18927
18942
|
self._ExpirationDate = ExpirationDate
|
18928
18943
|
|
18944
|
+
@property
|
18945
|
+
def EnIssueDate(self):
|
18946
|
+
return self._EnIssueDate
|
18947
|
+
|
18948
|
+
@EnIssueDate.setter
|
18949
|
+
def EnIssueDate(self, EnIssueDate):
|
18950
|
+
self._EnIssueDate = EnIssueDate
|
18951
|
+
|
18952
|
+
@property
|
18953
|
+
def EnExpirationDate(self):
|
18954
|
+
return self._EnExpirationDate
|
18955
|
+
|
18956
|
+
@EnExpirationDate.setter
|
18957
|
+
def EnExpirationDate(self, EnExpirationDate):
|
18958
|
+
self._EnExpirationDate = EnExpirationDate
|
18959
|
+
|
18929
18960
|
@property
|
18930
18961
|
def Birthday(self):
|
18931
18962
|
return self._Birthday
|
@@ -18934,6 +18965,30 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18934
18965
|
def Birthday(self, Birthday):
|
18935
18966
|
self._Birthday = Birthday
|
18936
18967
|
|
18968
|
+
@property
|
18969
|
+
def EnBirthday(self):
|
18970
|
+
return self._EnBirthday
|
18971
|
+
|
18972
|
+
@EnBirthday.setter
|
18973
|
+
def EnBirthday(self, EnBirthday):
|
18974
|
+
self._EnBirthday = EnBirthday
|
18975
|
+
|
18976
|
+
@property
|
18977
|
+
def Religion(self):
|
18978
|
+
return self._Religion
|
18979
|
+
|
18980
|
+
@Religion.setter
|
18981
|
+
def Religion(self, Religion):
|
18982
|
+
self._Religion = Religion
|
18983
|
+
|
18984
|
+
@property
|
18985
|
+
def SerialNumber(self):
|
18986
|
+
return self._SerialNumber
|
18987
|
+
|
18988
|
+
@SerialNumber.setter
|
18989
|
+
def SerialNumber(self, SerialNumber):
|
18990
|
+
self._SerialNumber = SerialNumber
|
18991
|
+
|
18937
18992
|
@property
|
18938
18993
|
def Address(self):
|
18939
18994
|
return self._Address
|
@@ -18974,7 +19029,12 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18974
19029
|
self._EnLastName = params.get("EnLastName")
|
18975
19030
|
self._IssueDate = params.get("IssueDate")
|
18976
19031
|
self._ExpirationDate = params.get("ExpirationDate")
|
19032
|
+
self._EnIssueDate = params.get("EnIssueDate")
|
19033
|
+
self._EnExpirationDate = params.get("EnExpirationDate")
|
18977
19034
|
self._Birthday = params.get("Birthday")
|
19035
|
+
self._EnBirthday = params.get("EnBirthday")
|
19036
|
+
self._Religion = params.get("Religion")
|
19037
|
+
self._SerialNumber = params.get("SerialNumber")
|
18978
19038
|
self._Address = params.get("Address")
|
18979
19039
|
self._PortraitImage = params.get("PortraitImage")
|
18980
19040
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
@@ -242,7 +242,8 @@ class AddSmsTemplateRequest(AbstractModel):
|
|
242
242
|
:type TemplateName: str
|
243
243
|
:param _TemplateContent: 模板内容。
|
244
244
|
:type TemplateContent: str
|
245
|
-
:param _SmsType: 短信类型,
|
245
|
+
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
246
|
+
注:原“普通短信”类型模板目前仍支持提交申请,但为进一步提升短信发送质量、提高短信模板审核通过率,建议按“通知短信”类型或“验证码短信”类型申请新增模板,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。
|
246
247
|
:type SmsType: int
|
247
248
|
:param _International: 是否国际/港澳台短信:
|
248
249
|
0:表示国内短信。
|
@@ -1593,7 +1594,8 @@ class ModifySmsTemplateRequest(AbstractModel):
|
|
1593
1594
|
:type TemplateName: str
|
1594
1595
|
:param _TemplateContent: 新的模板内容。
|
1595
1596
|
:type TemplateContent: str
|
1596
|
-
:param _SmsType: 短信类型,
|
1597
|
+
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
1598
|
+
注:原“普通短信”类型模板目前仍支持提交申请,为进一步提升短信发送质量、提高短信模板审核通过率,建议按“通知短信”类型或“验证码短信”类型申请新增模板,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。
|
1597
1599
|
:type SmsType: int
|
1598
1600
|
:param _International: 是否国际/港澳台短信:
|
1599
1601
|
0:表示国内短信。
|
@@ -863,18 +863,26 @@ class SpeechTranslateRequest(AbstractModel):
|
|
863
863
|
|
864
864
|
@property
|
865
865
|
def Mode(self):
|
866
|
+
warnings.warn("parameter `Mode` is deprecated", DeprecationWarning)
|
867
|
+
|
866
868
|
return self._Mode
|
867
869
|
|
868
870
|
@Mode.setter
|
869
871
|
def Mode(self, Mode):
|
872
|
+
warnings.warn("parameter `Mode` is deprecated", DeprecationWarning)
|
873
|
+
|
870
874
|
self._Mode = Mode
|
871
875
|
|
872
876
|
@property
|
873
877
|
def TransType(self):
|
878
|
+
warnings.warn("parameter `TransType` is deprecated", DeprecationWarning)
|
879
|
+
|
874
880
|
return self._TransType
|
875
881
|
|
876
882
|
@TransType.setter
|
877
883
|
def TransType(self, TransType):
|
884
|
+
warnings.warn("parameter `TransType` is deprecated", DeprecationWarning)
|
885
|
+
|
878
886
|
self._TransType = TransType
|
879
887
|
|
880
888
|
|
@@ -53,6 +53,9 @@ FAILEDOPERATION_RESTRICTEDCONCURRENCY = 'FailedOperation.RestrictedConcurrency'
|
|
53
53
|
# 房间不存在。
|
54
54
|
FAILEDOPERATION_ROOMNOTEXIST = 'FailedOperation.RoomNotExist'
|
55
55
|
|
56
|
+
# 该sdkappid没有开通AITranscription能力
|
57
|
+
FAILEDOPERATION_SDKAPPIDNOTAITRANSCRIPTIONABILITY = 'FailedOperation.SdkAppIdNotAITranscriptionAbility'
|
58
|
+
|
56
59
|
# 应用ID不存在。
|
57
60
|
FAILEDOPERATION_SDKAPPIDNOTEXIST = 'FailedOperation.SdkAppIdNotExist'
|
58
61
|
|
@@ -1044,6 +1044,88 @@ class DeletePictureResponse(AbstractModel):
|
|
1044
1044
|
self._RequestId = params.get("RequestId")
|
1045
1045
|
|
1046
1046
|
|
1047
|
+
class DescribeAITranscriptionRequest(AbstractModel):
|
1048
|
+
"""DescribeAITranscription请求参数结构体
|
1049
|
+
|
1050
|
+
"""
|
1051
|
+
|
1052
|
+
def __init__(self):
|
1053
|
+
r"""
|
1054
|
+
:param _TaskId: 唯一标识AI转录任务。
|
1055
|
+
:type TaskId: str
|
1056
|
+
"""
|
1057
|
+
self._TaskId = None
|
1058
|
+
|
1059
|
+
@property
|
1060
|
+
def TaskId(self):
|
1061
|
+
return self._TaskId
|
1062
|
+
|
1063
|
+
@TaskId.setter
|
1064
|
+
def TaskId(self, TaskId):
|
1065
|
+
self._TaskId = TaskId
|
1066
|
+
|
1067
|
+
|
1068
|
+
def _deserialize(self, params):
|
1069
|
+
self._TaskId = params.get("TaskId")
|
1070
|
+
memeber_set = set(params.keys())
|
1071
|
+
for name, value in vars(self).items():
|
1072
|
+
property_name = name[1:]
|
1073
|
+
if property_name in memeber_set:
|
1074
|
+
memeber_set.remove(property_name)
|
1075
|
+
if len(memeber_set) > 0:
|
1076
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1077
|
+
|
1078
|
+
|
1079
|
+
|
1080
|
+
class DescribeAITranscriptionResponse(AbstractModel):
|
1081
|
+
"""DescribeAITranscription返回参数结构体
|
1082
|
+
|
1083
|
+
"""
|
1084
|
+
|
1085
|
+
def __init__(self):
|
1086
|
+
r"""
|
1087
|
+
:param _StartTime: 起始时间。
|
1088
|
+
:type StartTime: str
|
1089
|
+
:param _Status: 转录任务状态。
|
1090
|
+
:type Status: str
|
1091
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1092
|
+
:type RequestId: str
|
1093
|
+
"""
|
1094
|
+
self._StartTime = None
|
1095
|
+
self._Status = None
|
1096
|
+
self._RequestId = None
|
1097
|
+
|
1098
|
+
@property
|
1099
|
+
def StartTime(self):
|
1100
|
+
return self._StartTime
|
1101
|
+
|
1102
|
+
@StartTime.setter
|
1103
|
+
def StartTime(self, StartTime):
|
1104
|
+
self._StartTime = StartTime
|
1105
|
+
|
1106
|
+
@property
|
1107
|
+
def Status(self):
|
1108
|
+
return self._Status
|
1109
|
+
|
1110
|
+
@Status.setter
|
1111
|
+
def Status(self, Status):
|
1112
|
+
self._Status = Status
|
1113
|
+
|
1114
|
+
@property
|
1115
|
+
def RequestId(self):
|
1116
|
+
return self._RequestId
|
1117
|
+
|
1118
|
+
@RequestId.setter
|
1119
|
+
def RequestId(self, RequestId):
|
1120
|
+
self._RequestId = RequestId
|
1121
|
+
|
1122
|
+
|
1123
|
+
def _deserialize(self, params):
|
1124
|
+
self._StartTime = params.get("StartTime")
|
1125
|
+
self._Status = params.get("Status")
|
1126
|
+
self._RequestId = params.get("RequestId")
|
1127
|
+
|
1128
|
+
|
1047
1129
|
class DescribeCallDetailInfoRequest(AbstractModel):
|
1048
1130
|
"""DescribeCallDetailInfo请求参数结构体
|
1049
1131
|
|
@@ -7084,6 +7166,65 @@ class QualityData(AbstractModel):
|
|
7084
7166
|
|
7085
7167
|
|
7086
7168
|
|
7169
|
+
class RecognizeConfig(AbstractModel):
|
7170
|
+
"""语音识别使用的配置
|
7171
|
+
|
7172
|
+
"""
|
7173
|
+
|
7174
|
+
def __init__(self):
|
7175
|
+
r"""
|
7176
|
+
:param _Language: 支持的语言,目前支持语言如下:
|
7177
|
+
Chinese = "zh"
|
7178
|
+
Chinese_TW = "zh-TW"
|
7179
|
+
English = "en"
|
7180
|
+
Vietnamese = "vi"
|
7181
|
+
Japanese = "ja"
|
7182
|
+
Korean = "ko"
|
7183
|
+
Indonesia = "id"
|
7184
|
+
Thai = "th"
|
7185
|
+
Portuguese = "pt"
|
7186
|
+
Turkish = "tr"
|
7187
|
+
Arabic = "ar"
|
7188
|
+
Spanish = "es"
|
7189
|
+
Hindi = "hi"
|
7190
|
+
French = "fr"
|
7191
|
+
:type Language: str
|
7192
|
+
:param _TranslationLanguage: 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
|
7193
|
+
:type TranslationLanguage: str
|
7194
|
+
"""
|
7195
|
+
self._Language = None
|
7196
|
+
self._TranslationLanguage = None
|
7197
|
+
|
7198
|
+
@property
|
7199
|
+
def Language(self):
|
7200
|
+
return self._Language
|
7201
|
+
|
7202
|
+
@Language.setter
|
7203
|
+
def Language(self, Language):
|
7204
|
+
self._Language = Language
|
7205
|
+
|
7206
|
+
@property
|
7207
|
+
def TranslationLanguage(self):
|
7208
|
+
return self._TranslationLanguage
|
7209
|
+
|
7210
|
+
@TranslationLanguage.setter
|
7211
|
+
def TranslationLanguage(self, TranslationLanguage):
|
7212
|
+
self._TranslationLanguage = TranslationLanguage
|
7213
|
+
|
7214
|
+
|
7215
|
+
def _deserialize(self, params):
|
7216
|
+
self._Language = params.get("Language")
|
7217
|
+
self._TranslationLanguage = params.get("TranslationLanguage")
|
7218
|
+
memeber_set = set(params.keys())
|
7219
|
+
for name, value in vars(self).items():
|
7220
|
+
property_name = name[1:]
|
7221
|
+
if property_name in memeber_set:
|
7222
|
+
memeber_set.remove(property_name)
|
7223
|
+
if len(memeber_set) > 0:
|
7224
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7225
|
+
|
7226
|
+
|
7227
|
+
|
7087
7228
|
class RecordParams(AbstractModel):
|
7088
7229
|
"""云端录制控制参数。
|
7089
7230
|
|
@@ -8038,6 +8179,128 @@ class SmallVideoLayoutParams(AbstractModel):
|
|
8038
8179
|
|
8039
8180
|
|
8040
8181
|
|
8182
|
+
class StartAITranscriptionRequest(AbstractModel):
|
8183
|
+
"""StartAITranscription请求参数结构体
|
8184
|
+
|
8185
|
+
"""
|
8186
|
+
|
8187
|
+
def __init__(self):
|
8188
|
+
r"""
|
8189
|
+
:param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
|
8190
|
+
:type SdkAppId: int
|
8191
|
+
:param _RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
|
8192
|
+
:type RoomId: str
|
8193
|
+
:param _TranscriptionParams: 启动转录机器人和鉴权的参数。
|
8194
|
+
:type TranscriptionParams: :class:`tencentcloud.trtc.v20190722.models.TranscriptionParams`
|
8195
|
+
:param _RoomIdType: TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
|
8196
|
+
:type RoomIdType: int
|
8197
|
+
:param _RecognizeConfig: 语音识别配置
|
8198
|
+
:type RecognizeConfig: :class:`tencentcloud.trtc.v20190722.models.RecognizeConfig`
|
8199
|
+
"""
|
8200
|
+
self._SdkAppId = None
|
8201
|
+
self._RoomId = None
|
8202
|
+
self._TranscriptionParams = None
|
8203
|
+
self._RoomIdType = None
|
8204
|
+
self._RecognizeConfig = None
|
8205
|
+
|
8206
|
+
@property
|
8207
|
+
def SdkAppId(self):
|
8208
|
+
return self._SdkAppId
|
8209
|
+
|
8210
|
+
@SdkAppId.setter
|
8211
|
+
def SdkAppId(self, SdkAppId):
|
8212
|
+
self._SdkAppId = SdkAppId
|
8213
|
+
|
8214
|
+
@property
|
8215
|
+
def RoomId(self):
|
8216
|
+
return self._RoomId
|
8217
|
+
|
8218
|
+
@RoomId.setter
|
8219
|
+
def RoomId(self, RoomId):
|
8220
|
+
self._RoomId = RoomId
|
8221
|
+
|
8222
|
+
@property
|
8223
|
+
def TranscriptionParams(self):
|
8224
|
+
return self._TranscriptionParams
|
8225
|
+
|
8226
|
+
@TranscriptionParams.setter
|
8227
|
+
def TranscriptionParams(self, TranscriptionParams):
|
8228
|
+
self._TranscriptionParams = TranscriptionParams
|
8229
|
+
|
8230
|
+
@property
|
8231
|
+
def RoomIdType(self):
|
8232
|
+
return self._RoomIdType
|
8233
|
+
|
8234
|
+
@RoomIdType.setter
|
8235
|
+
def RoomIdType(self, RoomIdType):
|
8236
|
+
self._RoomIdType = RoomIdType
|
8237
|
+
|
8238
|
+
@property
|
8239
|
+
def RecognizeConfig(self):
|
8240
|
+
return self._RecognizeConfig
|
8241
|
+
|
8242
|
+
@RecognizeConfig.setter
|
8243
|
+
def RecognizeConfig(self, RecognizeConfig):
|
8244
|
+
self._RecognizeConfig = RecognizeConfig
|
8245
|
+
|
8246
|
+
|
8247
|
+
def _deserialize(self, params):
|
8248
|
+
self._SdkAppId = params.get("SdkAppId")
|
8249
|
+
self._RoomId = params.get("RoomId")
|
8250
|
+
if params.get("TranscriptionParams") is not None:
|
8251
|
+
self._TranscriptionParams = TranscriptionParams()
|
8252
|
+
self._TranscriptionParams._deserialize(params.get("TranscriptionParams"))
|
8253
|
+
self._RoomIdType = params.get("RoomIdType")
|
8254
|
+
if params.get("RecognizeConfig") is not None:
|
8255
|
+
self._RecognizeConfig = RecognizeConfig()
|
8256
|
+
self._RecognizeConfig._deserialize(params.get("RecognizeConfig"))
|
8257
|
+
memeber_set = set(params.keys())
|
8258
|
+
for name, value in vars(self).items():
|
8259
|
+
property_name = name[1:]
|
8260
|
+
if property_name in memeber_set:
|
8261
|
+
memeber_set.remove(property_name)
|
8262
|
+
if len(memeber_set) > 0:
|
8263
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8264
|
+
|
8265
|
+
|
8266
|
+
|
8267
|
+
class StartAITranscriptionResponse(AbstractModel):
|
8268
|
+
"""StartAITranscription返回参数结构体
|
8269
|
+
|
8270
|
+
"""
|
8271
|
+
|
8272
|
+
def __init__(self):
|
8273
|
+
r"""
|
8274
|
+
:param _TaskId: 用于唯一标识转录任务。
|
8275
|
+
:type TaskId: str
|
8276
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8277
|
+
:type RequestId: str
|
8278
|
+
"""
|
8279
|
+
self._TaskId = None
|
8280
|
+
self._RequestId = None
|
8281
|
+
|
8282
|
+
@property
|
8283
|
+
def TaskId(self):
|
8284
|
+
return self._TaskId
|
8285
|
+
|
8286
|
+
@TaskId.setter
|
8287
|
+
def TaskId(self, TaskId):
|
8288
|
+
self._TaskId = TaskId
|
8289
|
+
|
8290
|
+
@property
|
8291
|
+
def RequestId(self):
|
8292
|
+
return self._RequestId
|
8293
|
+
|
8294
|
+
@RequestId.setter
|
8295
|
+
def RequestId(self, RequestId):
|
8296
|
+
self._RequestId = RequestId
|
8297
|
+
|
8298
|
+
|
8299
|
+
def _deserialize(self, params):
|
8300
|
+
self._TaskId = params.get("TaskId")
|
8301
|
+
self._RequestId = params.get("RequestId")
|
8302
|
+
|
8303
|
+
|
8041
8304
|
class StartMCUMixTranscodeByStrRoomIdRequest(AbstractModel):
|
8042
8305
|
"""StartMCUMixTranscodeByStrRoomId请求参数结构体
|
8043
8306
|
|
@@ -8851,6 +9114,64 @@ class StartWebRecordResponse(AbstractModel):
|
|
8851
9114
|
self._RequestId = params.get("RequestId")
|
8852
9115
|
|
8853
9116
|
|
9117
|
+
class StopAITranscriptionRequest(AbstractModel):
|
9118
|
+
"""StopAITranscription请求参数结构体
|
9119
|
+
|
9120
|
+
"""
|
9121
|
+
|
9122
|
+
def __init__(self):
|
9123
|
+
r"""
|
9124
|
+
:param _TaskId: 唯一标识转录任务。
|
9125
|
+
:type TaskId: str
|
9126
|
+
"""
|
9127
|
+
self._TaskId = None
|
9128
|
+
|
9129
|
+
@property
|
9130
|
+
def TaskId(self):
|
9131
|
+
return self._TaskId
|
9132
|
+
|
9133
|
+
@TaskId.setter
|
9134
|
+
def TaskId(self, TaskId):
|
9135
|
+
self._TaskId = TaskId
|
9136
|
+
|
9137
|
+
|
9138
|
+
def _deserialize(self, params):
|
9139
|
+
self._TaskId = params.get("TaskId")
|
9140
|
+
memeber_set = set(params.keys())
|
9141
|
+
for name, value in vars(self).items():
|
9142
|
+
property_name = name[1:]
|
9143
|
+
if property_name in memeber_set:
|
9144
|
+
memeber_set.remove(property_name)
|
9145
|
+
if len(memeber_set) > 0:
|
9146
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9147
|
+
|
9148
|
+
|
9149
|
+
|
9150
|
+
class StopAITranscriptionResponse(AbstractModel):
|
9151
|
+
"""StopAITranscription返回参数结构体
|
9152
|
+
|
9153
|
+
"""
|
9154
|
+
|
9155
|
+
def __init__(self):
|
9156
|
+
r"""
|
9157
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9158
|
+
:type RequestId: str
|
9159
|
+
"""
|
9160
|
+
self._RequestId = None
|
9161
|
+
|
9162
|
+
@property
|
9163
|
+
def RequestId(self):
|
9164
|
+
return self._RequestId
|
9165
|
+
|
9166
|
+
@RequestId.setter
|
9167
|
+
def RequestId(self, RequestId):
|
9168
|
+
self._RequestId = RequestId
|
9169
|
+
|
9170
|
+
|
9171
|
+
def _deserialize(self, params):
|
9172
|
+
self._RequestId = params.get("RequestId")
|
9173
|
+
|
9174
|
+
|
8854
9175
|
class StopMCUMixTranscodeByStrRoomIdRequest(AbstractModel):
|
8855
9176
|
"""StopMCUMixTranscodeByStrRoomId请求参数结构体
|
8856
9177
|
|
@@ -9393,6 +9714,37 @@ class SubscribeStreamUserIds(AbstractModel):
|
|
9393
9714
|
|
9394
9715
|
|
9395
9716
|
|
9717
|
+
class SummarizeTranscriptionRequest(AbstractModel):
|
9718
|
+
"""SummarizeTranscription请求参数结构体
|
9719
|
+
|
9720
|
+
"""
|
9721
|
+
|
9722
|
+
|
9723
|
+
class SummarizeTranscriptionResponse(AbstractModel):
|
9724
|
+
"""SummarizeTranscription返回参数结构体
|
9725
|
+
|
9726
|
+
"""
|
9727
|
+
|
9728
|
+
def __init__(self):
|
9729
|
+
r"""
|
9730
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9731
|
+
:type RequestId: str
|
9732
|
+
"""
|
9733
|
+
self._RequestId = None
|
9734
|
+
|
9735
|
+
@property
|
9736
|
+
def RequestId(self):
|
9737
|
+
return self._RequestId
|
9738
|
+
|
9739
|
+
@RequestId.setter
|
9740
|
+
def RequestId(self, RequestId):
|
9741
|
+
self._RequestId = RequestId
|
9742
|
+
|
9743
|
+
|
9744
|
+
def _deserialize(self, params):
|
9745
|
+
self._RequestId = params.get("RequestId")
|
9746
|
+
|
9747
|
+
|
9396
9748
|
class TRTCDataResp(AbstractModel):
|
9397
9749
|
"""TRTC数据大盘/实时监控 API接口数据出参
|
9398
9750
|
|
@@ -9699,6 +10051,112 @@ class TimeValue(AbstractModel):
|
|
9699
10051
|
|
9700
10052
|
|
9701
10053
|
|
10054
|
+
class TranscriptionParams(AbstractModel):
|
10055
|
+
"""AI转录参数
|
10056
|
+
|
10057
|
+
"""
|
10058
|
+
|
10059
|
+
def __init__(self):
|
10060
|
+
r"""
|
10061
|
+
:param _UserId: 转录机器人的UserId,用于进房发起转录任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个转录任务时,机器人的userid也不能相互重复,否则会中断前一个任务。需要保证转录机器人UserId在房间内唯一。
|
10062
|
+
:type UserId: str
|
10063
|
+
:param _UserSig: 转录机器人UserId对应的校验签名,即UserId和UserSig相当于转录机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
10064
|
+
:type UserSig: str
|
10065
|
+
:param _IMAdminUserId: IM[管理员账户](
|
10066
|
+
https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.91.98),如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。
|
10067
|
+
:type IMAdminUserId: str
|
10068
|
+
:param _IMAdminUserSig: IM管理员账户生成的签名,用于向特定群组发送消息。如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。必须和IM管理员的UserId一起填写。
|
10069
|
+
:type IMAdminUserSig: str
|
10070
|
+
:param _MaxIdleTime: 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭转录任务,默认值是60s。
|
10071
|
+
:type MaxIdleTime: int
|
10072
|
+
:param _TranscriptionMode: 1表示机器人只订阅单个人的流,0表示机器人订阅整个房间的流,如果不填默认订阅整个房间的流。
|
10073
|
+
:type TranscriptionMode: int
|
10074
|
+
:param _TargetUserId: TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
|
10075
|
+
:type TargetUserId: str
|
10076
|
+
"""
|
10077
|
+
self._UserId = None
|
10078
|
+
self._UserSig = None
|
10079
|
+
self._IMAdminUserId = None
|
10080
|
+
self._IMAdminUserSig = None
|
10081
|
+
self._MaxIdleTime = None
|
10082
|
+
self._TranscriptionMode = None
|
10083
|
+
self._TargetUserId = None
|
10084
|
+
|
10085
|
+
@property
|
10086
|
+
def UserId(self):
|
10087
|
+
return self._UserId
|
10088
|
+
|
10089
|
+
@UserId.setter
|
10090
|
+
def UserId(self, UserId):
|
10091
|
+
self._UserId = UserId
|
10092
|
+
|
10093
|
+
@property
|
10094
|
+
def UserSig(self):
|
10095
|
+
return self._UserSig
|
10096
|
+
|
10097
|
+
@UserSig.setter
|
10098
|
+
def UserSig(self, UserSig):
|
10099
|
+
self._UserSig = UserSig
|
10100
|
+
|
10101
|
+
@property
|
10102
|
+
def IMAdminUserId(self):
|
10103
|
+
return self._IMAdminUserId
|
10104
|
+
|
10105
|
+
@IMAdminUserId.setter
|
10106
|
+
def IMAdminUserId(self, IMAdminUserId):
|
10107
|
+
self._IMAdminUserId = IMAdminUserId
|
10108
|
+
|
10109
|
+
@property
|
10110
|
+
def IMAdminUserSig(self):
|
10111
|
+
return self._IMAdminUserSig
|
10112
|
+
|
10113
|
+
@IMAdminUserSig.setter
|
10114
|
+
def IMAdminUserSig(self, IMAdminUserSig):
|
10115
|
+
self._IMAdminUserSig = IMAdminUserSig
|
10116
|
+
|
10117
|
+
@property
|
10118
|
+
def MaxIdleTime(self):
|
10119
|
+
return self._MaxIdleTime
|
10120
|
+
|
10121
|
+
@MaxIdleTime.setter
|
10122
|
+
def MaxIdleTime(self, MaxIdleTime):
|
10123
|
+
self._MaxIdleTime = MaxIdleTime
|
10124
|
+
|
10125
|
+
@property
|
10126
|
+
def TranscriptionMode(self):
|
10127
|
+
return self._TranscriptionMode
|
10128
|
+
|
10129
|
+
@TranscriptionMode.setter
|
10130
|
+
def TranscriptionMode(self, TranscriptionMode):
|
10131
|
+
self._TranscriptionMode = TranscriptionMode
|
10132
|
+
|
10133
|
+
@property
|
10134
|
+
def TargetUserId(self):
|
10135
|
+
return self._TargetUserId
|
10136
|
+
|
10137
|
+
@TargetUserId.setter
|
10138
|
+
def TargetUserId(self, TargetUserId):
|
10139
|
+
self._TargetUserId = TargetUserId
|
10140
|
+
|
10141
|
+
|
10142
|
+
def _deserialize(self, params):
|
10143
|
+
self._UserId = params.get("UserId")
|
10144
|
+
self._UserSig = params.get("UserSig")
|
10145
|
+
self._IMAdminUserId = params.get("IMAdminUserId")
|
10146
|
+
self._IMAdminUserSig = params.get("IMAdminUserSig")
|
10147
|
+
self._MaxIdleTime = params.get("MaxIdleTime")
|
10148
|
+
self._TranscriptionMode = params.get("TranscriptionMode")
|
10149
|
+
self._TargetUserId = params.get("TargetUserId")
|
10150
|
+
memeber_set = set(params.keys())
|
10151
|
+
for name, value in vars(self).items():
|
10152
|
+
property_name = name[1:]
|
10153
|
+
if property_name in memeber_set:
|
10154
|
+
memeber_set.remove(property_name)
|
10155
|
+
if len(memeber_set) > 0:
|
10156
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10157
|
+
|
10158
|
+
|
10159
|
+
|
9702
10160
|
class TrtcUsage(AbstractModel):
|
9703
10161
|
"""实时音视频用量在某一时间段的统计信息。
|
9704
10162
|
|
@@ -129,6 +129,29 @@ class TrtcClient(AbstractClient):
|
|
129
129
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
130
130
|
|
131
131
|
|
132
|
+
def DescribeAITranscription(self, request):
|
133
|
+
"""查询AI转录状态
|
134
|
+
|
135
|
+
:param request: Request instance for DescribeAITranscription.
|
136
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeAITranscriptionRequest`
|
137
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeAITranscriptionResponse`
|
138
|
+
|
139
|
+
"""
|
140
|
+
try:
|
141
|
+
params = request._serialize()
|
142
|
+
headers = request.headers
|
143
|
+
body = self.call("DescribeAITranscription", params, headers=headers)
|
144
|
+
response = json.loads(body)
|
145
|
+
model = models.DescribeAITranscriptionResponse()
|
146
|
+
model._deserialize(response["Response"])
|
147
|
+
return model
|
148
|
+
except Exception as e:
|
149
|
+
if isinstance(e, TencentCloudSDKException):
|
150
|
+
raise
|
151
|
+
else:
|
152
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
153
|
+
|
154
|
+
|
132
155
|
def DescribeCallDetailInfo(self, request):
|
133
156
|
"""查询指定时间内的用户列表及用户通话质量数据,最大可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
|
134
157
|
**注意**:
|
@@ -945,6 +968,29 @@ class TrtcClient(AbstractClient):
|
|
945
968
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
946
969
|
|
947
970
|
|
971
|
+
def StartAITranscription(self, request):
|
972
|
+
"""这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
|
973
|
+
|
974
|
+
:param request: Request instance for StartAITranscription.
|
975
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionRequest`
|
976
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionResponse`
|
977
|
+
|
978
|
+
"""
|
979
|
+
try:
|
980
|
+
params = request._serialize()
|
981
|
+
headers = request.headers
|
982
|
+
body = self.call("StartAITranscription", params, headers=headers)
|
983
|
+
response = json.loads(body)
|
984
|
+
model = models.StartAITranscriptionResponse()
|
985
|
+
model._deserialize(response["Response"])
|
986
|
+
return model
|
987
|
+
except Exception as e:
|
988
|
+
if isinstance(e, TencentCloudSDKException):
|
989
|
+
raise
|
990
|
+
else:
|
991
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
992
|
+
|
993
|
+
|
948
994
|
def StartMCUMixTranscode(self, request):
|
949
995
|
"""接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
950
996
|
|
@@ -1198,6 +1244,29 @@ class TrtcClient(AbstractClient):
|
|
1198
1244
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1199
1245
|
|
1200
1246
|
|
1247
|
+
def StopAITranscription(self, request):
|
1248
|
+
"""停止AI转录
|
1249
|
+
|
1250
|
+
:param request: Request instance for StopAITranscription.
|
1251
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.StopAITranscriptionRequest`
|
1252
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.StopAITranscriptionResponse`
|
1253
|
+
|
1254
|
+
"""
|
1255
|
+
try:
|
1256
|
+
params = request._serialize()
|
1257
|
+
headers = request.headers
|
1258
|
+
body = self.call("StopAITranscription", params, headers=headers)
|
1259
|
+
response = json.loads(body)
|
1260
|
+
model = models.StopAITranscriptionResponse()
|
1261
|
+
model._deserialize(response["Response"])
|
1262
|
+
return model
|
1263
|
+
except Exception as e:
|
1264
|
+
if isinstance(e, TencentCloudSDKException):
|
1265
|
+
raise
|
1266
|
+
else:
|
1267
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1268
|
+
|
1269
|
+
|
1201
1270
|
def StopMCUMixTranscode(self, request):
|
1202
1271
|
"""接口说明:结束云端混流
|
1203
1272
|
|
@@ -1313,6 +1382,29 @@ class TrtcClient(AbstractClient):
|
|
1313
1382
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1314
1383
|
|
1315
1384
|
|
1385
|
+
def SummarizeTranscription(self, request):
|
1386
|
+
"""对转录的文本进行总结
|
1387
|
+
|
1388
|
+
:param request: Request instance for SummarizeTranscription.
|
1389
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.SummarizeTranscriptionRequest`
|
1390
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.SummarizeTranscriptionResponse`
|
1391
|
+
|
1392
|
+
"""
|
1393
|
+
try:
|
1394
|
+
params = request._serialize()
|
1395
|
+
headers = request.headers
|
1396
|
+
body = self.call("SummarizeTranscription", params, headers=headers)
|
1397
|
+
response = json.loads(body)
|
1398
|
+
model = models.SummarizeTranscriptionResponse()
|
1399
|
+
model._deserialize(response["Response"])
|
1400
|
+
return model
|
1401
|
+
except Exception as e:
|
1402
|
+
if isinstance(e, TencentCloudSDKException):
|
1403
|
+
raise
|
1404
|
+
else:
|
1405
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1406
|
+
|
1407
|
+
|
1316
1408
|
def UpdatePublishCdnStream(self, request):
|
1317
1409
|
"""更新转推任务。
|
1318
1410
|
注:请参见启动转推任务的接口说明和使用说明。
|
{tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/RECORD
RENAMED
@@ -50,7 +50,7 @@ QcloudApi/modules/vod.py,sha256=l05_qYx0l5bq6LJ8mAX2YO3pRXzxY3JMdDHV1N_SRKE,679
|
|
50
50
|
QcloudApi/modules/vpc.py,sha256=JBiNpcnrAwf_UJ_UdpxQybKeCTfeveJ9R1B-vO1_w_U,679
|
51
51
|
QcloudApi/modules/wenzhi.py,sha256=hr1rRLU8TxxSfejMqV2O4alO_yXF3C0tfZMSzziu54Q,685
|
52
52
|
QcloudApi/modules/yunsou.py,sha256=JlgzMjnJaho6axFVhSTAv6DS0HLcjl0LJL02q6qI2yY,685
|
53
|
-
tencentcloud/__init__.py,sha256=
|
53
|
+
tencentcloud/__init__.py,sha256=DtwDwBauz1G3jqZhcnMOSIKB7Sxg23BfCdJYW1F_6_0,631
|
54
54
|
tencentcloud/aa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
55
|
tencentcloud/aa/v20200224/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
56
56
|
tencentcloud/aa/v20200224/aa_client.py,sha256=L7P5zpJElo9WoLSkhvLxnfpEGCZ1q2e5Fzx3wLEioAA,2184
|
@@ -277,7 +277,7 @@ tencentcloud/cdn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
277
277
|
tencentcloud/cdn/v20180606/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
278
278
|
tencentcloud/cdn/v20180606/cdn_client.py,sha256=4b5aYX7IXljfAyiULRsL67rV_xZdlqP5iJ8SuYBo8M8,82560
|
279
279
|
tencentcloud/cdn/v20180606/errorcodes.py,sha256=9Nu4v78JfK2Uz9JCkB5mCrOLnfvnUakJviNFJXmwGe4,22415
|
280
|
-
tencentcloud/cdn/v20180606/models.py,sha256=
|
280
|
+
tencentcloud/cdn/v20180606/models.py,sha256=dM-oOTglMUWY0471SkHt9br7r0jSpwoh1tuJAC0LD3M,864565
|
281
281
|
tencentcloud/cds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
282
282
|
tencentcloud/cds/v20180420/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
283
283
|
tencentcloud/cds/v20180420/cds_client.py,sha256=XTv2yeTSBPNp5bnokDJs-U6-D606zKwriN5cVKD3VMk,6824
|
@@ -519,7 +519,7 @@ tencentcloud/dsgc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
519
519
|
tencentcloud/dsgc/v20190723/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
520
520
|
tencentcloud/dsgc/v20190723/dsgc_client.py,sha256=lxXhyGdHoLb9912i2zWUia-Td2uFyGB0zx-T6i3tJkA,145268
|
521
521
|
tencentcloud/dsgc/v20190723/errorcodes.py,sha256=W7QFkAjX9IhwGlNAiayqmsk8hnBnjLS_FPneZ3vlGNE,1944
|
522
|
-
tencentcloud/dsgc/v20190723/models.py,sha256=
|
522
|
+
tencentcloud/dsgc/v20190723/models.py,sha256=h_2i1dm257MG_Mj08e1gSPnLbffRDW4u8U6GNvCU7aQ,831450
|
523
523
|
tencentcloud/dtf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
524
524
|
tencentcloud/dtf/v20200506/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
525
525
|
tencentcloud/dtf/v20200506/dtf_client.py,sha256=YFbElIcR3VijG9N7BZk574AGQ3IUKwI7Jj2rQ7Eua2A,1887
|
@@ -876,7 +876,7 @@ tencentcloud/monitor/v20180724/monitor_client.py,sha256=QZJsG5PUGybk01NwtlSnFekG
|
|
876
876
|
tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
877
877
|
tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
878
878
|
tencentcloud/mps/v20190612/errorcodes.py,sha256=d8Goh4KkepFlnGa9-0wreNaWJw2XU7YiSIakDEjI1pE,13699
|
879
|
-
tencentcloud/mps/v20190612/models.py,sha256=
|
879
|
+
tencentcloud/mps/v20190612/models.py,sha256=vjw-jKQyZshE6_tlR1oEXMkfjaKfIZ3j6dTsQ3stoY8,1378996
|
880
880
|
tencentcloud/mps/v20190612/mps_client.py,sha256=9CTnbs4WwUWdMnJ42wbhnKT-a1DukoLuRdKfIHzJftw,100517
|
881
881
|
tencentcloud/mrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
882
882
|
tencentcloud/mrs/v20200910/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -916,7 +916,7 @@ tencentcloud/oceanus/v20190422/oceanus_client.py,sha256=WrNxEBxvdzq4OBK9Zd8H3uLJ
|
|
916
916
|
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
917
917
|
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
918
918
|
tencentcloud/ocr/v20181119/errorcodes.py,sha256=zB_fK0zPn6XUMFcH7nmaLeonyqUHqu0m9CZrX8yb6pE,6678
|
919
|
-
tencentcloud/ocr/v20181119/models.py,sha256=
|
919
|
+
tencentcloud/ocr/v20181119/models.py,sha256=MJLHeqmkEcAm5mv002t1vIpvb7CYtlkrMpxOx7KW6yQ,937015
|
920
920
|
tencentcloud/ocr/v20181119/ocr_client.py,sha256=6zmRQ7JT8QV9W1w6QhZYJGqJ142HuDasnN25xb7dT_M,117571
|
921
921
|
tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
922
922
|
tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -1019,7 +1019,7 @@ tencentcloud/sms/v20190711/models.py,sha256=3NiR7wOTvMlLN25-XgrCAGXN0cuGhDtHWYuG
|
|
1019
1019
|
tencentcloud/sms/v20190711/sms_client.py,sha256=AKVr4LAKYoqcwc2yo44pigXOLoghz_9me7X3C7nT0as,26631
|
1020
1020
|
tencentcloud/sms/v20210111/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1021
1021
|
tencentcloud/sms/v20210111/errorcodes.py,sha256=UKlc0ssumkzmTkWq7xCg87t7BF631c4mdCpzU1Ii1G0,20081
|
1022
|
-
tencentcloud/sms/v20210111/models.py,sha256=
|
1022
|
+
tencentcloud/sms/v20210111/models.py,sha256=4zXx7XwZpVLE-uecq_8OXTZwd_4E7P09sTIUiVipSes,107784
|
1023
1023
|
tencentcloud/sms/v20210111/sms_client.py,sha256=HGS9prXMXn6t8ltpiwE-4-x42wQfTCsBMqEss_ubJlY,28405
|
1024
1024
|
tencentcloud/soe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1025
1025
|
tencentcloud/soe/v20180724/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -1276,7 +1276,7 @@ tencentcloud/tms/v20201229/tms_client.py,sha256=aJ0uX_8x0fPqiyFknUgLIlzkkLAuyefz
|
|
1276
1276
|
tencentcloud/tmt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1277
1277
|
tencentcloud/tmt/v20180321/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1278
1278
|
tencentcloud/tmt/v20180321/errorcodes.py,sha256=bbUCl-UOX2osMA2Q8HKAuh7Oe1lLMvmcmeflyZlBuvk,3841
|
1279
|
-
tencentcloud/tmt/v20180321/models.py,sha256=
|
1279
|
+
tencentcloud/tmt/v20180321/models.py,sha256=uUZcVaV87XrkHXy1_1iWUSQjSrSkn2nuuvz1_tGQL-w,48947
|
1280
1280
|
tencentcloud/tmt/v20180321/tmt_client.py,sha256=HIfWNhPwq2OPsPYXJqzPYlMcAttcjhkxm7HBOTy9EXA,9506
|
1281
1281
|
tencentcloud/tourism/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1282
1282
|
tencentcloud/tourism/v20230215/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -1305,9 +1305,9 @@ tencentcloud/trro/v20220325/models.py,sha256=mJ1L8xoeBN59EIjr_SSMyh5es4I4TojcYHf
|
|
1305
1305
|
tencentcloud/trro/v20220325/trro_client.py,sha256=UMXZ_jOKKI2_cydbscFAPxqVfSUpUml2a6XuSXeIdLM,21373
|
1306
1306
|
tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1307
1307
|
tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1308
|
-
tencentcloud/trtc/v20190722/errorcodes.py,sha256=
|
1309
|
-
tencentcloud/trtc/v20190722/models.py,sha256=
|
1310
|
-
tencentcloud/trtc/v20190722/trtc_client.py,sha256=
|
1308
|
+
tencentcloud/trtc/v20190722/errorcodes.py,sha256=5EiqCBVUBH7xBygOaHe6bx-2-CrCkE_hJsHmntnFSiI,10976
|
1309
|
+
tencentcloud/trtc/v20190722/models.py,sha256=Ujrsz7feaR8_YimHuYEY1ixbIgTpYCjeu5FMh6ObAkg,360641
|
1310
|
+
tencentcloud/trtc/v20190722/trtc_client.py,sha256=SG9-ShWlmLR3vuSbBlAouFRB7ygrsVIdPIxpoOijPbE,83237
|
1311
1311
|
tencentcloud/tse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1312
1312
|
tencentcloud/tse/v20201207/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1313
1313
|
tencentcloud/tse/v20201207/errorcodes.py,sha256=HVL21WZbHbQ-ti83Y7kcle8DhijhQB8k6LE3AIRm_t8,6304
|
@@ -1429,8 +1429,8 @@ tencentcloud/yunsou/v20191115/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
1429
1429
|
tencentcloud/yunsou/v20191115/errorcodes.py,sha256=zB4-XPxmvEhgHoLsKlbayJVRLEagPDcs-UAheVZCoAc,1301
|
1430
1430
|
tencentcloud/yunsou/v20191115/models.py,sha256=sNTR9ixO8CV9yKQahrhOsEJlxOK5d7aXBoIBIPxfJsQ,23137
|
1431
1431
|
tencentcloud/yunsou/v20191115/yunsou_client.py,sha256=ly73Hr8rGamWa6AAvQjurKgd4L83PRY5WjcDv4ziQC8,2741
|
1432
|
-
tencentcloud_sdk_python-3.0.
|
1433
|
-
tencentcloud_sdk_python-3.0.
|
1434
|
-
tencentcloud_sdk_python-3.0.
|
1435
|
-
tencentcloud_sdk_python-3.0.
|
1436
|
-
tencentcloud_sdk_python-3.0.
|
1432
|
+
tencentcloud_sdk_python-3.0.1151.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
|
1433
|
+
tencentcloud_sdk_python-3.0.1151.dist-info/METADATA,sha256=0d28AC9bN4r0BiVrr34nx-BHW7RDWZ8DfG5wvkKozcc,1511
|
1434
|
+
tencentcloud_sdk_python-3.0.1151.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
1435
|
+
tencentcloud_sdk_python-3.0.1151.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
|
1436
|
+
tencentcloud_sdk_python-3.0.1151.dist-info/RECORD,,
|
{tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/LICENSE
RENAMED
File without changes
|
{tencentcloud_sdk_python-3.0.1150.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|