tencentcloud-sdk-python 3.1.196__py2.py3-none-any.whl → 3.1.197__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/adp/v20260520/models.py +38 -8
- tencentcloud/ags/v20250920/models.py +2 -2
- tencentcloud/asr/v20190614/models.py +34 -4
- tencentcloud/cfg/v20210820/cfg_client.py +69 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +54 -0
- tencentcloud/cfg/v20210820/models.py +505 -0
- tencentcloud/ctem/v20231128/models.py +300 -0
- tencentcloud/databuddy/v20260715/databuddy_client.py +74 -0
- tencentcloud/databuddy/v20260715/databuddy_client_async.py +59 -0
- tencentcloud/databuddy/v20260715/errorcodes.py +19 -1
- tencentcloud/databuddy/v20260715/models.py +471 -0
- tencentcloud/dbdc/v20201029/dbdc_client.py +139 -0
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +109 -0
- tencentcloud/dbdc/v20201029/models.py +648 -40
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/ess/v20201111/ess_client_async.py +1 -1
- tencentcloud/ess/v20201111/models.py +61 -14
- tencentcloud/goosefs/v20220519/goosefs_client.py +92 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +72 -0
- tencentcloud/goosefs/v20220519/models.py +658 -1
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -207
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +0 -162
- tencentcloud/iotexplorer/v20190423/models.py +186 -2746
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/tts/v20190823/models.py +15 -0
- tencentcloud/waf/v20180125/models.py +64 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/waf/v20180125/waf_client_async.py +18 -0
- {tencentcloud_sdk_python-3.1.196.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.196.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/RECORD +34 -34
- {tencentcloud_sdk_python-3.1.196.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.196.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.196.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -44567,23 +44567,29 @@ class Space(AbstractModel):
|
|
|
44567
44567
|
|
|
44568
44568
|
def __init__(self):
|
|
44569
44569
|
r"""
|
|
44570
|
-
:param _SpaceId:
|
|
44570
|
+
:param _SpaceId: <p>空间id</p>
|
|
44571
44571
|
:type SpaceId: str
|
|
44572
|
-
:param _Name:
|
|
44572
|
+
:param _Name: <p>空间名称</p>
|
|
44573
44573
|
:type Name: str
|
|
44574
|
-
:param _Description:
|
|
44574
|
+
:param _Description: <p>空间描述</p>
|
|
44575
44575
|
:type Description: str
|
|
44576
|
-
:param _PermissionIdList:
|
|
44576
|
+
:param _PermissionIdList: <p>空间权限</p>
|
|
44577
44577
|
:type PermissionIdList: list of str
|
|
44578
|
+
:param _CreateTime: <p>创建时间</p><p>参数格式:秒时间戳</p>
|
|
44579
|
+
:type CreateTime: str
|
|
44580
|
+
:param _UpdateTime: <p>更新时间</p><p>参数格式:秒时间戳</p>
|
|
44581
|
+
:type UpdateTime: str
|
|
44578
44582
|
"""
|
|
44579
44583
|
self._SpaceId = None
|
|
44580
44584
|
self._Name = None
|
|
44581
44585
|
self._Description = None
|
|
44582
44586
|
self._PermissionIdList = None
|
|
44587
|
+
self._CreateTime = None
|
|
44588
|
+
self._UpdateTime = None
|
|
44583
44589
|
|
|
44584
44590
|
@property
|
|
44585
44591
|
def SpaceId(self):
|
|
44586
|
-
r"""
|
|
44592
|
+
r"""<p>空间id</p>
|
|
44587
44593
|
:rtype: str
|
|
44588
44594
|
"""
|
|
44589
44595
|
return self._SpaceId
|
|
@@ -44594,7 +44600,7 @@ class Space(AbstractModel):
|
|
|
44594
44600
|
|
|
44595
44601
|
@property
|
|
44596
44602
|
def Name(self):
|
|
44597
|
-
r"""
|
|
44603
|
+
r"""<p>空间名称</p>
|
|
44598
44604
|
:rtype: str
|
|
44599
44605
|
"""
|
|
44600
44606
|
return self._Name
|
|
@@ -44605,7 +44611,7 @@ class Space(AbstractModel):
|
|
|
44605
44611
|
|
|
44606
44612
|
@property
|
|
44607
44613
|
def Description(self):
|
|
44608
|
-
r"""
|
|
44614
|
+
r"""<p>空间描述</p>
|
|
44609
44615
|
:rtype: str
|
|
44610
44616
|
"""
|
|
44611
44617
|
return self._Description
|
|
@@ -44616,7 +44622,7 @@ class Space(AbstractModel):
|
|
|
44616
44622
|
|
|
44617
44623
|
@property
|
|
44618
44624
|
def PermissionIdList(self):
|
|
44619
|
-
r"""
|
|
44625
|
+
r"""<p>空间权限</p>
|
|
44620
44626
|
:rtype: list of str
|
|
44621
44627
|
"""
|
|
44622
44628
|
return self._PermissionIdList
|
|
@@ -44625,12 +44631,36 @@ class Space(AbstractModel):
|
|
|
44625
44631
|
def PermissionIdList(self, PermissionIdList):
|
|
44626
44632
|
self._PermissionIdList = PermissionIdList
|
|
44627
44633
|
|
|
44634
|
+
@property
|
|
44635
|
+
def CreateTime(self):
|
|
44636
|
+
r"""<p>创建时间</p><p>参数格式:秒时间戳</p>
|
|
44637
|
+
:rtype: str
|
|
44638
|
+
"""
|
|
44639
|
+
return self._CreateTime
|
|
44640
|
+
|
|
44641
|
+
@CreateTime.setter
|
|
44642
|
+
def CreateTime(self, CreateTime):
|
|
44643
|
+
self._CreateTime = CreateTime
|
|
44644
|
+
|
|
44645
|
+
@property
|
|
44646
|
+
def UpdateTime(self):
|
|
44647
|
+
r"""<p>更新时间</p><p>参数格式:秒时间戳</p>
|
|
44648
|
+
:rtype: str
|
|
44649
|
+
"""
|
|
44650
|
+
return self._UpdateTime
|
|
44651
|
+
|
|
44652
|
+
@UpdateTime.setter
|
|
44653
|
+
def UpdateTime(self, UpdateTime):
|
|
44654
|
+
self._UpdateTime = UpdateTime
|
|
44655
|
+
|
|
44628
44656
|
|
|
44629
44657
|
def _deserialize(self, params):
|
|
44630
44658
|
self._SpaceId = params.get("SpaceId")
|
|
44631
44659
|
self._Name = params.get("Name")
|
|
44632
44660
|
self._Description = params.get("Description")
|
|
44633
44661
|
self._PermissionIdList = params.get("PermissionIdList")
|
|
44662
|
+
self._CreateTime = params.get("CreateTime")
|
|
44663
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
44634
44664
|
memeber_set = set(params.keys())
|
|
44635
44665
|
for name, value in vars(self).items():
|
|
44636
44666
|
property_name = name[1:]
|
|
@@ -8230,7 +8230,7 @@ class DescribeSandboxToolListRequest(AbstractModel):
|
|
|
8230
8230
|
:type Offset: int
|
|
8231
8231
|
:param _Limit: 返回数量,默认为20,最大值为100
|
|
8232
8232
|
:type Limit: int
|
|
8233
|
-
:param _Filters:
|
|
8233
|
+
:param _Filters: 过滤条件。支持 access-policy-id 按关联的访问策略 ID 反向查询;其他过滤条件沿用沙箱工具列表接口约定。
|
|
8234
8234
|
:type Filters: list of Filter
|
|
8235
8235
|
"""
|
|
8236
8236
|
self._ToolIds = None
|
|
@@ -8273,7 +8273,7 @@ class DescribeSandboxToolListRequest(AbstractModel):
|
|
|
8273
8273
|
|
|
8274
8274
|
@property
|
|
8275
8275
|
def Filters(self):
|
|
8276
|
-
r"""
|
|
8276
|
+
r"""过滤条件。支持 access-policy-id 按关联的访问策略 ID 反向查询;其他过滤条件沿用沙箱工具列表接口约定。
|
|
8277
8277
|
:rtype: list of Filter
|
|
8278
8278
|
"""
|
|
8279
8279
|
return self._Filters
|
|
@@ -4229,17 +4229,23 @@ class SpeakerRoleInfo(AbstractModel):
|
|
|
4229
4229
|
|
|
4230
4230
|
def __init__(self):
|
|
4231
4231
|
r"""
|
|
4232
|
-
:param _RoleAudioUrl:
|
|
4232
|
+
:param _RoleAudioUrl: <p>音频url地址,建议不超过30秒,最大45秒</p>
|
|
4233
4233
|
:type RoleAudioUrl: str
|
|
4234
|
-
:param _RoleName:
|
|
4234
|
+
:param _RoleName: <p>不超过30字节</p>
|
|
4235
4235
|
:type RoleName: str
|
|
4236
|
+
:param _VoicePrintId: <p>声纹 ID(V2 版本使用),注意:</p><ul><li>传入未注册或不属于本 AppId 的声纹 ID,该 ID 会被跳过(不报错,相当于没有传入这个说话人信息)</li></ul>
|
|
4237
|
+
:type VoicePrintId: str
|
|
4238
|
+
:param _SpeakerNick: <p>角色昵称(V2 版本使用),注意:</p><ul><li>传空字符串或者不传入则使用声纹注册时指定的角色名</li><li>否则将覆盖声纹注册时指定的角色名</li><li>角色名不超过 30 字节,仅支持字母、数字、下划线和中文。</li><li>这里指定的角色名只影响本次识别,不影响声纹库中注册的角色名</li></ul>
|
|
4239
|
+
:type SpeakerNick: str
|
|
4236
4240
|
"""
|
|
4237
4241
|
self._RoleAudioUrl = None
|
|
4238
4242
|
self._RoleName = None
|
|
4243
|
+
self._VoicePrintId = None
|
|
4244
|
+
self._SpeakerNick = None
|
|
4239
4245
|
|
|
4240
4246
|
@property
|
|
4241
4247
|
def RoleAudioUrl(self):
|
|
4242
|
-
r"""
|
|
4248
|
+
r"""<p>音频url地址,建议不超过30秒,最大45秒</p>
|
|
4243
4249
|
:rtype: str
|
|
4244
4250
|
"""
|
|
4245
4251
|
return self._RoleAudioUrl
|
|
@@ -4250,7 +4256,7 @@ class SpeakerRoleInfo(AbstractModel):
|
|
|
4250
4256
|
|
|
4251
4257
|
@property
|
|
4252
4258
|
def RoleName(self):
|
|
4253
|
-
r"""
|
|
4259
|
+
r"""<p>不超过30字节</p>
|
|
4254
4260
|
:rtype: str
|
|
4255
4261
|
"""
|
|
4256
4262
|
return self._RoleName
|
|
@@ -4259,10 +4265,34 @@ class SpeakerRoleInfo(AbstractModel):
|
|
|
4259
4265
|
def RoleName(self, RoleName):
|
|
4260
4266
|
self._RoleName = RoleName
|
|
4261
4267
|
|
|
4268
|
+
@property
|
|
4269
|
+
def VoicePrintId(self):
|
|
4270
|
+
r"""<p>声纹 ID(V2 版本使用),注意:</p><ul><li>传入未注册或不属于本 AppId 的声纹 ID,该 ID 会被跳过(不报错,相当于没有传入这个说话人信息)</li></ul>
|
|
4271
|
+
:rtype: str
|
|
4272
|
+
"""
|
|
4273
|
+
return self._VoicePrintId
|
|
4274
|
+
|
|
4275
|
+
@VoicePrintId.setter
|
|
4276
|
+
def VoicePrintId(self, VoicePrintId):
|
|
4277
|
+
self._VoicePrintId = VoicePrintId
|
|
4278
|
+
|
|
4279
|
+
@property
|
|
4280
|
+
def SpeakerNick(self):
|
|
4281
|
+
r"""<p>角色昵称(V2 版本使用),注意:</p><ul><li>传空字符串或者不传入则使用声纹注册时指定的角色名</li><li>否则将覆盖声纹注册时指定的角色名</li><li>角色名不超过 30 字节,仅支持字母、数字、下划线和中文。</li><li>这里指定的角色名只影响本次识别,不影响声纹库中注册的角色名</li></ul>
|
|
4282
|
+
:rtype: str
|
|
4283
|
+
"""
|
|
4284
|
+
return self._SpeakerNick
|
|
4285
|
+
|
|
4286
|
+
@SpeakerNick.setter
|
|
4287
|
+
def SpeakerNick(self, SpeakerNick):
|
|
4288
|
+
self._SpeakerNick = SpeakerNick
|
|
4289
|
+
|
|
4262
4290
|
|
|
4263
4291
|
def _deserialize(self, params):
|
|
4264
4292
|
self._RoleAudioUrl = params.get("RoleAudioUrl")
|
|
4265
4293
|
self._RoleName = params.get("RoleName")
|
|
4294
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
|
4295
|
+
self._SpeakerNick = params.get("SpeakerNick")
|
|
4266
4296
|
memeber_set = set(params.keys())
|
|
4267
4297
|
for name, value in vars(self).items():
|
|
4268
4298
|
property_name = name[1:]
|
|
@@ -164,6 +164,29 @@ class CfgClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def DescribeInstanceAgentList(self, request):
|
|
168
|
+
r"""查询探针列表,换为OTeam探针版本
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for DescribeInstanceAgentList.
|
|
171
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.DescribeInstanceAgentListRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.DescribeInstanceAgentListResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("DescribeInstanceAgentList", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.DescribeInstanceAgentListResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def DescribeObjectTypeList(self, request):
|
|
168
191
|
r"""查询对象类型列表
|
|
169
192
|
|
|
@@ -371,6 +394,29 @@ class CfgClient(AbstractClient):
|
|
|
371
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
395
|
|
|
373
396
|
|
|
397
|
+
def InstallAgentOpenApi(self, request):
|
|
398
|
+
r"""安装探针接口
|
|
399
|
+
|
|
400
|
+
:param request: Request instance for InstallAgentOpenApi.
|
|
401
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.InstallAgentOpenApiRequest`
|
|
402
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.InstallAgentOpenApiResponse`
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
try:
|
|
406
|
+
params = request._serialize()
|
|
407
|
+
headers = request.headers
|
|
408
|
+
body = self.call("InstallAgentOpenApi", params, headers=headers)
|
|
409
|
+
response = json.loads(body)
|
|
410
|
+
model = models.InstallAgentOpenApiResponse()
|
|
411
|
+
model._deserialize(response["Response"])
|
|
412
|
+
return model
|
|
413
|
+
except Exception as e:
|
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
|
415
|
+
raise
|
|
416
|
+
else:
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
|
+
|
|
419
|
+
|
|
374
420
|
def ModifyTaskRunStatus(self, request):
|
|
375
421
|
r"""修改任务运行状态
|
|
376
422
|
|
|
@@ -410,6 +456,29 @@ class CfgClient(AbstractClient):
|
|
|
410
456
|
model = models.TriggerPolicyResponse()
|
|
411
457
|
model._deserialize(response["Response"])
|
|
412
458
|
return model
|
|
459
|
+
except Exception as e:
|
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
|
461
|
+
raise
|
|
462
|
+
else:
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
def UninstallAgentOpenApi(self, request):
|
|
467
|
+
r"""卸载探针
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for UninstallAgentOpenApi.
|
|
470
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.UninstallAgentOpenApiRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.UninstallAgentOpenApiResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("UninstallAgentOpenApi", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.UninstallAgentOpenApiResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
413
482
|
except Exception as e:
|
|
414
483
|
if isinstance(e, TencentCloudSDKException):
|
|
415
484
|
raise
|
|
@@ -133,6 +133,24 @@ class CfgClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def DescribeInstanceAgentList(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeInstanceAgentListRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeInstanceAgentListResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询探针列表,换为OTeam探针版本
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeInstanceAgentList"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeInstanceAgentListResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def DescribeObjectTypeList(
|
|
137
155
|
self,
|
|
138
156
|
request: models.DescribeObjectTypeListRequest,
|
|
@@ -295,6 +313,24 @@ class CfgClient(AbstractClient):
|
|
|
295
313
|
|
|
296
314
|
return await self.call_and_deserialize(**kwargs)
|
|
297
315
|
|
|
316
|
+
async def InstallAgentOpenApi(
|
|
317
|
+
self,
|
|
318
|
+
request: models.InstallAgentOpenApiRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.InstallAgentOpenApiResponse:
|
|
321
|
+
"""
|
|
322
|
+
安装探针接口
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "InstallAgentOpenApi"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.InstallAgentOpenApiResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
298
334
|
async def ModifyTaskRunStatus(
|
|
299
335
|
self,
|
|
300
336
|
request: models.ModifyTaskRunStatusRequest,
|
|
@@ -329,4 +365,22 @@ class CfgClient(AbstractClient):
|
|
|
329
365
|
kwargs["headers"] = request.headers
|
|
330
366
|
kwargs["opts"] = opts or {}
|
|
331
367
|
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def UninstallAgentOpenApi(
|
|
371
|
+
self,
|
|
372
|
+
request: models.UninstallAgentOpenApiRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.UninstallAgentOpenApiResponse:
|
|
375
|
+
"""
|
|
376
|
+
卸载探针
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "UninstallAgentOpenApi"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.UninstallAgentOpenApiResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
332
386
|
return await self.call_and_deserialize(**kwargs)
|