tencentcloud-sdk-python-trtc 3.1.143__tar.gz → 3.1.145__tar.gz

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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/setup.py +1 -1
  3. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/trtc/v20190722/models.py +0 -410
  5. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/trtc/v20190722/trtc_client.py +0 -47
  6. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/trtc/v20190722/trtc_client_async.py +0 -37
  7. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_trtc-3.1.145/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_trtc-3.1.143/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/README.rst +0 -0
  11. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/trtc/__init__.py +0 -0
  13. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/trtc/v20190722/__init__.py +0 -0
  14. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_trtc-3.1.143 → tencentcloud_sdk_python_trtc-3.1.145}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.1.143
3
+ Version: 3.1.145
4
4
  Summary: Tencent Cloud Trtc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.143
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-trtc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.143,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Trtc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.143'
17
+ __version__ = '3.1.145'
@@ -1324,181 +1324,6 @@ class AudioParams(AbstractModel):
1324
1324
 
1325
1325
 
1326
1326
 
1327
- class AuditStorageParams(AbstractModel):
1328
- r"""审核存储参数
1329
-
1330
- """
1331
-
1332
- def __init__(self):
1333
- r"""
1334
- :param _CloudAuditStorage: 腾讯云对象存储COS以及第三方云存储的账号信息
1335
- :type CloudAuditStorage: :class:`tencentcloud.trtc.v20190722.models.CloudAuditStorage`
1336
- """
1337
- self._CloudAuditStorage = None
1338
-
1339
- @property
1340
- def CloudAuditStorage(self):
1341
- r"""腾讯云对象存储COS以及第三方云存储的账号信息
1342
- :rtype: :class:`tencentcloud.trtc.v20190722.models.CloudAuditStorage`
1343
- """
1344
- return self._CloudAuditStorage
1345
-
1346
- @CloudAuditStorage.setter
1347
- def CloudAuditStorage(self, CloudAuditStorage):
1348
- self._CloudAuditStorage = CloudAuditStorage
1349
-
1350
-
1351
- def _deserialize(self, params):
1352
- if params.get("CloudAuditStorage") is not None:
1353
- self._CloudAuditStorage = CloudAuditStorage()
1354
- self._CloudAuditStorage._deserialize(params.get("CloudAuditStorage"))
1355
- memeber_set = set(params.keys())
1356
- for name, value in vars(self).items():
1357
- property_name = name[1:]
1358
- if property_name in memeber_set:
1359
- memeber_set.remove(property_name)
1360
- if len(memeber_set) > 0:
1361
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1362
-
1363
-
1364
-
1365
- class CloudAuditStorage(AbstractModel):
1366
- r"""腾讯云对象存储COS以及第三方云存储的账号信息
1367
-
1368
- """
1369
-
1370
- def __init__(self):
1371
- r"""
1372
- :param _Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
1373
- 0:腾讯云对象存储 COS
1374
- 1:AWS
1375
- 【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
1376
- 示例值:0
1377
- :type Vendor: int
1378
- :param _Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
1379
- 示例值:cn-shanghai-1
1380
-
1381
- AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
1382
- 示例值:ap-southeast-3
1383
- :type Region: str
1384
- :param _Bucket: 云存储桶名称。
1385
- :type Bucket: str
1386
- :param _AccessKey: 云存储的access_key账号信息。
1387
- 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
1388
- 示例值:test-accesskey
1389
- :type AccessKey: str
1390
- :param _SecretKey: 云存储的secret_key账号信息。
1391
- 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
1392
- 示例值:test-secretkey
1393
- :type SecretKey: str
1394
- :param _FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
1395
- 示例值:["prefix1", "prefix2"]
1396
- :type FileNamePrefix: list of str
1397
- """
1398
- self._Vendor = None
1399
- self._Region = None
1400
- self._Bucket = None
1401
- self._AccessKey = None
1402
- self._SecretKey = None
1403
- self._FileNamePrefix = None
1404
-
1405
- @property
1406
- def Vendor(self):
1407
- r"""腾讯云对象存储COS以及第三方云存储账号信息
1408
- 0:腾讯云对象存储 COS
1409
- 1:AWS
1410
- 【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
1411
- 示例值:0
1412
- :rtype: int
1413
- """
1414
- return self._Vendor
1415
-
1416
- @Vendor.setter
1417
- def Vendor(self, Vendor):
1418
- self._Vendor = Vendor
1419
-
1420
- @property
1421
- def Region(self):
1422
- r"""腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
1423
- 示例值:cn-shanghai-1
1424
-
1425
- AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
1426
- 示例值:ap-southeast-3
1427
- :rtype: str
1428
- """
1429
- return self._Region
1430
-
1431
- @Region.setter
1432
- def Region(self, Region):
1433
- self._Region = Region
1434
-
1435
- @property
1436
- def Bucket(self):
1437
- r"""云存储桶名称。
1438
- :rtype: str
1439
- """
1440
- return self._Bucket
1441
-
1442
- @Bucket.setter
1443
- def Bucket(self, Bucket):
1444
- self._Bucket = Bucket
1445
-
1446
- @property
1447
- def AccessKey(self):
1448
- r"""云存储的access_key账号信息。
1449
- 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
1450
- 示例值:test-accesskey
1451
- :rtype: str
1452
- """
1453
- return self._AccessKey
1454
-
1455
- @AccessKey.setter
1456
- def AccessKey(self, AccessKey):
1457
- self._AccessKey = AccessKey
1458
-
1459
- @property
1460
- def SecretKey(self):
1461
- r"""云存储的secret_key账号信息。
1462
- 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
1463
- 示例值:test-secretkey
1464
- :rtype: str
1465
- """
1466
- return self._SecretKey
1467
-
1468
- @SecretKey.setter
1469
- def SecretKey(self, SecretKey):
1470
- self._SecretKey = SecretKey
1471
-
1472
- @property
1473
- def FileNamePrefix(self):
1474
- r"""云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
1475
- 示例值:["prefix1", "prefix2"]
1476
- :rtype: list of str
1477
- """
1478
- return self._FileNamePrefix
1479
-
1480
- @FileNamePrefix.setter
1481
- def FileNamePrefix(self, FileNamePrefix):
1482
- self._FileNamePrefix = FileNamePrefix
1483
-
1484
-
1485
- def _deserialize(self, params):
1486
- self._Vendor = params.get("Vendor")
1487
- self._Region = params.get("Region")
1488
- self._Bucket = params.get("Bucket")
1489
- self._AccessKey = params.get("AccessKey")
1490
- self._SecretKey = params.get("SecretKey")
1491
- self._FileNamePrefix = params.get("FileNamePrefix")
1492
- memeber_set = set(params.keys())
1493
- for name, value in vars(self).items():
1494
- property_name = name[1:]
1495
- if property_name in memeber_set:
1496
- memeber_set.remove(property_name)
1497
- if len(memeber_set) > 0:
1498
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1499
-
1500
-
1501
-
1502
1327
  class CloudModerationStorage(AbstractModel):
1503
1328
  r"""腾讯云对象存储COS以及第三方云存储的账号信息
1504
1329
 
@@ -2031,147 +1856,6 @@ class ControlAIConversationResponse(AbstractModel):
2031
1856
  self._RequestId = params.get("RequestId")
2032
1857
 
2033
1858
 
2034
- class CreateBasicModerationRequest(AbstractModel):
2035
- r"""CreateBasicModeration请求参数结构体
2036
-
2037
- """
2038
-
2039
- def __init__(self):
2040
- r"""
2041
- :param _SdkAppId: TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。
2042
- :type SdkAppId: int
2043
- :param _RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),为TRTC房间所对应的RoomId。
2044
- :type RoomId: str
2045
- :param _UserId: 目标审核用户id
2046
- :type UserId: str
2047
- :param _RoomIdType: TRTC房间号的类型。【*注意】必须和TRTC的房间所对应的RoomId类型相同:0: 字符串类型的RoomId1: 32位整型的RoomId(默认)
2048
- :type RoomIdType: int
2049
- :param _AuditStorageParams: 音频文件上传到云存储的参数
2050
- :type AuditStorageParams: :class:`tencentcloud.trtc.v20190722.models.AuditStorageParams`
2051
- """
2052
- self._SdkAppId = None
2053
- self._RoomId = None
2054
- self._UserId = None
2055
- self._RoomIdType = None
2056
- self._AuditStorageParams = None
2057
-
2058
- @property
2059
- def SdkAppId(self):
2060
- r"""TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。
2061
- :rtype: int
2062
- """
2063
- return self._SdkAppId
2064
-
2065
- @SdkAppId.setter
2066
- def SdkAppId(self, SdkAppId):
2067
- self._SdkAppId = SdkAppId
2068
-
2069
- @property
2070
- def RoomId(self):
2071
- r"""TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),为TRTC房间所对应的RoomId。
2072
- :rtype: str
2073
- """
2074
- return self._RoomId
2075
-
2076
- @RoomId.setter
2077
- def RoomId(self, RoomId):
2078
- self._RoomId = RoomId
2079
-
2080
- @property
2081
- def UserId(self):
2082
- r"""目标审核用户id
2083
- :rtype: str
2084
- """
2085
- return self._UserId
2086
-
2087
- @UserId.setter
2088
- def UserId(self, UserId):
2089
- self._UserId = UserId
2090
-
2091
- @property
2092
- def RoomIdType(self):
2093
- r"""TRTC房间号的类型。【*注意】必须和TRTC的房间所对应的RoomId类型相同:0: 字符串类型的RoomId1: 32位整型的RoomId(默认)
2094
- :rtype: int
2095
- """
2096
- return self._RoomIdType
2097
-
2098
- @RoomIdType.setter
2099
- def RoomIdType(self, RoomIdType):
2100
- self._RoomIdType = RoomIdType
2101
-
2102
- @property
2103
- def AuditStorageParams(self):
2104
- r"""音频文件上传到云存储的参数
2105
- :rtype: :class:`tencentcloud.trtc.v20190722.models.AuditStorageParams`
2106
- """
2107
- return self._AuditStorageParams
2108
-
2109
- @AuditStorageParams.setter
2110
- def AuditStorageParams(self, AuditStorageParams):
2111
- self._AuditStorageParams = AuditStorageParams
2112
-
2113
-
2114
- def _deserialize(self, params):
2115
- self._SdkAppId = params.get("SdkAppId")
2116
- self._RoomId = params.get("RoomId")
2117
- self._UserId = params.get("UserId")
2118
- self._RoomIdType = params.get("RoomIdType")
2119
- if params.get("AuditStorageParams") is not None:
2120
- self._AuditStorageParams = AuditStorageParams()
2121
- self._AuditStorageParams._deserialize(params.get("AuditStorageParams"))
2122
- memeber_set = set(params.keys())
2123
- for name, value in vars(self).items():
2124
- property_name = name[1:]
2125
- if property_name in memeber_set:
2126
- memeber_set.remove(property_name)
2127
- if len(memeber_set) > 0:
2128
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2129
-
2130
-
2131
-
2132
- class CreateBasicModerationResponse(AbstractModel):
2133
- r"""CreateBasicModeration返回参数结构体
2134
-
2135
- """
2136
-
2137
- def __init__(self):
2138
- r"""
2139
- :param _TaskId: 审核服务分配的任务ID。任务ID是对一次审核任务生命周期过程的唯一标识,结束任务时会失去意义。任务ID需要业务保存下来,作为下次针对这个任务操作的参数
2140
- :type TaskId: str
2141
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2142
- :type RequestId: str
2143
- """
2144
- self._TaskId = None
2145
- self._RequestId = None
2146
-
2147
- @property
2148
- def TaskId(self):
2149
- r"""审核服务分配的任务ID。任务ID是对一次审核任务生命周期过程的唯一标识,结束任务时会失去意义。任务ID需要业务保存下来,作为下次针对这个任务操作的参数
2150
- :rtype: str
2151
- """
2152
- return self._TaskId
2153
-
2154
- @TaskId.setter
2155
- def TaskId(self, TaskId):
2156
- self._TaskId = TaskId
2157
-
2158
- @property
2159
- def RequestId(self):
2160
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2161
- :rtype: str
2162
- """
2163
- return self._RequestId
2164
-
2165
- @RequestId.setter
2166
- def RequestId(self, RequestId):
2167
- self._RequestId = RequestId
2168
-
2169
-
2170
- def _deserialize(self, params):
2171
- self._TaskId = params.get("TaskId")
2172
- self._RequestId = params.get("RequestId")
2173
-
2174
-
2175
1859
  class CreateCloudModerationRequest(AbstractModel):
2176
1860
  r"""CreateCloudModeration请求参数结构体
2177
1861
 
@@ -3338,100 +3022,6 @@ class CreatePictureResponse(AbstractModel):
3338
3022
  self._RequestId = params.get("RequestId")
3339
3023
 
3340
3024
 
3341
- class DeleteBasicModerationRequest(AbstractModel):
3342
- r"""DeleteBasicModeration请求参数结构体
3343
-
3344
- """
3345
-
3346
- def __init__(self):
3347
- r"""
3348
- :param _SdkAppId: TRTC的SDKAppId,和TRTC的房间所使用的SDKAppId相同。
3349
- :type SdkAppId: int
3350
- :param _TaskId: 审核任务的唯一Id,在启动审核任务成功后会返回。
3351
- :type TaskId: str
3352
- """
3353
- self._SdkAppId = None
3354
- self._TaskId = None
3355
-
3356
- @property
3357
- def SdkAppId(self):
3358
- r"""TRTC的SDKAppId,和TRTC的房间所使用的SDKAppId相同。
3359
- :rtype: int
3360
- """
3361
- return self._SdkAppId
3362
-
3363
- @SdkAppId.setter
3364
- def SdkAppId(self, SdkAppId):
3365
- self._SdkAppId = SdkAppId
3366
-
3367
- @property
3368
- def TaskId(self):
3369
- r"""审核任务的唯一Id,在启动审核任务成功后会返回。
3370
- :rtype: str
3371
- """
3372
- return self._TaskId
3373
-
3374
- @TaskId.setter
3375
- def TaskId(self, TaskId):
3376
- self._TaskId = TaskId
3377
-
3378
-
3379
- def _deserialize(self, params):
3380
- self._SdkAppId = params.get("SdkAppId")
3381
- self._TaskId = params.get("TaskId")
3382
- memeber_set = set(params.keys())
3383
- for name, value in vars(self).items():
3384
- property_name = name[1:]
3385
- if property_name in memeber_set:
3386
- memeber_set.remove(property_name)
3387
- if len(memeber_set) > 0:
3388
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3389
-
3390
-
3391
-
3392
- class DeleteBasicModerationResponse(AbstractModel):
3393
- r"""DeleteBasicModeration返回参数结构体
3394
-
3395
- """
3396
-
3397
- def __init__(self):
3398
- r"""
3399
- :param _TaskId: 审核任务的唯一Id。
3400
- :type TaskId: str
3401
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3402
- :type RequestId: str
3403
- """
3404
- self._TaskId = None
3405
- self._RequestId = None
3406
-
3407
- @property
3408
- def TaskId(self):
3409
- r"""审核任务的唯一Id。
3410
- :rtype: str
3411
- """
3412
- return self._TaskId
3413
-
3414
- @TaskId.setter
3415
- def TaskId(self, TaskId):
3416
- self._TaskId = TaskId
3417
-
3418
- @property
3419
- def RequestId(self):
3420
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3421
- :rtype: str
3422
- """
3423
- return self._RequestId
3424
-
3425
- @RequestId.setter
3426
- def RequestId(self, RequestId):
3427
- self._RequestId = RequestId
3428
-
3429
-
3430
- def _deserialize(self, params):
3431
- self._TaskId = params.get("TaskId")
3432
- self._RequestId = params.get("RequestId")
3433
-
3434
-
3435
3025
  class DeleteCloudModerationRequest(AbstractModel):
3436
3026
  r"""DeleteCloudModeration请求参数结构体
3437
3027
 
@@ -72,30 +72,6 @@ class TrtcClient(AbstractClient):
72
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
73
 
74
74
 
75
- def CreateBasicModeration(self, request):
76
- r"""接口说明:
77
- 启动终端审核功能,完成房间内的音频审核。
78
-
79
- :param request: Request instance for CreateBasicModeration.
80
- :type request: :class:`tencentcloud.trtc.v20190722.models.CreateBasicModerationRequest`
81
- :rtype: :class:`tencentcloud.trtc.v20190722.models.CreateBasicModerationResponse`
82
-
83
- """
84
- try:
85
- params = request._serialize()
86
- headers = request.headers
87
- body = self.call("CreateBasicModeration", params, headers=headers)
88
- response = json.loads(body)
89
- model = models.CreateBasicModerationResponse()
90
- model._deserialize(response["Response"])
91
- return model
92
- except Exception as e:
93
- if isinstance(e, TencentCloudSDKException):
94
- raise
95
- else:
96
- raise TencentCloudSDKException(type(e).__name__, str(e))
97
-
98
-
99
75
  def CreateCloudModeration(self, request):
100
76
  r"""启动AI 内容理解功能,完成房间内的音视频切片,视频截帧,或者录制音频流,投递到AI内容理解,完成内容识别。您可以通过此接口实现如下目标:
101
77
  ●指定内容参数(ModerationParams)来指定内容理解需要的详细参数。
@@ -256,29 +232,6 @@ class TrtcClient(AbstractClient):
256
232
  raise TencentCloudSDKException(type(e).__name__, str(e))
257
233
 
258
234
 
259
- def DeleteBasicModeration(self, request):
260
- r"""成功开启审核任务后,可以使用此接口来停止任务。
261
-
262
- :param request: Request instance for DeleteBasicModeration.
263
- :type request: :class:`tencentcloud.trtc.v20190722.models.DeleteBasicModerationRequest`
264
- :rtype: :class:`tencentcloud.trtc.v20190722.models.DeleteBasicModerationResponse`
265
-
266
- """
267
- try:
268
- params = request._serialize()
269
- headers = request.headers
270
- body = self.call("DeleteBasicModeration", params, headers=headers)
271
- response = json.loads(body)
272
- model = models.DeleteBasicModerationResponse()
273
- model._deserialize(response["Response"])
274
- return model
275
- except Exception as e:
276
- if isinstance(e, TencentCloudSDKException):
277
- raise
278
- else:
279
- raise TencentCloudSDKException(type(e).__name__, str(e))
280
-
281
-
282
235
  def DeleteCloudModeration(self, request):
283
236
  r"""成功开启AI 内容理解任务后,可以使用此接口来停止进行内容识别。
284
237
 
@@ -61,25 +61,6 @@ class TrtcClient(AbstractClient):
61
61
 
62
62
  return await self.call_and_deserialize(**kwargs)
63
63
 
64
- async def CreateBasicModeration(
65
- self,
66
- request: models.CreateBasicModerationRequest,
67
- opts: Dict = None,
68
- ) -> models.CreateBasicModerationResponse:
69
- """
70
- 接口说明:
71
- 启动终端审核功能,完成房间内的音频审核。
72
- """
73
-
74
- kwargs = {}
75
- kwargs["action"] = "CreateBasicModeration"
76
- kwargs["params"] = request._serialize()
77
- kwargs["resp_cls"] = models.CreateBasicModerationResponse
78
- kwargs["headers"] = request.headers
79
- kwargs["opts"] = opts or {}
80
-
81
- return await self.call_and_deserialize(**kwargs)
82
-
83
64
  async def CreateCloudModeration(
84
65
  self,
85
66
  request: models.CreateCloudModerationRequest,
@@ -210,24 +191,6 @@ class TrtcClient(AbstractClient):
210
191
 
211
192
  return await self.call_and_deserialize(**kwargs)
212
193
 
213
- async def DeleteBasicModeration(
214
- self,
215
- request: models.DeleteBasicModerationRequest,
216
- opts: Dict = None,
217
- ) -> models.DeleteBasicModerationResponse:
218
- """
219
- 成功开启审核任务后,可以使用此接口来停止任务。
220
- """
221
-
222
- kwargs = {}
223
- kwargs["action"] = "DeleteBasicModeration"
224
- kwargs["params"] = request._serialize()
225
- kwargs["resp_cls"] = models.DeleteBasicModerationResponse
226
- kwargs["headers"] = request.headers
227
- kwargs["opts"] = opts or {}
228
-
229
- return await self.call_and_deserialize(**kwargs)
230
-
231
194
  async def DeleteCloudModeration(
232
195
  self,
233
196
  request: models.DeleteCloudModerationRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.1.143
3
+ Version: 3.1.145
4
4
  Summary: Tencent Cloud Trtc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.143
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.145
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.143