tencentcloud-sdk-python 3.0.1251__py2.py3-none-any.whl → 3.0.1252__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/bma/v20221115/models.py +24 -0
- tencentcloud/cam/v20190116/models.py +16 -16
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfg/v20210820/models.py +26 -0
- tencentcloud/cls/v20201016/cls_client.py +2 -1
- tencentcloud/cls/v20201016/models.py +81 -3
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/cynosdb/v20190107/models.py +12 -0
- tencentcloud/dasb/v20191018/models.py +21 -9
- tencentcloud/dnspod/v20210323/models.py +1 -3
- tencentcloud/emr/v20190103/emr_client.py +92 -0
- tencentcloud/emr/v20190103/models.py +1326 -24
- tencentcloud/es/v20180416/models.py +204 -1
- tencentcloud/ess/v20201111/models.py +2 -1
- tencentcloud/essbasic/v20210526/models.py +16 -2
- tencentcloud/facefusion/v20220927/errorcodes.py +15 -0
- tencentcloud/gwlb/v20240906/models.py +17 -16
- tencentcloud/hunyuan/v20230901/models.py +139 -13
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +1 -1
- tencentcloud/iss/v20230517/models.py +72 -12
- tencentcloud/ocr/v20181119/errorcodes.py +1 -1
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/sms/v20210111/errorcodes.py +0 -3
- tencentcloud/sms/v20210111/models.py +1 -1
- tencentcloud/sqlserver/v20180328/models.py +24 -0
- tencentcloud/sts/v20180813/models.py +2 -2
- tencentcloud/tcss/v20201101/models.py +147 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -9
- tencentcloud/teo/v20220901/models.py +75 -72
- tencentcloud/teo/v20220901/teo_client.py +4 -4
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +246 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vpc/v20170312/models.py +24 -20
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- {tencentcloud_sdk_python-3.0.1251.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1251.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1251.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1251.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1251.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/top_level.txt +0 -0
@@ -92,8 +92,8 @@ class ChatCompletionsRequest(AbstractModel):
|
|
92
92
|
:param _Messages: 聊天上下文信息。
|
93
93
|
说明:
|
94
94
|
1. 长度最多为 40,按对话时间从旧到新在数组中排列。
|
95
|
-
2. Message.Role 可选值:system、user、assistant、 tool
|
96
|
-
其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool
|
95
|
+
2. Message.Role 可选值:system、user、assistant、 tool(functioncall场景)。
|
96
|
+
其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,其中tool可以连续出现多次,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user(tool tool ...) assistant user(tool tool ...) ...]。
|
97
97
|
3. Messages 中 Content 总长度不能超过模型输入长度上限(可参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 文档),超过则会截断最前面的内容,只保留尾部内容。
|
98
98
|
:type Messages: list of Message
|
99
99
|
:param _Stream: 流式调用开关。
|
@@ -153,13 +153,14 @@ class ChatCompletionsRequest(AbstractModel):
|
|
153
153
|
:type Citation: bool
|
154
154
|
:param _EnableSpeedSearch: 是否开启极速版搜索,默认false,不开启;在开启且命中搜索时,会启用极速版搜索,流式输出首字返回更快。
|
155
155
|
:type EnableSpeedSearch: bool
|
156
|
-
:param _EnableMultimedia:
|
157
|
-
详细介绍请阅读 [
|
156
|
+
:param _EnableMultimedia: 多媒体开关。
|
157
|
+
详细介绍请阅读 [多媒体介绍](https://cloud.tencent.com/document/product/1729/111178) 中的说明。
|
158
158
|
说明:
|
159
|
-
1.
|
160
|
-
2.
|
161
|
-
3.
|
162
|
-
4.
|
159
|
+
1. 该参数目前仅对白名单内用户生效,如您想体验该功能请 [联系我们](https://cloud.tencent.com/act/event/Online_service)。
|
160
|
+
2. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)并且极速版搜索开关关闭(EnableSpeedSearch=false)时生效。
|
161
|
+
3. hunyuan-lite 无多媒体能力,该参数对 hunyuan-lite 版本不生效。
|
162
|
+
4. 未传值时默认关闭。
|
163
|
+
5. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。
|
163
164
|
:type EnableMultimedia: bool
|
164
165
|
"""
|
165
166
|
self._Model = None
|
@@ -355,7 +356,7 @@ class ChatCompletionsResponse(AbstractModel):
|
|
355
356
|
:type SearchInfo: :class:`tencentcloud.hunyuan.v20230901.models.SearchInfo`
|
356
357
|
:param _Replaces: 多媒体信息。
|
357
358
|
说明:
|
358
|
-
1.
|
359
|
+
1. 可以用多媒体信息替换回复内容里的占位符,得到完整的消息。
|
359
360
|
2. 可能会出现回复内容里存在占位符,但是因为审核等原因没有返回多媒体信息。
|
360
361
|
:type Replaces: list of Replace
|
361
362
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
@@ -1345,22 +1346,52 @@ class Message(AbstractModel):
|
|
1345
1346
|
|
1346
1347
|
|
1347
1348
|
class Multimedia(AbstractModel):
|
1348
|
-
"""
|
1349
|
+
"""多媒体详情
|
1349
1350
|
|
1350
1351
|
"""
|
1351
1352
|
|
1352
1353
|
def __init__(self):
|
1353
1354
|
r"""
|
1354
|
-
:param _Type:
|
1355
|
+
:param _Type: 多媒体类型,可选值包括 image、music、album、playlist。
|
1356
|
+
说明:
|
1357
|
+
1. image:图片;music:单曲,类型为单曲时,会返回详细歌手和歌曲信息;album:专辑;playlist:歌单。
|
1358
|
+
2. 当 type 为 music、album、playlist 时,需要配合 [QQ音乐SDK](https://developer.y.qq.com/) 使用。
|
1355
1359
|
:type Type: str
|
1356
|
-
:param _Url:
|
1360
|
+
:param _Url: 多媒体地址。
|
1361
|
+
说明:
|
1362
|
+
1. type 为 image 时,地址为图片的预览地址;其他类型时,地址为封面图地址。
|
1357
1363
|
:type Url: str
|
1358
1364
|
:param _JumpUrl: 多媒体详情地址。
|
1365
|
+
说明:
|
1366
|
+
1. 仅 type 为 image 时,该字段有值。
|
1367
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1359
1368
|
:type JumpUrl: str
|
1369
|
+
:param _Title: 名称。
|
1370
|
+
说明:
|
1371
|
+
1. type 为 image 时,该字段为空。
|
1372
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1373
|
+
:type Title: str
|
1374
|
+
:param _Desc: 描述。
|
1375
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1376
|
+
:type Desc: str
|
1377
|
+
:param _Singer: 歌手名称。
|
1378
|
+
说明:
|
1379
|
+
1. 仅 type 为 music 时,该字段有值。
|
1380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1381
|
+
:type Singer: str
|
1382
|
+
:param _Ext: 歌曲详情。
|
1383
|
+
说明:
|
1384
|
+
1. 仅 type 为 music 时,该字段有值。
|
1385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1386
|
+
:type Ext: :class:`tencentcloud.hunyuan.v20230901.models.SongExt`
|
1360
1387
|
"""
|
1361
1388
|
self._Type = None
|
1362
1389
|
self._Url = None
|
1363
1390
|
self._JumpUrl = None
|
1391
|
+
self._Title = None
|
1392
|
+
self._Desc = None
|
1393
|
+
self._Singer = None
|
1394
|
+
self._Ext = None
|
1364
1395
|
|
1365
1396
|
@property
|
1366
1397
|
def Type(self):
|
@@ -1386,11 +1417,49 @@ class Multimedia(AbstractModel):
|
|
1386
1417
|
def JumpUrl(self, JumpUrl):
|
1387
1418
|
self._JumpUrl = JumpUrl
|
1388
1419
|
|
1420
|
+
@property
|
1421
|
+
def Title(self):
|
1422
|
+
return self._Title
|
1423
|
+
|
1424
|
+
@Title.setter
|
1425
|
+
def Title(self, Title):
|
1426
|
+
self._Title = Title
|
1427
|
+
|
1428
|
+
@property
|
1429
|
+
def Desc(self):
|
1430
|
+
return self._Desc
|
1431
|
+
|
1432
|
+
@Desc.setter
|
1433
|
+
def Desc(self, Desc):
|
1434
|
+
self._Desc = Desc
|
1435
|
+
|
1436
|
+
@property
|
1437
|
+
def Singer(self):
|
1438
|
+
return self._Singer
|
1439
|
+
|
1440
|
+
@Singer.setter
|
1441
|
+
def Singer(self, Singer):
|
1442
|
+
self._Singer = Singer
|
1443
|
+
|
1444
|
+
@property
|
1445
|
+
def Ext(self):
|
1446
|
+
return self._Ext
|
1447
|
+
|
1448
|
+
@Ext.setter
|
1449
|
+
def Ext(self, Ext):
|
1450
|
+
self._Ext = Ext
|
1451
|
+
|
1389
1452
|
|
1390
1453
|
def _deserialize(self, params):
|
1391
1454
|
self._Type = params.get("Type")
|
1392
1455
|
self._Url = params.get("Url")
|
1393
1456
|
self._JumpUrl = params.get("JumpUrl")
|
1457
|
+
self._Title = params.get("Title")
|
1458
|
+
self._Desc = params.get("Desc")
|
1459
|
+
self._Singer = params.get("Singer")
|
1460
|
+
if params.get("Ext") is not None:
|
1461
|
+
self._Ext = SongExt()
|
1462
|
+
self._Ext._deserialize(params.get("Ext"))
|
1394
1463
|
memeber_set = set(params.keys())
|
1395
1464
|
for name, value in vars(self).items():
|
1396
1465
|
property_name = name[1:]
|
@@ -1716,7 +1785,7 @@ class QueryHunyuanImageJobResponse(AbstractModel):
|
|
1716
1785
|
|
1717
1786
|
|
1718
1787
|
class Replace(AbstractModel):
|
1719
|
-
"""
|
1788
|
+
"""多媒体占位符替换信息
|
1720
1789
|
|
1721
1790
|
"""
|
1722
1791
|
|
@@ -1922,6 +1991,63 @@ class SetPayModeResponse(AbstractModel):
|
|
1922
1991
|
self._RequestId = params.get("RequestId")
|
1923
1992
|
|
1924
1993
|
|
1994
|
+
class SongExt(AbstractModel):
|
1995
|
+
"""歌曲详情。具体含义参考 [QQ音乐SDK](https://developer.y.qq.com/)
|
1996
|
+
|
1997
|
+
"""
|
1998
|
+
|
1999
|
+
def __init__(self):
|
2000
|
+
r"""
|
2001
|
+
:param _SongId: 歌曲id
|
2002
|
+
:type SongId: int
|
2003
|
+
:param _SongMid: 歌曲mid
|
2004
|
+
:type SongMid: str
|
2005
|
+
:param _Vip: 歌曲是否为vip。1:vip歌曲; 0:普通歌曲。
|
2006
|
+
:type Vip: int
|
2007
|
+
"""
|
2008
|
+
self._SongId = None
|
2009
|
+
self._SongMid = None
|
2010
|
+
self._Vip = None
|
2011
|
+
|
2012
|
+
@property
|
2013
|
+
def SongId(self):
|
2014
|
+
return self._SongId
|
2015
|
+
|
2016
|
+
@SongId.setter
|
2017
|
+
def SongId(self, SongId):
|
2018
|
+
self._SongId = SongId
|
2019
|
+
|
2020
|
+
@property
|
2021
|
+
def SongMid(self):
|
2022
|
+
return self._SongMid
|
2023
|
+
|
2024
|
+
@SongMid.setter
|
2025
|
+
def SongMid(self, SongMid):
|
2026
|
+
self._SongMid = SongMid
|
2027
|
+
|
2028
|
+
@property
|
2029
|
+
def Vip(self):
|
2030
|
+
return self._Vip
|
2031
|
+
|
2032
|
+
@Vip.setter
|
2033
|
+
def Vip(self, Vip):
|
2034
|
+
self._Vip = Vip
|
2035
|
+
|
2036
|
+
|
2037
|
+
def _deserialize(self, params):
|
2038
|
+
self._SongId = params.get("SongId")
|
2039
|
+
self._SongMid = params.get("SongMid")
|
2040
|
+
self._Vip = params.get("Vip")
|
2041
|
+
memeber_set = set(params.keys())
|
2042
|
+
for name, value in vars(self).items():
|
2043
|
+
property_name = name[1:]
|
2044
|
+
if property_name in memeber_set:
|
2045
|
+
memeber_set.remove(property_name)
|
2046
|
+
if len(memeber_set) > 0:
|
2047
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2048
|
+
|
2049
|
+
|
2050
|
+
|
1925
2051
|
class SubmitHunyuanImageChatJobRequest(AbstractModel):
|
1926
2052
|
"""SubmitHunyuanImageChatJob请求参数结构体
|
1927
2053
|
|
@@ -281,6 +281,9 @@ INVALIDPARAMETERVALUE_INVALIDRTMPAPPNAME = 'InvalidParameterValue.InvalidRTMPApp
|
|
281
281
|
# 无效的RTMP推流StreamName
|
282
282
|
INVALIDPARAMETERVALUE_INVALIDRTMPSTREAMNAME = 'InvalidParameterValue.InvalidRTMPStreamName'
|
283
283
|
|
284
|
+
# 无效的录像补录参数
|
285
|
+
INVALIDPARAMETERVALUE_INVALIDREPAIRMODE = 'InvalidParameterValue.InvalidRepairMode'
|
286
|
+
|
284
287
|
# 无效的取回模式
|
285
288
|
INVALIDPARAMETERVALUE_INVALIDRETRIEVALMODE = 'InvalidParameterValue.InvalidRetrievalMode'
|
286
289
|
|
@@ -323,6 +326,9 @@ INVALIDPARAMETERVALUE_INVALIDUSERPARAM = 'InvalidParameterValue.InvalidUserParam
|
|
323
326
|
# 无效的用户名,长度或内容不符合规则
|
324
327
|
INVALIDPARAMETERVALUE_INVALIDUSERNAME = 'InvalidParameterValue.InvalidUsername'
|
325
328
|
|
329
|
+
# 开启录像补录热存不能小于3天
|
330
|
+
INVALIDPARAMETERVALUE_LIMITREPAIRTRANSITION = 'InvalidParameterValue.LimitRepairTransition'
|
331
|
+
|
326
332
|
# 时间不能跨天
|
327
333
|
INVALIDPARAMETERVALUE_NONSAMEDAY = 'InvalidParameterValue.NonSameDay'
|
328
334
|
|
@@ -1664,7 +1664,7 @@ class IssClient(AbstractClient):
|
|
1664
1664
|
|
1665
1665
|
|
1666
1666
|
def RefreshDeviceChannel(self, request):
|
1667
|
-
"""
|
1667
|
+
"""用于同步国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。
|
1668
1668
|
|
1669
1669
|
:param request: Request instance for RefreshDeviceChannel.
|
1670
1670
|
:type request: :class:`tencentcloud.iss.v20230517.models.RefreshDeviceChannelRequest`
|
@@ -1026,7 +1026,7 @@ class AddOrganizationRequest(AbstractModel):
|
|
1026
1026
|
|
1027
1027
|
def __init__(self):
|
1028
1028
|
r"""
|
1029
|
-
:param _Name:
|
1029
|
+
:param _Name: 组织名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复)
|
1030
1030
|
:type Name: str
|
1031
1031
|
:param _ParentId: 组织父节点 ID(从查询组织接口DescribeOrganization中获取,填0代表根组织)
|
1032
1032
|
:type ParentId: str
|
@@ -1634,6 +1634,8 @@ class AddRecordPlanRequest(AbstractModel):
|
|
1634
1634
|
:type Channels: list of ChannelInfo
|
1635
1635
|
:param _OrganizationId: 添加组织目录下所有设备通道,Json数组,可以为空,通道总数量不超过5000个(包括Channel字段的数量)
|
1636
1636
|
:type OrganizationId: list of str
|
1637
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用),无该字段,默认不启用
|
1638
|
+
:type RepairMode: int
|
1637
1639
|
"""
|
1638
1640
|
self._PlanName = None
|
1639
1641
|
self._TemplateId = None
|
@@ -1642,6 +1644,7 @@ class AddRecordPlanRequest(AbstractModel):
|
|
1642
1644
|
self._StreamType = None
|
1643
1645
|
self._Channels = None
|
1644
1646
|
self._OrganizationId = None
|
1647
|
+
self._RepairMode = None
|
1645
1648
|
|
1646
1649
|
@property
|
1647
1650
|
def PlanName(self):
|
@@ -1699,6 +1702,14 @@ class AddRecordPlanRequest(AbstractModel):
|
|
1699
1702
|
def OrganizationId(self, OrganizationId):
|
1700
1703
|
self._OrganizationId = OrganizationId
|
1701
1704
|
|
1705
|
+
@property
|
1706
|
+
def RepairMode(self):
|
1707
|
+
return self._RepairMode
|
1708
|
+
|
1709
|
+
@RepairMode.setter
|
1710
|
+
def RepairMode(self, RepairMode):
|
1711
|
+
self._RepairMode = RepairMode
|
1712
|
+
|
1702
1713
|
|
1703
1714
|
def _deserialize(self, params):
|
1704
1715
|
self._PlanName = params.get("PlanName")
|
@@ -1715,6 +1726,7 @@ class AddRecordPlanRequest(AbstractModel):
|
|
1715
1726
|
obj._deserialize(item)
|
1716
1727
|
self._Channels.append(obj)
|
1717
1728
|
self._OrganizationId = params.get("OrganizationId")
|
1729
|
+
self._RepairMode = params.get("RepairMode")
|
1718
1730
|
memeber_set = set(params.keys())
|
1719
1731
|
for name, value in vars(self).items():
|
1720
1732
|
property_name = name[1:]
|
@@ -1901,7 +1913,7 @@ class AddRecordRetrieveTaskRequest(AbstractModel):
|
|
1901
1913
|
|
1902
1914
|
def __init__(self):
|
1903
1915
|
r"""
|
1904
|
-
:param _TaskName: 任务名称,仅支持中文、英文、数字、_、-,长度不超过32
|
1916
|
+
:param _TaskName: 任务名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,名称全局唯一,不能为空,不能重复
|
1905
1917
|
:type TaskName: str
|
1906
1918
|
:param _StartTime: 取回录像的开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
1907
1919
|
:type StartTime: int
|
@@ -2408,7 +2420,7 @@ class AddUserDeviceRequest(AbstractModel):
|
|
2408
2420
|
|
2409
2421
|
def __init__(self):
|
2410
2422
|
r"""
|
2411
|
-
:param _Name:
|
2423
|
+
:param _Name: 设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)
|
2412
2424
|
:type Name: str
|
2413
2425
|
:param _AccessProtocol: 设备接入协议(1:RTMP,2:GB,3:GW,4:IVCP)
|
2414
2426
|
:type AccessProtocol: int
|
@@ -2420,9 +2432,9 @@ class AddUserDeviceRequest(AbstractModel):
|
|
2420
2432
|
:type ClusterId: str
|
2421
2433
|
:param _TransportProtocol: 设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)
|
2422
2434
|
:type TransportProtocol: int
|
2423
|
-
:param _Password:
|
2435
|
+
:param _Password: 设备密码(国标,网关设备必填,长度为1-64个字符)
|
2424
2436
|
:type Password: str
|
2425
|
-
:param _Description:
|
2437
|
+
:param _Description: 设备描述,长度不超过128个字符
|
2426
2438
|
:type Description: str
|
2427
2439
|
:param _GatewayId: 设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)
|
2428
2440
|
:type GatewayId: str
|
@@ -2436,9 +2448,9 @@ class AddUserDeviceRequest(AbstractModel):
|
|
2436
2448
|
:type Username: str
|
2437
2449
|
:param _SNCode: 设备 SN,仅IVCP 协议设备需要
|
2438
2450
|
:type SNCode: str
|
2439
|
-
:param _AppName: RTMP推流地址自定义AppName(仅RTMP
|
2451
|
+
:param _AppName: RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)
|
2440
2452
|
:type AppName: str
|
2441
|
-
:param _StreamName: RTMP推流地址自定义StreamName(仅RTMP
|
2453
|
+
:param _StreamName: RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)
|
2442
2454
|
:type StreamName: str
|
2443
2455
|
"""
|
2444
2456
|
self._Name = None
|
@@ -2755,7 +2767,7 @@ class BatchOperateDeviceRequest(AbstractModel):
|
|
2755
2767
|
r"""
|
2756
2768
|
:param _DeviceIds: 设备 ID 数组(从获取设备列表接口ListDevices中获取)
|
2757
2769
|
:type DeviceIds: list of str
|
2758
|
-
:param _Cmd: 操作命令(enable:启用;disable:禁用;delete:删除;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)
|
2770
|
+
:param _Cmd: 操作命令(enable:启用;disable:禁用;delete:删除;sync:同步设备通道;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)
|
2759
2771
|
:type Cmd: str
|
2760
2772
|
"""
|
2761
2773
|
self._DeviceIds = None
|
@@ -12577,6 +12589,8 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
12577
12589
|
:type Status: int
|
12578
12590
|
:param _ChannelCount: 通道总数
|
12579
12591
|
:type ChannelCount: int
|
12592
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用)
|
12593
|
+
:type RepairMode: int
|
12580
12594
|
"""
|
12581
12595
|
self._PlanId = None
|
12582
12596
|
self._PlanName = None
|
@@ -12586,6 +12600,7 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
12586
12600
|
self._LifeCycle = None
|
12587
12601
|
self._Status = None
|
12588
12602
|
self._ChannelCount = None
|
12603
|
+
self._RepairMode = None
|
12589
12604
|
|
12590
12605
|
@property
|
12591
12606
|
def PlanId(self):
|
@@ -12651,6 +12666,14 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
12651
12666
|
def ChannelCount(self, ChannelCount):
|
12652
12667
|
self._ChannelCount = ChannelCount
|
12653
12668
|
|
12669
|
+
@property
|
12670
|
+
def RepairMode(self):
|
12671
|
+
return self._RepairMode
|
12672
|
+
|
12673
|
+
@RepairMode.setter
|
12674
|
+
def RepairMode(self, RepairMode):
|
12675
|
+
self._RepairMode = RepairMode
|
12676
|
+
|
12654
12677
|
|
12655
12678
|
def _deserialize(self, params):
|
12656
12679
|
self._PlanId = params.get("PlanId")
|
@@ -12663,6 +12686,7 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
12663
12686
|
self._LifeCycle._deserialize(params.get("LifeCycle"))
|
12664
12687
|
self._Status = params.get("Status")
|
12665
12688
|
self._ChannelCount = params.get("ChannelCount")
|
12689
|
+
self._RepairMode = params.get("RepairMode")
|
12666
12690
|
memeber_set = set(params.keys())
|
12667
12691
|
for name, value in vars(self).items():
|
12668
12692
|
property_name = name[1:]
|
@@ -12693,12 +12717,15 @@ class RecordPlanChannelInfo(AbstractModel):
|
|
12693
12717
|
:param _OrganizationName: 所属组织名称
|
12694
12718
|
注意:此字段可能返回 null,表示取不到有效值。
|
12695
12719
|
:type OrganizationName: str
|
12720
|
+
:param _AccessProtocol: 通道所属设备的接入协议类型
|
12721
|
+
:type AccessProtocol: int
|
12696
12722
|
"""
|
12697
12723
|
self._DeviceId = None
|
12698
12724
|
self._DeviceName = None
|
12699
12725
|
self._ChannelId = None
|
12700
12726
|
self._ChannelName = None
|
12701
12727
|
self._OrganizationName = None
|
12728
|
+
self._AccessProtocol = None
|
12702
12729
|
|
12703
12730
|
@property
|
12704
12731
|
def DeviceId(self):
|
@@ -12740,6 +12767,14 @@ class RecordPlanChannelInfo(AbstractModel):
|
|
12740
12767
|
def OrganizationName(self, OrganizationName):
|
12741
12768
|
self._OrganizationName = OrganizationName
|
12742
12769
|
|
12770
|
+
@property
|
12771
|
+
def AccessProtocol(self):
|
12772
|
+
return self._AccessProtocol
|
12773
|
+
|
12774
|
+
@AccessProtocol.setter
|
12775
|
+
def AccessProtocol(self, AccessProtocol):
|
12776
|
+
self._AccessProtocol = AccessProtocol
|
12777
|
+
|
12743
12778
|
|
12744
12779
|
def _deserialize(self, params):
|
12745
12780
|
self._DeviceId = params.get("DeviceId")
|
@@ -12747,6 +12782,7 @@ class RecordPlanChannelInfo(AbstractModel):
|
|
12747
12782
|
self._ChannelId = params.get("ChannelId")
|
12748
12783
|
self._ChannelName = params.get("ChannelName")
|
12749
12784
|
self._OrganizationName = params.get("OrganizationName")
|
12785
|
+
self._AccessProtocol = params.get("AccessProtocol")
|
12750
12786
|
memeber_set = set(params.keys())
|
12751
12787
|
for name, value in vars(self).items():
|
12752
12788
|
property_name = name[1:]
|
@@ -12778,6 +12814,8 @@ class RecordPlanOptData(AbstractModel):
|
|
12778
12814
|
:param _StreamType: 码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义
|
12779
12815
|
注意:此字段可能返回 null,表示取不到有效值。
|
12780
12816
|
:type StreamType: str
|
12817
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用)
|
12818
|
+
:type RepairMode: int
|
12781
12819
|
"""
|
12782
12820
|
self._PlanId = None
|
12783
12821
|
self._PlanName = None
|
@@ -12785,6 +12823,7 @@ class RecordPlanOptData(AbstractModel):
|
|
12785
12823
|
self._Describe = None
|
12786
12824
|
self._LifeCycle = None
|
12787
12825
|
self._StreamType = None
|
12826
|
+
self._RepairMode = None
|
12788
12827
|
|
12789
12828
|
@property
|
12790
12829
|
def PlanId(self):
|
@@ -12834,6 +12873,14 @@ class RecordPlanOptData(AbstractModel):
|
|
12834
12873
|
def StreamType(self, StreamType):
|
12835
12874
|
self._StreamType = StreamType
|
12836
12875
|
|
12876
|
+
@property
|
12877
|
+
def RepairMode(self):
|
12878
|
+
return self._RepairMode
|
12879
|
+
|
12880
|
+
@RepairMode.setter
|
12881
|
+
def RepairMode(self, RepairMode):
|
12882
|
+
self._RepairMode = RepairMode
|
12883
|
+
|
12837
12884
|
|
12838
12885
|
def _deserialize(self, params):
|
12839
12886
|
self._PlanId = params.get("PlanId")
|
@@ -12844,6 +12891,7 @@ class RecordPlanOptData(AbstractModel):
|
|
12844
12891
|
self._LifeCycle = LifeCycleData()
|
12845
12892
|
self._LifeCycle._deserialize(params.get("LifeCycle"))
|
12846
12893
|
self._StreamType = params.get("StreamType")
|
12894
|
+
self._RepairMode = params.get("RepairMode")
|
12847
12895
|
memeber_set = set(params.keys())
|
12848
12896
|
for name, value in vars(self).items():
|
12849
12897
|
property_name = name[1:]
|
@@ -15143,7 +15191,7 @@ class UpdateOrganizationRequest(AbstractModel):
|
|
15143
15191
|
r"""
|
15144
15192
|
:param _OrganizationId: 组织ID(从查询组织接口DescribeOrganization中获取)
|
15145
15193
|
:type OrganizationId: str
|
15146
|
-
:param _Name:
|
15194
|
+
:param _Name: 组织名称,支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复
|
15147
15195
|
:type Name: str
|
15148
15196
|
"""
|
15149
15197
|
self._OrganizationId = None
|
@@ -15857,6 +15905,8 @@ class UpdateRecordPlanData(AbstractModel):
|
|
15857
15905
|
:type Del: list of str
|
15858
15906
|
:param _OrganizationId: 组织目录ID,添加组织目录下所有设备通道,Json数组,可以为空,并且通道总数量不超过5000个(包括Add字段通道数量)
|
15859
15907
|
:type OrganizationId: list of str
|
15908
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用)
|
15909
|
+
:type RepairMode: int
|
15860
15910
|
"""
|
15861
15911
|
self._PlanName = None
|
15862
15912
|
self._TemplateId = None
|
@@ -15866,6 +15916,7 @@ class UpdateRecordPlanData(AbstractModel):
|
|
15866
15916
|
self._Add = None
|
15867
15917
|
self._Del = None
|
15868
15918
|
self._OrganizationId = None
|
15919
|
+
self._RepairMode = None
|
15869
15920
|
|
15870
15921
|
@property
|
15871
15922
|
def PlanName(self):
|
@@ -15931,6 +15982,14 @@ class UpdateRecordPlanData(AbstractModel):
|
|
15931
15982
|
def OrganizationId(self, OrganizationId):
|
15932
15983
|
self._OrganizationId = OrganizationId
|
15933
15984
|
|
15985
|
+
@property
|
15986
|
+
def RepairMode(self):
|
15987
|
+
return self._RepairMode
|
15988
|
+
|
15989
|
+
@RepairMode.setter
|
15990
|
+
def RepairMode(self, RepairMode):
|
15991
|
+
self._RepairMode = RepairMode
|
15992
|
+
|
15934
15993
|
|
15935
15994
|
def _deserialize(self, params):
|
15936
15995
|
self._PlanName = params.get("PlanName")
|
@@ -15948,6 +16007,7 @@ class UpdateRecordPlanData(AbstractModel):
|
|
15948
16007
|
self._Add.append(obj)
|
15949
16008
|
self._Del = params.get("Del")
|
15950
16009
|
self._OrganizationId = params.get("OrganizationId")
|
16010
|
+
self._RepairMode = params.get("RepairMode")
|
15951
16011
|
memeber_set = set(params.keys())
|
15952
16012
|
for name, value in vars(self).items():
|
15953
16013
|
property_name = name[1:]
|
@@ -16189,13 +16249,13 @@ class UpdateUserDeviceRequest(AbstractModel):
|
|
16189
16249
|
r"""
|
16190
16250
|
:param _DeviceId: 设备ID(从获取设备列表接口ListDevices中获取)
|
16191
16251
|
:type DeviceId: str
|
16192
|
-
:param _Name:
|
16252
|
+
:param _Name: 设备名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位)
|
16193
16253
|
:type Name: str
|
16194
16254
|
:param _TransportProtocol: 设备流传输协议,仅国标设备有效,填0则不做更改(1:UDP,2:TCP)
|
16195
16255
|
:type TransportProtocol: int
|
16196
|
-
:param _Password:
|
16256
|
+
:param _Password: 设备密码(仅国标,网关设备支持,长度不超过 64 位)
|
16197
16257
|
:type Password: str
|
16198
|
-
:param _Description:
|
16258
|
+
:param _Description: 设备描述(长度不超过128位)
|
16199
16259
|
:type Description: str
|
16200
16260
|
:param _Ip: 设备接入Ip(仅网关接入支持)
|
16201
16261
|
:type Ip: str
|
@@ -170,7 +170,7 @@ RESOURCENOTFOUND_NOINVOICE = 'ResourceNotFound.NoInvoice'
|
|
170
170
|
# 不支持当天发票查询。
|
171
171
|
RESOURCENOTFOUND_NOTSUPPORTCURRENTINVOICEQUERY = 'ResourceNotFound.NotSupportCurrentInvoiceQuery'
|
172
172
|
|
173
|
-
#
|
173
|
+
# 账号已欠费。
|
174
174
|
RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
|
175
175
|
|
176
176
|
# 账号资源包耗尽。
|
@@ -1752,7 +1752,7 @@ class RedisClient(AbstractClient):
|
|
1752
1752
|
|
1753
1753
|
|
1754
1754
|
def ModfiyInstancePassword(self, request):
|
1755
|
-
"""本接口(ModfiyInstancePassword
|
1755
|
+
"""本接口(ModfiyInstancePassword)用于修改实例访问密码。鉴于该接口名存在拼写错误,现已更正为([ModifyInstancePassword](https://cloud.tencent.com/document/product/239/111555))接口,推荐使用更正后的接口。
|
1756
1756
|
|
1757
1757
|
:param request: Request instance for ModfiyInstancePassword.
|
1758
1758
|
:type request: :class:`tencentcloud.redis.v20180412.models.ModfiyInstancePasswordRequest`
|
@@ -269,9 +269,6 @@ UNAUTHORIZEDOPERATION_SMSSDKAPPIDVERIFYFAIL = 'UnauthorizedOperation.SmsSdkAppId
|
|
269
269
|
# 操作不支持。
|
270
270
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
271
271
|
|
272
|
-
# 不支持该请求。
|
273
|
-
UNSUPPORTEDOPERATION_ = 'UnsupportedOperation.'
|
274
|
-
|
275
272
|
# 国内短信模板不支持发送国际/港澳台手机号。发送国际/港澳台手机号请使用国际/港澳台短信正文模板。
|
276
273
|
UNSUPPORTEDOPERATION_CHINESEMAINLANDTEMPLATETOGLOBALPHONE = 'UnsupportedOperation.ChineseMainlandTemplateToGlobalPhone'
|
277
274
|
|
@@ -2534,7 +2534,7 @@ class ReportConversionRequest(AbstractModel):
|
|
2534
2534
|
r"""
|
2535
2535
|
:param _SmsSdkAppId: 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
2536
2536
|
:type SmsSdkAppId: str
|
2537
|
-
:param _SerialNo:
|
2537
|
+
:param _SerialNo: 发送短信返回的流水号。对应SendSms接口返回的SendStatusSet参数中的SerialNo字段。
|
2538
2538
|
:type SerialNo: str
|
2539
2539
|
:param _ConversionTime: 用户回填时间,UNIX 时间戳(单位:秒)。
|
2540
2540
|
:type ConversionTime: int
|
@@ -14766,6 +14766,8 @@ class DescribeRestoreTaskRequest(AbstractModel):
|
|
14766
14766
|
:type OrderBy: str
|
14767
14767
|
:param _OrderByType: 排序规则(desc-降序,asc-升序),默认desc
|
14768
14768
|
:type OrderByType: str
|
14769
|
+
:param _FlowId: 回档异步任务ID
|
14770
|
+
:type FlowId: int
|
14769
14771
|
"""
|
14770
14772
|
self._InstanceId = None
|
14771
14773
|
self._StartTime = None
|
@@ -14778,6 +14780,7 @@ class DescribeRestoreTaskRequest(AbstractModel):
|
|
14778
14780
|
self._Limit = None
|
14779
14781
|
self._OrderBy = None
|
14780
14782
|
self._OrderByType = None
|
14783
|
+
self._FlowId = None
|
14781
14784
|
|
14782
14785
|
@property
|
14783
14786
|
def InstanceId(self):
|
@@ -14867,6 +14870,14 @@ class DescribeRestoreTaskRequest(AbstractModel):
|
|
14867
14870
|
def OrderByType(self, OrderByType):
|
14868
14871
|
self._OrderByType = OrderByType
|
14869
14872
|
|
14873
|
+
@property
|
14874
|
+
def FlowId(self):
|
14875
|
+
return self._FlowId
|
14876
|
+
|
14877
|
+
@FlowId.setter
|
14878
|
+
def FlowId(self, FlowId):
|
14879
|
+
self._FlowId = FlowId
|
14880
|
+
|
14870
14881
|
|
14871
14882
|
def _deserialize(self, params):
|
14872
14883
|
self._InstanceId = params.get("InstanceId")
|
@@ -14880,6 +14891,7 @@ class DescribeRestoreTaskRequest(AbstractModel):
|
|
14880
14891
|
self._Limit = params.get("Limit")
|
14881
14892
|
self._OrderBy = params.get("OrderBy")
|
14882
14893
|
self._OrderByType = params.get("OrderByType")
|
14894
|
+
self._FlowId = params.get("FlowId")
|
14883
14895
|
memeber_set = set(params.keys())
|
14884
14896
|
for name, value in vars(self).items():
|
14885
14897
|
property_name = name[1:]
|
@@ -23841,6 +23853,8 @@ class RestoreTask(AbstractModel):
|
|
23841
23853
|
:type EndTime: str
|
23842
23854
|
:param _Status: 回档状态,0-初始化,1-运行中,2-成功,3-失败
|
23843
23855
|
:type Status: int
|
23856
|
+
:param _FlowId: 回档异步任务ID
|
23857
|
+
:type FlowId: int
|
23844
23858
|
"""
|
23845
23859
|
self._TargetInstanceId = None
|
23846
23860
|
self._TargetInstanceName = None
|
@@ -23853,6 +23867,7 @@ class RestoreTask(AbstractModel):
|
|
23853
23867
|
self._StartTime = None
|
23854
23868
|
self._EndTime = None
|
23855
23869
|
self._Status = None
|
23870
|
+
self._FlowId = None
|
23856
23871
|
|
23857
23872
|
@property
|
23858
23873
|
def TargetInstanceId(self):
|
@@ -23942,6 +23957,14 @@ class RestoreTask(AbstractModel):
|
|
23942
23957
|
def Status(self, Status):
|
23943
23958
|
self._Status = Status
|
23944
23959
|
|
23960
|
+
@property
|
23961
|
+
def FlowId(self):
|
23962
|
+
return self._FlowId
|
23963
|
+
|
23964
|
+
@FlowId.setter
|
23965
|
+
def FlowId(self, FlowId):
|
23966
|
+
self._FlowId = FlowId
|
23967
|
+
|
23945
23968
|
|
23946
23969
|
def _deserialize(self, params):
|
23947
23970
|
self._TargetInstanceId = params.get("TargetInstanceId")
|
@@ -23955,6 +23978,7 @@ class RestoreTask(AbstractModel):
|
|
23955
23978
|
self._StartTime = params.get("StartTime")
|
23956
23979
|
self._EndTime = params.get("EndTime")
|
23957
23980
|
self._Status = params.get("Status")
|
23981
|
+
self._FlowId = params.get("FlowId")
|
23958
23982
|
memeber_set = set(params.keys())
|
23959
23983
|
for name, value in vars(self).items():
|
23960
23984
|
property_name = name[1:]
|
@@ -830,7 +830,7 @@ class QueryApiKeyRequest(AbstractModel):
|
|
830
830
|
|
831
831
|
def __init__(self):
|
832
832
|
r"""
|
833
|
-
:param _TargetUin: 待查询的账号(不填默认查当前账号)
|
833
|
+
:param _TargetUin: 待查询的账号uin(不填默认查当前账号uin)
|
834
834
|
:type TargetUin: int
|
835
835
|
"""
|
836
836
|
self._TargetUin = None
|
@@ -863,7 +863,7 @@ class QueryApiKeyResponse(AbstractModel):
|
|
863
863
|
|
864
864
|
def __init__(self):
|
865
865
|
r"""
|
866
|
-
:param _IdKeys: 密钥ID
|
866
|
+
:param _IdKeys: 密钥ID列表。
|
867
867
|
:type IdKeys: list of ApiKey
|
868
868
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
869
869
|
:type RequestId: str
|