tencentcloud-sdk-python 3.0.1474__py2.py3-none-any.whl → 3.0.1477__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 (71) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +2 -2
  3. tencentcloud/cdb/v20170320/models.py +143 -18
  4. tencentcloud/cdn/v20180606/models.py +12 -2
  5. tencentcloud/cdwdoris/v20211228/models.py +15 -0
  6. tencentcloud/ckafka/v20190819/models.py +45 -0
  7. tencentcloud/cloudapp/v20220530/models.py +75 -0
  8. tencentcloud/cloudhsm/v20191112/models.py +15 -15
  9. tencentcloud/cls/v20201016/cls_client.py +4 -4
  10. tencentcloud/cls/v20201016/models.py +79 -58
  11. tencentcloud/ctem/v20231128/models.py +45 -0
  12. tencentcloud/dbbrain/v20191016/models.py +19 -2
  13. tencentcloud/dbbrain/v20210527/models.py +33 -12
  14. tencentcloud/dc/v20180410/models.py +150 -0
  15. tencentcloud/dlc/v20210125/errorcodes.py +6 -3
  16. tencentcloud/dts/v20211206/dts_client.py +1 -1
  17. tencentcloud/dts/v20211206/models.py +33 -10
  18. tencentcloud/emr/v20190103/models.py +15 -0
  19. tencentcloud/es/v20250101/es_client.py +24 -1
  20. tencentcloud/es/v20250101/models.py +261 -2
  21. tencentcloud/ess/v20201111/ess_client.py +120 -0
  22. tencentcloud/ess/v20201111/models.py +1215 -10
  23. tencentcloud/essbasic/v20210526/models.py +19 -4
  24. tencentcloud/gwlb/v20240906/gwlb_client.py +23 -0
  25. tencentcloud/gwlb/v20240906/models.py +150 -0
  26. tencentcloud/hunyuan/v20230901/models.py +16 -4
  27. tencentcloud/ioa/v20220601/errorcodes.py +3 -0
  28. tencentcloud/ioa/v20220601/ioa_client.py +92 -0
  29. tencentcloud/ioa/v20220601/models.py +1114 -71
  30. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
  31. tencentcloud/iotexplorer/v20190423/models.py +2022 -116
  32. tencentcloud/lcic/v20220817/models.py +2 -2
  33. tencentcloud/lighthouse/v20200324/models.py +14 -0
  34. tencentcloud/lke/v20231130/models.py +2 -2
  35. tencentcloud/lkeap/v20240522/errorcodes.py +7 -7
  36. tencentcloud/lkeap/v20240522/models.py +2 -2
  37. tencentcloud/monitor/v20180724/models.py +480 -0
  38. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  39. tencentcloud/mps/v20190612/models.py +815 -2
  40. tencentcloud/mqtt/v20240516/models.py +15 -0
  41. tencentcloud/nlp/v20190408/nlp_client.py +9 -3
  42. tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
  43. tencentcloud/oceanus/v20190422/models.py +250 -2
  44. tencentcloud/oceanus/v20190422/oceanus_client.py +46 -0
  45. tencentcloud/ocr/v20181119/models.py +20 -0
  46. tencentcloud/ocr/v20181119/ocr_client.py +3 -3
  47. tencentcloud/postgres/v20170312/models.py +14 -14
  48. tencentcloud/postgres/v20170312/postgres_client.py +2 -2
  49. tencentcloud/privatedns/v20201028/errorcodes.py +36 -0
  50. tencentcloud/privatedns/v20201028/models.py +1699 -86
  51. tencentcloud/privatedns/v20201028/privatedns_client.py +253 -0
  52. tencentcloud/redis/v20180412/models.py +2 -2
  53. tencentcloud/teo/v20220901/errorcodes.py +1 -1
  54. tencentcloud/teo/v20220901/models.py +422 -123
  55. tencentcloud/teo/v20220901/teo_client.py +2 -2
  56. tencentcloud/tke/v20180525/models.py +55 -26
  57. tencentcloud/trtc/v20190722/models.py +15 -15
  58. tencentcloud/tse/v20201207/models.py +50 -0
  59. tencentcloud/vpc/v20170312/models.py +408 -2
  60. tencentcloud/vpc/v20170312/vpc_client.py +92 -0
  61. tencentcloud/wedata/v20210820/errorcodes.py +3 -0
  62. tencentcloud/wedata/v20210820/models.py +1240 -81
  63. tencentcloud/wedata/v20210820/wedata_client.py +1 -1
  64. tencentcloud/wedata/v20250806/errorcodes.py +18 -0
  65. tencentcloud/wedata/v20250806/models.py +20670 -9356
  66. tencentcloud/wedata/v20250806/wedata_client.py +982 -16
  67. {tencentcloud_sdk_python-3.0.1474.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/METADATA +1 -1
  68. {tencentcloud_sdk_python-3.0.1474.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/RECORD +71 -71
  69. {tencentcloud_sdk_python-3.0.1474.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/LICENSE +0 -0
  70. {tencentcloud_sdk_python-3.0.1474.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/WHEEL +0 -0
  71. {tencentcloud_sdk_python-3.0.1474.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/top_level.txt +0 -0
@@ -5284,6 +5284,8 @@ API:通过API手动注册
5284
5284
  :type TopicPrefixSlashLimit: int
5285
5285
  :param _MessageRate: 单客户端发送消息限速,单位 条/秒
5286
5286
  :type MessageRate: int
5287
+ :param _TransportLayerSecurity: 服务端tls支持的协议,使用“,”分割。例如:TLSv1.3,TLSv1.2,TLSv1.1,TLSv1
5288
+ :type TransportLayerSecurity: str
5287
5289
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5288
5290
  :type RequestId: str
5289
5291
  """
@@ -5320,6 +5322,7 @@ API:通过API手动注册
5320
5322
  self._ServerCertLimit = None
5321
5323
  self._TopicPrefixSlashLimit = None
5322
5324
  self._MessageRate = None
5325
+ self._TransportLayerSecurity = None
5323
5326
  self._RequestId = None
5324
5327
 
5325
5328
  @property
@@ -5690,6 +5693,17 @@ API:通过API手动注册
5690
5693
  def MessageRate(self, MessageRate):
5691
5694
  self._MessageRate = MessageRate
5692
5695
 
5696
+ @property
5697
+ def TransportLayerSecurity(self):
5698
+ r"""服务端tls支持的协议,使用“,”分割。例如:TLSv1.3,TLSv1.2,TLSv1.1,TLSv1
5699
+ :rtype: str
5700
+ """
5701
+ return self._TransportLayerSecurity
5702
+
5703
+ @TransportLayerSecurity.setter
5704
+ def TransportLayerSecurity(self, TransportLayerSecurity):
5705
+ self._TransportLayerSecurity = TransportLayerSecurity
5706
+
5693
5707
  @property
5694
5708
  def RequestId(self):
5695
5709
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5736,6 +5750,7 @@ API:通过API手动注册
5736
5750
  self._ServerCertLimit = params.get("ServerCertLimit")
5737
5751
  self._TopicPrefixSlashLimit = params.get("TopicPrefixSlashLimit")
5738
5752
  self._MessageRate = params.get("MessageRate")
5753
+ self._TransportLayerSecurity = params.get("TransportLayerSecurity")
5739
5754
  self._RequestId = params.get("RequestId")
5740
5755
 
5741
5756
 
@@ -50,7 +50,9 @@ class NlpClient(AbstractClient):
50
50
 
51
51
 
52
52
  def ClassifyContent(self, request):
53
- r"""文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
53
+ r"""NLP技术的句子相似度、相似词召回、文本分类、对联生成、诗词生成、词相似度、文本润色、句子生成和文本补全API接口将于2025年10月31日下线,届时将无法正常调用。为了避免对您的业务造成影响,请您尽快做好相关业务调整。如果您有NLP技术的产品需求,推荐您调用腾讯混元大模型(https://cloud.tencent.com/product/tclm)。
54
+
55
+ 文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
54
56
 
55
57
  :param request: Request instance for ClassifyContent.
56
58
  :type request: :class:`tencentcloud.nlp.v20190408.models.ClassifyContentRequest`
@@ -73,7 +75,9 @@ class NlpClient(AbstractClient):
73
75
 
74
76
 
75
77
  def ComposeCouplet(self, request):
76
- r"""对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
78
+ r"""NLP技术的句子相似度、相似词召回、文本分类、对联生成、诗词生成、词相似度、文本润色、句子生成和文本补全API接口将于2025年10月31日下线,届时将无法正常调用。为了避免对您的业务造成影响,请您尽快做好相关业务调整。如果您有NLP技术的产品需求,推荐您调用腾讯混元大模型(https://cloud.tencent.com/product/tclm)。
79
+
80
+ 对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
77
81
 
78
82
  :param request: Request instance for ComposeCouplet.
79
83
  :type request: :class:`tencentcloud.nlp.v20190408.models.ComposeCoupletRequest`
@@ -96,7 +100,9 @@ class NlpClient(AbstractClient):
96
100
 
97
101
 
98
102
  def EvaluateSentenceSimilarity(self, request):
99
- r"""通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
103
+ r"""NLP技术的句子相似度、相似词召回、文本分类、对联生成、诗词生成、词相似度、文本润色、句子生成和文本补全API接口将于2025年10月31日下线,届时将无法正常调用。为了避免对您的业务造成影响,请您尽快做好相关业务调整。如果您有NLP技术的产品需求,推荐您调用腾讯混元大模型(https://cloud.tencent.com/product/tclm)。
104
+
105
+ 通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
100
106
 
101
107
  :param request: Request instance for EvaluateSentenceSimilarity.
102
108
  :type request: :class:`tencentcloud.nlp.v20190408.models.EvaluateSentenceSimilarityRequest`
@@ -104,6 +104,9 @@ INVALIDPARAMETER = 'InvalidParameter'
104
104
  # AppId资源不匹配。
105
105
  INVALIDPARAMETER_APPIDRESOURCENOTMATCH = 'InvalidParameter.AppIdResourceNotMatch'
106
106
 
107
+ # 该变量名称已存在。
108
+ INVALIDPARAMETER_CREATEVARIABLEEXISTS = 'InvalidParameter.CreateVariableExists'
109
+
107
110
  # 空间命名重复。
108
111
  INVALIDPARAMETER_DUPLICATEDSPACENAME = 'InvalidParameter.DuplicatedSpaceName'
109
112
 
@@ -206,6 +209,9 @@ INVALIDPARAMETERVALUE_UNSUPPORTEDCOMPOSITE = 'InvalidParameterValue.UnSupportedC
206
209
  # 未知停止类型错误。
207
210
  INVALIDPARAMETERVALUE_UNKNOWNSTOPTYPE = 'InvalidParameterValue.UnknownStopType'
208
211
 
212
+ # 变量参数异常。
213
+ INVALIDPARAMETERVALUE_VARIABLENAME = 'InvalidParameterValue.VariableName'
214
+
209
215
  # 超过配额限制。
210
216
  LIMITEXCEEDED = 'LimitExceeded'
211
217
 
@@ -218,6 +224,9 @@ LIMITEXCEEDED_JOB = 'LimitExceeded.Job'
218
224
  # 作业配置超出限制。
219
225
  LIMITEXCEEDED_JOBCONFIG = 'LimitExceeded.JobConfig'
220
226
 
227
+ # 变量数超过限制。
228
+ LIMITEXCEEDED_VARIABLES = 'LimitExceeded.Variables'
229
+
221
230
  # 工作空间超阈值。
222
231
  LIMITEXCEEDED_WORKSPACELIMITEXCEEDED = 'LimitExceeded.WorkSpaceLimitExceeded'
223
232
 
@@ -4142,6 +4142,145 @@ class CreateResourceResponse(AbstractModel):
4142
4142
  self._RequestId = params.get("RequestId")
4143
4143
 
4144
4144
 
4145
+ class CreateVariableRequest(AbstractModel):
4146
+ r"""CreateVariable请求参数结构体
4147
+
4148
+ """
4149
+
4150
+ def __init__(self):
4151
+ r"""
4152
+ :param _Name: 变量名
4153
+ :type Name: str
4154
+ :param _Value: 变量值
4155
+ :type Value: str
4156
+ :param _Type: 变量类型 1:显式 2:隐藏
4157
+ :type Type: int
4158
+ :param _Remark: 描述信息
4159
+ :type Remark: str
4160
+ :param _WorkSpaceId: 工作空间 SerialId
4161
+ :type WorkSpaceId: str
4162
+ """
4163
+ self._Name = None
4164
+ self._Value = None
4165
+ self._Type = None
4166
+ self._Remark = None
4167
+ self._WorkSpaceId = None
4168
+
4169
+ @property
4170
+ def Name(self):
4171
+ r"""变量名
4172
+ :rtype: str
4173
+ """
4174
+ return self._Name
4175
+
4176
+ @Name.setter
4177
+ def Name(self, Name):
4178
+ self._Name = Name
4179
+
4180
+ @property
4181
+ def Value(self):
4182
+ r"""变量值
4183
+ :rtype: str
4184
+ """
4185
+ return self._Value
4186
+
4187
+ @Value.setter
4188
+ def Value(self, Value):
4189
+ self._Value = Value
4190
+
4191
+ @property
4192
+ def Type(self):
4193
+ r"""变量类型 1:显式 2:隐藏
4194
+ :rtype: int
4195
+ """
4196
+ return self._Type
4197
+
4198
+ @Type.setter
4199
+ def Type(self, Type):
4200
+ self._Type = Type
4201
+
4202
+ @property
4203
+ def Remark(self):
4204
+ r"""描述信息
4205
+ :rtype: str
4206
+ """
4207
+ return self._Remark
4208
+
4209
+ @Remark.setter
4210
+ def Remark(self, Remark):
4211
+ self._Remark = Remark
4212
+
4213
+ @property
4214
+ def WorkSpaceId(self):
4215
+ r"""工作空间 SerialId
4216
+ :rtype: str
4217
+ """
4218
+ return self._WorkSpaceId
4219
+
4220
+ @WorkSpaceId.setter
4221
+ def WorkSpaceId(self, WorkSpaceId):
4222
+ self._WorkSpaceId = WorkSpaceId
4223
+
4224
+
4225
+ def _deserialize(self, params):
4226
+ self._Name = params.get("Name")
4227
+ self._Value = params.get("Value")
4228
+ self._Type = params.get("Type")
4229
+ self._Remark = params.get("Remark")
4230
+ self._WorkSpaceId = params.get("WorkSpaceId")
4231
+ memeber_set = set(params.keys())
4232
+ for name, value in vars(self).items():
4233
+ property_name = name[1:]
4234
+ if property_name in memeber_set:
4235
+ memeber_set.remove(property_name)
4236
+ if len(memeber_set) > 0:
4237
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4238
+
4239
+
4240
+
4241
+ class CreateVariableResponse(AbstractModel):
4242
+ r"""CreateVariable返回参数结构体
4243
+
4244
+ """
4245
+
4246
+ def __init__(self):
4247
+ r"""
4248
+ :param _VariableId: 变量Id
4249
+ :type VariableId: str
4250
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4251
+ :type RequestId: str
4252
+ """
4253
+ self._VariableId = None
4254
+ self._RequestId = None
4255
+
4256
+ @property
4257
+ def VariableId(self):
4258
+ r"""变量Id
4259
+ :rtype: str
4260
+ """
4261
+ return self._VariableId
4262
+
4263
+ @VariableId.setter
4264
+ def VariableId(self, VariableId):
4265
+ self._VariableId = VariableId
4266
+
4267
+ @property
4268
+ def RequestId(self):
4269
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4270
+ :rtype: str
4271
+ """
4272
+ return self._RequestId
4273
+
4274
+ @RequestId.setter
4275
+ def RequestId(self, RequestId):
4276
+ self._RequestId = RequestId
4277
+
4278
+
4279
+ def _deserialize(self, params):
4280
+ self._VariableId = params.get("VariableId")
4281
+ self._RequestId = params.get("RequestId")
4282
+
4283
+
4145
4284
  class CreateWorkSpaceRequest(AbstractModel):
4146
4285
  r"""CreateWorkSpace请求参数结构体
4147
4286
 
@@ -7897,6 +8036,70 @@ class DescribeTreeResourcesRsp(AbstractModel):
7897
8036
 
7898
8037
 
7899
8038
 
8039
+ class DescribeVariablesRequest(AbstractModel):
8040
+ r"""DescribeVariables请求参数结构体
8041
+
8042
+ """
8043
+
8044
+ def __init__(self):
8045
+ r"""
8046
+ :param _WorkSpaceId: 工作空间 SerialId
8047
+ :type WorkSpaceId: str
8048
+ """
8049
+ self._WorkSpaceId = None
8050
+
8051
+ @property
8052
+ def WorkSpaceId(self):
8053
+ r"""工作空间 SerialId
8054
+ :rtype: str
8055
+ """
8056
+ return self._WorkSpaceId
8057
+
8058
+ @WorkSpaceId.setter
8059
+ def WorkSpaceId(self, WorkSpaceId):
8060
+ self._WorkSpaceId = WorkSpaceId
8061
+
8062
+
8063
+ def _deserialize(self, params):
8064
+ self._WorkSpaceId = params.get("WorkSpaceId")
8065
+ memeber_set = set(params.keys())
8066
+ for name, value in vars(self).items():
8067
+ property_name = name[1:]
8068
+ if property_name in memeber_set:
8069
+ memeber_set.remove(property_name)
8070
+ if len(memeber_set) > 0:
8071
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8072
+
8073
+
8074
+
8075
+ class DescribeVariablesResponse(AbstractModel):
8076
+ r"""DescribeVariables返回参数结构体
8077
+
8078
+ """
8079
+
8080
+ def __init__(self):
8081
+ r"""
8082
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8083
+ :type RequestId: str
8084
+ """
8085
+ self._RequestId = None
8086
+
8087
+ @property
8088
+ def RequestId(self):
8089
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8090
+ :rtype: str
8091
+ """
8092
+ return self._RequestId
8093
+
8094
+ @RequestId.setter
8095
+ def RequestId(self, RequestId):
8096
+ self._RequestId = RequestId
8097
+
8098
+
8099
+ def _deserialize(self, params):
8100
+ self._RequestId = params.get("RequestId")
8101
+
8102
+
7900
8103
  class DescribeWorkSpacesRequest(AbstractModel):
7901
8104
  r"""DescribeWorkSpaces请求参数结构体
7902
8105
 
@@ -10090,9 +10293,11 @@ class JobV1(AbstractModel):
10090
10293
  :param _ClusterName: 集群名字
10091
10294
  注意:此字段可能返回 null,表示取不到有效值。
10092
10295
  :type ClusterName: str
10093
- :param _LatestJobConfigVersion: 最新配置版本号
10296
+ :param _LatestJobConfigVersion: 最新配置版本号,包括已经删除的版本
10094
10297
  注意:此字段可能返回 null,表示取不到有效值。
10095
10298
  :type LatestJobConfigVersion: int
10299
+ :param _LatestValidJobConfigVersion: 最新的版本号,不包括已经删除的版本号
10300
+ :type LatestValidJobConfigVersion: int
10096
10301
  :param _PublishedJobConfigVersion: 已发布的配置版本
10097
10302
  注意:此字段可能返回 null,表示取不到有效值。
10098
10303
  :type PublishedJobConfigVersion: int
@@ -10159,6 +10364,8 @@ class JobV1(AbstractModel):
10159
10364
  :type ProgressDesc: str
10160
10365
  :param _ContinueAlarm: 停止持续告警
10161
10366
  :type ContinueAlarm: int
10367
+ :param _RestartCount: 作业重启次数
10368
+ :type RestartCount: int
10162
10369
  """
10163
10370
  self._JobId = None
10164
10371
  self._Region = None
@@ -10178,6 +10385,7 @@ class JobV1(AbstractModel):
10178
10385
  self._LastOpResult = None
10179
10386
  self._ClusterName = None
10180
10387
  self._LatestJobConfigVersion = None
10388
+ self._LatestValidJobConfigVersion = None
10181
10389
  self._PublishedJobConfigVersion = None
10182
10390
  self._RunningCuNum = None
10183
10391
  self._CuMem = None
@@ -10200,6 +10408,7 @@ class JobV1(AbstractModel):
10200
10408
  self._OpenJobDefaultAlarm = None
10201
10409
  self._ProgressDesc = None
10202
10410
  self._ContinueAlarm = None
10411
+ self._RestartCount = None
10203
10412
 
10204
10413
  @property
10205
10414
  def JobId(self):
@@ -10407,7 +10616,7 @@ class JobV1(AbstractModel):
10407
10616
 
10408
10617
  @property
10409
10618
  def LatestJobConfigVersion(self):
10410
- r"""最新配置版本号
10619
+ r"""最新配置版本号,包括已经删除的版本
10411
10620
  注意:此字段可能返回 null,表示取不到有效值。
10412
10621
  :rtype: int
10413
10622
  """
@@ -10417,6 +10626,17 @@ class JobV1(AbstractModel):
10417
10626
  def LatestJobConfigVersion(self, LatestJobConfigVersion):
10418
10627
  self._LatestJobConfigVersion = LatestJobConfigVersion
10419
10628
 
10629
+ @property
10630
+ def LatestValidJobConfigVersion(self):
10631
+ r"""最新的版本号,不包括已经删除的版本号
10632
+ :rtype: int
10633
+ """
10634
+ return self._LatestValidJobConfigVersion
10635
+
10636
+ @LatestValidJobConfigVersion.setter
10637
+ def LatestValidJobConfigVersion(self, LatestValidJobConfigVersion):
10638
+ self._LatestValidJobConfigVersion = LatestValidJobConfigVersion
10639
+
10420
10640
  @property
10421
10641
  def PublishedJobConfigVersion(self):
10422
10642
  r"""已发布的配置版本
@@ -10681,6 +10901,17 @@ class JobV1(AbstractModel):
10681
10901
  def ContinueAlarm(self, ContinueAlarm):
10682
10902
  self._ContinueAlarm = ContinueAlarm
10683
10903
 
10904
+ @property
10905
+ def RestartCount(self):
10906
+ r"""作业重启次数
10907
+ :rtype: int
10908
+ """
10909
+ return self._RestartCount
10910
+
10911
+ @RestartCount.setter
10912
+ def RestartCount(self, RestartCount):
10913
+ self._RestartCount = RestartCount
10914
+
10684
10915
 
10685
10916
  def _deserialize(self, params):
10686
10917
  self._JobId = params.get("JobId")
@@ -10701,6 +10932,7 @@ class JobV1(AbstractModel):
10701
10932
  self._LastOpResult = params.get("LastOpResult")
10702
10933
  self._ClusterName = params.get("ClusterName")
10703
10934
  self._LatestJobConfigVersion = params.get("LatestJobConfigVersion")
10935
+ self._LatestValidJobConfigVersion = params.get("LatestValidJobConfigVersion")
10704
10936
  self._PublishedJobConfigVersion = params.get("PublishedJobConfigVersion")
10705
10937
  self._RunningCuNum = params.get("RunningCuNum")
10706
10938
  self._CuMem = params.get("CuMem")
@@ -10730,6 +10962,7 @@ class JobV1(AbstractModel):
10730
10962
  self._OpenJobDefaultAlarm = params.get("OpenJobDefaultAlarm")
10731
10963
  self._ProgressDesc = params.get("ProgressDesc")
10732
10964
  self._ContinueAlarm = params.get("ContinueAlarm")
10965
+ self._RestartCount = params.get("RestartCount")
10733
10966
  memeber_set = set(params.keys())
10734
10967
  for name, value in vars(self).items():
10735
10968
  property_name = name[1:]
@@ -15664,6 +15897,8 @@ class TreeJobSets(AbstractModel):
15664
15897
  :param _DecodeSqlCode: sql
15665
15898
  注意:此字段可能返回 null,表示取不到有效值。
15666
15899
  :type DecodeSqlCode: str
15900
+ :param _PublishedJobConfigId: 发布版本配置id
15901
+ :type PublishedJobConfigId: int
15667
15902
  """
15668
15903
  self._JobId = None
15669
15904
  self._Name = None
@@ -15674,6 +15909,7 @@ class TreeJobSets(AbstractModel):
15674
15909
  self._RunningCpu = None
15675
15910
  self._RunningMem = None
15676
15911
  self._DecodeSqlCode = None
15912
+ self._PublishedJobConfigId = None
15677
15913
 
15678
15914
  @property
15679
15915
  def JobId(self):
@@ -15784,6 +16020,17 @@ class TreeJobSets(AbstractModel):
15784
16020
  def DecodeSqlCode(self, DecodeSqlCode):
15785
16021
  self._DecodeSqlCode = DecodeSqlCode
15786
16022
 
16023
+ @property
16024
+ def PublishedJobConfigId(self):
16025
+ r"""发布版本配置id
16026
+ :rtype: int
16027
+ """
16028
+ return self._PublishedJobConfigId
16029
+
16030
+ @PublishedJobConfigId.setter
16031
+ def PublishedJobConfigId(self, PublishedJobConfigId):
16032
+ self._PublishedJobConfigId = PublishedJobConfigId
16033
+
15787
16034
 
15788
16035
  def _deserialize(self, params):
15789
16036
  self._JobId = params.get("JobId")
@@ -15795,6 +16042,7 @@ class TreeJobSets(AbstractModel):
15795
16042
  self._RunningCpu = params.get("RunningCpu")
15796
16043
  self._RunningMem = params.get("RunningMem")
15797
16044
  self._DecodeSqlCode = params.get("DecodeSqlCode")
16045
+ self._PublishedJobConfigId = params.get("PublishedJobConfigId")
15798
16046
  memeber_set = set(params.keys())
15799
16047
  for name, value in vars(self).items():
15800
16048
  property_name = name[1:]
@@ -233,6 +233,29 @@ class OceanusClient(AbstractClient):
233
233
  raise TencentCloudSDKException(type(e).__name__, str(e))
234
234
 
235
235
 
236
+ def CreateVariable(self, request):
237
+ r"""创建变量
238
+
239
+ :param request: Request instance for CreateVariable.
240
+ :type request: :class:`tencentcloud.oceanus.v20190422.models.CreateVariableRequest`
241
+ :rtype: :class:`tencentcloud.oceanus.v20190422.models.CreateVariableResponse`
242
+
243
+ """
244
+ try:
245
+ params = request._serialize()
246
+ headers = request.headers
247
+ body = self.call("CreateVariable", params, headers=headers)
248
+ response = json.loads(body)
249
+ model = models.CreateVariableResponse()
250
+ model._deserialize(response["Response"])
251
+ return model
252
+ except Exception as e:
253
+ if isinstance(e, TencentCloudSDKException):
254
+ raise
255
+ else:
256
+ raise TencentCloudSDKException(type(e).__name__, str(e))
257
+
258
+
236
259
  def CreateWorkSpace(self, request):
237
260
  r"""创建工作空间
238
261
 
@@ -739,6 +762,29 @@ class OceanusClient(AbstractClient):
739
762
  raise TencentCloudSDKException(type(e).__name__, str(e))
740
763
 
741
764
 
765
+ def DescribeVariables(self, request):
766
+ r"""变量列表展示
767
+
768
+ :param request: Request instance for DescribeVariables.
769
+ :type request: :class:`tencentcloud.oceanus.v20190422.models.DescribeVariablesRequest`
770
+ :rtype: :class:`tencentcloud.oceanus.v20190422.models.DescribeVariablesResponse`
771
+
772
+ """
773
+ try:
774
+ params = request._serialize()
775
+ headers = request.headers
776
+ body = self.call("DescribeVariables", params, headers=headers)
777
+ response = json.loads(body)
778
+ model = models.DescribeVariablesResponse()
779
+ model._deserialize(response["Response"])
780
+ return model
781
+ except Exception as e:
782
+ if isinstance(e, TencentCloudSDKException):
783
+ raise
784
+ else:
785
+ raise TencentCloudSDKException(type(e).__name__, str(e))
786
+
787
+
742
788
  def DescribeWorkSpaces(self, request):
743
789
  r"""授权工作空间列表
744
790
 
@@ -8423,12 +8423,15 @@ class ExtractDocBasicResponse(AbstractModel):
8423
8423
  :type StructuralList: list of GroupInfo
8424
8424
  :param _WordList: 还原文本信息
8425
8425
  :type WordList: list of WordItem
8426
+ :param _SealInfos: 全部印章信息
8427
+ :type SealInfos: list of SealInfo
8426
8428
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8427
8429
  :type RequestId: str
8428
8430
  """
8429
8431
  self._Angle = None
8430
8432
  self._StructuralList = None
8431
8433
  self._WordList = None
8434
+ self._SealInfos = None
8432
8435
  self._RequestId = None
8433
8436
 
8434
8437
  @property
@@ -8465,6 +8468,17 @@ class ExtractDocBasicResponse(AbstractModel):
8465
8468
  def WordList(self, WordList):
8466
8469
  self._WordList = WordList
8467
8470
 
8471
+ @property
8472
+ def SealInfos(self):
8473
+ r"""全部印章信息
8474
+ :rtype: list of SealInfo
8475
+ """
8476
+ return self._SealInfos
8477
+
8478
+ @SealInfos.setter
8479
+ def SealInfos(self, SealInfos):
8480
+ self._SealInfos = SealInfos
8481
+
8468
8482
  @property
8469
8483
  def RequestId(self):
8470
8484
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -8491,6 +8505,12 @@ class ExtractDocBasicResponse(AbstractModel):
8491
8505
  obj = WordItem()
8492
8506
  obj._deserialize(item)
8493
8507
  self._WordList.append(obj)
8508
+ if params.get("SealInfos") is not None:
8509
+ self._SealInfos = []
8510
+ for item in params.get("SealInfos"):
8511
+ obj = SealInfo()
8512
+ obj._deserialize(item)
8513
+ self._SealInfos.append(obj)
8494
8514
  self._RequestId = params.get("RequestId")
8495
8515
 
8496
8516
 
@@ -461,7 +461,7 @@ class OcrClient(AbstractClient):
461
461
 
462
462
 
463
463
  def ExtractDocBasic(self, request):
464
- r"""本接口支持识别并提取制式卡证、票据、表单等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
464
+ r"""本接口支持识别并提取制式卡证、票据、表单等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocBasic)。
465
465
 
466
466
  接口别名:SmartStructuralOCRV2
467
467
 
@@ -488,7 +488,7 @@ class OcrClient(AbstractClient):
488
488
 
489
489
 
490
490
  def ExtractDocMulti(self, request):
491
- r"""本接口支持识别并提取场景复杂、版式多等结构化场景的字段信息。重点场景包括:金融、医疗、交通、出行、保险。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
491
+ r"""本接口支持识别并提取场景复杂、版式多等结构化场景的字段信息。重点场景包括:金融、医疗、交通、出行、保险。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMulti)。
492
492
 
493
493
  接口别名:SmartStructuralPro
494
494
 
@@ -515,7 +515,7 @@ class OcrClient(AbstractClient):
515
515
 
516
516
 
517
517
  def ExtractDocMultiPro(self, request):
518
- r"""本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
518
+ r"""本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
519
519
 
520
520
  默认接口请求频率限制:5次/秒。
521
521
 
@@ -8234,14 +8234,14 @@ class DescribeDBInstanceHAConfigRequest(AbstractModel):
8234
8234
 
8235
8235
  def __init__(self):
8236
8236
  r"""
8237
- :param _DBInstanceId: 实例ID
8237
+ :param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
8238
8238
  :type DBInstanceId: str
8239
8239
  """
8240
8240
  self._DBInstanceId = None
8241
8241
 
8242
8242
  @property
8243
8243
  def DBInstanceId(self):
8244
- r"""实例ID
8244
+ r"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
8245
8245
  :rtype: str
8246
8246
  """
8247
8247
  return self._DBInstanceId
@@ -8271,16 +8271,16 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
8271
8271
  def __init__(self):
8272
8272
  r"""
8273
8273
  :param _SyncMode: 主从同步方式:
8274
- <li>Semi-sync:半同步
8275
- <li>Async:异步
8274
+ <li>Semi-sync:半同步</li>
8275
+ <li>Async:异步</li>
8276
8276
  :type SyncMode: str
8277
8277
  :param _MaxStandbyLatency: 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
8278
- <li>单位:byte
8279
- <li>参数范围:[1073741824, 322122547200]
8278
+ <li>单位:byte</li>
8279
+ <li>参数范围:[1073741824, 322122547200]</li>
8280
8280
  :type MaxStandbyLatency: int
8281
8281
  :param _MaxStandbyLag: 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
8282
- <li>单位:s
8283
- <li>参数范围:[5, 10]
8282
+ <li>单位:s</li>
8283
+ <li>参数范围:[5, 10]</li>
8284
8284
  :type MaxStandbyLag: int
8285
8285
  :param _MaxSyncStandbyLatency: 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。
8286
8286
  该参数值针对SyncMode设置为Semi-sync的实例有效。
@@ -8307,8 +8307,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
8307
8307
  @property
8308
8308
  def SyncMode(self):
8309
8309
  r"""主从同步方式:
8310
- <li>Semi-sync:半同步
8311
- <li>Async:异步
8310
+ <li>Semi-sync:半同步</li>
8311
+ <li>Async:异步</li>
8312
8312
  :rtype: str
8313
8313
  """
8314
8314
  return self._SyncMode
@@ -8320,8 +8320,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
8320
8320
  @property
8321
8321
  def MaxStandbyLatency(self):
8322
8322
  r"""高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
8323
- <li>单位:byte
8324
- <li>参数范围:[1073741824, 322122547200]
8323
+ <li>单位:byte</li>
8324
+ <li>参数范围:[1073741824, 322122547200]</li>
8325
8325
  :rtype: int
8326
8326
  """
8327
8327
  return self._MaxStandbyLatency
@@ -8333,8 +8333,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
8333
8333
  @property
8334
8334
  def MaxStandbyLag(self):
8335
8335
  r"""高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
8336
- <li>单位:s
8337
- <li>参数范围:[5, 10]
8336
+ <li>单位:s</li>
8337
+ <li>参数范围:[5, 10]</li>
8338
8338
  :rtype: int
8339
8339
  """
8340
8340
  return self._MaxStandbyLag
@@ -835,8 +835,8 @@ class PostgresClient(AbstractClient):
835
835
 
836
836
  def DescribeDBInstanceHAConfig(self, request):
837
837
  r"""本接口(DescribeDBInstanceHAConfig)用于查询实例HA配置信息。其中HA配置信息包括:
838
- <li>允许备节点切换为主节点的条件配置
839
- <li>半同步实例使用同步复制或异步复制的条件配置
838
+ <li>允许备节点切换为主节点的条件配置</li>
839
+ <li>半同步实例使用同步复制或异步复制的条件配置</li>
840
840
 
841
841
  :param request: Request instance for DescribeDBInstanceHAConfig.
842
842
  :type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDBInstanceHAConfigRequest`