tencentcloud-sdk-python 3.0.1419__py2.py3-none-any.whl → 3.0.1421__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +244 -4
- tencentcloud/cfg/v20210820/models.py +40 -0
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +355 -4
- tencentcloud/ess/v20201111/models.py +8 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/models.py +71 -0
- tencentcloud/igtm/v20231024/igtm_client.py +69 -0
- tencentcloud/igtm/v20231024/models.py +1202 -198
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +4 -2
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +395 -2
- tencentcloud/mrs/v20200910/models.py +15 -0
- tencentcloud/nlp/v20190408/errorcodes.py +0 -21
- tencentcloud/nlp/v20190408/models.py +99 -1004
- tencentcloud/nlp/v20190408/nlp_client.py +0 -138
- tencentcloud/ocr/v20181119/models.py +4 -18
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/omics/v20221128/models.py +60 -0
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +171 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/tcb/v20180608/models.py +64 -10
- tencentcloud/tdmq/v20200217/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +664 -2
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tione/v20211111/models.py +23 -0
- tencentcloud/tke/v20180525/models.py +46 -46
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +16 -0
- tencentcloud/vod/v20180717/models.py +8 -4
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/RECORD +44 -173
- tencentcloud/cis/__init__.py +0 -0
- tencentcloud/cis/v20180408/__init__.py +0 -0
- tencentcloud/cis/v20180408/cis_client.py +0 -187
- tencentcloud/cis/v20180408/errorcodes.py +0 -21
- tencentcloud/cis/v20180408/models.py +0 -1688
- tencentcloud/dataintegration/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
- tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
- tencentcloud/dataintegration/v20220613/models.py +0 -168
- tencentcloud/dtf/__init__.py +0 -0
- tencentcloud/dtf/v20200506/__init__.py +0 -0
- tencentcloud/dtf/v20200506/dtf_client.py +0 -49
- tencentcloud/dtf/v20200506/errorcodes.py +0 -21
- tencentcloud/dtf/v20200506/models.py +0 -538
- tencentcloud/gpm/__init__.py +0 -0
- tencentcloud/gpm/v20200820/__init__.py +0 -0
- tencentcloud/gpm/v20200820/errorcodes.py +0 -168
- tencentcloud/gpm/v20200820/gpm_client.py +0 -476
- tencentcloud/gpm/v20200820/models.py +0 -4255
- tencentcloud/gse/__init__.py +0 -0
- tencentcloud/gse/v20191112/__init__.py +0 -0
- tencentcloud/gse/v20191112/errorcodes.py +0 -90
- tencentcloud/gse/v20191112/gse_client.py +0 -1993
- tencentcloud/gse/v20191112/models.py +0 -15093
- tencentcloud/iecp/__init__.py +0 -0
- tencentcloud/iecp/v20210914/__init__.py +0 -0
- tencentcloud/iecp/v20210914/errorcodes.py +0 -75
- tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
- tencentcloud/iecp/v20210914/models.py +0 -17466
- tencentcloud/iir/__init__.py +0 -0
- tencentcloud/iir/v20200417/__init__.py +0 -0
- tencentcloud/iir/v20200417/errorcodes.py +0 -48
- tencentcloud/iir/v20200417/iir_client.py +0 -53
- tencentcloud/iir/v20200417/models.py +0 -451
- tencentcloud/iottid/__init__.py +0 -0
- tencentcloud/iottid/v20190411/__init__.py +0 -0
- tencentcloud/iottid/v20190411/errorcodes.py +0 -54
- tencentcloud/iottid/v20190411/iottid_client.py +0 -233
- tencentcloud/iottid/v20190411/models.py +0 -1053
- tencentcloud/mgobe/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
- tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
- tencentcloud/mgobe/v20190929/models.py +0 -97
- tencentcloud/mgobe/v20201014/__init__.py +0 -0
- tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
- tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
- tencentcloud/mgobe/v20201014/models.py +0 -1361
- tencentcloud/mvj/__init__.py +0 -0
- tencentcloud/mvj/v20190926/__init__.py +0 -0
- tencentcloud/mvj/v20190926/errorcodes.py +0 -30
- tencentcloud/mvj/v20190926/models.py +0 -263
- tencentcloud/mvj/v20190926/mvj_client.py +0 -51
- tencentcloud/pds/__init__.py +0 -0
- tencentcloud/pds/v20210701/__init__.py +0 -0
- tencentcloud/pds/v20210701/errorcodes.py +0 -48
- tencentcloud/pds/v20210701/models.py +0 -346
- tencentcloud/pds/v20210701/pds_client.py +0 -72
- tencentcloud/smpn/__init__.py +0 -0
- tencentcloud/smpn/v20190822/__init__.py +0 -0
- tencentcloud/smpn/v20190822/errorcodes.py +0 -27
- tencentcloud/smpn/v20190822/models.py +0 -389
- tencentcloud/smpn/v20190822/smpn_client.py +0 -76
- tencentcloud/solar/__init__.py +0 -0
- tencentcloud/solar/v20181011/__init__.py +0 -0
- tencentcloud/solar/v20181011/errorcodes.py +0 -42
- tencentcloud/solar/v20181011/models.py +0 -3848
- tencentcloud/solar/v20181011/solar_client.py +0 -417
- tencentcloud/tan/__init__.py +0 -0
- tencentcloud/tan/v20220420/__init__.py +0 -0
- tencentcloud/tan/v20220420/errorcodes.py +0 -81
- tencentcloud/tan/v20220420/models.py +0 -112
- tencentcloud/tan/v20220420/tan_client.py +0 -51
- tencentcloud/tav/__init__.py +0 -0
- tencentcloud/tav/v20190118/__init__.py +0 -0
- tencentcloud/tav/v20190118/errorcodes.py +0 -15
- tencentcloud/tav/v20190118/models.py +0 -550
- tencentcloud/tav/v20190118/tav_client.py +0 -118
- tencentcloud/tbm/__init__.py +0 -0
- tencentcloud/tbm/v20180129/__init__.py +0 -0
- tencentcloud/tbm/v20180129/errorcodes.py +0 -39
- tencentcloud/tbm/v20180129/models.py +0 -2354
- tencentcloud/tbm/v20180129/tbm_client.py +0 -233
- tencentcloud/tcex/__init__.py +0 -0
- tencentcloud/tcex/v20200727/__init__.py +0 -0
- tencentcloud/tcex/v20200727/errorcodes.py +0 -51
- tencentcloud/tcex/v20200727/models.py +0 -374
- tencentcloud/tcex/v20200727/tcex_client.py +0 -76
- tencentcloud/tci/__init__.py +0 -0
- tencentcloud/tci/v20190318/__init__.py +0 -0
- tencentcloud/tci/v20190318/errorcodes.py +0 -237
- tencentcloud/tci/v20190318/models.py +0 -11569
- tencentcloud/tci/v20190318/tci_client.py +0 -1017
- tencentcloud/tic/__init__.py +0 -0
- tencentcloud/tic/v20201117/__init__.py +0 -0
- tencentcloud/tic/v20201117/errorcodes.py +0 -48
- tencentcloud/tic/v20201117/models.py +0 -1952
- tencentcloud/tic/v20201117/tic_client.py +0 -342
- tencentcloud/ticm/__init__.py +0 -0
- tencentcloud/ticm/v20181127/__init__.py +0 -0
- tencentcloud/ticm/v20181127/errorcodes.py +0 -36
- tencentcloud/ticm/v20181127/models.py +0 -3385
- tencentcloud/ticm/v20181127/ticm_client.py +0 -95
- tencentcloud/tics/__init__.py +0 -0
- tencentcloud/tics/v20181115/__init__.py +0 -0
- tencentcloud/tics/v20181115/errorcodes.py +0 -30
- tencentcloud/tics/v20181115/models.py +0 -1324
- tencentcloud/tics/v20181115/tics_client.py +0 -118
- tencentcloud/tiems/__init__.py +0 -0
- tencentcloud/tiems/v20190416/__init__.py +0 -0
- tencentcloud/tiems/v20190416/errorcodes.py +0 -36
- tencentcloud/tiems/v20190416/models.py +0 -6644
- tencentcloud/tiems/v20190416/tiems_client.py +0 -651
- tencentcloud/trdp/__init__.py +0 -0
- tencentcloud/trdp/v20220726/__init__.py +0 -0
- tencentcloud/trdp/v20220726/errorcodes.py +0 -30
- tencentcloud/trdp/v20220726/models.py +0 -1609
- tencentcloud/trdp/v20220726/trdp_client.py +0 -49
- tencentcloud/ump/__init__.py +0 -0
- tencentcloud/ump/v20200918/__init__.py +0 -0
- tencentcloud/ump/v20200918/errorcodes.py +0 -57
- tencentcloud/ump/v20200918/models.py +0 -4089
- tencentcloud/ump/v20200918/ump_client.py +0 -454
- tencentcloud/youmall/__init__.py +0 -0
- tencentcloud/youmall/v20180228/__init__.py +0 -0
- tencentcloud/youmall/v20180228/errorcodes.py +0 -93
- tencentcloud/youmall/v20180228/models.py +0 -8181
- tencentcloud/youmall/v20180228/youmall_client.py +0 -740
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/top_level.txt +0 -0
@@ -95,29 +95,6 @@ class NlpClient(AbstractClient):
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
96
|
|
97
97
|
|
98
|
-
def ComposePoetry(self, request):
|
99
|
-
"""诗词生成接口利用现代的自然语言处理和深度学习技术,模仿了古代著名诗人的风格,为用户产生独特的诗词。用户只需输入的命题关键词,接口就能自动生成一首七言律诗或五言律诗。
|
100
|
-
|
101
|
-
:param request: Request instance for ComposePoetry.
|
102
|
-
:type request: :class:`tencentcloud.nlp.v20190408.models.ComposePoetryRequest`
|
103
|
-
:rtype: :class:`tencentcloud.nlp.v20190408.models.ComposePoetryResponse`
|
104
|
-
|
105
|
-
"""
|
106
|
-
try:
|
107
|
-
params = request._serialize()
|
108
|
-
headers = request.headers
|
109
|
-
body = self.call("ComposePoetry", params, headers=headers)
|
110
|
-
response = json.loads(body)
|
111
|
-
model = models.ComposePoetryResponse()
|
112
|
-
model._deserialize(response["Response"])
|
113
|
-
return model
|
114
|
-
except Exception as e:
|
115
|
-
if isinstance(e, TencentCloudSDKException):
|
116
|
-
raise
|
117
|
-
else:
|
118
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
|
-
|
120
|
-
|
121
98
|
def EvaluateSentenceSimilarity(self, request):
|
122
99
|
"""通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
|
123
100
|
|
@@ -141,52 +118,6 @@ class NlpClient(AbstractClient):
|
|
141
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
119
|
|
143
120
|
|
144
|
-
def EvaluateWordSimilarity(self, request):
|
145
|
-
"""评估两个词语在语义空间的相似程度,为您的场景应用提供有力支持,如关键词过滤、热门话题挖掘等。(目前仅支持中文)
|
146
|
-
|
147
|
-
:param request: Request instance for EvaluateWordSimilarity.
|
148
|
-
:type request: :class:`tencentcloud.nlp.v20190408.models.EvaluateWordSimilarityRequest`
|
149
|
-
:rtype: :class:`tencentcloud.nlp.v20190408.models.EvaluateWordSimilarityResponse`
|
150
|
-
|
151
|
-
"""
|
152
|
-
try:
|
153
|
-
params = request._serialize()
|
154
|
-
headers = request.headers
|
155
|
-
body = self.call("EvaluateWordSimilarity", params, headers=headers)
|
156
|
-
response = json.loads(body)
|
157
|
-
model = models.EvaluateWordSimilarityResponse()
|
158
|
-
model._deserialize(response["Response"])
|
159
|
-
return model
|
160
|
-
except Exception as e:
|
161
|
-
if isinstance(e, TencentCloudSDKException):
|
162
|
-
raise
|
163
|
-
else:
|
164
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
-
|
166
|
-
|
167
|
-
def GenerateKeywordSentence(self, request):
|
168
|
-
"""根据提供的关键词,生成简洁明了的关键句子,便于用户快速获取核心观点。
|
169
|
-
|
170
|
-
:param request: Request instance for GenerateKeywordSentence.
|
171
|
-
:type request: :class:`tencentcloud.nlp.v20190408.models.GenerateKeywordSentenceRequest`
|
172
|
-
:rtype: :class:`tencentcloud.nlp.v20190408.models.GenerateKeywordSentenceResponse`
|
173
|
-
|
174
|
-
"""
|
175
|
-
try:
|
176
|
-
params = request._serialize()
|
177
|
-
headers = request.headers
|
178
|
-
body = self.call("GenerateKeywordSentence", params, headers=headers)
|
179
|
-
response = json.loads(body)
|
180
|
-
model = models.GenerateKeywordSentenceResponse()
|
181
|
-
model._deserialize(response["Response"])
|
182
|
-
return model
|
183
|
-
except Exception as e:
|
184
|
-
if isinstance(e, TencentCloudSDKException):
|
185
|
-
raise
|
186
|
-
else:
|
187
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
188
|
-
|
189
|
-
|
190
121
|
def ParseWords(self, request):
|
191
122
|
"""通过精准地对文本进行分词、词性标注、命名实体识别等功能,助您更好地理解文本内容,挖掘出潜在的价值信息。
|
192
123
|
|
@@ -210,29 +141,6 @@ class NlpClient(AbstractClient):
|
|
210
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
211
142
|
|
212
143
|
|
213
|
-
def RetrieveSimilarWords(self, request):
|
214
|
-
"""基于大数据和深度学习技术,可以快速地找到与给定词语高度相似的其他词语,有助于提高搜索和推荐的准确性。(目前仅支持中文)
|
215
|
-
|
216
|
-
:param request: Request instance for RetrieveSimilarWords.
|
217
|
-
:type request: :class:`tencentcloud.nlp.v20190408.models.RetrieveSimilarWordsRequest`
|
218
|
-
:rtype: :class:`tencentcloud.nlp.v20190408.models.RetrieveSimilarWordsResponse`
|
219
|
-
|
220
|
-
"""
|
221
|
-
try:
|
222
|
-
params = request._serialize()
|
223
|
-
headers = request.headers
|
224
|
-
body = self.call("RetrieveSimilarWords", params, headers=headers)
|
225
|
-
response = json.loads(body)
|
226
|
-
model = models.RetrieveSimilarWordsResponse()
|
227
|
-
model._deserialize(response["Response"])
|
228
|
-
return model
|
229
|
-
except Exception as e:
|
230
|
-
if isinstance(e, TencentCloudSDKException):
|
231
|
-
raise
|
232
|
-
else:
|
233
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
234
|
-
|
235
|
-
|
236
144
|
def SentenceCorrection(self, request):
|
237
145
|
"""智能识别并纠正句子中的语法、拼写、用词等错误,确保文本的准确性和可读性。
|
238
146
|
|
@@ -249,52 +157,6 @@ class NlpClient(AbstractClient):
|
|
249
157
|
model = models.SentenceCorrectionResponse()
|
250
158
|
model._deserialize(response["Response"])
|
251
159
|
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
|
-
|
259
|
-
def TextEmbellish(self, request):
|
260
|
-
"""运用先进的自然语言处理技术,对原始文本进行优化润色,提升文本的通顺性、表达力和语言质量。
|
261
|
-
|
262
|
-
:param request: Request instance for TextEmbellish.
|
263
|
-
:type request: :class:`tencentcloud.nlp.v20190408.models.TextEmbellishRequest`
|
264
|
-
:rtype: :class:`tencentcloud.nlp.v20190408.models.TextEmbellishResponse`
|
265
|
-
|
266
|
-
"""
|
267
|
-
try:
|
268
|
-
params = request._serialize()
|
269
|
-
headers = request.headers
|
270
|
-
body = self.call("TextEmbellish", params, headers=headers)
|
271
|
-
response = json.loads(body)
|
272
|
-
model = models.TextEmbellishResponse()
|
273
|
-
model._deserialize(response["Response"])
|
274
|
-
return model
|
275
|
-
except Exception as e:
|
276
|
-
if isinstance(e, TencentCloudSDKException):
|
277
|
-
raise
|
278
|
-
else:
|
279
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
280
|
-
|
281
|
-
|
282
|
-
def TextWriting(self, request):
|
283
|
-
"""通过自动补全文本片段,帮助用户快速生成高质量、连贯的完整文本,提高创作效率。
|
284
|
-
|
285
|
-
:param request: Request instance for TextWriting.
|
286
|
-
:type request: :class:`tencentcloud.nlp.v20190408.models.TextWritingRequest`
|
287
|
-
:rtype: :class:`tencentcloud.nlp.v20190408.models.TextWritingResponse`
|
288
|
-
|
289
|
-
"""
|
290
|
-
try:
|
291
|
-
params = request._serialize()
|
292
|
-
headers = request.headers
|
293
|
-
body = self.call("TextWriting", params, headers=headers)
|
294
|
-
response = json.loads(body)
|
295
|
-
model = models.TextWritingResponse()
|
296
|
-
model._deserialize(response["Response"])
|
297
|
-
return model
|
298
160
|
except Exception as e:
|
299
161
|
if isinstance(e, TencentCloudSDKException):
|
300
162
|
raise
|
@@ -11444,16 +11444,9 @@ class GeneralHandwritingOCRRequest(AbstractModel):
|
|
11444
11444
|
|
11445
11445
|
def __init__(self):
|
11446
11446
|
r"""
|
11447
|
-
:param _ImageBase64: 图片的 Base64
|
11448
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11449
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。
|
11450
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11447
|
+
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11451
11448
|
:type ImageBase64: str
|
11452
|
-
:param _ImageUrl: 图片的 Url
|
11453
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11454
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过7M。图片下载时间不超过 3 秒。
|
11455
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
11456
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11449
|
+
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11457
11450
|
:type ImageUrl: str
|
11458
11451
|
:param _Scene: 场景字段,默认不用填写。
|
11459
11452
|
可选值:only_hw 表示只输出手写体识别结果,过滤印刷体。
|
@@ -11472,10 +11465,7 @@ class GeneralHandwritingOCRRequest(AbstractModel):
|
|
11472
11465
|
|
11473
11466
|
@property
|
11474
11467
|
def ImageBase64(self):
|
11475
|
-
"""图片的 Base64
|
11476
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11477
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。
|
11478
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11468
|
+
"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
11479
11469
|
:rtype: str
|
11480
11470
|
"""
|
11481
11471
|
return self._ImageBase64
|
@@ -11486,11 +11476,7 @@ class GeneralHandwritingOCRRequest(AbstractModel):
|
|
11486
11476
|
|
11487
11477
|
@property
|
11488
11478
|
def ImageUrl(self):
|
11489
|
-
"""图片的 Url
|
11490
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11491
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过7M。图片下载时间不超过 3 秒。
|
11492
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
11493
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11479
|
+
"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
11494
11480
|
:rtype: str
|
11495
11481
|
"""
|
11496
11482
|
return self._ImageUrl
|
@@ -895,7 +895,9 @@ class OcrClient(AbstractClient):
|
|
895
895
|
|
896
896
|
|
897
897
|
def GeneralHandwritingOCR(self, request):
|
898
|
-
"""
|
898
|
+
"""<b>此接口为通用手写体识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/34937">通用印刷体识别(高精度)识别服务</a>。</b>
|
899
|
+
|
900
|
+
本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
899
901
|
|
900
902
|
默认接口请求频率限制:10次/秒。
|
901
903
|
|
@@ -347,12 +347,18 @@ class ClusterOption(AbstractModel):
|
|
347
347
|
:type ResourceQuota: :class:`tencentcloud.omics.v20221128.models.ResourceQuota`
|
348
348
|
:param _LimitRange: 限制范围。
|
349
349
|
:type LimitRange: :class:`tencentcloud.omics.v20221128.models.LimitRange`
|
350
|
+
:param _SystemNodeInstanceType: 系统节点池实例规格。
|
351
|
+
:type SystemNodeInstanceType: str
|
352
|
+
:param _SystemNodeCount: 系统节点池实例数量。
|
353
|
+
:type SystemNodeCount: int
|
350
354
|
"""
|
351
355
|
self._Zone = None
|
352
356
|
self._Type = None
|
353
357
|
self._ServiceCidr = None
|
354
358
|
self._ResourceQuota = None
|
355
359
|
self._LimitRange = None
|
360
|
+
self._SystemNodeInstanceType = None
|
361
|
+
self._SystemNodeCount = None
|
356
362
|
|
357
363
|
@property
|
358
364
|
def Zone(self):
|
@@ -410,6 +416,28 @@ class ClusterOption(AbstractModel):
|
|
410
416
|
def LimitRange(self, LimitRange):
|
411
417
|
self._LimitRange = LimitRange
|
412
418
|
|
419
|
+
@property
|
420
|
+
def SystemNodeInstanceType(self):
|
421
|
+
"""系统节点池实例规格。
|
422
|
+
:rtype: str
|
423
|
+
"""
|
424
|
+
return self._SystemNodeInstanceType
|
425
|
+
|
426
|
+
@SystemNodeInstanceType.setter
|
427
|
+
def SystemNodeInstanceType(self, SystemNodeInstanceType):
|
428
|
+
self._SystemNodeInstanceType = SystemNodeInstanceType
|
429
|
+
|
430
|
+
@property
|
431
|
+
def SystemNodeCount(self):
|
432
|
+
"""系统节点池实例数量。
|
433
|
+
:rtype: int
|
434
|
+
"""
|
435
|
+
return self._SystemNodeCount
|
436
|
+
|
437
|
+
@SystemNodeCount.setter
|
438
|
+
def SystemNodeCount(self, SystemNodeCount):
|
439
|
+
self._SystemNodeCount = SystemNodeCount
|
440
|
+
|
413
441
|
|
414
442
|
def _deserialize(self, params):
|
415
443
|
self._Zone = params.get("Zone")
|
@@ -421,6 +449,8 @@ class ClusterOption(AbstractModel):
|
|
421
449
|
if params.get("LimitRange") is not None:
|
422
450
|
self._LimitRange = LimitRange()
|
423
451
|
self._LimitRange._deserialize(params.get("LimitRange"))
|
452
|
+
self._SystemNodeInstanceType = params.get("SystemNodeInstanceType")
|
453
|
+
self._SystemNodeCount = params.get("SystemNodeCount")
|
424
454
|
memeber_set = set(params.keys())
|
425
455
|
for name, value in vars(self).items():
|
426
456
|
property_name = name[1:]
|
@@ -3389,6 +3419,10 @@ class ResourceIds(AbstractModel):
|
|
3389
3419
|
:type CVMId: str
|
3390
3420
|
:param _EKSId: 弹性容器集群ID。
|
3391
3421
|
:type EKSId: str
|
3422
|
+
:param _TKEId: TKE容器集群ID。
|
3423
|
+
:type TKEId: str
|
3424
|
+
:param _TKESystemNodePoolId: TKE系统节点池ID。
|
3425
|
+
:type TKESystemNodePoolId: str
|
3392
3426
|
"""
|
3393
3427
|
self._VPCId = None
|
3394
3428
|
self._SubnetId = None
|
@@ -3398,6 +3432,8 @@ class ResourceIds(AbstractModel):
|
|
3398
3432
|
self._CFSStorageType = None
|
3399
3433
|
self._CVMId = None
|
3400
3434
|
self._EKSId = None
|
3435
|
+
self._TKEId = None
|
3436
|
+
self._TKESystemNodePoolId = None
|
3401
3437
|
|
3402
3438
|
@property
|
3403
3439
|
def VPCId(self):
|
@@ -3491,6 +3527,28 @@ class ResourceIds(AbstractModel):
|
|
3491
3527
|
def EKSId(self, EKSId):
|
3492
3528
|
self._EKSId = EKSId
|
3493
3529
|
|
3530
|
+
@property
|
3531
|
+
def TKEId(self):
|
3532
|
+
"""TKE容器集群ID。
|
3533
|
+
:rtype: str
|
3534
|
+
"""
|
3535
|
+
return self._TKEId
|
3536
|
+
|
3537
|
+
@TKEId.setter
|
3538
|
+
def TKEId(self, TKEId):
|
3539
|
+
self._TKEId = TKEId
|
3540
|
+
|
3541
|
+
@property
|
3542
|
+
def TKESystemNodePoolId(self):
|
3543
|
+
"""TKE系统节点池ID。
|
3544
|
+
:rtype: str
|
3545
|
+
"""
|
3546
|
+
return self._TKESystemNodePoolId
|
3547
|
+
|
3548
|
+
@TKESystemNodePoolId.setter
|
3549
|
+
def TKESystemNodePoolId(self, TKESystemNodePoolId):
|
3550
|
+
self._TKESystemNodePoolId = TKESystemNodePoolId
|
3551
|
+
|
3494
3552
|
|
3495
3553
|
def _deserialize(self, params):
|
3496
3554
|
self._VPCId = params.get("VPCId")
|
@@ -3501,6 +3559,8 @@ class ResourceIds(AbstractModel):
|
|
3501
3559
|
self._CFSStorageType = params.get("CFSStorageType")
|
3502
3560
|
self._CVMId = params.get("CVMId")
|
3503
3561
|
self._EKSId = params.get("EKSId")
|
3562
|
+
self._TKEId = params.get("TKEId")
|
3563
|
+
self._TKESystemNodePoolId = params.get("TKESystemNodePoolId")
|
3504
3564
|
memeber_set = set(params.keys())
|
3505
3565
|
for name, value in vars(self).items():
|
3506
3566
|
property_name = name[1:]
|
@@ -913,9 +913,12 @@ class CreateEmailIdentityRequest(AbstractModel):
|
|
913
913
|
:type EmailIdentity: str
|
914
914
|
:param _DKIMOption: 生成的dkim密钥长度。0:1024,1:2048
|
915
915
|
:type DKIMOption: int
|
916
|
+
:param _TagList: tag 标签
|
917
|
+
:type TagList: list of TagList
|
916
918
|
"""
|
917
919
|
self._EmailIdentity = None
|
918
920
|
self._DKIMOption = None
|
921
|
+
self._TagList = None
|
919
922
|
|
920
923
|
@property
|
921
924
|
def EmailIdentity(self):
|
@@ -939,10 +942,27 @@ class CreateEmailIdentityRequest(AbstractModel):
|
|
939
942
|
def DKIMOption(self, DKIMOption):
|
940
943
|
self._DKIMOption = DKIMOption
|
941
944
|
|
945
|
+
@property
|
946
|
+
def TagList(self):
|
947
|
+
"""tag 标签
|
948
|
+
:rtype: list of TagList
|
949
|
+
"""
|
950
|
+
return self._TagList
|
951
|
+
|
952
|
+
@TagList.setter
|
953
|
+
def TagList(self, TagList):
|
954
|
+
self._TagList = TagList
|
955
|
+
|
942
956
|
|
943
957
|
def _deserialize(self, params):
|
944
958
|
self._EmailIdentity = params.get("EmailIdentity")
|
945
959
|
self._DKIMOption = params.get("DKIMOption")
|
960
|
+
if params.get("TagList") is not None:
|
961
|
+
self._TagList = []
|
962
|
+
for item in params.get("TagList"):
|
963
|
+
obj = TagList()
|
964
|
+
obj._deserialize(item)
|
965
|
+
self._TagList.append(obj)
|
946
966
|
memeber_set = set(params.keys())
|
947
967
|
for name, value in vars(self).items():
|
948
968
|
property_name = name[1:]
|
@@ -2163,6 +2183,8 @@ class EmailIdentity(AbstractModel):
|
|
2163
2183
|
:type DailyQuota: int
|
2164
2184
|
:param _SendIp: 域名配置的独立ip
|
2165
2185
|
:type SendIp: list of str
|
2186
|
+
:param _TagList: tag 标签
|
2187
|
+
:type TagList: list of TagList
|
2166
2188
|
"""
|
2167
2189
|
self._IdentityName = None
|
2168
2190
|
self._IdentityType = None
|
@@ -2170,6 +2192,7 @@ class EmailIdentity(AbstractModel):
|
|
2170
2192
|
self._CurrentReputationLevel = None
|
2171
2193
|
self._DailyQuota = None
|
2172
2194
|
self._SendIp = None
|
2195
|
+
self._TagList = None
|
2173
2196
|
|
2174
2197
|
@property
|
2175
2198
|
def IdentityName(self):
|
@@ -2237,6 +2260,17 @@ class EmailIdentity(AbstractModel):
|
|
2237
2260
|
def SendIp(self, SendIp):
|
2238
2261
|
self._SendIp = SendIp
|
2239
2262
|
|
2263
|
+
@property
|
2264
|
+
def TagList(self):
|
2265
|
+
"""tag 标签
|
2266
|
+
:rtype: list of TagList
|
2267
|
+
"""
|
2268
|
+
return self._TagList
|
2269
|
+
|
2270
|
+
@TagList.setter
|
2271
|
+
def TagList(self, TagList):
|
2272
|
+
self._TagList = TagList
|
2273
|
+
|
2240
2274
|
|
2241
2275
|
def _deserialize(self, params):
|
2242
2276
|
self._IdentityName = params.get("IdentityName")
|
@@ -2245,6 +2279,12 @@ class EmailIdentity(AbstractModel):
|
|
2245
2279
|
self._CurrentReputationLevel = params.get("CurrentReputationLevel")
|
2246
2280
|
self._DailyQuota = params.get("DailyQuota")
|
2247
2281
|
self._SendIp = params.get("SendIp")
|
2282
|
+
if params.get("TagList") is not None:
|
2283
|
+
self._TagList = []
|
2284
|
+
for item in params.get("TagList"):
|
2285
|
+
obj = TagList()
|
2286
|
+
obj._deserialize(item)
|
2287
|
+
self._TagList.append(obj)
|
2248
2288
|
memeber_set = set(params.keys())
|
2249
2289
|
for name, value in vars(self).items():
|
2250
2290
|
property_name = name[1:]
|
@@ -3342,6 +3382,71 @@ class ListEmailIdentitiesRequest(AbstractModel):
|
|
3342
3382
|
|
3343
3383
|
"""
|
3344
3384
|
|
3385
|
+
def __init__(self):
|
3386
|
+
r"""
|
3387
|
+
:param _TagList: tag 标签
|
3388
|
+
:type TagList: list of TagList
|
3389
|
+
:param _Limit: 分页 limit
|
3390
|
+
:type Limit: int
|
3391
|
+
:param _Offset: 分页 offset
|
3392
|
+
:type Offset: int
|
3393
|
+
"""
|
3394
|
+
self._TagList = None
|
3395
|
+
self._Limit = None
|
3396
|
+
self._Offset = None
|
3397
|
+
|
3398
|
+
@property
|
3399
|
+
def TagList(self):
|
3400
|
+
"""tag 标签
|
3401
|
+
:rtype: list of TagList
|
3402
|
+
"""
|
3403
|
+
return self._TagList
|
3404
|
+
|
3405
|
+
@TagList.setter
|
3406
|
+
def TagList(self, TagList):
|
3407
|
+
self._TagList = TagList
|
3408
|
+
|
3409
|
+
@property
|
3410
|
+
def Limit(self):
|
3411
|
+
"""分页 limit
|
3412
|
+
:rtype: int
|
3413
|
+
"""
|
3414
|
+
return self._Limit
|
3415
|
+
|
3416
|
+
@Limit.setter
|
3417
|
+
def Limit(self, Limit):
|
3418
|
+
self._Limit = Limit
|
3419
|
+
|
3420
|
+
@property
|
3421
|
+
def Offset(self):
|
3422
|
+
"""分页 offset
|
3423
|
+
:rtype: int
|
3424
|
+
"""
|
3425
|
+
return self._Offset
|
3426
|
+
|
3427
|
+
@Offset.setter
|
3428
|
+
def Offset(self, Offset):
|
3429
|
+
self._Offset = Offset
|
3430
|
+
|
3431
|
+
|
3432
|
+
def _deserialize(self, params):
|
3433
|
+
if params.get("TagList") is not None:
|
3434
|
+
self._TagList = []
|
3435
|
+
for item in params.get("TagList"):
|
3436
|
+
obj = TagList()
|
3437
|
+
obj._deserialize(item)
|
3438
|
+
self._TagList.append(obj)
|
3439
|
+
self._Limit = params.get("Limit")
|
3440
|
+
self._Offset = params.get("Offset")
|
3441
|
+
memeber_set = set(params.keys())
|
3442
|
+
for name, value in vars(self).items():
|
3443
|
+
property_name = name[1:]
|
3444
|
+
if property_name in memeber_set:
|
3445
|
+
memeber_set.remove(property_name)
|
3446
|
+
if len(memeber_set) > 0:
|
3447
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3448
|
+
|
3449
|
+
|
3345
3450
|
|
3346
3451
|
class ListEmailIdentitiesResponse(AbstractModel):
|
3347
3452
|
"""ListEmailIdentities返回参数结构体
|
@@ -3356,12 +3461,15 @@ class ListEmailIdentitiesResponse(AbstractModel):
|
|
3356
3461
|
:type MaxReputationLevel: int
|
3357
3462
|
:param _MaxDailyQuota: 单域名最高日发送量
|
3358
3463
|
:type MaxDailyQuota: int
|
3464
|
+
:param _Total: 总数
|
3465
|
+
:type Total: int
|
3359
3466
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3360
3467
|
:type RequestId: str
|
3361
3468
|
"""
|
3362
3469
|
self._EmailIdentities = None
|
3363
3470
|
self._MaxReputationLevel = None
|
3364
3471
|
self._MaxDailyQuota = None
|
3472
|
+
self._Total = None
|
3365
3473
|
self._RequestId = None
|
3366
3474
|
|
3367
3475
|
@property
|
@@ -3397,6 +3505,17 @@ class ListEmailIdentitiesResponse(AbstractModel):
|
|
3397
3505
|
def MaxDailyQuota(self, MaxDailyQuota):
|
3398
3506
|
self._MaxDailyQuota = MaxDailyQuota
|
3399
3507
|
|
3508
|
+
@property
|
3509
|
+
def Total(self):
|
3510
|
+
"""总数
|
3511
|
+
:rtype: int
|
3512
|
+
"""
|
3513
|
+
return self._Total
|
3514
|
+
|
3515
|
+
@Total.setter
|
3516
|
+
def Total(self, Total):
|
3517
|
+
self._Total = Total
|
3518
|
+
|
3400
3519
|
@property
|
3401
3520
|
def RequestId(self):
|
3402
3521
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -3418,6 +3537,7 @@ class ListEmailIdentitiesResponse(AbstractModel):
|
|
3418
3537
|
self._EmailIdentities.append(obj)
|
3419
3538
|
self._MaxReputationLevel = params.get("MaxReputationLevel")
|
3420
3539
|
self._MaxDailyQuota = params.get("MaxDailyQuota")
|
3540
|
+
self._Total = params.get("Total")
|
3421
3541
|
self._RequestId = params.get("RequestId")
|
3422
3542
|
|
3423
3543
|
|
@@ -5234,6 +5354,57 @@ class Simple(AbstractModel):
|
|
5234
5354
|
|
5235
5355
|
|
5236
5356
|
|
5357
|
+
class TagList(AbstractModel):
|
5358
|
+
"""标签
|
5359
|
+
|
5360
|
+
"""
|
5361
|
+
|
5362
|
+
def __init__(self):
|
5363
|
+
r"""
|
5364
|
+
:param _TagKey: 产品
|
5365
|
+
:type TagKey: str
|
5366
|
+
:param _TagValue: ses
|
5367
|
+
:type TagValue: str
|
5368
|
+
"""
|
5369
|
+
self._TagKey = None
|
5370
|
+
self._TagValue = None
|
5371
|
+
|
5372
|
+
@property
|
5373
|
+
def TagKey(self):
|
5374
|
+
"""产品
|
5375
|
+
:rtype: str
|
5376
|
+
"""
|
5377
|
+
return self._TagKey
|
5378
|
+
|
5379
|
+
@TagKey.setter
|
5380
|
+
def TagKey(self, TagKey):
|
5381
|
+
self._TagKey = TagKey
|
5382
|
+
|
5383
|
+
@property
|
5384
|
+
def TagValue(self):
|
5385
|
+
"""ses
|
5386
|
+
:rtype: str
|
5387
|
+
"""
|
5388
|
+
return self._TagValue
|
5389
|
+
|
5390
|
+
@TagValue.setter
|
5391
|
+
def TagValue(self, TagValue):
|
5392
|
+
self._TagValue = TagValue
|
5393
|
+
|
5394
|
+
|
5395
|
+
def _deserialize(self, params):
|
5396
|
+
self._TagKey = params.get("TagKey")
|
5397
|
+
self._TagValue = params.get("TagValue")
|
5398
|
+
memeber_set = set(params.keys())
|
5399
|
+
for name, value in vars(self).items():
|
5400
|
+
property_name = name[1:]
|
5401
|
+
if property_name in memeber_set:
|
5402
|
+
memeber_set.remove(property_name)
|
5403
|
+
if len(memeber_set) > 0:
|
5404
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5405
|
+
|
5406
|
+
|
5407
|
+
|
5237
5408
|
class Template(AbstractModel):
|
5238
5409
|
"""模板发送相关信息,包含模板ID,模板变量参数等信息
|
5239
5410
|
|
@@ -167,6 +167,9 @@ FAILEDOPERATION_CERTIFICATESYNCTASKIDINVALID = 'FailedOperation.CertificateSyncT
|
|
167
167
|
# 无法查到当前证书类型详情。
|
168
168
|
FAILEDOPERATION_CERTIFICATETYPEINFONOTFOUND = 'FailedOperation.CertificateTypeInfoNotFound'
|
169
169
|
|
170
|
+
# 当前为白名单功能,非白名单用户无法使用该功能,请联系SSL证书特殊处理。
|
171
|
+
FAILEDOPERATION_CERTIFICATEWHITEFUNCERROR = 'FailedOperation.CertificateWhiteFuncError'
|
172
|
+
|
170
173
|
# 证书确认函文件过大(需小于1.4M)。
|
171
174
|
FAILEDOPERATION_CONFIRMLETTERTOOLARGE = 'FailedOperation.ConfirmLetterTooLarge'
|
172
175
|
|
@@ -188,6 +191,9 @@ FAILEDOPERATION_FILETOOLARGE = 'FailedOperation.FileTooLarge'
|
|
188
191
|
# 文件尺寸太小,请上传清晰图片。
|
189
192
|
FAILEDOPERATION_FILETOOSMALL = 'FailedOperation.FileTooSmall'
|
190
193
|
|
194
|
+
# 生产CSR失败
|
195
|
+
FAILEDOPERATION_GENCSRFAIL = 'FailedOperation.GenCSRFail'
|
196
|
+
|
191
197
|
# 公司管理人状态错误。
|
192
198
|
FAILEDOPERATION_ILLEGALMANAGERSTATUS = 'FailedOperation.IllegalManagerStatus'
|
193
199
|
|