tencentcloud-sdk-python 3.0.1436__py2.py3-none-any.whl → 3.0.1438__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (39) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +15 -0
  3. tencentcloud/cdn/v20180606/models.py +8 -0
  4. tencentcloud/cfw/v20190904/cfw_client.py +0 -75
  5. tencentcloud/cfw/v20190904/models.py +107 -702
  6. tencentcloud/ciam/v20220331/errorcodes.py +1 -1
  7. tencentcloud/cls/v20201016/models.py +24 -16
  8. tencentcloud/cwp/v20180228/cwp_client.py +2 -2
  9. tencentcloud/cwp/v20180228/models.py +8 -8
  10. tencentcloud/dlc/v20210125/models.py +366 -15
  11. tencentcloud/ess/v20201111/ess_client.py +3 -6
  12. tencentcloud/ess/v20201111/models.py +8 -4
  13. tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
  14. tencentcloud/essbasic/v20210526/models.py +4 -0
  15. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  16. tencentcloud/iotexplorer/v20190423/models.py +204 -4
  17. tencentcloud/lke/v20231130/models.py +86 -0
  18. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  19. tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
  20. tencentcloud/ocr/v20181119/models.py +88 -2
  21. tencentcloud/partners/v20180321/partners_client.py +2 -1
  22. tencentcloud/postgres/v20170312/models.py +28 -24
  23. tencentcloud/postgres/v20170312/postgres_client.py +2 -2
  24. tencentcloud/sqlserver/v20180328/models.py +8 -8
  25. tencentcloud/sqlserver/v20180328/sqlserver_client.py +3 -3
  26. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  27. tencentcloud/tcbr/v20220217/models.py +266 -4
  28. tencentcloud/tcr/v20190924/models.py +2 -2
  29. tencentcloud/teo/v20220901/models.py +34 -104
  30. tencentcloud/teo/v20220901/teo_client.py +15 -4
  31. tencentcloud/tsf/v20180326/models.py +1211 -0
  32. tencentcloud/tsf/v20180326/tsf_client.py +69 -0
  33. tencentcloud/wedata/v20210820/models.py +270 -4
  34. tencentcloud/wsa/v20250508/models.py +22 -4
  35. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/METADATA +1 -1
  36. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/RECORD +39 -39
  37. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/LICENSE +0 -0
  38. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/WHEEL +0 -0
  39. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/top_level.txt +0 -0
@@ -2864,6 +2864,52 @@ class TsfClient(AbstractClient):
2864
2864
  raise TencentCloudSDKException(type(e).__name__, str(e))
2865
2865
 
2866
2866
 
2867
+ def DescribeLicenses(self, request):
2868
+ """查询许可列表
2869
+
2870
+ :param request: Request instance for DescribeLicenses.
2871
+ :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeLicensesRequest`
2872
+ :rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeLicensesResponse`
2873
+
2874
+ """
2875
+ try:
2876
+ params = request._serialize()
2877
+ headers = request.headers
2878
+ body = self.call("DescribeLicenses", params, headers=headers)
2879
+ response = json.loads(body)
2880
+ model = models.DescribeLicensesResponse()
2881
+ model._deserialize(response["Response"])
2882
+ return model
2883
+ except Exception as e:
2884
+ if isinstance(e, TencentCloudSDKException):
2885
+ raise
2886
+ else:
2887
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2888
+
2889
+
2890
+ def DescribeLogCapacity(self, request):
2891
+ """获取用户日志使用量
2892
+
2893
+ :param request: Request instance for DescribeLogCapacity.
2894
+ :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeLogCapacityRequest`
2895
+ :rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeLogCapacityResponse`
2896
+
2897
+ """
2898
+ try:
2899
+ params = request._serialize()
2900
+ headers = request.headers
2901
+ body = self.call("DescribeLogCapacity", params, headers=headers)
2902
+ response = json.loads(body)
2903
+ model = models.DescribeLogCapacityResponse()
2904
+ model._deserialize(response["Response"])
2905
+ return model
2906
+ except Exception as e:
2907
+ if isinstance(e, TencentCloudSDKException):
2908
+ raise
2909
+ else:
2910
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2911
+
2912
+
2867
2913
  def DescribeMicroservice(self, request):
2868
2914
  """查询微服务详情
2869
2915
 
@@ -3301,6 +3347,29 @@ class TsfClient(AbstractClient):
3301
3347
  raise TencentCloudSDKException(type(e).__name__, str(e))
3302
3348
 
3303
3349
 
3350
+ def DescribeResourceConfig(self, request):
3351
+ """无
3352
+
3353
+ :param request: Request instance for DescribeResourceConfig.
3354
+ :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeResourceConfigRequest`
3355
+ :rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeResourceConfigResponse`
3356
+
3357
+ """
3358
+ try:
3359
+ params = request._serialize()
3360
+ headers = request.headers
3361
+ body = self.call("DescribeResourceConfig", params, headers=headers)
3362
+ response = json.loads(body)
3363
+ model = models.DescribeResourceConfigResponse()
3364
+ model._deserialize(response["Response"])
3365
+ return model
3366
+ except Exception as e:
3367
+ if isinstance(e, TencentCloudSDKException):
3368
+ raise
3369
+ else:
3370
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3371
+
3372
+
3304
3373
  def DescribeResourceTaskStatus(self, request):
3305
3374
  """资源任务的执行状态描述接口
3306
3375
 
@@ -3471,6 +3471,180 @@ class BaseClusterInfo(AbstractModel):
3471
3471
 
3472
3472
 
3473
3473
 
3474
+ class BaseProject(AbstractModel):
3475
+ """项目信息
3476
+
3477
+ """
3478
+
3479
+ def __init__(self):
3480
+ r"""
3481
+ :param _ProjectName: 项目标识,英文名
3482
+ 注意:此字段可能返回 null,表示取不到有效值。
3483
+ :type ProjectName: str
3484
+ :param _DisplayName: 项目显示名称,可以为中文名
3485
+ 注意:此字段可能返回 null,表示取不到有效值。
3486
+ :type DisplayName: str
3487
+ :param _Region: 地域
3488
+ 注意:此字段可能返回 null,表示取不到有效值。
3489
+ :type Region: str
3490
+ :param _TenantId: 项目的所在租户ID
3491
+ 注意:此字段可能返回 null,表示取不到有效值。
3492
+ :type TenantId: str
3493
+ :param _ProjectId: 项目id
3494
+ 注意:此字段可能返回 null,表示取不到有效值。
3495
+ :type ProjectId: str
3496
+ :param _Description: 备注
3497
+ 注意:此字段可能返回 null,表示取不到有效值。
3498
+ :type Description: str
3499
+ :param _CreateTime: 创建时间
3500
+ 注意:此字段可能返回 null,表示取不到有效值。
3501
+ :type CreateTime: str
3502
+ :param _Status: 项目状态:0:禁用,1:启用,-3:禁用中,2:启用中
3503
+ 注意:此字段可能返回 null,表示取不到有效值。
3504
+ :type Status: int
3505
+ :param _Model: 项目类型,SIMPLE:简单模式 STANDARD:标准模式
3506
+ 注意:此字段可能返回 null,表示取不到有效值。
3507
+ :type Model: str
3508
+ """
3509
+ self._ProjectName = None
3510
+ self._DisplayName = None
3511
+ self._Region = None
3512
+ self._TenantId = None
3513
+ self._ProjectId = None
3514
+ self._Description = None
3515
+ self._CreateTime = None
3516
+ self._Status = None
3517
+ self._Model = None
3518
+
3519
+ @property
3520
+ def ProjectName(self):
3521
+ """项目标识,英文名
3522
+ 注意:此字段可能返回 null,表示取不到有效值。
3523
+ :rtype: str
3524
+ """
3525
+ return self._ProjectName
3526
+
3527
+ @ProjectName.setter
3528
+ def ProjectName(self, ProjectName):
3529
+ self._ProjectName = ProjectName
3530
+
3531
+ @property
3532
+ def DisplayName(self):
3533
+ """项目显示名称,可以为中文名
3534
+ 注意:此字段可能返回 null,表示取不到有效值。
3535
+ :rtype: str
3536
+ """
3537
+ return self._DisplayName
3538
+
3539
+ @DisplayName.setter
3540
+ def DisplayName(self, DisplayName):
3541
+ self._DisplayName = DisplayName
3542
+
3543
+ @property
3544
+ def Region(self):
3545
+ """地域
3546
+ 注意:此字段可能返回 null,表示取不到有效值。
3547
+ :rtype: str
3548
+ """
3549
+ return self._Region
3550
+
3551
+ @Region.setter
3552
+ def Region(self, Region):
3553
+ self._Region = Region
3554
+
3555
+ @property
3556
+ def TenantId(self):
3557
+ """项目的所在租户ID
3558
+ 注意:此字段可能返回 null,表示取不到有效值。
3559
+ :rtype: str
3560
+ """
3561
+ return self._TenantId
3562
+
3563
+ @TenantId.setter
3564
+ def TenantId(self, TenantId):
3565
+ self._TenantId = TenantId
3566
+
3567
+ @property
3568
+ def ProjectId(self):
3569
+ """项目id
3570
+ 注意:此字段可能返回 null,表示取不到有效值。
3571
+ :rtype: str
3572
+ """
3573
+ return self._ProjectId
3574
+
3575
+ @ProjectId.setter
3576
+ def ProjectId(self, ProjectId):
3577
+ self._ProjectId = ProjectId
3578
+
3579
+ @property
3580
+ def Description(self):
3581
+ """备注
3582
+ 注意:此字段可能返回 null,表示取不到有效值。
3583
+ :rtype: str
3584
+ """
3585
+ return self._Description
3586
+
3587
+ @Description.setter
3588
+ def Description(self, Description):
3589
+ self._Description = Description
3590
+
3591
+ @property
3592
+ def CreateTime(self):
3593
+ """创建时间
3594
+ 注意:此字段可能返回 null,表示取不到有效值。
3595
+ :rtype: str
3596
+ """
3597
+ return self._CreateTime
3598
+
3599
+ @CreateTime.setter
3600
+ def CreateTime(self, CreateTime):
3601
+ self._CreateTime = CreateTime
3602
+
3603
+ @property
3604
+ def Status(self):
3605
+ """项目状态:0:禁用,1:启用,-3:禁用中,2:启用中
3606
+ 注意:此字段可能返回 null,表示取不到有效值。
3607
+ :rtype: int
3608
+ """
3609
+ return self._Status
3610
+
3611
+ @Status.setter
3612
+ def Status(self, Status):
3613
+ self._Status = Status
3614
+
3615
+ @property
3616
+ def Model(self):
3617
+ """项目类型,SIMPLE:简单模式 STANDARD:标准模式
3618
+ 注意:此字段可能返回 null,表示取不到有效值。
3619
+ :rtype: str
3620
+ """
3621
+ return self._Model
3622
+
3623
+ @Model.setter
3624
+ def Model(self, Model):
3625
+ self._Model = Model
3626
+
3627
+
3628
+ def _deserialize(self, params):
3629
+ self._ProjectName = params.get("ProjectName")
3630
+ self._DisplayName = params.get("DisplayName")
3631
+ self._Region = params.get("Region")
3632
+ self._TenantId = params.get("TenantId")
3633
+ self._ProjectId = params.get("ProjectId")
3634
+ self._Description = params.get("Description")
3635
+ self._CreateTime = params.get("CreateTime")
3636
+ self._Status = params.get("Status")
3637
+ self._Model = params.get("Model")
3638
+ memeber_set = set(params.keys())
3639
+ for name, value in vars(self).items():
3640
+ property_name = name[1:]
3641
+ if property_name in memeber_set:
3642
+ memeber_set.remove(property_name)
3643
+ if len(memeber_set) > 0:
3644
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3645
+
3646
+
3647
+
3474
3648
  class BaseRole(AbstractModel):
3475
3649
  """基础角色对象
3476
3650
 
@@ -11695,6 +11869,38 @@ class CreateBaseProjectRequest(AbstractModel):
11695
11869
 
11696
11870
  """
11697
11871
 
11872
+ def __init__(self):
11873
+ r"""
11874
+ :param _Project: 项目信息
11875
+ :type Project: :class:`tencentcloud.wedata.v20210820.models.BaseProject`
11876
+ """
11877
+ self._Project = None
11878
+
11879
+ @property
11880
+ def Project(self):
11881
+ """项目信息
11882
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.BaseProject`
11883
+ """
11884
+ return self._Project
11885
+
11886
+ @Project.setter
11887
+ def Project(self, Project):
11888
+ self._Project = Project
11889
+
11890
+
11891
+ def _deserialize(self, params):
11892
+ if params.get("Project") is not None:
11893
+ self._Project = BaseProject()
11894
+ self._Project._deserialize(params.get("Project"))
11895
+ memeber_set = set(params.keys())
11896
+ for name, value in vars(self).items():
11897
+ property_name = name[1:]
11898
+ if property_name in memeber_set:
11899
+ memeber_set.remove(property_name)
11900
+ if len(memeber_set) > 0:
11901
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11902
+
11903
+
11698
11904
 
11699
11905
  class CreateBaseProjectResponse(AbstractModel):
11700
11906
  """CreateBaseProject返回参数结构体
@@ -17458,6 +17664,8 @@ class DataSourceInfo(AbstractModel):
17458
17664
  :param _DataSourceEnvInfos: 数据源环境信息
17459
17665
  注意:此字段可能返回 null,表示取不到有效值。
17460
17666
  :type DataSourceEnvInfos: list of DataSourceEnvInfo
17667
+ :param _ForbidProbe: 禁止数据探查
17668
+ :type ForbidProbe: bool
17461
17669
  """
17462
17670
  self._DatabaseName = None
17463
17671
  self._Description = None
@@ -17499,6 +17707,7 @@ class DataSourceInfo(AbstractModel):
17499
17707
  self._DatasourceUrn = None
17500
17708
  self._Model = None
17501
17709
  self._DataSourceEnvInfos = None
17710
+ self._ForbidProbe = None
17502
17711
 
17503
17712
  @property
17504
17713
  def DatabaseName(self):
@@ -17980,6 +18189,17 @@ class DataSourceInfo(AbstractModel):
17980
18189
  def DataSourceEnvInfos(self, DataSourceEnvInfos):
17981
18190
  self._DataSourceEnvInfos = DataSourceEnvInfos
17982
18191
 
18192
+ @property
18193
+ def ForbidProbe(self):
18194
+ """禁止数据探查
18195
+ :rtype: bool
18196
+ """
18197
+ return self._ForbidProbe
18198
+
18199
+ @ForbidProbe.setter
18200
+ def ForbidProbe(self, ForbidProbe):
18201
+ self._ForbidProbe = ForbidProbe
18202
+
17983
18203
 
17984
18204
  def _deserialize(self, params):
17985
18205
  self._DatabaseName = params.get("DatabaseName")
@@ -18029,6 +18249,7 @@ class DataSourceInfo(AbstractModel):
18029
18249
  obj = DataSourceEnvInfo()
18030
18250
  obj._deserialize(item)
18031
18251
  self._DataSourceEnvInfos.append(obj)
18252
+ self._ForbidProbe = params.get("ForbidProbe")
18032
18253
  memeber_set = set(params.keys())
18033
18254
  for name, value in vars(self).items():
18034
18255
  property_name = name[1:]
@@ -25451,7 +25672,7 @@ class DescribeDataSourceInfoListRequest(AbstractModel):
25451
25672
  :type Filters: :class:`tencentcloud.wedata.v20210820.models.Filter`
25452
25673
  :param _OrderFields: 排序配置
25453
25674
  :type OrderFields: :class:`tencentcloud.wedata.v20210820.models.OrderField`
25454
- :param _Type: 数据源类型,必选(如MYSQLDLC等)
25675
+ :param _Type: 数据源类型,MYSQL,TENCENT_MYSQL,TDSQL_MYSQL,HIVE,KAFKA,POSTGRE,CDW,ORACLE,SQLSERVER,FTP,HDFS,ICEBERG,HBASE,TDSQL,TDSQLC,SPARK,VIRTUAL,TBASE,DB2,DM,TDENGINE,GAUSSDB,GBASE,IMPALA,ES,TENCENT_ES,S3_DATAINSIGHT,GREENPLUM,PHOENIX,SAP_HANA,SFTP,OCEANBASE,CLICKHOUSE,TCHOUSE_C,KUDU,VERTICA,REDIS,COS,S3,DLC,DORIS,CKAFKA,TDMQ_PULSAR,MONGODB,TENCENT_MONGODB,FTP_FILE,HDFS_FILE,DTS_KAFKA,REST_API,FILE,TIDB,SYBASE,TCHOUSE_X,TDSQL_POSTGRE,TCHOUSE_P,TCHOUSE_D,STARROCKS,EMR_STARROCKS,TBDS_STARROCKS,TRINO,KYUUBI,GDB,INFLUXDB,BIG_QUERY,BLOB,FILESYSTEM,SHAREPOINT,KINGBASEES,HUDI等
25455
25676
  :type Type: str
25456
25677
  :param _DatasourceName: 数据源名称过滤
25457
25678
  :type DatasourceName: str
@@ -25521,7 +25742,7 @@ class DescribeDataSourceInfoListRequest(AbstractModel):
25521
25742
 
25522
25743
  @property
25523
25744
  def Type(self):
25524
- """数据源类型,必选(如MYSQLDLC等)
25745
+ """数据源类型,MYSQL,TENCENT_MYSQL,TDSQL_MYSQL,HIVE,KAFKA,POSTGRE,CDW,ORACLE,SQLSERVER,FTP,HDFS,ICEBERG,HBASE,TDSQL,TDSQLC,SPARK,VIRTUAL,TBASE,DB2,DM,TDENGINE,GAUSSDB,GBASE,IMPALA,ES,TENCENT_ES,S3_DATAINSIGHT,GREENPLUM,PHOENIX,SAP_HANA,SFTP,OCEANBASE,CLICKHOUSE,TCHOUSE_C,KUDU,VERTICA,REDIS,COS,S3,DLC,DORIS,CKAFKA,TDMQ_PULSAR,MONGODB,TENCENT_MONGODB,FTP_FILE,HDFS_FILE,DTS_KAFKA,REST_API,FILE,TIDB,SYBASE,TCHOUSE_X,TDSQL_POSTGRE,TCHOUSE_P,TCHOUSE_D,STARROCKS,EMR_STARROCKS,TBDS_STARROCKS,TRINO,KYUUBI,GDB,INFLUXDB,BIG_QUERY,BLOB,FILESYSTEM,SHAREPOINT,KINGBASEES,HUDI等
25525
25746
  :rtype: str
25526
25747
  """
25527
25748
  return self._Type
@@ -69460,6 +69681,10 @@ class ModifyProjectRequest(AbstractModel):
69460
69681
  r"""
69461
69682
  :param _ProjectId: 目标修改的项目ID
69462
69683
  :type ProjectId: str
69684
+ :param _DisplayName: 项目显示名称,可以为中文名,需要租户范围内唯一
69685
+ :type DisplayName: str
69686
+ :param _Description: 备注
69687
+ :type Description: str
69463
69688
  :param _TaskSubmitApproval: true/false则修改,不带该参数不修改。
69464
69689
  :type TaskSubmitApproval: bool
69465
69690
  :param _ResourcePoolInfo: 资源池信息
@@ -69474,8 +69699,12 @@ class ModifyProjectRequest(AbstractModel):
69474
69699
  :type Model: str
69475
69700
  :param _ProjectOwner: 项目负责人
69476
69701
  :type ProjectOwner: list of str
69702
+ :param _ModifyType: 更新类型
69703
+ :type ModifyType: str
69477
69704
  """
69478
69705
  self._ProjectId = None
69706
+ self._DisplayName = None
69707
+ self._Description = None
69479
69708
  self._TaskSubmitApproval = None
69480
69709
  self._ResourcePoolInfo = None
69481
69710
  self._ProjectManagers = None
@@ -69483,6 +69712,7 @@ class ModifyProjectRequest(AbstractModel):
69483
69712
  self._ExtraOptions = None
69484
69713
  self._Model = None
69485
69714
  self._ProjectOwner = None
69715
+ self._ModifyType = None
69486
69716
 
69487
69717
  @property
69488
69718
  def ProjectId(self):
@@ -69495,6 +69725,28 @@ class ModifyProjectRequest(AbstractModel):
69495
69725
  def ProjectId(self, ProjectId):
69496
69726
  self._ProjectId = ProjectId
69497
69727
 
69728
+ @property
69729
+ def DisplayName(self):
69730
+ """项目显示名称,可以为中文名,需要租户范围内唯一
69731
+ :rtype: str
69732
+ """
69733
+ return self._DisplayName
69734
+
69735
+ @DisplayName.setter
69736
+ def DisplayName(self, DisplayName):
69737
+ self._DisplayName = DisplayName
69738
+
69739
+ @property
69740
+ def Description(self):
69741
+ """备注
69742
+ :rtype: str
69743
+ """
69744
+ return self._Description
69745
+
69746
+ @Description.setter
69747
+ def Description(self, Description):
69748
+ self._Description = Description
69749
+
69498
69750
  @property
69499
69751
  def TaskSubmitApproval(self):
69500
69752
  """true/false则修改,不带该参数不修改。
@@ -69572,9 +69824,22 @@ class ModifyProjectRequest(AbstractModel):
69572
69824
  def ProjectOwner(self, ProjectOwner):
69573
69825
  self._ProjectOwner = ProjectOwner
69574
69826
 
69827
+ @property
69828
+ def ModifyType(self):
69829
+ """更新类型
69830
+ :rtype: str
69831
+ """
69832
+ return self._ModifyType
69833
+
69834
+ @ModifyType.setter
69835
+ def ModifyType(self, ModifyType):
69836
+ self._ModifyType = ModifyType
69837
+
69575
69838
 
69576
69839
  def _deserialize(self, params):
69577
69840
  self._ProjectId = params.get("ProjectId")
69841
+ self._DisplayName = params.get("DisplayName")
69842
+ self._Description = params.get("Description")
69578
69843
  self._TaskSubmitApproval = params.get("TaskSubmitApproval")
69579
69844
  if params.get("ResourcePoolInfo") is not None:
69580
69845
  self._ResourcePoolInfo = ResourcePoolInfo()
@@ -69584,6 +69849,7 @@ class ModifyProjectRequest(AbstractModel):
69584
69849
  self._ExtraOptions = params.get("ExtraOptions")
69585
69850
  self._Model = params.get("Model")
69586
69851
  self._ProjectOwner = params.get("ProjectOwner")
69852
+ self._ModifyType = params.get("ModifyType")
69587
69853
  memeber_set = set(params.keys())
69588
69854
  for name, value in vars(self).items():
69589
69855
  property_name = name[1:]
@@ -72342,7 +72608,7 @@ class ModifyTaskScriptRequest(AbstractModel):
72342
72608
  :type ProjectId: str
72343
72609
  :param _TaskId: 任务ID
72344
72610
  :type TaskId: str
72345
- :param _ScriptContent: 必填,脚本内容 base64编码
72611
+ :param _ScriptContent: 存在脚本的任务必填(shell任务、Hive任务、python任务等),脚本内容 base64编码
72346
72612
  :type ScriptContent: str
72347
72613
  :param _IntegrationNodeDetails: 集成任务脚本配置
72348
72614
  :type IntegrationNodeDetails: list of IntegrationNodeDetail
@@ -72376,7 +72642,7 @@ class ModifyTaskScriptRequest(AbstractModel):
72376
72642
 
72377
72643
  @property
72378
72644
  def ScriptContent(self):
72379
- """必填,脚本内容 base64编码
72645
+ """存在脚本的任务必填(shell任务、Hive任务、python任务等),脚本内容 base64编码
72380
72646
  :rtype: str
72381
72647
  """
72382
72648
  return self._ScriptContent
@@ -27,7 +27,7 @@ class SearchProRequest(AbstractModel):
27
27
  r"""
28
28
  :param _Query: 搜索词
29
29
  :type Query: str
30
- :param _Mode: 返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)
30
+ :param _Mode: 返回结果类型,0-自然检索结果(默认),1-多模态VR结果,2-混合结果(多模态VR结果+自然检索结果)
31
31
  :type Mode: int
32
32
  :param _Site: 指定域名站内搜索(用于过滤自然检索结果) 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
33
33
  :type Site: str
@@ -55,7 +55,7 @@ class SearchProRequest(AbstractModel):
55
55
 
56
56
  @property
57
57
  def Mode(self):
58
- """返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)
58
+ """返回结果类型,0-自然检索结果(默认),1-多模态VR结果,2-混合结果(多模态VR结果+自然检索结果)
59
59
  :rtype: int
60
60
  """
61
61
  return self._Mode
@@ -123,7 +123,16 @@ class SearchProResponse(AbstractModel):
123
123
  r"""
124
124
  :param _Query: 原始查询语
125
125
  :type Query: str
126
- :param _Pages: 搜索结果页面
126
+ :param _Pages: 搜索结果页面详情,格式为json字符串。
127
+ title:结果标题
128
+ date:内容发布时间
129
+ url:内容发布源url
130
+ passage:标准摘要
131
+ content:动态摘要 (尊享版字段)
132
+ site:网站名称,部分不知名站点结果可能为空
133
+ score:相关性得分,取值0~1,越靠近1表示越相关
134
+ images:图片列表
135
+ favicon:网站图标链接,部分不知名站点结果可能为空
127
136
  :type Pages: list of str
128
137
  :param _Msg: 提示信息
129
138
  :type Msg: str
@@ -148,7 +157,16 @@ class SearchProResponse(AbstractModel):
148
157
 
149
158
  @property
150
159
  def Pages(self):
151
- """搜索结果页面
160
+ """搜索结果页面详情,格式为json字符串。
161
+ title:结果标题
162
+ date:内容发布时间
163
+ url:内容发布源url
164
+ passage:标准摘要
165
+ content:动态摘要 (尊享版字段)
166
+ site:网站名称,部分不知名站点结果可能为空
167
+ score:相关性得分,取值0~1,越靠近1表示越相关
168
+ images:图片列表
169
+ favicon:网站图标链接,部分不知名站点结果可能为空
152
170
  :rtype: list of str
153
171
  """
154
172
  return self._Pages
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1436
3
+ Version: 3.0.1438
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud