tencentcloud-sdk-python 3.0.1392__py2.py3-none-any.whl → 3.0.1394__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/cdb/v20170320/models.py +4 -0
- tencentcloud/cdc/v20201214/models.py +20 -0
- tencentcloud/cfs/v20190719/cfs_client.py +2 -6
- tencentcloud/cfs/v20190719/models.py +12 -14
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/models.py +186 -0
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +16 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +85 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +45 -0
- tencentcloud/es/v20250101/es_client.py +0 -23
- tencentcloud/es/v20250101/models.py +1 -352
- tencentcloud/ess/v20201111/models.py +20 -10
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/gs_client.py +122 -7
- tencentcloud/gs/v20191118/models.py +748 -6
- tencentcloud/hai/v20230812/models.py +8 -14
- tencentcloud/lke/v20231130/errorcodes.py +0 -6
- tencentcloud/lke/v20231130/lke_client.py +0 -26
- tencentcloud/lke/v20231130/models.py +0 -229
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
- tencentcloud/lowcode/v20210108/models.py +90 -0
- tencentcloud/monitor/v20180724/models.py +364 -2
- tencentcloud/monitor/v20180724/monitor_client.py +69 -0
- tencentcloud/mrs/v20200910/models.py +8 -0
- tencentcloud/mrs/v20200910/mrs_client.py +2 -0
- tencentcloud/oceanus/v20190422/models.py +17 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +1 -1
- tencentcloud/postgres/v20170312/models.py +0 -405
- tencentcloud/postgres/v20170312/postgres_client.py +0 -25
- tencentcloud/privatedns/v20201028/models.py +297 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +8 -8
- tencentcloud/tcss/v20201101/models.py +240 -0
- tencentcloud/tms/v20201229/models.py +4 -4
- tencentcloud/vm/v20210922/models.py +4 -16
- tencentcloud/vpc/v20170312/models.py +12 -6
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/RECORD +47 -47
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/top_level.txt +0 -0
@@ -15653,6 +15653,9 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15653
15653
|
:type Sort: str
|
15654
15654
|
:param _Asc: 排序类型:false:降序(默认)、true:升序
|
15655
15655
|
:type Asc: bool
|
15656
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
15657
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
15658
|
+
:type DescribeType: str
|
15656
15659
|
"""
|
15657
15660
|
self._Limit = None
|
15658
15661
|
self._Offset = None
|
@@ -15660,6 +15663,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15660
15663
|
self._DatasourceConnectionName = None
|
15661
15664
|
self._Sort = None
|
15662
15665
|
self._Asc = None
|
15666
|
+
self._DescribeType = None
|
15663
15667
|
|
15664
15668
|
@property
|
15665
15669
|
def Limit(self):
|
@@ -15727,6 +15731,18 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15727
15731
|
def Asc(self, Asc):
|
15728
15732
|
self._Asc = Asc
|
15729
15733
|
|
15734
|
+
@property
|
15735
|
+
def DescribeType(self):
|
15736
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
15737
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
15738
|
+
:rtype: str
|
15739
|
+
"""
|
15740
|
+
return self._DescribeType
|
15741
|
+
|
15742
|
+
@DescribeType.setter
|
15743
|
+
def DescribeType(self, DescribeType):
|
15744
|
+
self._DescribeType = DescribeType
|
15745
|
+
|
15730
15746
|
|
15731
15747
|
def _deserialize(self, params):
|
15732
15748
|
self._Limit = params.get("Limit")
|
@@ -15735,6 +15751,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15735
15751
|
self._DatasourceConnectionName = params.get("DatasourceConnectionName")
|
15736
15752
|
self._Sort = params.get("Sort")
|
15737
15753
|
self._Asc = params.get("Asc")
|
15754
|
+
self._DescribeType = params.get("DescribeType")
|
15738
15755
|
memeber_set = set(params.keys())
|
15739
15756
|
for name, value in vars(self).items():
|
15740
15757
|
property_name = name[1:]
|
@@ -18684,6 +18701,40 @@ class DescribeSubUserAccessPolicyResponse(AbstractModel):
|
|
18684
18701
|
self._RequestId = params.get("RequestId")
|
18685
18702
|
|
18686
18703
|
|
18704
|
+
class DescribeTablePartitionsRequest(AbstractModel):
|
18705
|
+
"""DescribeTablePartitions请求参数结构体
|
18706
|
+
|
18707
|
+
"""
|
18708
|
+
|
18709
|
+
|
18710
|
+
class DescribeTablePartitionsResponse(AbstractModel):
|
18711
|
+
"""DescribeTablePartitions返回参数结构体
|
18712
|
+
|
18713
|
+
"""
|
18714
|
+
|
18715
|
+
def __init__(self):
|
18716
|
+
r"""
|
18717
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18718
|
+
:type RequestId: str
|
18719
|
+
"""
|
18720
|
+
self._RequestId = None
|
18721
|
+
|
18722
|
+
@property
|
18723
|
+
def RequestId(self):
|
18724
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18725
|
+
:rtype: str
|
18726
|
+
"""
|
18727
|
+
return self._RequestId
|
18728
|
+
|
18729
|
+
@RequestId.setter
|
18730
|
+
def RequestId(self, RequestId):
|
18731
|
+
self._RequestId = RequestId
|
18732
|
+
|
18733
|
+
|
18734
|
+
def _deserialize(self, params):
|
18735
|
+
self._RequestId = params.get("RequestId")
|
18736
|
+
|
18737
|
+
|
18687
18738
|
class DescribeTableRequest(AbstractModel):
|
18688
18739
|
"""DescribeTable请求参数结构体
|
18689
18740
|
|
@@ -19079,6 +19130,9 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19079
19130
|
:type TableType: str
|
19080
19131
|
:param _TableFormat: 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它;
|
19081
19132
|
:type TableFormat: str
|
19133
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
19134
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
19135
|
+
:type DescribeType: str
|
19082
19136
|
"""
|
19083
19137
|
self._DatabaseName = None
|
19084
19138
|
self._Limit = None
|
@@ -19091,6 +19145,7 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19091
19145
|
self._Asc = None
|
19092
19146
|
self._TableType = None
|
19093
19147
|
self._TableFormat = None
|
19148
|
+
self._DescribeType = None
|
19094
19149
|
|
19095
19150
|
@property
|
19096
19151
|
def DatabaseName(self):
|
@@ -19215,6 +19270,18 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19215
19270
|
def TableFormat(self, TableFormat):
|
19216
19271
|
self._TableFormat = TableFormat
|
19217
19272
|
|
19273
|
+
@property
|
19274
|
+
def DescribeType(self):
|
19275
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
19276
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
19277
|
+
:rtype: str
|
19278
|
+
"""
|
19279
|
+
return self._DescribeType
|
19280
|
+
|
19281
|
+
@DescribeType.setter
|
19282
|
+
def DescribeType(self, DescribeType):
|
19283
|
+
self._DescribeType = DescribeType
|
19284
|
+
|
19218
19285
|
|
19219
19286
|
def _deserialize(self, params):
|
19220
19287
|
self._DatabaseName = params.get("DatabaseName")
|
@@ -19233,6 +19300,7 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19233
19300
|
self._Asc = params.get("Asc")
|
19234
19301
|
self._TableType = params.get("TableType")
|
19235
19302
|
self._TableFormat = params.get("TableFormat")
|
19303
|
+
self._DescribeType = params.get("DescribeType")
|
19236
19304
|
memeber_set = set(params.keys())
|
19237
19305
|
for name, value in vars(self).items():
|
19238
19306
|
property_name = name[1:]
|
@@ -21685,6 +21753,9 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21685
21753
|
:type StartTime: str
|
21686
21754
|
:param _EndTime: 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
|
21687
21755
|
:type EndTime: str
|
21756
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
21757
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
21758
|
+
:type DescribeType: str
|
21688
21759
|
"""
|
21689
21760
|
self._DatabaseName = None
|
21690
21761
|
self._Limit = None
|
@@ -21695,6 +21766,7 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21695
21766
|
self._Asc = None
|
21696
21767
|
self._StartTime = None
|
21697
21768
|
self._EndTime = None
|
21769
|
+
self._DescribeType = None
|
21698
21770
|
|
21699
21771
|
@property
|
21700
21772
|
def DatabaseName(self):
|
@@ -21797,6 +21869,18 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21797
21869
|
def EndTime(self, EndTime):
|
21798
21870
|
self._EndTime = EndTime
|
21799
21871
|
|
21872
|
+
@property
|
21873
|
+
def DescribeType(self):
|
21874
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
21875
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
21876
|
+
:rtype: str
|
21877
|
+
"""
|
21878
|
+
return self._DescribeType
|
21879
|
+
|
21880
|
+
@DescribeType.setter
|
21881
|
+
def DescribeType(self, DescribeType):
|
21882
|
+
self._DescribeType = DescribeType
|
21883
|
+
|
21800
21884
|
|
21801
21885
|
def _deserialize(self, params):
|
21802
21886
|
self._DatabaseName = params.get("DatabaseName")
|
@@ -21813,6 +21897,7 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21813
21897
|
self._Asc = params.get("Asc")
|
21814
21898
|
self._StartTime = params.get("StartTime")
|
21815
21899
|
self._EndTime = params.get("EndTime")
|
21900
|
+
self._DescribeType = params.get("DescribeType")
|
21816
21901
|
memeber_set = set(params.keys())
|
21817
21902
|
for name, value in vars(self).items():
|
21818
21903
|
property_name = name[1:]
|
@@ -2231,7 +2231,7 @@ class CreateDomainRedemptionRequest(AbstractModel):
|
|
2231
2231
|
def __init__(self):
|
2232
2232
|
r"""
|
2233
2233
|
:param _DomainId: 域名ID
|
2234
|
-
可通过
|
2234
|
+
可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取
|
2235
2235
|
:type DomainId: str
|
2236
2236
|
"""
|
2237
2237
|
self._DomainId = None
|
@@ -2239,7 +2239,7 @@ class CreateDomainRedemptionRequest(AbstractModel):
|
|
2239
2239
|
@property
|
2240
2240
|
def DomainId(self):
|
2241
2241
|
"""域名ID
|
2242
|
-
可通过
|
2242
|
+
可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取
|
2243
2243
|
:rtype: str
|
2244
2244
|
"""
|
2245
2245
|
return self._DomainId
|
@@ -20,6 +20,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
20
20
|
# 操作失败。
|
21
21
|
FAILEDOPERATION_CHECKIFSUPPORTPODSTRETCH = 'FailedOperation.CheckIfSupportPodStretch'
|
22
22
|
|
23
|
+
# DB异常
|
24
|
+
FAILEDOPERATION_DBEXCEPTION = 'FailedOperation.DBException'
|
25
|
+
|
23
26
|
# 拉取资源标签失败
|
24
27
|
FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = 'FailedOperation.DescribeResourceTagsFailed'
|
25
28
|
|
@@ -461,9 +464,15 @@ LIMITEXCEEDED_PODCPULIMITEXCEEDEDNODEAVAILABLECPU = 'LimitExceeded.PodCpuLimitEx
|
|
461
464
|
# Pod 内存请求数量超过集群限制。
|
462
465
|
LIMITEXCEEDED_PODMEMORYLIMITEXCEEDEDAVAILABLEMEMORY = 'LimitExceeded.PodMemoryLimitExceededAvailableMemory'
|
463
466
|
|
467
|
+
# 请求已经积压并超过了限制
|
468
|
+
LIMITEXCEEDED_REQUESTBACKLOGEXCEEDSLIMIT = 'LimitExceeded.RequestBacklogExceedsLimit'
|
469
|
+
|
464
470
|
# 安全组数量超过限制。
|
465
471
|
LIMITEXCEEDED_SECURITYGROUPNUMLIMITEXCEEDED = 'LimitExceeded.SecurityGroupNumLimitExceeded'
|
466
472
|
|
473
|
+
# 用户数量超过了限制
|
474
|
+
LIMITEXCEEDED_USERCOUNTEXCEEDSLIMIT = 'LimitExceeded.UserCountExceedsLimit'
|
475
|
+
|
467
476
|
# 缺少参数错误。
|
468
477
|
MISSINGPARAMETER = 'MissingParameter'
|
469
478
|
|
@@ -406,11 +406,14 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
406
406
|
:param _FailedUserList: 添加失败的用户列表
|
407
407
|
注意:此字段可能返回 null,表示取不到有效值。
|
408
408
|
:type FailedUserList: list of str
|
409
|
+
:param _FlowId: 流程id。大于0表示启动了流程;等于0表示没有启动流程
|
410
|
+
:type FlowId: int
|
409
411
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
410
412
|
:type RequestId: str
|
411
413
|
"""
|
412
414
|
self._SuccessUserList = None
|
413
415
|
self._FailedUserList = None
|
416
|
+
self._FlowId = None
|
414
417
|
self._RequestId = None
|
415
418
|
|
416
419
|
@property
|
@@ -437,6 +440,17 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
437
440
|
def FailedUserList(self, FailedUserList):
|
438
441
|
self._FailedUserList = FailedUserList
|
439
442
|
|
443
|
+
@property
|
444
|
+
def FlowId(self):
|
445
|
+
"""流程id。大于0表示启动了流程;等于0表示没有启动流程
|
446
|
+
:rtype: int
|
447
|
+
"""
|
448
|
+
return self._FlowId
|
449
|
+
|
450
|
+
@FlowId.setter
|
451
|
+
def FlowId(self, FlowId):
|
452
|
+
self._FlowId = FlowId
|
453
|
+
|
440
454
|
@property
|
441
455
|
def RequestId(self):
|
442
456
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -452,6 +466,7 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
452
466
|
def _deserialize(self, params):
|
453
467
|
self._SuccessUserList = params.get("SuccessUserList")
|
454
468
|
self._FailedUserList = params.get("FailedUserList")
|
469
|
+
self._FlowId = params.get("FlowId")
|
455
470
|
self._RequestId = params.get("RequestId")
|
456
471
|
|
457
472
|
|
@@ -18986,6 +19001,8 @@ class InspectionTaskSettings(AbstractModel):
|
|
18986
19001
|
:type Selected: str
|
18987
19002
|
:param _Enable: 是否开启监控
|
18988
19003
|
:type Enable: str
|
19004
|
+
:param _SettingsJson: 事件Json模板
|
19005
|
+
:type SettingsJson: str
|
18989
19006
|
"""
|
18990
19007
|
self._TaskType = None
|
18991
19008
|
self._Group = None
|
@@ -18993,6 +19010,7 @@ class InspectionTaskSettings(AbstractModel):
|
|
18993
19010
|
self._TaskSettings = None
|
18994
19011
|
self._Selected = None
|
18995
19012
|
self._Enable = None
|
19013
|
+
self._SettingsJson = None
|
18996
19014
|
|
18997
19015
|
@property
|
18998
19016
|
def TaskType(self):
|
@@ -19060,6 +19078,17 @@ class InspectionTaskSettings(AbstractModel):
|
|
19060
19078
|
def Enable(self, Enable):
|
19061
19079
|
self._Enable = Enable
|
19062
19080
|
|
19081
|
+
@property
|
19082
|
+
def SettingsJson(self):
|
19083
|
+
"""事件Json模板
|
19084
|
+
:rtype: str
|
19085
|
+
"""
|
19086
|
+
return self._SettingsJson
|
19087
|
+
|
19088
|
+
@SettingsJson.setter
|
19089
|
+
def SettingsJson(self, SettingsJson):
|
19090
|
+
self._SettingsJson = SettingsJson
|
19091
|
+
|
19063
19092
|
|
19064
19093
|
def _deserialize(self, params):
|
19065
19094
|
self._TaskType = params.get("TaskType")
|
@@ -19073,6 +19102,7 @@ class InspectionTaskSettings(AbstractModel):
|
|
19073
19102
|
self._TaskSettings.append(obj)
|
19074
19103
|
self._Selected = params.get("Selected")
|
19075
19104
|
self._Enable = params.get("Enable")
|
19105
|
+
self._SettingsJson = params.get("SettingsJson")
|
19076
19106
|
memeber_set = set(params.keys())
|
19077
19107
|
for name, value in vars(self).items():
|
19078
19108
|
property_name = name[1:]
|
@@ -25506,6 +25536,8 @@ class OverviewRow(AbstractModel):
|
|
25506
25536
|
:type StoreFileSize: float
|
25507
25537
|
:param _Operation: regions,点击可跳转
|
25508
25538
|
:type Operation: str
|
25539
|
+
:param _StoreFileNum: StoreFile数量
|
25540
|
+
:type StoreFileNum: float
|
25509
25541
|
"""
|
25510
25542
|
self._Table = None
|
25511
25543
|
self._ReadRequestCount = None
|
@@ -25513,6 +25545,7 @@ class OverviewRow(AbstractModel):
|
|
25513
25545
|
self._MemstoreSize = None
|
25514
25546
|
self._StoreFileSize = None
|
25515
25547
|
self._Operation = None
|
25548
|
+
self._StoreFileNum = None
|
25516
25549
|
|
25517
25550
|
@property
|
25518
25551
|
def Table(self):
|
@@ -25580,6 +25613,17 @@ class OverviewRow(AbstractModel):
|
|
25580
25613
|
def Operation(self, Operation):
|
25581
25614
|
self._Operation = Operation
|
25582
25615
|
|
25616
|
+
@property
|
25617
|
+
def StoreFileNum(self):
|
25618
|
+
"""StoreFile数量
|
25619
|
+
:rtype: float
|
25620
|
+
"""
|
25621
|
+
return self._StoreFileNum
|
25622
|
+
|
25623
|
+
@StoreFileNum.setter
|
25624
|
+
def StoreFileNum(self, StoreFileNum):
|
25625
|
+
self._StoreFileNum = StoreFileNum
|
25626
|
+
|
25583
25627
|
|
25584
25628
|
def _deserialize(self, params):
|
25585
25629
|
self._Table = params.get("Table")
|
@@ -25588,6 +25632,7 @@ class OverviewRow(AbstractModel):
|
|
25588
25632
|
self._MemstoreSize = params.get("MemstoreSize")
|
25589
25633
|
self._StoreFileSize = params.get("StoreFileSize")
|
25590
25634
|
self._Operation = params.get("Operation")
|
25635
|
+
self._StoreFileNum = params.get("StoreFileNum")
|
25591
25636
|
memeber_set = set(params.keys())
|
25592
25637
|
for name, value in vars(self).items():
|
25593
25638
|
property_name = name[1:]
|
@@ -223,29 +223,6 @@ class EsClient(AbstractClient):
|
|
223
223
|
model = models.RunRerankResponse()
|
224
224
|
model._deserialize(response["Response"])
|
225
225
|
return model
|
226
|
-
except Exception as e:
|
227
|
-
if isinstance(e, TencentCloudSDKException):
|
228
|
-
raise
|
229
|
-
else:
|
230
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
231
|
-
|
232
|
-
|
233
|
-
def WebSearch(self, request):
|
234
|
-
"""WebSearch API 是一个网页搜索服务,支持多种搜索引擎,可以获取网页的标题、URL、摘要和正文内容。
|
235
|
-
|
236
|
-
:param request: Request instance for WebSearch.
|
237
|
-
:type request: :class:`tencentcloud.es.v20250101.models.WebSearchRequest`
|
238
|
-
:rtype: :class:`tencentcloud.es.v20250101.models.WebSearchResponse`
|
239
|
-
|
240
|
-
"""
|
241
|
-
try:
|
242
|
-
params = request._serialize()
|
243
|
-
headers = request.headers
|
244
|
-
body = self.call("WebSearch", params, headers=headers)
|
245
|
-
response = json.loads(body)
|
246
|
-
model = models.WebSearchResponse()
|
247
|
-
model._deserialize(response["Response"])
|
248
|
-
return model
|
249
226
|
except Exception as e:
|
250
227
|
if isinstance(e, TencentCloudSDKException):
|
251
228
|
raise
|