tencentcloud-sdk-python-trro 3.0.1481__tar.gz → 3.1.64__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_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/setup.py +2 -1
  3. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud/trro/v20220325/models.py +99 -84
  5. tencentcloud_sdk_python_trro-3.1.64/tencentcloud/trro/v20220325/trro_client_async.py +588 -0
  6. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud_sdk_python_trro.egg-info/PKG-INFO +2 -2
  7. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud_sdk_python_trro.egg-info/SOURCES.txt +1 -0
  8. tencentcloud_sdk_python_trro-3.1.64/tencentcloud_sdk_python_trro.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_trro-3.0.1481/tencentcloud_sdk_python_trro.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/README.rst +0 -0
  11. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud/trro/__init__.py +0 -0
  13. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud/trro/v20220325/__init__.py +0 -0
  14. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud/trro/v20220325/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud/trro/v20220325/trro_client.py +0 -0
  16. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud_sdk_python_trro.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_trro-3.0.1481 → tencentcloud_sdk_python_trro-3.1.64}/tencentcloud_sdk_python_trro.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trro
3
- Version: 3.0.1481
3
+ Version: 3.1.64
4
4
  Summary: Tencent Cloud Trro 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.0.1481
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.64
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-trro',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1481,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.64,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Trro SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1481'
17
+ __version__ = '3.1.64'
@@ -1139,18 +1139,20 @@ class DescribeDeviceListRequest(AbstractModel):
1139
1139
 
1140
1140
  def __init__(self):
1141
1141
  r"""
1142
- :param _ProjectId: 设备所属项目ID
1142
+ :param _ProjectId: <p>设备所属项目ID</p>
1143
1143
  :type ProjectId: str
1144
- :param _DeviceType: 设备类型筛选,不填默认为全部设备类型
1144
+ :param _DeviceType: <p>设备类型筛选,不填默认为全部设备类型</p>
1145
1145
  :type DeviceType: str
1146
- :param _SearchWords: 对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配
1146
+ :param _SearchWords: <p>对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配</p>
1147
1147
  :type SearchWords: str
1148
- :param _PageSize: 每页返回的最大设备数,不填默认为10
1148
+ :param _PageSize: <p>每页返回的最大设备数,不填默认为10</p>
1149
1149
  :type PageSize: int
1150
- :param _PageNumber: 当前页码,不填默认为1(首页)
1150
+ :param _PageNumber: <p>当前页码,不填默认为1(首页)</p>
1151
1151
  :type PageNumber: int
1152
- :param _DeviceStatus: 设备状态筛选,不填默认为不过滤。取值:["ready","connected","online"],online代表ready或connected
1152
+ :param _DeviceStatus: <p>设备状态筛选,不填默认为不过滤。取值:[&quot;ready&quot;,&quot;connected&quot;,&quot;online&quot;],online代表ready或connected</p>
1153
1153
  :type DeviceStatus: str
1154
+ :param _RegisterType: <p>标识查询项目下的设备注册类型,默认不包含免注册登录设备。 若存在免注册登录设备,该参数传&quot;1&quot;</p><p>枚举值:</p><ul><li>0: 项目不包含免注册登录设备</li><li>1: 项目包含免注册登录设备</li></ul><p>默认值:0</p>
1155
+ :type RegisterType: int
1154
1156
  """
1155
1157
  self._ProjectId = None
1156
1158
  self._DeviceType = None
@@ -1158,10 +1160,11 @@ class DescribeDeviceListRequest(AbstractModel):
1158
1160
  self._PageSize = None
1159
1161
  self._PageNumber = None
1160
1162
  self._DeviceStatus = None
1163
+ self._RegisterType = None
1161
1164
 
1162
1165
  @property
1163
1166
  def ProjectId(self):
1164
- r"""设备所属项目ID
1167
+ r"""<p>设备所属项目ID</p>
1165
1168
  :rtype: str
1166
1169
  """
1167
1170
  return self._ProjectId
@@ -1172,7 +1175,7 @@ class DescribeDeviceListRequest(AbstractModel):
1172
1175
 
1173
1176
  @property
1174
1177
  def DeviceType(self):
1175
- r"""设备类型筛选,不填默认为全部设备类型
1178
+ r"""<p>设备类型筛选,不填默认为全部设备类型</p>
1176
1179
  :rtype: str
1177
1180
  """
1178
1181
  return self._DeviceType
@@ -1183,7 +1186,7 @@ class DescribeDeviceListRequest(AbstractModel):
1183
1186
 
1184
1187
  @property
1185
1188
  def SearchWords(self):
1186
- r"""对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配
1189
+ r"""<p>对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配</p>
1187
1190
  :rtype: str
1188
1191
  """
1189
1192
  return self._SearchWords
@@ -1194,7 +1197,7 @@ class DescribeDeviceListRequest(AbstractModel):
1194
1197
 
1195
1198
  @property
1196
1199
  def PageSize(self):
1197
- r"""每页返回的最大设备数,不填默认为10
1200
+ r"""<p>每页返回的最大设备数,不填默认为10</p>
1198
1201
  :rtype: int
1199
1202
  """
1200
1203
  return self._PageSize
@@ -1205,7 +1208,7 @@ class DescribeDeviceListRequest(AbstractModel):
1205
1208
 
1206
1209
  @property
1207
1210
  def PageNumber(self):
1208
- r"""当前页码,不填默认为1(首页)
1211
+ r"""<p>当前页码,不填默认为1(首页)</p>
1209
1212
  :rtype: int
1210
1213
  """
1211
1214
  return self._PageNumber
@@ -1216,7 +1219,7 @@ class DescribeDeviceListRequest(AbstractModel):
1216
1219
 
1217
1220
  @property
1218
1221
  def DeviceStatus(self):
1219
- r"""设备状态筛选,不填默认为不过滤。取值:["ready","connected","online"],online代表ready或connected
1222
+ r"""<p>设备状态筛选,不填默认为不过滤。取值:[&quot;ready&quot;,&quot;connected&quot;,&quot;online&quot;],online代表ready或connected</p>
1220
1223
  :rtype: str
1221
1224
  """
1222
1225
  return self._DeviceStatus
@@ -1225,6 +1228,17 @@ class DescribeDeviceListRequest(AbstractModel):
1225
1228
  def DeviceStatus(self, DeviceStatus):
1226
1229
  self._DeviceStatus = DeviceStatus
1227
1230
 
1231
+ @property
1232
+ def RegisterType(self):
1233
+ r"""<p>标识查询项目下的设备注册类型,默认不包含免注册登录设备。 若存在免注册登录设备,该参数传&quot;1&quot;</p><p>枚举值:</p><ul><li>0: 项目不包含免注册登录设备</li><li>1: 项目包含免注册登录设备</li></ul><p>默认值:0</p>
1234
+ :rtype: int
1235
+ """
1236
+ return self._RegisterType
1237
+
1238
+ @RegisterType.setter
1239
+ def RegisterType(self, RegisterType):
1240
+ self._RegisterType = RegisterType
1241
+
1228
1242
 
1229
1243
  def _deserialize(self, params):
1230
1244
  self._ProjectId = params.get("ProjectId")
@@ -1233,6 +1247,7 @@ class DescribeDeviceListRequest(AbstractModel):
1233
1247
  self._PageSize = params.get("PageSize")
1234
1248
  self._PageNumber = params.get("PageNumber")
1235
1249
  self._DeviceStatus = params.get("DeviceStatus")
1250
+ self._RegisterType = params.get("RegisterType")
1236
1251
  memeber_set = set(params.keys())
1237
1252
  for name, value in vars(self).items():
1238
1253
  property_name = name[1:]
@@ -1250,11 +1265,11 @@ class DescribeDeviceListResponse(AbstractModel):
1250
1265
 
1251
1266
  def __init__(self):
1252
1267
  r"""
1253
- :param _Devices: 设备信息列表
1268
+ :param _Devices: <p>设备信息列表</p>
1254
1269
  :type Devices: list of DeviceInfo
1255
- :param _Total: 设备总数
1270
+ :param _Total: <p>设备总数</p>
1256
1271
  :type Total: int
1257
- :param _Num: 本次返回的设备数
1272
+ :param _Num: <p>本次返回的设备数</p>
1258
1273
  :type Num: int
1259
1274
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1260
1275
  :type RequestId: str
@@ -1266,7 +1281,7 @@ class DescribeDeviceListResponse(AbstractModel):
1266
1281
 
1267
1282
  @property
1268
1283
  def Devices(self):
1269
- r"""设备信息列表
1284
+ r"""<p>设备信息列表</p>
1270
1285
  :rtype: list of DeviceInfo
1271
1286
  """
1272
1287
  return self._Devices
@@ -1277,7 +1292,7 @@ class DescribeDeviceListResponse(AbstractModel):
1277
1292
 
1278
1293
  @property
1279
1294
  def Total(self):
1280
- r"""设备总数
1295
+ r"""<p>设备总数</p>
1281
1296
  :rtype: int
1282
1297
  """
1283
1298
  return self._Total
@@ -1288,7 +1303,7 @@ class DescribeDeviceListResponse(AbstractModel):
1288
1303
 
1289
1304
  @property
1290
1305
  def Num(self):
1291
- r"""本次返回的设备数
1306
+ r"""<p>本次返回的设备数</p>
1292
1307
  :rtype: int
1293
1308
  """
1294
1309
  return self._Num
@@ -1412,17 +1427,17 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1412
1427
 
1413
1428
  def __init__(self):
1414
1429
  r"""
1415
- :param _ProjectId: 项目ID
1430
+ :param _ProjectId: <p>项目ID</p>
1416
1431
  :type ProjectId: str
1417
- :param _PageNumber: 页码,从1开始
1432
+ :param _PageNumber: <p>页码,从1开始</p>
1418
1433
  :type PageNumber: int
1419
- :param _PageSize: 每页个数
1434
+ :param _PageSize: <p>每页个数</p>
1420
1435
  :type PageSize: int
1421
- :param _DeviceId: 设备ID
1436
+ :param _DeviceId: <p>设备ID</p>
1422
1437
  :type DeviceId: str
1423
- :param _StartTime: 开始时间
1438
+ :param _StartTime: <p>开始时间</p>
1424
1439
  :type StartTime: int
1425
- :param _EndTime: 结束时间
1440
+ :param _EndTime: <p>结束时间</p>
1426
1441
  :type EndTime: int
1427
1442
  """
1428
1443
  self._ProjectId = None
@@ -1434,7 +1449,7 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1434
1449
 
1435
1450
  @property
1436
1451
  def ProjectId(self):
1437
- r"""项目ID
1452
+ r"""<p>项目ID</p>
1438
1453
  :rtype: str
1439
1454
  """
1440
1455
  return self._ProjectId
@@ -1445,7 +1460,7 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1445
1460
 
1446
1461
  @property
1447
1462
  def PageNumber(self):
1448
- r"""页码,从1开始
1463
+ r"""<p>页码,从1开始</p>
1449
1464
  :rtype: int
1450
1465
  """
1451
1466
  return self._PageNumber
@@ -1456,7 +1471,7 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1456
1471
 
1457
1472
  @property
1458
1473
  def PageSize(self):
1459
- r"""每页个数
1474
+ r"""<p>每页个数</p>
1460
1475
  :rtype: int
1461
1476
  """
1462
1477
  return self._PageSize
@@ -1467,7 +1482,7 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1467
1482
 
1468
1483
  @property
1469
1484
  def DeviceId(self):
1470
- r"""设备ID
1485
+ r"""<p>设备ID</p>
1471
1486
  :rtype: str
1472
1487
  """
1473
1488
  return self._DeviceId
@@ -1478,7 +1493,7 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1478
1493
 
1479
1494
  @property
1480
1495
  def StartTime(self):
1481
- r"""开始时间
1496
+ r"""<p>开始时间</p>
1482
1497
  :rtype: int
1483
1498
  """
1484
1499
  return self._StartTime
@@ -1489,7 +1504,7 @@ class DescribeDeviceSessionListRequest(AbstractModel):
1489
1504
 
1490
1505
  @property
1491
1506
  def EndTime(self):
1492
- r"""结束时间
1507
+ r"""<p>结束时间</p>
1493
1508
  :rtype: int
1494
1509
  """
1495
1510
  return self._EndTime
@@ -1523,11 +1538,11 @@ class DescribeDeviceSessionListResponse(AbstractModel):
1523
1538
 
1524
1539
  def __init__(self):
1525
1540
  r"""
1526
- :param _Total: 总个数
1541
+ :param _Total: <p>总个数</p>
1527
1542
  :type Total: int
1528
- :param _DeviceSessionList: 会话列表
1543
+ :param _DeviceSessionList: <p>会话列表</p>
1529
1544
  :type DeviceSessionList: list of SessionInfo
1530
- :param _Num: 本页数量
1545
+ :param _Num: <p>本页数量</p>
1531
1546
  :type Num: int
1532
1547
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1533
1548
  :type RequestId: str
@@ -1539,7 +1554,7 @@ class DescribeDeviceSessionListResponse(AbstractModel):
1539
1554
 
1540
1555
  @property
1541
1556
  def Total(self):
1542
- r"""总个数
1557
+ r"""<p>总个数</p>
1543
1558
  :rtype: int
1544
1559
  """
1545
1560
  return self._Total
@@ -1550,7 +1565,7 @@ class DescribeDeviceSessionListResponse(AbstractModel):
1550
1565
 
1551
1566
  @property
1552
1567
  def DeviceSessionList(self):
1553
- r"""会话列表
1568
+ r"""<p>会话列表</p>
1554
1569
  :rtype: list of SessionInfo
1555
1570
  """
1556
1571
  return self._DeviceSessionList
@@ -1561,7 +1576,7 @@ class DescribeDeviceSessionListResponse(AbstractModel):
1561
1576
 
1562
1577
  @property
1563
1578
  def Num(self):
1564
- r"""本页数量
1579
+ r"""<p>本页数量</p>
1565
1580
  :rtype: int
1566
1581
  """
1567
1582
  return self._Num
@@ -2073,17 +2088,17 @@ class DescribeRecentSessionListRequest(AbstractModel):
2073
2088
 
2074
2089
  def __init__(self):
2075
2090
  r"""
2076
- :param _ProjectId: 项目ID
2091
+ :param _ProjectId: <p>项目ID</p>
2077
2092
  :type ProjectId: str
2078
- :param _PageNumber: 页码,从1开始
2093
+ :param _PageNumber: <p>页码,从1开始</p>
2079
2094
  :type PageNumber: int
2080
- :param _PageSize: 每页个数
2095
+ :param _PageSize: <p>每页个数</p>
2081
2096
  :type PageSize: int
2082
- :param _DeviceId: 设备ID,支持过滤远端设备或现场设备
2097
+ :param _DeviceId: <p>设备ID,支持过滤远端设备或现场设备</p>
2083
2098
  :type DeviceId: str
2084
- :param _StartTime: 时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算
2099
+ :param _StartTime: <p>时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算</p>
2085
2100
  :type StartTime: int
2086
- :param _EndTime: 时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算
2101
+ :param _EndTime: <p>时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算</p>
2087
2102
  :type EndTime: int
2088
2103
  """
2089
2104
  self._ProjectId = None
@@ -2095,7 +2110,7 @@ class DescribeRecentSessionListRequest(AbstractModel):
2095
2110
 
2096
2111
  @property
2097
2112
  def ProjectId(self):
2098
- r"""项目ID
2113
+ r"""<p>项目ID</p>
2099
2114
  :rtype: str
2100
2115
  """
2101
2116
  return self._ProjectId
@@ -2106,7 +2121,7 @@ class DescribeRecentSessionListRequest(AbstractModel):
2106
2121
 
2107
2122
  @property
2108
2123
  def PageNumber(self):
2109
- r"""页码,从1开始
2124
+ r"""<p>页码,从1开始</p>
2110
2125
  :rtype: int
2111
2126
  """
2112
2127
  return self._PageNumber
@@ -2117,7 +2132,7 @@ class DescribeRecentSessionListRequest(AbstractModel):
2117
2132
 
2118
2133
  @property
2119
2134
  def PageSize(self):
2120
- r"""每页个数
2135
+ r"""<p>每页个数</p>
2121
2136
  :rtype: int
2122
2137
  """
2123
2138
  return self._PageSize
@@ -2128,7 +2143,7 @@ class DescribeRecentSessionListRequest(AbstractModel):
2128
2143
 
2129
2144
  @property
2130
2145
  def DeviceId(self):
2131
- r"""设备ID,支持过滤远端设备或现场设备
2146
+ r"""<p>设备ID,支持过滤远端设备或现场设备</p>
2132
2147
  :rtype: str
2133
2148
  """
2134
2149
  return self._DeviceId
@@ -2139,7 +2154,7 @@ class DescribeRecentSessionListRequest(AbstractModel):
2139
2154
 
2140
2155
  @property
2141
2156
  def StartTime(self):
2142
- r"""时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算
2157
+ r"""<p>时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算</p>
2143
2158
  :rtype: int
2144
2159
  """
2145
2160
  return self._StartTime
@@ -2150,7 +2165,7 @@ class DescribeRecentSessionListRequest(AbstractModel):
2150
2165
 
2151
2166
  @property
2152
2167
  def EndTime(self):
2153
- r"""时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算
2168
+ r"""<p>时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算</p>
2154
2169
  :rtype: int
2155
2170
  """
2156
2171
  return self._EndTime
@@ -2184,11 +2199,11 @@ class DescribeRecentSessionListResponse(AbstractModel):
2184
2199
 
2185
2200
  def __init__(self):
2186
2201
  r"""
2187
- :param _Total: 总个数
2202
+ :param _Total: <p>总个数</p>
2188
2203
  :type Total: int
2189
- :param _RecentSessionList: 会话列表
2204
+ :param _RecentSessionList: <p>会话列表</p>
2190
2205
  :type RecentSessionList: list of RecentSessionInfo
2191
- :param _Num: 本页数量
2206
+ :param _Num: <p>本页数量</p>
2192
2207
  :type Num: int
2193
2208
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2194
2209
  :type RequestId: str
@@ -2200,7 +2215,7 @@ class DescribeRecentSessionListResponse(AbstractModel):
2200
2215
 
2201
2216
  @property
2202
2217
  def Total(self):
2203
- r"""总个数
2218
+ r"""<p>总个数</p>
2204
2219
  :rtype: int
2205
2220
  """
2206
2221
  return self._Total
@@ -2211,7 +2226,7 @@ class DescribeRecentSessionListResponse(AbstractModel):
2211
2226
 
2212
2227
  @property
2213
2228
  def RecentSessionList(self):
2214
- r"""会话列表
2229
+ r"""<p>会话列表</p>
2215
2230
  :rtype: list of RecentSessionInfo
2216
2231
  """
2217
2232
  return self._RecentSessionList
@@ -2222,7 +2237,7 @@ class DescribeRecentSessionListResponse(AbstractModel):
2222
2237
 
2223
2238
  @property
2224
2239
  def Num(self):
2225
- r"""本页数量
2240
+ r"""<p>本页数量</p>
2226
2241
  :rtype: int
2227
2242
  """
2228
2243
  return self._Num
@@ -2262,15 +2277,15 @@ class DescribeSessionStatisticsByIntervalRequest(AbstractModel):
2262
2277
 
2263
2278
  def __init__(self):
2264
2279
  r"""
2265
- :param _ProjectId: 项目ID
2280
+ :param _ProjectId: <p>项目ID</p>
2266
2281
  :type ProjectId: str
2267
- :param _StatisticInterval: 统计时间间隔:hour|day|month
2282
+ :param _StatisticInterval: <p>统计时间间隔:hour|day|month</p>
2268
2283
  :type StatisticInterval: str
2269
- :param _DeviceId: 设备ID
2284
+ :param _DeviceId: <p>设备ID</p>
2270
2285
  :type DeviceId: str
2271
- :param _StartTime: 起始时间,单位:秒
2286
+ :param _StartTime: <p>起始时间,单位:秒</p>
2272
2287
  :type StartTime: int
2273
- :param _EndTime: 结束时间,单位:秒
2288
+ :param _EndTime: <p>结束时间,单位:秒</p>
2274
2289
  :type EndTime: int
2275
2290
  """
2276
2291
  self._ProjectId = None
@@ -2281,7 +2296,7 @@ class DescribeSessionStatisticsByIntervalRequest(AbstractModel):
2281
2296
 
2282
2297
  @property
2283
2298
  def ProjectId(self):
2284
- r"""项目ID
2299
+ r"""<p>项目ID</p>
2285
2300
  :rtype: str
2286
2301
  """
2287
2302
  return self._ProjectId
@@ -2292,7 +2307,7 @@ class DescribeSessionStatisticsByIntervalRequest(AbstractModel):
2292
2307
 
2293
2308
  @property
2294
2309
  def StatisticInterval(self):
2295
- r"""统计时间间隔:hour|day|month
2310
+ r"""<p>统计时间间隔:hour|day|month</p>
2296
2311
  :rtype: str
2297
2312
  """
2298
2313
  return self._StatisticInterval
@@ -2303,7 +2318,7 @@ class DescribeSessionStatisticsByIntervalRequest(AbstractModel):
2303
2318
 
2304
2319
  @property
2305
2320
  def DeviceId(self):
2306
- r"""设备ID
2321
+ r"""<p>设备ID</p>
2307
2322
  :rtype: str
2308
2323
  """
2309
2324
  return self._DeviceId
@@ -2314,7 +2329,7 @@ class DescribeSessionStatisticsByIntervalRequest(AbstractModel):
2314
2329
 
2315
2330
  @property
2316
2331
  def StartTime(self):
2317
- r"""起始时间,单位:秒
2332
+ r"""<p>起始时间,单位:秒</p>
2318
2333
  :rtype: int
2319
2334
  """
2320
2335
  return self._StartTime
@@ -2325,7 +2340,7 @@ class DescribeSessionStatisticsByIntervalRequest(AbstractModel):
2325
2340
 
2326
2341
  @property
2327
2342
  def EndTime(self):
2328
- r"""结束时间,单位:秒
2343
+ r"""<p>结束时间,单位:秒</p>
2329
2344
  :rtype: int
2330
2345
  """
2331
2346
  return self._EndTime
@@ -2358,7 +2373,7 @@ class DescribeSessionStatisticsByIntervalResponse(AbstractModel):
2358
2373
 
2359
2374
  def __init__(self):
2360
2375
  r"""
2361
- :param _SessionStatistics: 各时间段的会话统计数据
2376
+ :param _SessionStatistics: <p>各时间段的会话统计数据</p>
2362
2377
  :type SessionStatistics: list of SessionIntervalStatistic
2363
2378
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2364
2379
  :type RequestId: str
@@ -2368,7 +2383,7 @@ class DescribeSessionStatisticsByIntervalResponse(AbstractModel):
2368
2383
 
2369
2384
  @property
2370
2385
  def SessionStatistics(self):
2371
- r"""各时间段的会话统计数据
2386
+ r"""<p>各时间段的会话统计数据</p>
2372
2387
  :rtype: list of SessionIntervalStatistic
2373
2388
  """
2374
2389
  return self._SessionStatistics
@@ -2406,13 +2421,13 @@ class DescribeSessionStatisticsRequest(AbstractModel):
2406
2421
 
2407
2422
  def __init__(self):
2408
2423
  r"""
2409
- :param _ProjectId: 项目ID
2424
+ :param _ProjectId: <p>项目ID</p>
2410
2425
  :type ProjectId: str
2411
- :param _DeviceId: 设备ID
2426
+ :param _DeviceId: <p>设备ID</p>
2412
2427
  :type DeviceId: str
2413
- :param _StartTime: 起始时间,单位:秒
2428
+ :param _StartTime: <p>起始时间,单位:秒</p>
2414
2429
  :type StartTime: int
2415
- :param _EndTime: 结束时间,单位:秒
2430
+ :param _EndTime: <p>结束时间,单位:秒</p>
2416
2431
  :type EndTime: int
2417
2432
  """
2418
2433
  self._ProjectId = None
@@ -2422,7 +2437,7 @@ class DescribeSessionStatisticsRequest(AbstractModel):
2422
2437
 
2423
2438
  @property
2424
2439
  def ProjectId(self):
2425
- r"""项目ID
2440
+ r"""<p>项目ID</p>
2426
2441
  :rtype: str
2427
2442
  """
2428
2443
  return self._ProjectId
@@ -2433,7 +2448,7 @@ class DescribeSessionStatisticsRequest(AbstractModel):
2433
2448
 
2434
2449
  @property
2435
2450
  def DeviceId(self):
2436
- r"""设备ID
2451
+ r"""<p>设备ID</p>
2437
2452
  :rtype: str
2438
2453
  """
2439
2454
  return self._DeviceId
@@ -2444,7 +2459,7 @@ class DescribeSessionStatisticsRequest(AbstractModel):
2444
2459
 
2445
2460
  @property
2446
2461
  def StartTime(self):
2447
- r"""起始时间,单位:秒
2462
+ r"""<p>起始时间,单位:秒</p>
2448
2463
  :rtype: int
2449
2464
  """
2450
2465
  return self._StartTime
@@ -2455,7 +2470,7 @@ class DescribeSessionStatisticsRequest(AbstractModel):
2455
2470
 
2456
2471
  @property
2457
2472
  def EndTime(self):
2458
- r"""结束时间,单位:秒
2473
+ r"""<p>结束时间,单位:秒</p>
2459
2474
  :rtype: int
2460
2475
  """
2461
2476
  return self._EndTime
@@ -2487,15 +2502,15 @@ class DescribeSessionStatisticsResponse(AbstractModel):
2487
2502
 
2488
2503
  def __init__(self):
2489
2504
  r"""
2490
- :param _SessionNum: 会话数量
2505
+ :param _SessionNum: <p>会话数量</p>
2491
2506
  :type SessionNum: int
2492
- :param _TotalDuration: 通话时长,单位:分钟
2507
+ :param _TotalDuration: <p>通话时长,单位:分钟</p>
2493
2508
  :type TotalDuration: int
2494
- :param _ActiveFieldDeviceNum: 活跃现场设备数
2509
+ :param _ActiveFieldDeviceNum: <p>活跃现场设备数</p>
2495
2510
  :type ActiveFieldDeviceNum: int
2496
- :param _ActiveRemoteDeviceNum: 活跃远端设备数
2511
+ :param _ActiveRemoteDeviceNum: <p>活跃远端设备数</p>
2497
2512
  :type ActiveRemoteDeviceNum: int
2498
- :param _NotBadSessionRatio: 优良会话占比,单位:%
2513
+ :param _NotBadSessionRatio: <p>优良会话占比,单位:%</p>
2499
2514
  :type NotBadSessionRatio: int
2500
2515
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2501
2516
  :type RequestId: str
@@ -2509,7 +2524,7 @@ class DescribeSessionStatisticsResponse(AbstractModel):
2509
2524
 
2510
2525
  @property
2511
2526
  def SessionNum(self):
2512
- r"""会话数量
2527
+ r"""<p>会话数量</p>
2513
2528
  :rtype: int
2514
2529
  """
2515
2530
  return self._SessionNum
@@ -2520,7 +2535,7 @@ class DescribeSessionStatisticsResponse(AbstractModel):
2520
2535
 
2521
2536
  @property
2522
2537
  def TotalDuration(self):
2523
- r"""通话时长,单位:分钟
2538
+ r"""<p>通话时长,单位:分钟</p>
2524
2539
  :rtype: int
2525
2540
  """
2526
2541
  return self._TotalDuration
@@ -2531,7 +2546,7 @@ class DescribeSessionStatisticsResponse(AbstractModel):
2531
2546
 
2532
2547
  @property
2533
2548
  def ActiveFieldDeviceNum(self):
2534
- r"""活跃现场设备数
2549
+ r"""<p>活跃现场设备数</p>
2535
2550
  :rtype: int
2536
2551
  """
2537
2552
  return self._ActiveFieldDeviceNum
@@ -2542,7 +2557,7 @@ class DescribeSessionStatisticsResponse(AbstractModel):
2542
2557
 
2543
2558
  @property
2544
2559
  def ActiveRemoteDeviceNum(self):
2545
- r"""活跃远端设备数
2560
+ r"""<p>活跃远端设备数</p>
2546
2561
  :rtype: int
2547
2562
  """
2548
2563
  return self._ActiveRemoteDeviceNum
@@ -2553,7 +2568,7 @@ class DescribeSessionStatisticsResponse(AbstractModel):
2553
2568
 
2554
2569
  @property
2555
2570
  def NotBadSessionRatio(self):
2556
- r"""优良会话占比,单位:%
2571
+ r"""<p>优良会话占比,单位:%</p>
2557
2572
  :rtype: int
2558
2573
  """
2559
2574
  return self._NotBadSessionRatio
@@ -0,0 +1,588 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.trro.v20220325 import models
20
+ from typing import Dict
21
+
22
+
23
+ class TrroClient(AbstractClient):
24
+ _apiVersion = '2022-03-25'
25
+ _endpoint = 'trro.tencentcloudapi.com'
26
+ _service = 'trro'
27
+
28
+ async def BatchDeleteDevices(
29
+ self,
30
+ request: models.BatchDeleteDevicesRequest,
31
+ opts: Dict = None,
32
+ ) -> models.BatchDeleteDevicesResponse:
33
+ """
34
+ 用于批量删除设备
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "BatchDeleteDevices"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.BatchDeleteDevicesResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def BatchDeletePolicy(
47
+ self,
48
+ request: models.BatchDeletePolicyRequest,
49
+ opts: Dict = None,
50
+ ) -> models.BatchDeletePolicyResponse:
51
+ """
52
+ 用于批量删除修改权限配置
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "BatchDeletePolicy"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.BatchDeletePolicyResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def BoundLicenses(
65
+ self,
66
+ request: models.BoundLicensesRequest,
67
+ opts: Dict = None,
68
+ ) -> models.BoundLicensesResponse:
69
+ """
70
+ 为推流设备绑定license,优先绑定到期时间最近的,到期时间相同优先绑定月包
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "BoundLicenses"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.BoundLicensesResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def CreateCloudRecording(
83
+ self,
84
+ request: models.CreateCloudRecordingRequest,
85
+ opts: Dict = None,
86
+ ) -> models.CreateCloudRecordingResponse:
87
+ """
88
+ 启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "CreateCloudRecording"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.CreateCloudRecordingResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def CreateDevice(
101
+ self,
102
+ request: models.CreateDeviceRequest,
103
+ opts: Dict = None,
104
+ ) -> models.CreateDeviceResponse:
105
+ """
106
+ 用于创建设备
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "CreateDevice"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.CreateDeviceResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def CreateProject(
119
+ self,
120
+ request: models.CreateProjectRequest,
121
+ opts: Dict = None,
122
+ ) -> models.CreateProjectResponse:
123
+ """
124
+ 用于创建项目
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "CreateProject"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.CreateProjectResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def DeleteCloudRecording(
137
+ self,
138
+ request: models.DeleteCloudRecordingRequest,
139
+ opts: Dict = None,
140
+ ) -> models.DeleteCloudRecordingResponse:
141
+ """
142
+ 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "DeleteCloudRecording"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.DeleteCloudRecordingResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def DeleteProject(
155
+ self,
156
+ request: models.DeleteProjectRequest,
157
+ opts: Dict = None,
158
+ ) -> models.DeleteProjectResponse:
159
+ """
160
+ 用于删除项目
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "DeleteProject"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.DeleteProjectResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def DescribeDeviceInfo(
173
+ self,
174
+ request: models.DescribeDeviceInfoRequest,
175
+ opts: Dict = None,
176
+ ) -> models.DescribeDeviceInfoResponse:
177
+ """
178
+ 用于获取指定设备信息
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "DescribeDeviceInfo"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.DescribeDeviceInfoResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
190
+ async def DescribeDeviceList(
191
+ self,
192
+ request: models.DescribeDeviceListRequest,
193
+ opts: Dict = None,
194
+ ) -> models.DescribeDeviceListResponse:
195
+ """
196
+ 用于获取设备信息列表
197
+ """
198
+
199
+ kwargs = {}
200
+ kwargs["action"] = "DescribeDeviceList"
201
+ kwargs["params"] = request._serialize()
202
+ kwargs["resp_cls"] = models.DescribeDeviceListResponse
203
+ kwargs["headers"] = request.headers
204
+ kwargs["opts"] = opts or {}
205
+
206
+ return await self.call_and_deserialize(**kwargs)
207
+
208
+ async def DescribeDeviceSessionDetails(
209
+ self,
210
+ request: models.DescribeDeviceSessionDetailsRequest,
211
+ opts: Dict = None,
212
+ ) -> models.DescribeDeviceSessionDetailsResponse:
213
+ """
214
+ 获取设备会话数据详单
215
+ """
216
+
217
+ kwargs = {}
218
+ kwargs["action"] = "DescribeDeviceSessionDetails"
219
+ kwargs["params"] = request._serialize()
220
+ kwargs["resp_cls"] = models.DescribeDeviceSessionDetailsResponse
221
+ kwargs["headers"] = request.headers
222
+ kwargs["opts"] = opts or {}
223
+
224
+ return await self.call_and_deserialize(**kwargs)
225
+
226
+ async def DescribeDeviceSessionList(
227
+ self,
228
+ request: models.DescribeDeviceSessionListRequest,
229
+ opts: Dict = None,
230
+ ) -> models.DescribeDeviceSessionListResponse:
231
+ """
232
+ 获取设备会话列表
233
+ """
234
+
235
+ kwargs = {}
236
+ kwargs["action"] = "DescribeDeviceSessionList"
237
+ kwargs["params"] = request._serialize()
238
+ kwargs["resp_cls"] = models.DescribeDeviceSessionListResponse
239
+ kwargs["headers"] = request.headers
240
+ kwargs["opts"] = opts or {}
241
+
242
+ return await self.call_and_deserialize(**kwargs)
243
+
244
+ async def DescribePolicy(
245
+ self,
246
+ request: models.DescribePolicyRequest,
247
+ opts: Dict = None,
248
+ ) -> models.DescribePolicyResponse:
249
+ """
250
+ 用于查看权限配置
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "DescribePolicy"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.DescribePolicyResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
262
+ async def DescribeProjectInfo(
263
+ self,
264
+ request: models.DescribeProjectInfoRequest,
265
+ opts: Dict = None,
266
+ ) -> models.DescribeProjectInfoResponse:
267
+ """
268
+ 用于获取项目信息
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "DescribeProjectInfo"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.DescribeProjectInfoResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
280
+ async def DescribeProjectList(
281
+ self,
282
+ request: models.DescribeProjectListRequest,
283
+ opts: Dict = None,
284
+ ) -> models.DescribeProjectListResponse:
285
+ """
286
+ 用于获取项目列表
287
+ """
288
+
289
+ kwargs = {}
290
+ kwargs["action"] = "DescribeProjectList"
291
+ kwargs["params"] = request._serialize()
292
+ kwargs["resp_cls"] = models.DescribeProjectListResponse
293
+ kwargs["headers"] = request.headers
294
+ kwargs["opts"] = opts or {}
295
+
296
+ return await self.call_and_deserialize(**kwargs)
297
+
298
+ async def DescribeRecentSessionList(
299
+ self,
300
+ request: models.DescribeRecentSessionListRequest,
301
+ opts: Dict = None,
302
+ ) -> models.DescribeRecentSessionListResponse:
303
+ """
304
+ 获取最新设备会话列表
305
+ """
306
+
307
+ kwargs = {}
308
+ kwargs["action"] = "DescribeRecentSessionList"
309
+ kwargs["params"] = request._serialize()
310
+ kwargs["resp_cls"] = models.DescribeRecentSessionListResponse
311
+ kwargs["headers"] = request.headers
312
+ kwargs["opts"] = opts or {}
313
+
314
+ return await self.call_and_deserialize(**kwargs)
315
+
316
+ async def DescribeSessionStatistics(
317
+ self,
318
+ request: models.DescribeSessionStatisticsRequest,
319
+ opts: Dict = None,
320
+ ) -> models.DescribeSessionStatisticsResponse:
321
+ """
322
+ 获取会话统计值
323
+ """
324
+
325
+ kwargs = {}
326
+ kwargs["action"] = "DescribeSessionStatistics"
327
+ kwargs["params"] = request._serialize()
328
+ kwargs["resp_cls"] = models.DescribeSessionStatisticsResponse
329
+ kwargs["headers"] = request.headers
330
+ kwargs["opts"] = opts or {}
331
+
332
+ return await self.call_and_deserialize(**kwargs)
333
+
334
+ async def DescribeSessionStatisticsByInterval(
335
+ self,
336
+ request: models.DescribeSessionStatisticsByIntervalRequest,
337
+ opts: Dict = None,
338
+ ) -> models.DescribeSessionStatisticsByIntervalResponse:
339
+ """
340
+ 获取各时间段的会话统计值
341
+ """
342
+
343
+ kwargs = {}
344
+ kwargs["action"] = "DescribeSessionStatisticsByInterval"
345
+ kwargs["params"] = request._serialize()
346
+ kwargs["resp_cls"] = models.DescribeSessionStatisticsByIntervalResponse
347
+ kwargs["headers"] = request.headers
348
+ kwargs["opts"] = opts or {}
349
+
350
+ return await self.call_and_deserialize(**kwargs)
351
+
352
+ async def GetDeviceLicense(
353
+ self,
354
+ request: models.GetDeviceLicenseRequest,
355
+ opts: Dict = None,
356
+ ) -> models.GetDeviceLicenseResponse:
357
+ """
358
+ 获取设备已经绑定的可用授权数量
359
+ """
360
+
361
+ kwargs = {}
362
+ kwargs["action"] = "GetDeviceLicense"
363
+ kwargs["params"] = request._serialize()
364
+ kwargs["resp_cls"] = models.GetDeviceLicenseResponse
365
+ kwargs["headers"] = request.headers
366
+ kwargs["opts"] = opts or {}
367
+
368
+ return await self.call_and_deserialize(**kwargs)
369
+
370
+ async def GetDevices(
371
+ self,
372
+ request: models.GetDevicesRequest,
373
+ opts: Dict = None,
374
+ ) -> models.GetDevicesResponse:
375
+ """
376
+ 查询用户设备的授权绑定情况
377
+ """
378
+
379
+ kwargs = {}
380
+ kwargs["action"] = "GetDevices"
381
+ kwargs["params"] = request._serialize()
382
+ kwargs["resp_cls"] = models.GetDevicesResponse
383
+ kwargs["headers"] = request.headers
384
+ kwargs["opts"] = opts or {}
385
+
386
+ return await self.call_and_deserialize(**kwargs)
387
+
388
+ async def GetDurationDetails(
389
+ self,
390
+ request: models.GetDurationDetailsRequest,
391
+ opts: Dict = None,
392
+ ) -> models.GetDurationDetailsResponse:
393
+ """
394
+ 查询该时间段、对应项目、设备的不同分辨率的通话时长流水,流水以日期(天)为单位
395
+ """
396
+
397
+ kwargs = {}
398
+ kwargs["action"] = "GetDurationDetails"
399
+ kwargs["params"] = request._serialize()
400
+ kwargs["resp_cls"] = models.GetDurationDetailsResponse
401
+ kwargs["headers"] = request.headers
402
+ kwargs["opts"] = opts or {}
403
+
404
+ return await self.call_and_deserialize(**kwargs)
405
+
406
+ async def GetLicenseStat(
407
+ self,
408
+ request: models.GetLicenseStatRequest,
409
+ opts: Dict = None,
410
+ ) -> models.GetLicenseStatResponse:
411
+ """
412
+ 统计license类型数量
413
+ """
414
+
415
+ kwargs = {}
416
+ kwargs["action"] = "GetLicenseStat"
417
+ kwargs["params"] = request._serialize()
418
+ kwargs["resp_cls"] = models.GetLicenseStatResponse
419
+ kwargs["headers"] = request.headers
420
+ kwargs["opts"] = opts or {}
421
+
422
+ return await self.call_and_deserialize(**kwargs)
423
+
424
+ async def GetLicenses(
425
+ self,
426
+ request: models.GetLicensesRequest,
427
+ opts: Dict = None,
428
+ ) -> models.GetLicensesResponse:
429
+ """
430
+ 按授权查看license列表
431
+ """
432
+
433
+ kwargs = {}
434
+ kwargs["action"] = "GetLicenses"
435
+ kwargs["params"] = request._serialize()
436
+ kwargs["resp_cls"] = models.GetLicensesResponse
437
+ kwargs["headers"] = request.headers
438
+ kwargs["opts"] = opts or {}
439
+
440
+ return await self.call_and_deserialize(**kwargs)
441
+
442
+ async def GetTotalDuration(
443
+ self,
444
+ request: models.GetTotalDurationRequest,
445
+ opts: Dict = None,
446
+ ) -> models.GetTotalDurationResponse:
447
+ """
448
+ 查询该时间段、对应项目、设备的不同分辨率的通话时长汇总
449
+ """
450
+
451
+ kwargs = {}
452
+ kwargs["action"] = "GetTotalDuration"
453
+ kwargs["params"] = request._serialize()
454
+ kwargs["resp_cls"] = models.GetTotalDurationResponse
455
+ kwargs["headers"] = request.headers
456
+ kwargs["opts"] = opts or {}
457
+
458
+ return await self.call_and_deserialize(**kwargs)
459
+
460
+ async def ModifyCallbackUrl(
461
+ self,
462
+ request: models.ModifyCallbackUrlRequest,
463
+ opts: Dict = None,
464
+ ) -> models.ModifyCallbackUrlResponse:
465
+ """
466
+ 设置回调URL
467
+ 录制回调事件内容参考:https://cloud.tencent.com/document/product/647/81113
468
+ 转推回调事件内容参考:https://cloud.tencent.com/document/product/647/88552
469
+ """
470
+
471
+ kwargs = {}
472
+ kwargs["action"] = "ModifyCallbackUrl"
473
+ kwargs["params"] = request._serialize()
474
+ kwargs["resp_cls"] = models.ModifyCallbackUrlResponse
475
+ kwargs["headers"] = request.headers
476
+ kwargs["opts"] = opts or {}
477
+
478
+ return await self.call_and_deserialize(**kwargs)
479
+
480
+ async def ModifyDevice(
481
+ self,
482
+ request: models.ModifyDeviceRequest,
483
+ opts: Dict = None,
484
+ ) -> models.ModifyDeviceResponse:
485
+ """
486
+ 用于修改设备信息
487
+ """
488
+
489
+ kwargs = {}
490
+ kwargs["action"] = "ModifyDevice"
491
+ kwargs["params"] = request._serialize()
492
+ kwargs["resp_cls"] = models.ModifyDeviceResponse
493
+ kwargs["headers"] = request.headers
494
+ kwargs["opts"] = opts or {}
495
+
496
+ return await self.call_and_deserialize(**kwargs)
497
+
498
+ async def ModifyPolicy(
499
+ self,
500
+ request: models.ModifyPolicyRequest,
501
+ opts: Dict = None,
502
+ ) -> models.ModifyPolicyResponse:
503
+ """
504
+ 用于修改权限配置
505
+ """
506
+
507
+ kwargs = {}
508
+ kwargs["action"] = "ModifyPolicy"
509
+ kwargs["params"] = request._serialize()
510
+ kwargs["resp_cls"] = models.ModifyPolicyResponse
511
+ kwargs["headers"] = request.headers
512
+ kwargs["opts"] = opts or {}
513
+
514
+ return await self.call_and_deserialize(**kwargs)
515
+
516
+ async def ModifyProject(
517
+ self,
518
+ request: models.ModifyProjectRequest,
519
+ opts: Dict = None,
520
+ ) -> models.ModifyProjectResponse:
521
+ """
522
+ 用于修改项目信息
523
+ """
524
+
525
+ kwargs = {}
526
+ kwargs["action"] = "ModifyProject"
527
+ kwargs["params"] = request._serialize()
528
+ kwargs["resp_cls"] = models.ModifyProjectResponse
529
+ kwargs["headers"] = request.headers
530
+ kwargs["opts"] = opts or {}
531
+
532
+ return await self.call_and_deserialize(**kwargs)
533
+
534
+ async def ModifyProjectSecMode(
535
+ self,
536
+ request: models.ModifyProjectSecModeRequest,
537
+ opts: Dict = None,
538
+ ) -> models.ModifyProjectSecModeResponse:
539
+ """
540
+ 使用项目共享密钥可动态生成设备登录密钥,登录前无需对设备进行提前注册,适合希望简化业务流程的客户。由于是公共密钥,请务必注意保护项目共享密钥,并及时更新。建议项目共享密钥保存在服务器侧。由服务器生成设备登录密码下发给设备,避免密钥保存在客户端侧产生的密钥泄露风险。
541
+
542
+ 开启项目共享密钥后,对于已注册的设备,仍可使用原设备密码登录。若希望仅能通过共享密钥生成密码登录,请通过云 API 将设备密码更新为"USEPROJECTKEYPWD"。
543
+ """
544
+
545
+ kwargs = {}
546
+ kwargs["action"] = "ModifyProjectSecMode"
547
+ kwargs["params"] = request._serialize()
548
+ kwargs["resp_cls"] = models.ModifyProjectSecModeResponse
549
+ kwargs["headers"] = request.headers
550
+ kwargs["opts"] = opts or {}
551
+
552
+ return await self.call_and_deserialize(**kwargs)
553
+
554
+ async def StartPublishLiveStream(
555
+ self,
556
+ request: models.StartPublishLiveStreamRequest,
557
+ opts: Dict = None,
558
+ ) -> models.StartPublishLiveStreamResponse:
559
+ """
560
+ 启动一个混流转推任务,将 TRTC 房间的多路音视频流混成一路音视频流,编码后推到直播 CDN 或者回推到 TRTC 房间。也支持不转码直接转推 TRTC 房间的单路流。启动成功后,会返回一个 SdkAppid 维度唯一的任务 Id(TaskId)。您需要保存该 TaskId,后续需要依赖此 TaskId 更新和结束任务。
561
+ """
562
+
563
+ kwargs = {}
564
+ kwargs["action"] = "StartPublishLiveStream"
565
+ kwargs["params"] = request._serialize()
566
+ kwargs["resp_cls"] = models.StartPublishLiveStreamResponse
567
+ kwargs["headers"] = request.headers
568
+ kwargs["opts"] = opts or {}
569
+
570
+ return await self.call_and_deserialize(**kwargs)
571
+
572
+ async def StopPublishLiveStream(
573
+ self,
574
+ request: models.StopPublishLiveStreamRequest,
575
+ opts: Dict = None,
576
+ ) -> models.StopPublishLiveStreamResponse:
577
+ """
578
+ 停止指定的混流转推任务。如果没有调用 Stop 接口停止任务,所有参与混流转推的主播离开房间超过MaxIdleTime 设置的时间后,任务也会自动停止。
579
+ """
580
+
581
+ kwargs = {}
582
+ kwargs["action"] = "StopPublishLiveStream"
583
+ kwargs["params"] = request._serialize()
584
+ kwargs["resp_cls"] = models.StopPublishLiveStreamResponse
585
+ kwargs["headers"] = request.headers
586
+ kwargs["opts"] = opts or {}
587
+
588
+ return await self.call_and_deserialize(**kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trro
3
- Version: 3.0.1481
3
+ Version: 3.1.64
4
4
  Summary: Tencent Cloud Trro 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.0.1481
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.64
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -7,6 +7,7 @@ tencentcloud/trro/v20220325/__init__.py
7
7
  tencentcloud/trro/v20220325/errorcodes.py
8
8
  tencentcloud/trro/v20220325/models.py
9
9
  tencentcloud/trro/v20220325/trro_client.py
10
+ tencentcloud/trro/v20220325/trro_client_async.py
10
11
  tencentcloud_sdk_python_trro.egg-info/PKG-INFO
11
12
  tencentcloud_sdk_python_trro.egg-info/SOURCES.txt
12
13
  tencentcloud_sdk_python_trro.egg-info/dependency_links.txt
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.64
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1481