tencentcloud-sdk-python 3.0.1405__py2.py3-none-any.whl → 3.0.1406__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +4 -4
- tencentcloud/captcha/v20190722/models.py +15 -0
- tencentcloud/cdb/v20170320/models.py +2 -0
- tencentcloud/cdwdoris/v20211228/models.py +4 -4
- tencentcloud/cfw/v20190904/models.py +15 -0
- tencentcloud/cme/v20191029/cme_client.py +13 -13
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/es/v20250101/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -0
- tencentcloud/ess/v20201111/models.py +31 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -0
- tencentcloud/essbasic/v20210526/models.py +15 -0
- tencentcloud/gs/v20191118/models.py +17 -2
- tencentcloud/lighthouse/v20200324/errorcodes.py +21 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +29 -0
- tencentcloud/lighthouse/v20200324/models.py +79 -0
- tencentcloud/lke/v20231130/lke_client.py +46 -0
- tencentcloud/lke/v20231130/models.py +248 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +8 -4
- tencentcloud/mps/v20190612/models.py +202 -2
- tencentcloud/tdmq/v20200217/models.py +247 -33
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/tiia/v20190529/models.py +0 -262
- tencentcloud/tiia/v20190529/tiia_client.py +0 -26
- tencentcloud/tione/v20211111/models.py +348 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/tke/v20180525/errorcodes.py +1 -1
- tencentcloud/tke/v20220501/errorcodes.py +1 -1
- tencentcloud/trocket/v20230308/models.py +276 -2
- tencentcloud/trocket/v20230308/trocket_client.py +27 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +8 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/top_level.txt +0 -0
@@ -2409,268 +2409,6 @@ class DetectEnvelopeResponse(AbstractModel):
|
|
2409
2409
|
self._RequestId = params.get("RequestId")
|
2410
2410
|
|
2411
2411
|
|
2412
|
-
class DetectLabelBetaRequest(AbstractModel):
|
2413
|
-
"""DetectLabelBeta请求参数结构体
|
2414
|
-
|
2415
|
-
"""
|
2416
|
-
|
2417
|
-
def __init__(self):
|
2418
|
-
r"""
|
2419
|
-
:param _ImageUrl: 图片URL地址。
|
2420
|
-
图片限制:
|
2421
|
-
• 图片格式:PNG、JPG、JPEG。
|
2422
|
-
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
2423
|
-
建议:
|
2424
|
-
• 图片像素:大于50*50像素,否则影响识别效果;
|
2425
|
-
• 长宽比:长边:短边<5;
|
2426
|
-
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
2427
|
-
:type ImageUrl: str
|
2428
|
-
:param _ImageBase64: 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
|
2429
|
-
**注意:图片需要base64编码,并且要去掉编码头部。**
|
2430
|
-
:type ImageBase64: str
|
2431
|
-
:param _Scenes: 本次调用支持的识别场景,可选值如下:
|
2432
|
-
WEB,针对网络图片优化;
|
2433
|
-
CAMERA,针对手机摄像头拍摄图片优化;
|
2434
|
-
ALBUM,针对手机相册、网盘产品优化;
|
2435
|
-
NEWS,针对新闻、资讯、广电等行业优化;
|
2436
|
-
NONECAM,非实拍图;
|
2437
|
-
LOCATION,主体位置识别;
|
2438
|
-
如果不传此参数,则默认为WEB。
|
2439
|
-
|
2440
|
-
支持多场景(Scenes)一起检测。例如,使用 Scenes=["WEB", "CAMERA"],即对一张图片使用两个模型同时检测,输出两套识别结果。
|
2441
|
-
:type Scenes: list of str
|
2442
|
-
"""
|
2443
|
-
self._ImageUrl = None
|
2444
|
-
self._ImageBase64 = None
|
2445
|
-
self._Scenes = None
|
2446
|
-
|
2447
|
-
@property
|
2448
|
-
def ImageUrl(self):
|
2449
|
-
"""图片URL地址。
|
2450
|
-
图片限制:
|
2451
|
-
• 图片格式:PNG、JPG、JPEG。
|
2452
|
-
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
2453
|
-
建议:
|
2454
|
-
• 图片像素:大于50*50像素,否则影响识别效果;
|
2455
|
-
• 长宽比:长边:短边<5;
|
2456
|
-
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
2457
|
-
:rtype: str
|
2458
|
-
"""
|
2459
|
-
return self._ImageUrl
|
2460
|
-
|
2461
|
-
@ImageUrl.setter
|
2462
|
-
def ImageUrl(self, ImageUrl):
|
2463
|
-
self._ImageUrl = ImageUrl
|
2464
|
-
|
2465
|
-
@property
|
2466
|
-
def ImageBase64(self):
|
2467
|
-
"""图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
|
2468
|
-
**注意:图片需要base64编码,并且要去掉编码头部。**
|
2469
|
-
:rtype: str
|
2470
|
-
"""
|
2471
|
-
return self._ImageBase64
|
2472
|
-
|
2473
|
-
@ImageBase64.setter
|
2474
|
-
def ImageBase64(self, ImageBase64):
|
2475
|
-
self._ImageBase64 = ImageBase64
|
2476
|
-
|
2477
|
-
@property
|
2478
|
-
def Scenes(self):
|
2479
|
-
"""本次调用支持的识别场景,可选值如下:
|
2480
|
-
WEB,针对网络图片优化;
|
2481
|
-
CAMERA,针对手机摄像头拍摄图片优化;
|
2482
|
-
ALBUM,针对手机相册、网盘产品优化;
|
2483
|
-
NEWS,针对新闻、资讯、广电等行业优化;
|
2484
|
-
NONECAM,非实拍图;
|
2485
|
-
LOCATION,主体位置识别;
|
2486
|
-
如果不传此参数,则默认为WEB。
|
2487
|
-
|
2488
|
-
支持多场景(Scenes)一起检测。例如,使用 Scenes=["WEB", "CAMERA"],即对一张图片使用两个模型同时检测,输出两套识别结果。
|
2489
|
-
:rtype: list of str
|
2490
|
-
"""
|
2491
|
-
return self._Scenes
|
2492
|
-
|
2493
|
-
@Scenes.setter
|
2494
|
-
def Scenes(self, Scenes):
|
2495
|
-
self._Scenes = Scenes
|
2496
|
-
|
2497
|
-
|
2498
|
-
def _deserialize(self, params):
|
2499
|
-
self._ImageUrl = params.get("ImageUrl")
|
2500
|
-
self._ImageBase64 = params.get("ImageBase64")
|
2501
|
-
self._Scenes = params.get("Scenes")
|
2502
|
-
memeber_set = set(params.keys())
|
2503
|
-
for name, value in vars(self).items():
|
2504
|
-
property_name = name[1:]
|
2505
|
-
if property_name in memeber_set:
|
2506
|
-
memeber_set.remove(property_name)
|
2507
|
-
if len(memeber_set) > 0:
|
2508
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2509
|
-
|
2510
|
-
|
2511
|
-
|
2512
|
-
class DetectLabelBetaResponse(AbstractModel):
|
2513
|
-
"""DetectLabelBeta返回参数结构体
|
2514
|
-
|
2515
|
-
"""
|
2516
|
-
|
2517
|
-
def __init__(self):
|
2518
|
-
r"""
|
2519
|
-
:param _Labels: Web网络版标签结果数组。如未选择WEB场景,则为空。
|
2520
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2521
|
-
:type Labels: list of DetectLabelItem
|
2522
|
-
:param _CameraLabels: Camera摄像头版标签结果数组。如未选择CAMERA场景,则为空。
|
2523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
-
:type CameraLabels: list of DetectLabelItem
|
2525
|
-
:param _AlbumLabels: Album相册版标签结果数组。如未选择ALBUM场景,则为空。
|
2526
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2527
|
-
:type AlbumLabels: list of DetectLabelItem
|
2528
|
-
:param _NewsLabels: News新闻版标签结果数组。如未选择NEWS场景,则为空。
|
2529
|
-
新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。
|
2530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2531
|
-
:type NewsLabels: list of DetectLabelItem
|
2532
|
-
:param _NoneCamLabels: 非实拍标签
|
2533
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2534
|
-
:type NoneCamLabels: list of DetectLabelItem
|
2535
|
-
:param _LocationLabels: 识别结果
|
2536
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2537
|
-
:type LocationLabels: list of Product
|
2538
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2539
|
-
:type RequestId: str
|
2540
|
-
"""
|
2541
|
-
self._Labels = None
|
2542
|
-
self._CameraLabels = None
|
2543
|
-
self._AlbumLabels = None
|
2544
|
-
self._NewsLabels = None
|
2545
|
-
self._NoneCamLabels = None
|
2546
|
-
self._LocationLabels = None
|
2547
|
-
self._RequestId = None
|
2548
|
-
|
2549
|
-
@property
|
2550
|
-
def Labels(self):
|
2551
|
-
"""Web网络版标签结果数组。如未选择WEB场景,则为空。
|
2552
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2553
|
-
:rtype: list of DetectLabelItem
|
2554
|
-
"""
|
2555
|
-
return self._Labels
|
2556
|
-
|
2557
|
-
@Labels.setter
|
2558
|
-
def Labels(self, Labels):
|
2559
|
-
self._Labels = Labels
|
2560
|
-
|
2561
|
-
@property
|
2562
|
-
def CameraLabels(self):
|
2563
|
-
"""Camera摄像头版标签结果数组。如未选择CAMERA场景,则为空。
|
2564
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2565
|
-
:rtype: list of DetectLabelItem
|
2566
|
-
"""
|
2567
|
-
return self._CameraLabels
|
2568
|
-
|
2569
|
-
@CameraLabels.setter
|
2570
|
-
def CameraLabels(self, CameraLabels):
|
2571
|
-
self._CameraLabels = CameraLabels
|
2572
|
-
|
2573
|
-
@property
|
2574
|
-
def AlbumLabels(self):
|
2575
|
-
"""Album相册版标签结果数组。如未选择ALBUM场景,则为空。
|
2576
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2577
|
-
:rtype: list of DetectLabelItem
|
2578
|
-
"""
|
2579
|
-
return self._AlbumLabels
|
2580
|
-
|
2581
|
-
@AlbumLabels.setter
|
2582
|
-
def AlbumLabels(self, AlbumLabels):
|
2583
|
-
self._AlbumLabels = AlbumLabels
|
2584
|
-
|
2585
|
-
@property
|
2586
|
-
def NewsLabels(self):
|
2587
|
-
"""News新闻版标签结果数组。如未选择NEWS场景,则为空。
|
2588
|
-
新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。
|
2589
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2590
|
-
:rtype: list of DetectLabelItem
|
2591
|
-
"""
|
2592
|
-
return self._NewsLabels
|
2593
|
-
|
2594
|
-
@NewsLabels.setter
|
2595
|
-
def NewsLabels(self, NewsLabels):
|
2596
|
-
self._NewsLabels = NewsLabels
|
2597
|
-
|
2598
|
-
@property
|
2599
|
-
def NoneCamLabels(self):
|
2600
|
-
"""非实拍标签
|
2601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2602
|
-
:rtype: list of DetectLabelItem
|
2603
|
-
"""
|
2604
|
-
return self._NoneCamLabels
|
2605
|
-
|
2606
|
-
@NoneCamLabels.setter
|
2607
|
-
def NoneCamLabels(self, NoneCamLabels):
|
2608
|
-
self._NoneCamLabels = NoneCamLabels
|
2609
|
-
|
2610
|
-
@property
|
2611
|
-
def LocationLabels(self):
|
2612
|
-
"""识别结果
|
2613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2614
|
-
:rtype: list of Product
|
2615
|
-
"""
|
2616
|
-
return self._LocationLabels
|
2617
|
-
|
2618
|
-
@LocationLabels.setter
|
2619
|
-
def LocationLabels(self, LocationLabels):
|
2620
|
-
self._LocationLabels = LocationLabels
|
2621
|
-
|
2622
|
-
@property
|
2623
|
-
def RequestId(self):
|
2624
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2625
|
-
:rtype: str
|
2626
|
-
"""
|
2627
|
-
return self._RequestId
|
2628
|
-
|
2629
|
-
@RequestId.setter
|
2630
|
-
def RequestId(self, RequestId):
|
2631
|
-
self._RequestId = RequestId
|
2632
|
-
|
2633
|
-
|
2634
|
-
def _deserialize(self, params):
|
2635
|
-
if params.get("Labels") is not None:
|
2636
|
-
self._Labels = []
|
2637
|
-
for item in params.get("Labels"):
|
2638
|
-
obj = DetectLabelItem()
|
2639
|
-
obj._deserialize(item)
|
2640
|
-
self._Labels.append(obj)
|
2641
|
-
if params.get("CameraLabels") is not None:
|
2642
|
-
self._CameraLabels = []
|
2643
|
-
for item in params.get("CameraLabels"):
|
2644
|
-
obj = DetectLabelItem()
|
2645
|
-
obj._deserialize(item)
|
2646
|
-
self._CameraLabels.append(obj)
|
2647
|
-
if params.get("AlbumLabels") is not None:
|
2648
|
-
self._AlbumLabels = []
|
2649
|
-
for item in params.get("AlbumLabels"):
|
2650
|
-
obj = DetectLabelItem()
|
2651
|
-
obj._deserialize(item)
|
2652
|
-
self._AlbumLabels.append(obj)
|
2653
|
-
if params.get("NewsLabels") is not None:
|
2654
|
-
self._NewsLabels = []
|
2655
|
-
for item in params.get("NewsLabels"):
|
2656
|
-
obj = DetectLabelItem()
|
2657
|
-
obj._deserialize(item)
|
2658
|
-
self._NewsLabels.append(obj)
|
2659
|
-
if params.get("NoneCamLabels") is not None:
|
2660
|
-
self._NoneCamLabels = []
|
2661
|
-
for item in params.get("NoneCamLabels"):
|
2662
|
-
obj = DetectLabelItem()
|
2663
|
-
obj._deserialize(item)
|
2664
|
-
self._NoneCamLabels.append(obj)
|
2665
|
-
if params.get("LocationLabels") is not None:
|
2666
|
-
self._LocationLabels = []
|
2667
|
-
for item in params.get("LocationLabels"):
|
2668
|
-
obj = Product()
|
2669
|
-
obj._deserialize(item)
|
2670
|
-
self._LocationLabels.append(obj)
|
2671
|
-
self._RequestId = params.get("RequestId")
|
2672
|
-
|
2673
|
-
|
2674
2412
|
class DetectLabelItem(AbstractModel):
|
2675
2413
|
"""图像标签检测结果。
|
2676
2414
|
|
@@ -370,32 +370,6 @@ class TiiaClient(AbstractClient):
|
|
370
370
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
371
371
|
|
372
372
|
|
373
|
-
def DetectLabelBeta(self, request):
|
374
|
-
"""图像标签测试接口
|
375
|
-
|
376
|
-
>
|
377
|
-
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
378
|
-
|
379
|
-
:param request: Request instance for DetectLabelBeta.
|
380
|
-
:type request: :class:`tencentcloud.tiia.v20190529.models.DetectLabelBetaRequest`
|
381
|
-
:rtype: :class:`tencentcloud.tiia.v20190529.models.DetectLabelBetaResponse`
|
382
|
-
|
383
|
-
"""
|
384
|
-
try:
|
385
|
-
params = request._serialize()
|
386
|
-
headers = request.headers
|
387
|
-
body = self.call("DetectLabelBeta", params, headers=headers)
|
388
|
-
response = json.loads(body)
|
389
|
-
model = models.DetectLabelBetaResponse()
|
390
|
-
model._deserialize(response["Response"])
|
391
|
-
return model
|
392
|
-
except Exception as e:
|
393
|
-
if isinstance(e, TencentCloudSDKException):
|
394
|
-
raise
|
395
|
-
else:
|
396
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
397
|
-
|
398
|
-
|
399
373
|
def DetectLabelPro(self, request):
|
400
374
|
"""通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等。
|
401
375
|
|
@@ -1323,6 +1323,100 @@ class CreateDatasetResponse(AbstractModel):
|
|
1323
1323
|
self._RequestId = params.get("RequestId")
|
1324
1324
|
|
1325
1325
|
|
1326
|
+
class CreateModelServiceAuthTokenRequest(AbstractModel):
|
1327
|
+
"""CreateModelServiceAuthToken请求参数结构体
|
1328
|
+
|
1329
|
+
"""
|
1330
|
+
|
1331
|
+
def __init__(self):
|
1332
|
+
r"""
|
1333
|
+
:param _ServiceGroupId: 服务组 id
|
1334
|
+
:type ServiceGroupId: str
|
1335
|
+
:param _Name: token 名称
|
1336
|
+
:type Name: str
|
1337
|
+
:param _Description: Description 描述
|
1338
|
+
:type Description: str
|
1339
|
+
"""
|
1340
|
+
self._ServiceGroupId = None
|
1341
|
+
self._Name = None
|
1342
|
+
self._Description = None
|
1343
|
+
|
1344
|
+
@property
|
1345
|
+
def ServiceGroupId(self):
|
1346
|
+
"""服务组 id
|
1347
|
+
:rtype: str
|
1348
|
+
"""
|
1349
|
+
return self._ServiceGroupId
|
1350
|
+
|
1351
|
+
@ServiceGroupId.setter
|
1352
|
+
def ServiceGroupId(self, ServiceGroupId):
|
1353
|
+
self._ServiceGroupId = ServiceGroupId
|
1354
|
+
|
1355
|
+
@property
|
1356
|
+
def Name(self):
|
1357
|
+
"""token 名称
|
1358
|
+
:rtype: str
|
1359
|
+
"""
|
1360
|
+
return self._Name
|
1361
|
+
|
1362
|
+
@Name.setter
|
1363
|
+
def Name(self, Name):
|
1364
|
+
self._Name = Name
|
1365
|
+
|
1366
|
+
@property
|
1367
|
+
def Description(self):
|
1368
|
+
"""Description 描述
|
1369
|
+
:rtype: str
|
1370
|
+
"""
|
1371
|
+
return self._Description
|
1372
|
+
|
1373
|
+
@Description.setter
|
1374
|
+
def Description(self, Description):
|
1375
|
+
self._Description = Description
|
1376
|
+
|
1377
|
+
|
1378
|
+
def _deserialize(self, params):
|
1379
|
+
self._ServiceGroupId = params.get("ServiceGroupId")
|
1380
|
+
self._Name = params.get("Name")
|
1381
|
+
self._Description = params.get("Description")
|
1382
|
+
memeber_set = set(params.keys())
|
1383
|
+
for name, value in vars(self).items():
|
1384
|
+
property_name = name[1:]
|
1385
|
+
if property_name in memeber_set:
|
1386
|
+
memeber_set.remove(property_name)
|
1387
|
+
if len(memeber_set) > 0:
|
1388
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1389
|
+
|
1390
|
+
|
1391
|
+
|
1392
|
+
class CreateModelServiceAuthTokenResponse(AbstractModel):
|
1393
|
+
"""CreateModelServiceAuthToken返回参数结构体
|
1394
|
+
|
1395
|
+
"""
|
1396
|
+
|
1397
|
+
def __init__(self):
|
1398
|
+
r"""
|
1399
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1400
|
+
:type RequestId: str
|
1401
|
+
"""
|
1402
|
+
self._RequestId = None
|
1403
|
+
|
1404
|
+
@property
|
1405
|
+
def RequestId(self):
|
1406
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1407
|
+
:rtype: str
|
1408
|
+
"""
|
1409
|
+
return self._RequestId
|
1410
|
+
|
1411
|
+
@RequestId.setter
|
1412
|
+
def RequestId(self, RequestId):
|
1413
|
+
self._RequestId = RequestId
|
1414
|
+
|
1415
|
+
|
1416
|
+
def _deserialize(self, params):
|
1417
|
+
self._RequestId = params.get("RequestId")
|
1418
|
+
|
1419
|
+
|
1326
1420
|
class CreateModelServiceRequest(AbstractModel):
|
1327
1421
|
"""CreateModelService请求参数结构体
|
1328
1422
|
|
@@ -5477,6 +5571,85 @@ class DeleteDatasetResponse(AbstractModel):
|
|
5477
5571
|
self._RequestId = params.get("RequestId")
|
5478
5572
|
|
5479
5573
|
|
5574
|
+
class DeleteModelServiceAuthTokenRequest(AbstractModel):
|
5575
|
+
"""DeleteModelServiceAuthToken请求参数结构体
|
5576
|
+
|
5577
|
+
"""
|
5578
|
+
|
5579
|
+
def __init__(self):
|
5580
|
+
r"""
|
5581
|
+
:param _ServiceGroupId: 服务组 id
|
5582
|
+
:type ServiceGroupId: str
|
5583
|
+
:param _AuthTokenValue: token 值
|
5584
|
+
:type AuthTokenValue: str
|
5585
|
+
"""
|
5586
|
+
self._ServiceGroupId = None
|
5587
|
+
self._AuthTokenValue = None
|
5588
|
+
|
5589
|
+
@property
|
5590
|
+
def ServiceGroupId(self):
|
5591
|
+
"""服务组 id
|
5592
|
+
:rtype: str
|
5593
|
+
"""
|
5594
|
+
return self._ServiceGroupId
|
5595
|
+
|
5596
|
+
@ServiceGroupId.setter
|
5597
|
+
def ServiceGroupId(self, ServiceGroupId):
|
5598
|
+
self._ServiceGroupId = ServiceGroupId
|
5599
|
+
|
5600
|
+
@property
|
5601
|
+
def AuthTokenValue(self):
|
5602
|
+
"""token 值
|
5603
|
+
:rtype: str
|
5604
|
+
"""
|
5605
|
+
return self._AuthTokenValue
|
5606
|
+
|
5607
|
+
@AuthTokenValue.setter
|
5608
|
+
def AuthTokenValue(self, AuthTokenValue):
|
5609
|
+
self._AuthTokenValue = AuthTokenValue
|
5610
|
+
|
5611
|
+
|
5612
|
+
def _deserialize(self, params):
|
5613
|
+
self._ServiceGroupId = params.get("ServiceGroupId")
|
5614
|
+
self._AuthTokenValue = params.get("AuthTokenValue")
|
5615
|
+
memeber_set = set(params.keys())
|
5616
|
+
for name, value in vars(self).items():
|
5617
|
+
property_name = name[1:]
|
5618
|
+
if property_name in memeber_set:
|
5619
|
+
memeber_set.remove(property_name)
|
5620
|
+
if len(memeber_set) > 0:
|
5621
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5622
|
+
|
5623
|
+
|
5624
|
+
|
5625
|
+
class DeleteModelServiceAuthTokenResponse(AbstractModel):
|
5626
|
+
"""DeleteModelServiceAuthToken返回参数结构体
|
5627
|
+
|
5628
|
+
"""
|
5629
|
+
|
5630
|
+
def __init__(self):
|
5631
|
+
r"""
|
5632
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5633
|
+
:type RequestId: str
|
5634
|
+
"""
|
5635
|
+
self._RequestId = None
|
5636
|
+
|
5637
|
+
@property
|
5638
|
+
def RequestId(self):
|
5639
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5640
|
+
:rtype: str
|
5641
|
+
"""
|
5642
|
+
return self._RequestId
|
5643
|
+
|
5644
|
+
@RequestId.setter
|
5645
|
+
def RequestId(self, RequestId):
|
5646
|
+
self._RequestId = RequestId
|
5647
|
+
|
5648
|
+
|
5649
|
+
def _deserialize(self, params):
|
5650
|
+
self._RequestId = params.get("RequestId")
|
5651
|
+
|
5652
|
+
|
5480
5653
|
class DeleteModelServiceGroupRequest(AbstractModel):
|
5481
5654
|
"""DeleteModelServiceGroup请求参数结构体
|
5482
5655
|
|
@@ -13459,6 +13632,181 @@ class ModelSource(AbstractModel):
|
|
13459
13632
|
|
13460
13633
|
|
13461
13634
|
|
13635
|
+
class ModifyModelServiceAuthTokenRequest(AbstractModel):
|
13636
|
+
"""ModifyModelServiceAuthToken请求参数结构体
|
13637
|
+
|
13638
|
+
"""
|
13639
|
+
|
13640
|
+
def __init__(self):
|
13641
|
+
r"""
|
13642
|
+
:param _ServiceGroupId: 服务组 id
|
13643
|
+
:type ServiceGroupId: str
|
13644
|
+
:param _NeedReset: 是否需要重置,如果为 true,重置 token 值
|
13645
|
+
:type NeedReset: bool
|
13646
|
+
:param _AuthToken: AuthToken 数据
|
13647
|
+
:type AuthToken: :class:`tencentcloud.tione.v20211111.models.AuthToken`
|
13648
|
+
"""
|
13649
|
+
self._ServiceGroupId = None
|
13650
|
+
self._NeedReset = None
|
13651
|
+
self._AuthToken = None
|
13652
|
+
|
13653
|
+
@property
|
13654
|
+
def ServiceGroupId(self):
|
13655
|
+
"""服务组 id
|
13656
|
+
:rtype: str
|
13657
|
+
"""
|
13658
|
+
return self._ServiceGroupId
|
13659
|
+
|
13660
|
+
@ServiceGroupId.setter
|
13661
|
+
def ServiceGroupId(self, ServiceGroupId):
|
13662
|
+
self._ServiceGroupId = ServiceGroupId
|
13663
|
+
|
13664
|
+
@property
|
13665
|
+
def NeedReset(self):
|
13666
|
+
"""是否需要重置,如果为 true,重置 token 值
|
13667
|
+
:rtype: bool
|
13668
|
+
"""
|
13669
|
+
return self._NeedReset
|
13670
|
+
|
13671
|
+
@NeedReset.setter
|
13672
|
+
def NeedReset(self, NeedReset):
|
13673
|
+
self._NeedReset = NeedReset
|
13674
|
+
|
13675
|
+
@property
|
13676
|
+
def AuthToken(self):
|
13677
|
+
"""AuthToken 数据
|
13678
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.AuthToken`
|
13679
|
+
"""
|
13680
|
+
return self._AuthToken
|
13681
|
+
|
13682
|
+
@AuthToken.setter
|
13683
|
+
def AuthToken(self, AuthToken):
|
13684
|
+
self._AuthToken = AuthToken
|
13685
|
+
|
13686
|
+
|
13687
|
+
def _deserialize(self, params):
|
13688
|
+
self._ServiceGroupId = params.get("ServiceGroupId")
|
13689
|
+
self._NeedReset = params.get("NeedReset")
|
13690
|
+
if params.get("AuthToken") is not None:
|
13691
|
+
self._AuthToken = AuthToken()
|
13692
|
+
self._AuthToken._deserialize(params.get("AuthToken"))
|
13693
|
+
memeber_set = set(params.keys())
|
13694
|
+
for name, value in vars(self).items():
|
13695
|
+
property_name = name[1:]
|
13696
|
+
if property_name in memeber_set:
|
13697
|
+
memeber_set.remove(property_name)
|
13698
|
+
if len(memeber_set) > 0:
|
13699
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13700
|
+
|
13701
|
+
|
13702
|
+
|
13703
|
+
class ModifyModelServiceAuthTokenResponse(AbstractModel):
|
13704
|
+
"""ModifyModelServiceAuthToken返回参数结构体
|
13705
|
+
|
13706
|
+
"""
|
13707
|
+
|
13708
|
+
def __init__(self):
|
13709
|
+
r"""
|
13710
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13711
|
+
:type RequestId: str
|
13712
|
+
"""
|
13713
|
+
self._RequestId = None
|
13714
|
+
|
13715
|
+
@property
|
13716
|
+
def RequestId(self):
|
13717
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13718
|
+
:rtype: str
|
13719
|
+
"""
|
13720
|
+
return self._RequestId
|
13721
|
+
|
13722
|
+
@RequestId.setter
|
13723
|
+
def RequestId(self, RequestId):
|
13724
|
+
self._RequestId = RequestId
|
13725
|
+
|
13726
|
+
|
13727
|
+
def _deserialize(self, params):
|
13728
|
+
self._RequestId = params.get("RequestId")
|
13729
|
+
|
13730
|
+
|
13731
|
+
class ModifyModelServiceAuthorizationRequest(AbstractModel):
|
13732
|
+
"""ModifyModelServiceAuthorization请求参数结构体
|
13733
|
+
|
13734
|
+
"""
|
13735
|
+
|
13736
|
+
def __init__(self):
|
13737
|
+
r"""
|
13738
|
+
:param _ServiceGroupId: 服务组Id
|
13739
|
+
:type ServiceGroupId: str
|
13740
|
+
:param _AuthorizationEnable: 是否开启鉴权,true表示开启
|
13741
|
+
:type AuthorizationEnable: bool
|
13742
|
+
"""
|
13743
|
+
self._ServiceGroupId = None
|
13744
|
+
self._AuthorizationEnable = None
|
13745
|
+
|
13746
|
+
@property
|
13747
|
+
def ServiceGroupId(self):
|
13748
|
+
"""服务组Id
|
13749
|
+
:rtype: str
|
13750
|
+
"""
|
13751
|
+
return self._ServiceGroupId
|
13752
|
+
|
13753
|
+
@ServiceGroupId.setter
|
13754
|
+
def ServiceGroupId(self, ServiceGroupId):
|
13755
|
+
self._ServiceGroupId = ServiceGroupId
|
13756
|
+
|
13757
|
+
@property
|
13758
|
+
def AuthorizationEnable(self):
|
13759
|
+
"""是否开启鉴权,true表示开启
|
13760
|
+
:rtype: bool
|
13761
|
+
"""
|
13762
|
+
return self._AuthorizationEnable
|
13763
|
+
|
13764
|
+
@AuthorizationEnable.setter
|
13765
|
+
def AuthorizationEnable(self, AuthorizationEnable):
|
13766
|
+
self._AuthorizationEnable = AuthorizationEnable
|
13767
|
+
|
13768
|
+
|
13769
|
+
def _deserialize(self, params):
|
13770
|
+
self._ServiceGroupId = params.get("ServiceGroupId")
|
13771
|
+
self._AuthorizationEnable = params.get("AuthorizationEnable")
|
13772
|
+
memeber_set = set(params.keys())
|
13773
|
+
for name, value in vars(self).items():
|
13774
|
+
property_name = name[1:]
|
13775
|
+
if property_name in memeber_set:
|
13776
|
+
memeber_set.remove(property_name)
|
13777
|
+
if len(memeber_set) > 0:
|
13778
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13779
|
+
|
13780
|
+
|
13781
|
+
|
13782
|
+
class ModifyModelServiceAuthorizationResponse(AbstractModel):
|
13783
|
+
"""ModifyModelServiceAuthorization返回参数结构体
|
13784
|
+
|
13785
|
+
"""
|
13786
|
+
|
13787
|
+
def __init__(self):
|
13788
|
+
r"""
|
13789
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13790
|
+
:type RequestId: str
|
13791
|
+
"""
|
13792
|
+
self._RequestId = None
|
13793
|
+
|
13794
|
+
@property
|
13795
|
+
def RequestId(self):
|
13796
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13797
|
+
:rtype: str
|
13798
|
+
"""
|
13799
|
+
return self._RequestId
|
13800
|
+
|
13801
|
+
@RequestId.setter
|
13802
|
+
def RequestId(self, RequestId):
|
13803
|
+
self._RequestId = RequestId
|
13804
|
+
|
13805
|
+
|
13806
|
+
def _deserialize(self, params):
|
13807
|
+
self._RequestId = params.get("RequestId")
|
13808
|
+
|
13809
|
+
|
13462
13810
|
class ModifyModelServiceRequest(AbstractModel):
|
13463
13811
|
"""ModifyModelService请求参数结构体
|
13464
13812
|
|