tencentcloud-sdk-python 3.0.1215__py2.py3-none-any.whl → 3.0.1217__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/antiddos/v20200309/models.py +13 -1
- tencentcloud/ccc/v20200210/models.py +18 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +47 -1
- tencentcloud/cdwdoris/v20211228/models.py +410 -2
- tencentcloud/cfg/v20210820/models.py +1 -1
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cls/v20201016/models.py +14 -1
- tencentcloud/cwp/v20180228/models.py +84 -0
- tencentcloud/dcdb/v20180411/models.py +36 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dsgc/v20190723/models.py +115 -0
- tencentcloud/essbasic/v20210526/models.py +3 -1
- tencentcloud/facefusion/v20220927/models.py +13 -4
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/faceid/v20180301/models.py +38 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/mna/v20210119/models.py +26 -0
- tencentcloud/monitor/v20180724/models.py +13 -0
- tencentcloud/ocr/v20181119/models.py +14 -0
- tencentcloud/organization/v20210331/models.py +17 -17
- tencentcloud/organization/v20210331/organization_client.py +2 -2
- tencentcloud/redis/v20180412/models.py +20 -18
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/scf/v20180416/models.py +3 -3
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/ssl_client.py +1 -1
- tencentcloud/tag/v20180813/models.py +33 -33
- tencentcloud/tmt/v20180321/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +118 -0
- tencentcloud/trtc/v20190722/trtc_client.py +25 -35
- tencentcloud/tse/v20201207/models.py +88 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +8 -2
- tencentcloud/vclm/v20240523/models.py +12 -0
- tencentcloud/vod/v20180717/models.py +6 -6
- tencentcloud/vod/v20180717/vod_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +193 -1
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/RECORD +43 -43
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1217.dist-info}/top_level.txt +0 -0
@@ -201,7 +201,7 @@ class AttachResourcesTagRequest(AbstractModel):
|
|
201
201
|
|
202
202
|
def __init__(self):
|
203
203
|
r"""
|
204
|
-
:param _ServiceType:
|
204
|
+
:param _ServiceType: 业务类型,示例 cvm 。资源所属业务名称(资源六段式中的第三段)
|
205
205
|
:type ServiceType: str
|
206
206
|
:param _ResourceIds: 资源ID数组,资源个数最多为50
|
207
207
|
:type ResourceIds: list of str
|
@@ -211,7 +211,7 @@ class AttachResourcesTagRequest(AbstractModel):
|
|
211
211
|
:type TagValue: str
|
212
212
|
:param _ResourceRegion: 资源所在地域,不区分地域的资源则不必填。区分地域的资源则必填,且必填时必须是参数ResourceIds.N资源所对应的地域,且如果ResourceIds.N为批量时,这些资源也必须是同一个地域的。例如示例值:ap-beijing,则参数ResourceIds.N中都应该填写该地域的资源。
|
213
213
|
:type ResourceRegion: str
|
214
|
-
:param _ResourcePrefix: 资源前缀(资源六段式中最后一段"/"
|
214
|
+
:param _ResourcePrefix: 资源前缀(资源六段式中最后一段"/"前面的部分,例如“qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584” 中资源前缀为ckafkaId),cos存储桶不需要传入该字段,其他云资源必填
|
215
215
|
:type ResourcePrefix: str
|
216
216
|
"""
|
217
217
|
self._ServiceType = None
|
@@ -455,7 +455,7 @@ class DeleteResourceTagRequest(AbstractModel):
|
|
455
455
|
r"""
|
456
456
|
:param _TagKey: 标签键
|
457
457
|
:type TagKey: str
|
458
|
-
:param _Resource:
|
458
|
+
:param _Resource: 资源六段式。示例:qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584
|
459
459
|
:type Resource: str
|
460
460
|
"""
|
461
461
|
self._TagKey = None
|
@@ -792,13 +792,13 @@ class DescribeResourceTagsByResourceIdsRequest(AbstractModel):
|
|
792
792
|
|
793
793
|
def __init__(self):
|
794
794
|
r"""
|
795
|
-
:param _ServiceType:
|
795
|
+
:param _ServiceType: 业务类型,示例 cvm 。资源所属业务名称(资源六段式中的第三段)
|
796
796
|
:type ServiceType: str
|
797
|
-
:param _ResourcePrefix:
|
797
|
+
:param _ResourcePrefix: 资源前缀,示例 instance
|
798
798
|
:type ResourcePrefix: str
|
799
799
|
:param _ResourceIds: 资源ID数组,大小不超过50
|
800
800
|
:type ResourceIds: list of str
|
801
|
-
:param _ResourceRegion:
|
801
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填
|
802
802
|
:type ResourceRegion: str
|
803
803
|
:param _Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
804
804
|
:type Offset: int
|
@@ -975,13 +975,13 @@ class DescribeResourceTagsByResourceIdsSeqRequest(AbstractModel):
|
|
975
975
|
|
976
976
|
def __init__(self):
|
977
977
|
r"""
|
978
|
-
:param _ServiceType:
|
978
|
+
:param _ServiceType: 业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka
|
979
979
|
:type ServiceType: str
|
980
|
-
:param _ResourcePrefix:
|
980
|
+
:param _ResourcePrefix: 该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填
|
981
981
|
:type ResourcePrefix: str
|
982
982
|
:param _ResourceIds: 资源唯一标记
|
983
983
|
:type ResourceIds: list of str
|
984
|
-
:param _ResourceRegion:
|
984
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填
|
985
985
|
:type ResourceRegion: str
|
986
986
|
:param _Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
987
987
|
:type Offset: int
|
@@ -1146,11 +1146,11 @@ class DescribeResourceTagsByTagKeysRequest(AbstractModel):
|
|
1146
1146
|
|
1147
1147
|
def __init__(self):
|
1148
1148
|
r"""
|
1149
|
-
:param _ServiceType:
|
1149
|
+
:param _ServiceType: 业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka
|
1150
1150
|
:type ServiceType: str
|
1151
|
-
:param _ResourcePrefix:
|
1151
|
+
:param _ResourcePrefix: 该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填
|
1152
1152
|
:type ResourcePrefix: str
|
1153
|
-
:param _ResourceRegion:
|
1153
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填
|
1154
1154
|
:type ResourceRegion: str
|
1155
1155
|
:param _ResourceIds: 资源唯一标识ID的列表,列表容量不超过20
|
1156
1156
|
:type ResourceIds: list of str
|
@@ -1329,21 +1329,21 @@ class DescribeResourceTagsRequest(AbstractModel):
|
|
1329
1329
|
|
1330
1330
|
def __init__(self):
|
1331
1331
|
r"""
|
1332
|
-
:param _CreateUin:
|
1332
|
+
:param _CreateUin: 资源创建者UIN
|
1333
1333
|
:type CreateUin: int
|
1334
|
-
:param _ResourceRegion:
|
1334
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 。不区分地域的资源则不需要传入该字段,区分地域的资源必填
|
1335
1335
|
:type ResourceRegion: str
|
1336
|
-
:param _ServiceType:
|
1336
|
+
:param _ServiceType: 业务类型,示例 ckafka。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka
|
1337
1337
|
:type ServiceType: str
|
1338
|
-
:param _ResourcePrefix:
|
1338
|
+
:param _ResourcePrefix: 该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId
|
1339
1339
|
:type ResourcePrefix: str
|
1340
|
-
:param _ResourceId:
|
1340
|
+
:param _ResourceId: 资源唯一标识(资源六段式中最后一段"/"后面的部分)。注:只输入ResourceId查询时,如资源量大可能较慢,或无法匹配到结果,建议在输入ResourceId的同时也输入ServiceType、ResourcePrefix和ResourceRegion(不区分地域的资源可忽略该参数)。若传入的是cos资源的Id,则CosResourceId 字段请同时传1。
|
1341
1341
|
:type ResourceId: str
|
1342
1342
|
:param _Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
1343
1343
|
:type Offset: int
|
1344
1344
|
:param _Limit: 每页大小,默认为 15
|
1345
1345
|
:type Limit: int
|
1346
|
-
:param _CosResourceId:
|
1346
|
+
:param _CosResourceId: 是否为cos的资源,取值 0 表示:非cos资源。取值1 表示:cos资源,且此时ResourceId也为必填。不填则默认为 0
|
1347
1347
|
:type CosResourceId: int
|
1348
1348
|
"""
|
1349
1349
|
self._CreateUin = None
|
@@ -1533,13 +1533,13 @@ class DescribeResourcesByTagsRequest(AbstractModel):
|
|
1533
1533
|
:type Offset: int
|
1534
1534
|
:param _Limit: 每页大小,默认为 15
|
1535
1535
|
:type Limit: int
|
1536
|
-
:param _ResourcePrefix:
|
1536
|
+
:param _ResourcePrefix: 该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填
|
1537
1537
|
:type ResourcePrefix: str
|
1538
1538
|
:param _ResourceId: 资源唯一标记
|
1539
1539
|
:type ResourceId: str
|
1540
|
-
:param _ResourceRegion:
|
1540
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填
|
1541
1541
|
:type ResourceRegion: str
|
1542
|
-
:param _ServiceType:
|
1542
|
+
:param _ServiceType: 业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka
|
1543
1543
|
:type ServiceType: str
|
1544
1544
|
"""
|
1545
1545
|
self._TagFilters = None
|
@@ -1734,13 +1734,13 @@ class DescribeResourcesByTagsUnionRequest(AbstractModel):
|
|
1734
1734
|
:type Offset: int
|
1735
1735
|
:param _Limit: 每页大小,默认为 15
|
1736
1736
|
:type Limit: int
|
1737
|
-
:param _ResourcePrefix:
|
1737
|
+
:param _ResourcePrefix: 该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填
|
1738
1738
|
:type ResourcePrefix: str
|
1739
1739
|
:param _ResourceId: 资源唯一标记
|
1740
1740
|
:type ResourceId: str
|
1741
|
-
:param _ResourceRegion:
|
1741
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填
|
1742
1742
|
:type ResourceRegion: str
|
1743
|
-
:param _ServiceType:
|
1743
|
+
:param _ServiceType: 业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka
|
1744
1744
|
:type ServiceType: str
|
1745
1745
|
"""
|
1746
1746
|
self._TagFilters = None
|
@@ -1932,7 +1932,7 @@ class DescribeTagKeysRequest(AbstractModel):
|
|
1932
1932
|
:type Offset: int
|
1933
1933
|
:param _Limit: 每页大小,默认为 15,最大1000
|
1934
1934
|
:type Limit: int
|
1935
|
-
:param _ShowProject:
|
1935
|
+
:param _ShowProject: 是否展现项目。1:展示 0:不展示
|
1936
1936
|
:type ShowProject: int
|
1937
1937
|
:param _Category: 标签类型。取值: Custom:自定义标签。 System:系统标签。 All:全部标签。 默认值:All。
|
1938
1938
|
:type Category: str
|
@@ -2398,7 +2398,7 @@ class DescribeTagsRequest(AbstractModel):
|
|
2398
2398
|
:type CreateUin: int
|
2399
2399
|
:param _TagKeys: 标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值
|
2400
2400
|
:type TagKeys: list of str
|
2401
|
-
:param _ShowProject:
|
2401
|
+
:param _ShowProject: 是否展现项目标签。1:展示 0:不展示
|
2402
2402
|
:type ShowProject: int
|
2403
2403
|
"""
|
2404
2404
|
self._TagKey = None
|
@@ -2581,7 +2581,7 @@ class DescribeTagsSeqRequest(AbstractModel):
|
|
2581
2581
|
:type CreateUin: int
|
2582
2582
|
:param _TagKeys: 标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值
|
2583
2583
|
:type TagKeys: list of str
|
2584
|
-
:param _ShowProject:
|
2584
|
+
:param _ShowProject: 是否展现项目标签。1:展示 0:不展示
|
2585
2585
|
:type ShowProject: int
|
2586
2586
|
"""
|
2587
2587
|
self._TagKey = None
|
@@ -2752,15 +2752,15 @@ class DetachResourcesTagRequest(AbstractModel):
|
|
2752
2752
|
|
2753
2753
|
def __init__(self):
|
2754
2754
|
r"""
|
2755
|
-
:param _ServiceType:
|
2755
|
+
:param _ServiceType: 业务类型,示例 cvm 。指资源所属业务类型,也是资源六段式中的第三段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中业务类型为ckafka
|
2756
2756
|
:type ServiceType: str
|
2757
2757
|
:param _ResourceIds: 资源ID数组,资源个数最多为50
|
2758
2758
|
:type ResourceIds: list of str
|
2759
2759
|
:param _TagKey: 需要解绑的标签键
|
2760
2760
|
:type TagKey: str
|
2761
|
-
:param _ResourceRegion:
|
2761
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 。不区分地域的资源则不需要传入该字段,区分地域的资源必填
|
2762
2762
|
:type ResourceRegion: str
|
2763
|
-
:param _ResourcePrefix:
|
2763
|
+
:param _ResourcePrefix: 该业务类型对应的资源前缀,示例 cvm对应instance、image、volume等。也是资源六段式中的第六段,例如qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584中资源前缀为ckafkaId。cos存储桶为非必填,其他云资源为必填
|
2764
2764
|
:type ResourcePrefix: str
|
2765
2765
|
"""
|
2766
2766
|
self._ServiceType = None
|
@@ -3506,7 +3506,7 @@ class ModifyResourcesTagValueRequest(AbstractModel):
|
|
3506
3506
|
|
3507
3507
|
def __init__(self):
|
3508
3508
|
r"""
|
3509
|
-
:param _ServiceType:
|
3509
|
+
:param _ServiceType: 业务类型,示例 cvm 。资源所属业务名称(资源六段式中的第三段)
|
3510
3510
|
:type ServiceType: str
|
3511
3511
|
:param _ResourceIds: 资源ID数组,资源个数最多为50
|
3512
3512
|
:type ResourceIds: list of str
|
@@ -3514,9 +3514,9 @@ class ModifyResourcesTagValueRequest(AbstractModel):
|
|
3514
3514
|
:type TagKey: str
|
3515
3515
|
:param _TagValue: 标签值
|
3516
3516
|
:type TagValue: str
|
3517
|
-
:param _ResourceRegion:
|
3517
|
+
:param _ResourceRegion: 资源所在地域,示例:ap-guangzhou 不区分地域的资源不需要传入该字段,区分地域的资源必填
|
3518
3518
|
:type ResourceRegion: str
|
3519
|
-
:param _ResourcePrefix: 资源前缀(资源六段式中最后一段"/"
|
3519
|
+
:param _ResourcePrefix: 资源前缀(资源六段式中最后一段"/"前面的部分),例如“qcs::ckafka:ap-shanghai:uin/123456789:ckafkaId/ckafka-o85jq584” 中资源前缀为ckafkaId),cos存储桶不需要传入该字段,其他云资源必填
|
3520
3520
|
:type ResourcePrefix: str
|
3521
3521
|
"""
|
3522
3522
|
self._ServiceType = None
|
@@ -1090,8 +1090,8 @@ hi:印地语
|
|
1090
1090
|
:type Source: str
|
1091
1091
|
:param _Target: 目标语言,各源语言的目标语言支持列表如下
|
1092
1092
|
|
1093
|
-
<li> zh(简体中文):en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms
|
1094
|
-
<li>zh-TW(繁体中文):en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms
|
1093
|
+
<li> zh(简体中文):en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)</li>
|
1094
|
+
<li>zh-TW(繁体中文):en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)</li>
|
1095
1095
|
<li>en(英语):zh(中文)、zh-TW(繁体中文)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)、hi(印地语)</li>
|
1096
1096
|
<li>ja(日语):zh(中文)、zh-TW(繁体中文)、en(英语)、ko(韩语)</li>
|
1097
1097
|
<li>ko(韩语):zh(中文)、zh-TW(繁体中文)、en(英语)、ja(日语)</li>
|
@@ -1106,7 +1106,7 @@ hi:印地语
|
|
1106
1106
|
<li>id(印尼语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1107
1107
|
<li>th(泰语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1108
1108
|
<li>ms(马来语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1109
|
-
<li>ar(阿拉伯语):en(英语)</li>
|
1109
|
+
<li>ar(阿拉伯语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1110
1110
|
<li>hi(印地语):en(英语)</li>
|
1111
1111
|
:type Target: str
|
1112
1112
|
:param _ProjectId: 项目ID,可以根据控制台-账号中心-项目管理中的配置填写,如无配置请填写默认项目ID:0
|
@@ -1284,8 +1284,8 @@ hi:印地语
|
|
1284
1284
|
:type Source: str
|
1285
1285
|
:param _Target: 目标语言,各源语言的目标语言支持列表如下
|
1286
1286
|
|
1287
|
-
<li> zh(简体中文):zh-TW(繁体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms
|
1288
|
-
<li>zh-TW(繁体中文):zh(简体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms
|
1287
|
+
<li> zh(简体中文):zh-TW(繁体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)</li>
|
1288
|
+
<li>zh-TW(繁体中文):zh(简体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)</li>
|
1289
1289
|
<li>en(英语):zh(中文)、zh-TW(繁体中文)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)、hi(印地语)</li>
|
1290
1290
|
<li>ja(日语):zh(中文)、zh-TW(繁体中文)、en(英语)、ko(韩语)</li>
|
1291
1291
|
<li>ko(韩语):zh(中文)、zh-TW(繁体中文)、en(英语)、ja(日语)</li>
|
@@ -1300,7 +1300,7 @@ hi:印地语
|
|
1300
1300
|
<li>id(印尼语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1301
1301
|
<li>th(泰语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1302
1302
|
<li>ms(马来语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1303
|
-
<li>ar(阿拉伯语):en(英语)</li>
|
1303
|
+
<li>ar(阿拉伯语):zh(中文)、zh-TW(繁体中文)、en(英语)</li>
|
1304
1304
|
<li>hi(印地语):en(英语)</li>
|
1305
1305
|
:type Target: str
|
1306
1306
|
:param _ProjectId: 项目ID,可以根据控制台-账号中心-项目管理中的配置填写,如无配置请填写默认项目ID:0
|
@@ -11106,6 +11106,124 @@ class TrtcUsage(AbstractModel):
|
|
11106
11106
|
|
11107
11107
|
|
11108
11108
|
|
11109
|
+
class UpdateAIConversationRequest(AbstractModel):
|
11110
|
+
"""UpdateAIConversation请求参数结构体
|
11111
|
+
|
11112
|
+
"""
|
11113
|
+
|
11114
|
+
def __init__(self):
|
11115
|
+
r"""
|
11116
|
+
:param _TaskId: 唯一标识一个任务
|
11117
|
+
:type TaskId: str
|
11118
|
+
:param _WelcomeMessage: 不填写则不进行更新,机器人的欢迎语
|
11119
|
+
:type WelcomeMessage: str
|
11120
|
+
:param _InterruptMode: 不填写则不进行更新。智能打断模式,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
|
11121
|
+
:type InterruptMode: int
|
11122
|
+
:param _InterruptSpeechDuration: 不填写则不进行更新。InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断
|
11123
|
+
:type InterruptSpeechDuration: int
|
11124
|
+
:param _LLMConfig: 不填写则不进行更新,LLM配置,详情见StartAIConversation接口
|
11125
|
+
:type LLMConfig: str
|
11126
|
+
:param _TTSConfig: 不填写则不进行更新,TTS配置,详情见StartAIConversation接口
|
11127
|
+
:type TTSConfig: str
|
11128
|
+
"""
|
11129
|
+
self._TaskId = None
|
11130
|
+
self._WelcomeMessage = None
|
11131
|
+
self._InterruptMode = None
|
11132
|
+
self._InterruptSpeechDuration = None
|
11133
|
+
self._LLMConfig = None
|
11134
|
+
self._TTSConfig = None
|
11135
|
+
|
11136
|
+
@property
|
11137
|
+
def TaskId(self):
|
11138
|
+
return self._TaskId
|
11139
|
+
|
11140
|
+
@TaskId.setter
|
11141
|
+
def TaskId(self, TaskId):
|
11142
|
+
self._TaskId = TaskId
|
11143
|
+
|
11144
|
+
@property
|
11145
|
+
def WelcomeMessage(self):
|
11146
|
+
return self._WelcomeMessage
|
11147
|
+
|
11148
|
+
@WelcomeMessage.setter
|
11149
|
+
def WelcomeMessage(self, WelcomeMessage):
|
11150
|
+
self._WelcomeMessage = WelcomeMessage
|
11151
|
+
|
11152
|
+
@property
|
11153
|
+
def InterruptMode(self):
|
11154
|
+
return self._InterruptMode
|
11155
|
+
|
11156
|
+
@InterruptMode.setter
|
11157
|
+
def InterruptMode(self, InterruptMode):
|
11158
|
+
self._InterruptMode = InterruptMode
|
11159
|
+
|
11160
|
+
@property
|
11161
|
+
def InterruptSpeechDuration(self):
|
11162
|
+
return self._InterruptSpeechDuration
|
11163
|
+
|
11164
|
+
@InterruptSpeechDuration.setter
|
11165
|
+
def InterruptSpeechDuration(self, InterruptSpeechDuration):
|
11166
|
+
self._InterruptSpeechDuration = InterruptSpeechDuration
|
11167
|
+
|
11168
|
+
@property
|
11169
|
+
def LLMConfig(self):
|
11170
|
+
return self._LLMConfig
|
11171
|
+
|
11172
|
+
@LLMConfig.setter
|
11173
|
+
def LLMConfig(self, LLMConfig):
|
11174
|
+
self._LLMConfig = LLMConfig
|
11175
|
+
|
11176
|
+
@property
|
11177
|
+
def TTSConfig(self):
|
11178
|
+
return self._TTSConfig
|
11179
|
+
|
11180
|
+
@TTSConfig.setter
|
11181
|
+
def TTSConfig(self, TTSConfig):
|
11182
|
+
self._TTSConfig = TTSConfig
|
11183
|
+
|
11184
|
+
|
11185
|
+
def _deserialize(self, params):
|
11186
|
+
self._TaskId = params.get("TaskId")
|
11187
|
+
self._WelcomeMessage = params.get("WelcomeMessage")
|
11188
|
+
self._InterruptMode = params.get("InterruptMode")
|
11189
|
+
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
11190
|
+
self._LLMConfig = params.get("LLMConfig")
|
11191
|
+
self._TTSConfig = params.get("TTSConfig")
|
11192
|
+
memeber_set = set(params.keys())
|
11193
|
+
for name, value in vars(self).items():
|
11194
|
+
property_name = name[1:]
|
11195
|
+
if property_name in memeber_set:
|
11196
|
+
memeber_set.remove(property_name)
|
11197
|
+
if len(memeber_set) > 0:
|
11198
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11199
|
+
|
11200
|
+
|
11201
|
+
|
11202
|
+
class UpdateAIConversationResponse(AbstractModel):
|
11203
|
+
"""UpdateAIConversation返回参数结构体
|
11204
|
+
|
11205
|
+
"""
|
11206
|
+
|
11207
|
+
def __init__(self):
|
11208
|
+
r"""
|
11209
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11210
|
+
:type RequestId: str
|
11211
|
+
"""
|
11212
|
+
self._RequestId = None
|
11213
|
+
|
11214
|
+
@property
|
11215
|
+
def RequestId(self):
|
11216
|
+
return self._RequestId
|
11217
|
+
|
11218
|
+
@RequestId.setter
|
11219
|
+
def RequestId(self, RequestId):
|
11220
|
+
self._RequestId = RequestId
|
11221
|
+
|
11222
|
+
|
11223
|
+
def _deserialize(self, params):
|
11224
|
+
self._RequestId = params.get("RequestId")
|
11225
|
+
|
11226
|
+
|
11109
11227
|
class UpdatePublishCdnStreamRequest(AbstractModel):
|
11110
11228
|
"""UpdatePublishCdnStream请求参数结构体
|
11111
11229
|
|
@@ -1040,45 +1040,12 @@ class TrtcClient(AbstractClient):
|
|
1040
1040
|
|
1041
1041
|
|
1042
1042
|
def StartAITranscription(self, request):
|
1043
|
-
"""
|
1043
|
+
"""启动转录机器人,后台会通过机器人拉流进行实时进行语音识别并下发字幕和转录消息。
|
1044
1044
|
转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:
|
1045
1045
|
- 拉取全房间的流。
|
1046
1046
|
- 拉取特定用户的流。
|
1047
1047
|
|
1048
|
-
服务端通过TRTC
|
1049
|
-
|
1050
|
-
服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
|
1051
|
-
`{
|
1052
|
-
"type": "subtitle",
|
1053
|
-
"userid": "xxx",
|
1054
|
-
"text": "xxx",
|
1055
|
-
"start_time": "00:00:02",
|
1056
|
-
"end_time": "00:00:05"
|
1057
|
-
}`
|
1058
|
-
字段作用如下:
|
1059
|
-
- type是subtitle,表示这是实时字幕消息。
|
1060
|
-
- userid表示是哪个用户说的话。
|
1061
|
-
- text是语音识别出的文本。
|
1062
|
-
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
1063
|
-
|
1064
|
-
转录消息具体格式如下:
|
1065
|
-
`{
|
1066
|
-
"type": "transcription",
|
1067
|
-
"userid": "xxx",
|
1068
|
-
"text": "xxx",
|
1069
|
-
"start_time": "00:00:02",
|
1070
|
-
"end_time": "00:00:05"
|
1071
|
-
}`
|
1072
|
-
字段作用如下:
|
1073
|
-
- type是transcription,表示这是转录消息。
|
1074
|
-
- 其余字段同实时字幕消息。
|
1075
|
-
|
1076
|
-
转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。
|
1077
|
-
假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:
|
1078
|
-
- 字幕消息,“今天”
|
1079
|
-
- 字幕消息,“今天天气”
|
1080
|
-
- 字幕消息,“今天天气怎么样”
|
1081
|
-
- 转录消息,“今天天气怎么样?”
|
1048
|
+
服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
|
1082
1049
|
|
1083
1050
|
:param request: Request instance for StartAITranscription.
|
1084
1051
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionRequest`
|
@@ -1451,6 +1418,29 @@ class TrtcClient(AbstractClient):
|
|
1451
1418
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1452
1419
|
|
1453
1420
|
|
1421
|
+
def UpdateAIConversation(self, request):
|
1422
|
+
"""更新AIConversation参数
|
1423
|
+
|
1424
|
+
:param request: Request instance for UpdateAIConversation.
|
1425
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.UpdateAIConversationRequest`
|
1426
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.UpdateAIConversationResponse`
|
1427
|
+
|
1428
|
+
"""
|
1429
|
+
try:
|
1430
|
+
params = request._serialize()
|
1431
|
+
headers = request.headers
|
1432
|
+
body = self.call("UpdateAIConversation", params, headers=headers)
|
1433
|
+
response = json.loads(body)
|
1434
|
+
model = models.UpdateAIConversationResponse()
|
1435
|
+
model._deserialize(response["Response"])
|
1436
|
+
return model
|
1437
|
+
except Exception as e:
|
1438
|
+
if isinstance(e, TencentCloudSDKException):
|
1439
|
+
raise
|
1440
|
+
else:
|
1441
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1442
|
+
|
1443
|
+
|
1454
1444
|
def UpdatePublishCdnStream(self, request):
|
1455
1445
|
"""接口说明:
|
1456
1446
|
成功发起混流转推后,可以使用此接口来更新任务。仅在任务进行时有效,任务退出后更新将会返回错误。更新操作为增量更新模式。
|
@@ -11924,6 +11924,8 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
|
|
11924
11924
|
:type Offset: int
|
11925
11925
|
:param _Limit: 返回数量,默认为20,最大值为100。
|
11926
11926
|
:type Limit: int
|
11927
|
+
:param _Location: 地域
|
11928
|
+
:type Location: :class:`tencentcloud.tse.v20201207.models.Location`
|
11927
11929
|
"""
|
11928
11930
|
self._Service = None
|
11929
11931
|
self._Namespace = None
|
@@ -11936,6 +11938,7 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
|
|
11936
11938
|
self._Metadatas = None
|
11937
11939
|
self._Offset = None
|
11938
11940
|
self._Limit = None
|
11941
|
+
self._Location = None
|
11939
11942
|
|
11940
11943
|
@property
|
11941
11944
|
def Service(self):
|
@@ -12025,6 +12028,14 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
|
|
12025
12028
|
def Limit(self, Limit):
|
12026
12029
|
self._Limit = Limit
|
12027
12030
|
|
12031
|
+
@property
|
12032
|
+
def Location(self):
|
12033
|
+
return self._Location
|
12034
|
+
|
12035
|
+
@Location.setter
|
12036
|
+
def Location(self, Location):
|
12037
|
+
self._Location = Location
|
12038
|
+
|
12028
12039
|
|
12029
12040
|
def _deserialize(self, params):
|
12030
12041
|
self._Service = params.get("Service")
|
@@ -12043,6 +12054,9 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
|
|
12043
12054
|
self._Metadatas.append(obj)
|
12044
12055
|
self._Offset = params.get("Offset")
|
12045
12056
|
self._Limit = params.get("Limit")
|
12057
|
+
if params.get("Location") is not None:
|
12058
|
+
self._Location = Location()
|
12059
|
+
self._Location._deserialize(params.get("Location"))
|
12046
12060
|
memeber_set = set(params.keys())
|
12047
12061
|
for name, value in vars(self).items():
|
12048
12062
|
property_name = name[1:]
|
@@ -12064,11 +12078,14 @@ class DescribeGovernanceInstancesResponse(AbstractModel):
|
|
12064
12078
|
:type TotalCount: int
|
12065
12079
|
:param _Content: 服务里实例列表。
|
12066
12080
|
:type Content: list of GovernanceInstance
|
12081
|
+
:param _Location: 地域
|
12082
|
+
:type Location: :class:`tencentcloud.tse.v20201207.models.Location`
|
12067
12083
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12068
12084
|
:type RequestId: str
|
12069
12085
|
"""
|
12070
12086
|
self._TotalCount = None
|
12071
12087
|
self._Content = None
|
12088
|
+
self._Location = None
|
12072
12089
|
self._RequestId = None
|
12073
12090
|
|
12074
12091
|
@property
|
@@ -12087,6 +12104,14 @@ class DescribeGovernanceInstancesResponse(AbstractModel):
|
|
12087
12104
|
def Content(self, Content):
|
12088
12105
|
self._Content = Content
|
12089
12106
|
|
12107
|
+
@property
|
12108
|
+
def Location(self):
|
12109
|
+
return self._Location
|
12110
|
+
|
12111
|
+
@Location.setter
|
12112
|
+
def Location(self, Location):
|
12113
|
+
self._Location = Location
|
12114
|
+
|
12090
12115
|
@property
|
12091
12116
|
def RequestId(self):
|
12092
12117
|
return self._RequestId
|
@@ -12104,6 +12129,9 @@ class DescribeGovernanceInstancesResponse(AbstractModel):
|
|
12104
12129
|
obj = GovernanceInstance()
|
12105
12130
|
obj._deserialize(item)
|
12106
12131
|
self._Content.append(obj)
|
12132
|
+
if params.get("Location") is not None:
|
12133
|
+
self._Location = Location()
|
12134
|
+
self._Location._deserialize(params.get("Location"))
|
12107
12135
|
self._RequestId = params.get("RequestId")
|
12108
12136
|
|
12109
12137
|
|
@@ -19228,6 +19256,66 @@ class ListFilter(AbstractModel):
|
|
19228
19256
|
|
19229
19257
|
|
19230
19258
|
|
19259
|
+
class Location(AbstractModel):
|
19260
|
+
"""新增Location字段,展示zone/region/campus
|
19261
|
+
|
19262
|
+
"""
|
19263
|
+
|
19264
|
+
def __init__(self):
|
19265
|
+
r"""
|
19266
|
+
:param _Region: 大区
|
19267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19268
|
+
:type Region: str
|
19269
|
+
:param _Zone: 可用区
|
19270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19271
|
+
:type Zone: str
|
19272
|
+
:param _Campus: 机房
|
19273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19274
|
+
:type Campus: str
|
19275
|
+
"""
|
19276
|
+
self._Region = None
|
19277
|
+
self._Zone = None
|
19278
|
+
self._Campus = None
|
19279
|
+
|
19280
|
+
@property
|
19281
|
+
def Region(self):
|
19282
|
+
return self._Region
|
19283
|
+
|
19284
|
+
@Region.setter
|
19285
|
+
def Region(self, Region):
|
19286
|
+
self._Region = Region
|
19287
|
+
|
19288
|
+
@property
|
19289
|
+
def Zone(self):
|
19290
|
+
return self._Zone
|
19291
|
+
|
19292
|
+
@Zone.setter
|
19293
|
+
def Zone(self, Zone):
|
19294
|
+
self._Zone = Zone
|
19295
|
+
|
19296
|
+
@property
|
19297
|
+
def Campus(self):
|
19298
|
+
return self._Campus
|
19299
|
+
|
19300
|
+
@Campus.setter
|
19301
|
+
def Campus(self, Campus):
|
19302
|
+
self._Campus = Campus
|
19303
|
+
|
19304
|
+
|
19305
|
+
def _deserialize(self, params):
|
19306
|
+
self._Region = params.get("Region")
|
19307
|
+
self._Zone = params.get("Zone")
|
19308
|
+
self._Campus = params.get("Campus")
|
19309
|
+
memeber_set = set(params.keys())
|
19310
|
+
for name, value in vars(self).items():
|
19311
|
+
property_name = name[1:]
|
19312
|
+
if property_name in memeber_set:
|
19313
|
+
memeber_set.remove(property_name)
|
19314
|
+
if len(memeber_set) > 0:
|
19315
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19316
|
+
|
19317
|
+
|
19318
|
+
|
19231
19319
|
class Metadata(AbstractModel):
|
19232
19320
|
"""元数据信息
|
19233
19321
|
|
@@ -49,7 +49,7 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
49
49
|
:type EnableSubtitle: bool
|
50
50
|
:param _VoiceoverDialogueSplit: 旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
|
51
51
|
:type VoiceoverDialogueSplit: bool
|
52
|
-
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
|
52
|
+
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
|
53
53
|
:type EmotionCategory: str
|
54
54
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
|
55
55
|
:type EmotionIntensity: int
|
@@ -579,7 +579,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
579
579
|
:type EnableSubtitle: bool
|
580
580
|
:param _SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
|
581
581
|
:type SegmentRate: int
|
582
|
-
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
|
582
|
+
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
|
583
583
|
示例值:neutral
|
584
584
|
:type EmotionCategory: str
|
585
585
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
@@ -26,6 +26,9 @@ FAILEDOPERATION_AUDIOPROCESSFAILED = 'FailedOperation.AudioProcessFailed'
|
|
26
26
|
# 音频处理任务未完成,不能执行翻译结果确认
|
27
27
|
FAILEDOPERATION_AUDIOPROCESSNOTFINISHED = 'FailedOperation.AudioProcessNotFinished'
|
28
28
|
|
29
|
+
# 人体关键点检测失败。
|
30
|
+
FAILEDOPERATION_BODYJOINTSFAIL = 'FailedOperation.BodyJointsFail'
|
31
|
+
|
29
32
|
# 翻译结果确认任务异常。
|
30
33
|
FAILEDOPERATION_CONFIRMTASKEXCEPTION = 'FailedOperation.ConfirmTaskException'
|
31
34
|
|
@@ -38,6 +41,9 @@ FAILEDOPERATION_DRIVERFAILED = 'FailedOperation.DriverFailed'
|
|
38
41
|
# 人脸框太小,无法识别使用。
|
39
42
|
FAILEDOPERATION_FACESIZETOOSMALL = 'FailedOperation.FaceSizeTooSmall'
|
40
43
|
|
44
|
+
# 图片身体部位有遮挡或不全,请重新上传图片
|
45
|
+
FAILEDOPERATION_IMAGEBODYJOINSUNDETECTED = 'FailedOperation.ImageBodyJoinsUndetected'
|
46
|
+
|
41
47
|
# 输入图身体(头顶到脚踝)高度占比不到图片高度的二分之一
|
42
48
|
FAILEDOPERATION_IMAGEBODYSMALL = 'FailedOperation.ImageBodySmall'
|
43
49
|
|
@@ -50,8 +56,8 @@ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
|
50
56
|
# 输入图人脸检测失败
|
51
57
|
FAILEDOPERATION_IMAGEDETECTFACEFAILED = 'FailedOperation.ImageDetectFaceFailed'
|
52
58
|
|
53
|
-
#
|
54
|
-
FAILEDOPERATION_IMAGEFACEDETECTFAILED = 'FailedOperation.
|
59
|
+
# 人脸检测失败
|
60
|
+
FAILEDOPERATION_IMAGEFACEDETECTFAILED = 'FailedOperation.ImageFaceDetectFailed'
|
55
61
|
|
56
62
|
# 输入图中存在多人
|
57
63
|
FAILEDOPERATION_IMAGEMANYPEOPLE = 'FailedOperation.ImageManyPeople'
|