tencentcloud-sdk-python-intl-en 3.0.1075__py2.py3-none-any.whl → 3.0.1077__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +120 -0
- tencentcloud/aiart/v20221229/models.py +95 -0
- tencentcloud/ams/v20201229/models.py +432 -0
- tencentcloud/antiddos/v20200309/models.py +2806 -0
- tencentcloud/apigateway/v20180808/models.py +3945 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +16 -10
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +2472 -7
- tencentcloud/batch/v20170312/models.py +1566 -0
- tencentcloud/billing/v20180709/models.py +2418 -0
- tencentcloud/cam/v20190116/models.py +1697 -0
- tencentcloud/captcha/v20190722/models.py +70 -0
- tencentcloud/car/v20220110/models.py +803 -0
- tencentcloud/cbs/v20170312/models.py +1245 -0
- tencentcloud/ccc/v20200210/models.py +1949 -1
- tencentcloud/cdb/v20170320/models.py +4821 -0
- tencentcloud/cdn/v20180606/models.py +4870 -8
- tencentcloud/cdwdoris/v20211228/models.py +3337 -0
- tencentcloud/cfg/v20210820/models.py +1194 -0
- tencentcloud/cfs/v20190719/models.py +1178 -0
- tencentcloud/cfw/v20190904/models.py +2378 -0
- tencentcloud/chdfs/v20201112/models.py +513 -0
- tencentcloud/ciam/v20210420/models.py +49 -0
- tencentcloud/ciam/v20220331/models.py +789 -0
- tencentcloud/ckafka/v20190819/models.py +2576 -0
- tencentcloud/clb/v20180317/models.py +3220 -1
- tencentcloud/cloudaudit/v20190319/models.py +519 -0
- tencentcloud/cls/v20201016/models.py +3652 -1
- tencentcloud/cmq/v20190304/models.py +571 -0
- tencentcloud/controlcenter/v20230110/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +2881 -2
- tencentcloud/cvm/v20170312/models.py +2827 -0
- tencentcloud/cwp/v20180228/models.py +16412 -0
- tencentcloud/cynosdb/v20190107/models.py +4263 -0
- tencentcloud/dataintegration/v20220613/models.py +18 -0
- tencentcloud/dayu/v20180709/models.py +3541 -12
- tencentcloud/dbbrain/v20191016/models.py +1056 -0
- tencentcloud/dbbrain/v20210527/models.py +1763 -0
- tencentcloud/dc/v20180410/models.py +767 -0
- tencentcloud/dcdb/v20180411/models.py +2335 -0
- tencentcloud/dlc/v20210125/models.py +3985 -5
- tencentcloud/dms/v20200819/models.py +51 -0
- tencentcloud/dnspod/v20210323/models.py +1286 -0
- tencentcloud/domain/v20180808/models.py +855 -0
- tencentcloud/dts/v20180330/models.py +791 -0
- tencentcloud/dts/v20211206/models.py +2317 -1
- tencentcloud/eb/v20210416/models.py +858 -0
- tencentcloud/ecdn/v20191012/models.py +811 -0
- tencentcloud/ecm/v20190719/models.py +3972 -1
- tencentcloud/eiam/v20210420/models.py +1265 -0
- tencentcloud/emr/v20190103/models.py +2926 -7
- tencentcloud/es/v20180416/models.py +1523 -0
- tencentcloud/facefusion/v20220927/models.py +211 -0
- tencentcloud/faceid/v20180301/models.py +2071 -0
- tencentcloud/gaap/v20180529/models.py +3103 -8
- tencentcloud/gme/v20180711/models.py +388 -0
- tencentcloud/gpm/v20200820/models.py +674 -0
- tencentcloud/gse/v20191112/models.py +972 -0
- tencentcloud/iai/v20200303/models.py +1430 -0
- tencentcloud/ims/v20201229/models.py +329 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +988 -0
- tencentcloud/iotcloud/v20210408/models.py +585 -0
- tencentcloud/ip/v20210409/models.py +178 -0
- tencentcloud/kms/v20190118/models.py +869 -0
- tencentcloud/lcic/v20220817/models.py +1658 -0
- tencentcloud/lighthouse/v20200324/models.py +2088 -0
- tencentcloud/live/v20180801/models.py +4287 -0
- tencentcloud/mariadb/v20170312/models.py +1905 -0
- tencentcloud/mdc/v20200828/models.py +1104 -0
- tencentcloud/mdl/v20200326/models.py +1911 -1
- tencentcloud/mdp/v20200527/models.py +452 -0
- tencentcloud/mongodb/v20190725/models.py +1234 -0
- tencentcloud/monitor/v20180724/models.py +5798 -2
- tencentcloud/mps/v20190612/models.py +8135 -0
- tencentcloud/msp/v20180319/models.py +183 -0
- tencentcloud/ocr/v20181119/models.py +3160 -1
- tencentcloud/omics/v20221128/models.py +1086 -0
- tencentcloud/organization/v20181225/models.py +285 -0
- tencentcloud/organization/v20210331/models.py +2267 -0
- tencentcloud/postgres/v20170312/models.py +3248 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +34 -1
- tencentcloud/privatedns/v20201028/models.py +1700 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +115 -0
- tencentcloud/redis/v20180412/models.py +3298 -3
- tencentcloud/rum/v20210622/models.py +2114 -0
- tencentcloud/scf/v20180416/models.py +1561 -0
- tencentcloud/ses/v20201002/models.py +649 -0
- tencentcloud/sms/v20190711/models.py +575 -0
- tencentcloud/sms/v20210111/models.py +593 -0
- tencentcloud/sqlserver/v20180328/models.py +2780 -0
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +675 -11
- tencentcloud/sts/v20180813/models.py +161 -0
- tencentcloud/tag/v20180813/models.py +784 -0
- tencentcloud/tat/v20201028/models.py +806 -0
- tencentcloud/tcaplusdb/v20190823/models.py +1860 -0
- tencentcloud/tchd/v20230306/models.py +41 -0
- tencentcloud/tcmpp/v20240801/models.py +3761 -1
- tencentcloud/tcr/v20190924/models.py +1851 -0
- tencentcloud/tcss/v20201101/models.py +12523 -0
- tencentcloud/tdid/v20210519/models.py +1258 -0
- tencentcloud/tdmq/v20200217/models.py +3495 -0
- tencentcloud/tem/v20201221/models.py +803 -0
- tencentcloud/tem/v20210701/models.py +2551 -1
- tencentcloud/teo/v20220106/models.py +4731 -0
- tencentcloud/teo/v20220901/models.py +6066 -0
- tencentcloud/tiw/v20190919/models.py +1678 -1
- tencentcloud/tke/v20180525/models.py +3662 -0
- tencentcloud/tms/v20201229/models.py +176 -0
- tencentcloud/tmt/v20180321/models.py +65 -0
- tencentcloud/trtc/v20190722/models.py +1698 -8
- tencentcloud/tts/v20190823/models.py +72 -0
- tencentcloud/vm/v20201229/models.py +568 -0
- tencentcloud/vm/v20210922/models.py +636 -0
- tencentcloud/vod/v20180717/models.py +13490 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +6622 -1
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +4814 -0
- tencentcloud/wedata/v20210820/models.py +12594 -0
- tencentcloud/yunjing/v20180228/models.py +1867 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -44,6 +44,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
44
44
|
|
|
45
45
|
@property
|
|
46
46
|
def ConditionId(self):
|
|
47
|
+
"""Warning condition ID
|
|
48
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
49
|
+
:rtype: int
|
|
50
|
+
"""
|
|
47
51
|
return self._ConditionId
|
|
48
52
|
|
|
49
53
|
@ConditionId.setter
|
|
@@ -52,6 +56,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
52
56
|
|
|
53
57
|
@property
|
|
54
58
|
def Level(self):
|
|
59
|
+
"""Warning level. 2: medium risk; 3: high risk.
|
|
60
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
61
|
+
:rtype: int
|
|
62
|
+
"""
|
|
55
63
|
return self._Level
|
|
56
64
|
|
|
57
65
|
@Level.setter
|
|
@@ -60,6 +68,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
60
68
|
|
|
61
69
|
@property
|
|
62
70
|
def LevelDesc(self):
|
|
71
|
+
"""Warning level description
|
|
72
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
73
|
+
:rtype: str
|
|
74
|
+
"""
|
|
63
75
|
return self._LevelDesc
|
|
64
76
|
|
|
65
77
|
@LevelDesc.setter
|
|
@@ -68,6 +80,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
68
80
|
|
|
69
81
|
@property
|
|
70
82
|
def Desc(self):
|
|
83
|
+
"""Warning condition description
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
71
86
|
return self._Desc
|
|
72
87
|
|
|
73
88
|
@Desc.setter
|
|
@@ -114,6 +129,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
114
129
|
|
|
115
130
|
@property
|
|
116
131
|
def Strategies(self):
|
|
132
|
+
"""Assessment item list
|
|
133
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
134
|
+
:rtype: list of Strategies
|
|
135
|
+
"""
|
|
117
136
|
return self._Strategies
|
|
118
137
|
|
|
119
138
|
@Strategies.setter
|
|
@@ -122,6 +141,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
122
141
|
|
|
123
142
|
@property
|
|
124
143
|
def RequestId(self):
|
|
144
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
145
|
+
:rtype: str
|
|
146
|
+
"""
|
|
125
147
|
return self._RequestId
|
|
126
148
|
|
|
127
149
|
@RequestId.setter
|
|
@@ -165,6 +187,9 @@ class DescribeTaskStrategyRisksRequest(AbstractModel):
|
|
|
165
187
|
|
|
166
188
|
@property
|
|
167
189
|
def StrategyId(self):
|
|
190
|
+
"""Assessment item ID
|
|
191
|
+
:rtype: int
|
|
192
|
+
"""
|
|
168
193
|
return self._StrategyId
|
|
169
194
|
|
|
170
195
|
@StrategyId.setter
|
|
@@ -173,6 +198,9 @@ class DescribeTaskStrategyRisksRequest(AbstractModel):
|
|
|
173
198
|
|
|
174
199
|
@property
|
|
175
200
|
def Limit(self):
|
|
201
|
+
"""Quantity of returns. It is 100 by default, and the maximum value is 200.
|
|
202
|
+
:rtype: int
|
|
203
|
+
"""
|
|
176
204
|
return self._Limit
|
|
177
205
|
|
|
178
206
|
@Limit.setter
|
|
@@ -181,6 +209,9 @@ class DescribeTaskStrategyRisksRequest(AbstractModel):
|
|
|
181
209
|
|
|
182
210
|
@property
|
|
183
211
|
def Offset(self):
|
|
212
|
+
"""Offset, which is 0 by default.
|
|
213
|
+
:rtype: int
|
|
214
|
+
"""
|
|
184
215
|
return self._Offset
|
|
185
216
|
|
|
186
217
|
@Offset.setter
|
|
@@ -189,6 +220,9 @@ class DescribeTaskStrategyRisksRequest(AbstractModel):
|
|
|
189
220
|
|
|
190
221
|
@property
|
|
191
222
|
def Env(self):
|
|
223
|
+
"""Environment
|
|
224
|
+
:rtype: str
|
|
225
|
+
"""
|
|
192
226
|
return self._Env
|
|
193
227
|
|
|
194
228
|
@Env.setter
|
|
@@ -197,6 +231,9 @@ class DescribeTaskStrategyRisksRequest(AbstractModel):
|
|
|
197
231
|
|
|
198
232
|
@property
|
|
199
233
|
def TaskType(self):
|
|
234
|
+
"""Task type
|
|
235
|
+
:rtype: str
|
|
236
|
+
"""
|
|
200
237
|
return self._TaskType
|
|
201
238
|
|
|
202
239
|
@TaskType.setter
|
|
@@ -255,6 +292,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
255
292
|
|
|
256
293
|
@property
|
|
257
294
|
def RiskFieldsDesc(self):
|
|
295
|
+
"""According to this configuration, match the corresponding fields of the risky instance list (Risks), for example:
|
|
296
|
+
{"Response":{"RequestId":"111","RiskFieldsDesc":[{"Field":"InstanceId","FieldName":"ID","FieldType":"string","FieldDict":{} },{"Field":"InstanceName","FieldName":"Name","FieldType":"string","FieldDict":{}},{"Field":"InstanceState","FieldName":"Status ","FieldType":"string","FieldDict":{"LAUNCH_FAILED":"Creation failed","PENDING":"Creating","REBOOTING":"Re- starting","RUNNING":"Running","SHUTDOWN":"Stop waiting to be terminated","STARTING":"Starting","STOPPED":"Shut down","STOPPING":"Shutting down"," TERMINATING":"Terminating"}},{"Field":"Zone","FieldName":"Available zone","FieldType":"string","FieldDict":{}},{"Field":" PrivateIPAddresses","FieldName":"Private IP addresses","FieldType":"stringSlice","FieldDict":{}},{"Field":"PublicIPAddresses","FieldName":"Public IP addresses","Field Type":"stringSlice","FieldDict":{}},{"Field":"Region","FieldName":"Region","FieldType":"string","FieldDict":{}},{" Field":"Tags","FieldName":"Tags","FieldType":"tags","FieldDict":{}}],"RiskTotalCount":3,"Risks":"[{\"InstanceId\" :\"ins-xxx1\",\"InstanceName\":\"xxx1\",\"InstanceState\":\"RUNNING\",\"PrivateIPAddresses\":[\"1.17.64.2\"],\ " PublicIPAddresses\":null,\"Region\":\"ap-shanghai\",\"Tags\":null,\"Zone\":\"ap-shanghai-2\"},{\"InstanceId\ ":\"ins-xxx2\",\"InstanceName\":\"xxx2\",\"InstanceState\":\"RUNNING\",\"PrivateIPAddresses\":[\"1.17.64.11\"], \"PublicIPAddresses\":null,\"Region\":\"ap-shanghai\",\"Tags\":null,\"Zone\":\"ap-shanghai-2\"}]"," StrategyId":9}}
|
|
297
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
298
|
+
:rtype: list of RiskFieldsDesc
|
|
299
|
+
"""
|
|
258
300
|
return self._RiskFieldsDesc
|
|
259
301
|
|
|
260
302
|
@RiskFieldsDesc.setter
|
|
@@ -263,6 +305,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
263
305
|
|
|
264
306
|
@property
|
|
265
307
|
def StrategyId(self):
|
|
308
|
+
"""Assessment item ID
|
|
309
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
310
|
+
:rtype: int
|
|
311
|
+
"""
|
|
266
312
|
return self._StrategyId
|
|
267
313
|
|
|
268
314
|
@StrategyId.setter
|
|
@@ -271,6 +317,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
271
317
|
|
|
272
318
|
@property
|
|
273
319
|
def RiskTotalCount(self):
|
|
320
|
+
"""Number of risky instances
|
|
321
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
322
|
+
:rtype: int
|
|
323
|
+
"""
|
|
274
324
|
return self._RiskTotalCount
|
|
275
325
|
|
|
276
326
|
@RiskTotalCount.setter
|
|
@@ -279,6 +329,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
279
329
|
|
|
280
330
|
@property
|
|
281
331
|
def Risks(self):
|
|
332
|
+
"""Risky instance details list. Require json decode.
|
|
333
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
334
|
+
:rtype: str
|
|
335
|
+
"""
|
|
282
336
|
return self._Risks
|
|
283
337
|
|
|
284
338
|
@Risks.setter
|
|
@@ -287,6 +341,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
287
341
|
|
|
288
342
|
@property
|
|
289
343
|
def ResourceCount(self):
|
|
344
|
+
"""Number of inspection resources
|
|
345
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
346
|
+
:rtype: int
|
|
347
|
+
"""
|
|
290
348
|
return self._ResourceCount
|
|
291
349
|
|
|
292
350
|
@ResourceCount.setter
|
|
@@ -295,6 +353,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
295
353
|
|
|
296
354
|
@property
|
|
297
355
|
def RequestId(self):
|
|
356
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
357
|
+
:rtype: str
|
|
358
|
+
"""
|
|
298
359
|
return self._RequestId
|
|
299
360
|
|
|
300
361
|
@RequestId.setter
|
|
@@ -333,6 +394,9 @@ class KeyValue(AbstractModel):
|
|
|
333
394
|
|
|
334
395
|
@property
|
|
335
396
|
def Key(self):
|
|
397
|
+
"""Key name
|
|
398
|
+
:rtype: str
|
|
399
|
+
"""
|
|
336
400
|
return self._Key
|
|
337
401
|
|
|
338
402
|
@Key.setter
|
|
@@ -341,6 +405,9 @@ class KeyValue(AbstractModel):
|
|
|
341
405
|
|
|
342
406
|
@property
|
|
343
407
|
def Value(self):
|
|
408
|
+
"""Value corresponding to the key name
|
|
409
|
+
:rtype: str
|
|
410
|
+
"""
|
|
344
411
|
return self._Value
|
|
345
412
|
|
|
346
413
|
@Value.setter
|
|
@@ -389,6 +456,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
389
456
|
|
|
390
457
|
@property
|
|
391
458
|
def Field(self):
|
|
459
|
+
"""Field ID
|
|
460
|
+
:rtype: str
|
|
461
|
+
"""
|
|
392
462
|
return self._Field
|
|
393
463
|
|
|
394
464
|
@Field.setter
|
|
@@ -397,6 +467,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
397
467
|
|
|
398
468
|
@property
|
|
399
469
|
def FieldName(self):
|
|
470
|
+
"""Field name
|
|
471
|
+
:rtype: str
|
|
472
|
+
"""
|
|
400
473
|
return self._FieldName
|
|
401
474
|
|
|
402
475
|
@FieldName.setter
|
|
@@ -405,6 +478,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
405
478
|
|
|
406
479
|
@property
|
|
407
480
|
def FieldType(self):
|
|
481
|
+
"""Field type,
|
|
482
|
+
string: String type, such as "aa"
|
|
483
|
+
int: Integer, for example, 111
|
|
484
|
+
stringSlice : String array type, such as ["a", "b"]
|
|
485
|
+
tags: Tag type, for example: [{"Key":"kkk","Value":"vvv"},{"Key":"kkk2","Value":"vvv2"}]
|
|
486
|
+
:rtype: str
|
|
487
|
+
"""
|
|
408
488
|
return self._FieldType
|
|
409
489
|
|
|
410
490
|
@FieldType.setter
|
|
@@ -413,6 +493,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
413
493
|
|
|
414
494
|
@property
|
|
415
495
|
def FieldDict(self):
|
|
496
|
+
"""Dictionary corresponding to the field value
|
|
497
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
498
|
+
:rtype: list of KeyValue
|
|
499
|
+
"""
|
|
416
500
|
return self._FieldDict
|
|
417
501
|
|
|
418
502
|
@FieldDict.setter
|
|
@@ -487,6 +571,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
487
571
|
|
|
488
572
|
@property
|
|
489
573
|
def StrategyId(self):
|
|
574
|
+
"""Assessment item ID
|
|
575
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
576
|
+
:rtype: int
|
|
577
|
+
"""
|
|
490
578
|
return self._StrategyId
|
|
491
579
|
|
|
492
580
|
@StrategyId.setter
|
|
@@ -495,6 +583,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
495
583
|
|
|
496
584
|
@property
|
|
497
585
|
def Name(self):
|
|
586
|
+
"""Assessment item name
|
|
587
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
588
|
+
:rtype: str
|
|
589
|
+
"""
|
|
498
590
|
return self._Name
|
|
499
591
|
|
|
500
592
|
@Name.setter
|
|
@@ -503,6 +595,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
503
595
|
|
|
504
596
|
@property
|
|
505
597
|
def Desc(self):
|
|
598
|
+
"""Assessment item description
|
|
599
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
600
|
+
:rtype: str
|
|
601
|
+
"""
|
|
506
602
|
return self._Desc
|
|
507
603
|
|
|
508
604
|
@Desc.setter
|
|
@@ -511,6 +607,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
511
607
|
|
|
512
608
|
@property
|
|
513
609
|
def Product(self):
|
|
610
|
+
"""Product ID corresponding to the assessment item
|
|
611
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
612
|
+
:rtype: str
|
|
613
|
+
"""
|
|
514
614
|
return self._Product
|
|
515
615
|
|
|
516
616
|
@Product.setter
|
|
@@ -519,6 +619,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
519
619
|
|
|
520
620
|
@property
|
|
521
621
|
def ProductDesc(self):
|
|
622
|
+
"""Product name corresponding to the assessment item
|
|
623
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
624
|
+
:rtype: str
|
|
625
|
+
"""
|
|
522
626
|
return self._ProductDesc
|
|
523
627
|
|
|
524
628
|
@ProductDesc.setter
|
|
@@ -527,6 +631,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
527
631
|
|
|
528
632
|
@property
|
|
529
633
|
def Repair(self):
|
|
634
|
+
"""Optimization suggestions for the assessment item
|
|
635
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
636
|
+
:rtype: str
|
|
637
|
+
"""
|
|
530
638
|
return self._Repair
|
|
531
639
|
|
|
532
640
|
@Repair.setter
|
|
@@ -535,6 +643,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
535
643
|
|
|
536
644
|
@property
|
|
537
645
|
def GroupId(self):
|
|
646
|
+
"""Category ID of the assessment item
|
|
647
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
648
|
+
:rtype: int
|
|
649
|
+
"""
|
|
538
650
|
return self._GroupId
|
|
539
651
|
|
|
540
652
|
@GroupId.setter
|
|
@@ -543,6 +655,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
543
655
|
|
|
544
656
|
@property
|
|
545
657
|
def GroupName(self):
|
|
658
|
+
"""Category name of the assessment item
|
|
659
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
660
|
+
:rtype: str
|
|
661
|
+
"""
|
|
546
662
|
return self._GroupName
|
|
547
663
|
|
|
548
664
|
@GroupName.setter
|
|
@@ -551,6 +667,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
551
667
|
|
|
552
668
|
@property
|
|
553
669
|
def Conditions(self):
|
|
670
|
+
"""Risk list of the assessment item
|
|
671
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
672
|
+
:rtype: list of Conditions
|
|
673
|
+
"""
|
|
554
674
|
return self._Conditions
|
|
555
675
|
|
|
556
676
|
@Conditions.setter
|
|
@@ -90,6 +90,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
90
90
|
|
|
91
91
|
@property
|
|
92
92
|
def InputImage(self):
|
|
93
|
+
"""Base64 code of the input mage.
|
|
94
|
+
Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
95
|
+
Image restrictions: The single-edge resolution must be less than 5,000 and greater than 50, and the size after Base64 encoding must be less than 8 MB. Supported formats include JPG, JPEG, PNG, BMP, TIFF and WEBP.
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
93
98
|
return self._InputImage
|
|
94
99
|
|
|
95
100
|
@InputImage.setter
|
|
@@ -98,6 +103,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
98
103
|
|
|
99
104
|
@property
|
|
100
105
|
def InputUrl(self):
|
|
106
|
+
"""URL of the input mage.
|
|
107
|
+
Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
108
|
+
Image restrictions: The single-edge resolution must be less than 5,000 and greater than 50, and the size after Base64 encoding must be less than 8 MB. Supported formats include JPG, JPEG, PNG, BMP, TIFF and WEBP.
|
|
109
|
+
:rtype: str
|
|
110
|
+
"""
|
|
101
111
|
return self._InputUrl
|
|
102
112
|
|
|
103
113
|
@InputUrl.setter
|
|
@@ -106,6 +116,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
106
116
|
|
|
107
117
|
@property
|
|
108
118
|
def Prompt(self):
|
|
119
|
+
"""Text description.
|
|
120
|
+
It is used to increase the possibility that the generation result contains the described content.
|
|
121
|
+
A maximum of 256 UTF-8 characters are supported.
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
109
124
|
return self._Prompt
|
|
110
125
|
|
|
111
126
|
@Prompt.setter
|
|
@@ -114,6 +129,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
114
129
|
|
|
115
130
|
@property
|
|
116
131
|
def NegativePrompt(self):
|
|
132
|
+
"""Negative text description.
|
|
133
|
+
It is used to reduce the possibility that the generation result contains the described content, but such content cannot be completely avoided.
|
|
134
|
+
English is recommended. A maximum of 256 UTF-8 characters are supported.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
117
137
|
return self._NegativePrompt
|
|
118
138
|
|
|
119
139
|
@NegativePrompt.setter
|
|
@@ -122,6 +142,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
122
142
|
|
|
123
143
|
@property
|
|
124
144
|
def Styles(self):
|
|
145
|
+
"""Image style.
|
|
146
|
+
Select the desired style from the [Image Style List](https://intl.cloud.tencent.com/document/product/1668/86250?from_cn_redirect=1) and enter the style number.
|
|
147
|
+
It is recommended to use only one style. If no style is specified, 201 (anime style) is used by default.
|
|
148
|
+
:rtype: list of str
|
|
149
|
+
"""
|
|
125
150
|
return self._Styles
|
|
126
151
|
|
|
127
152
|
@Styles.setter
|
|
@@ -130,6 +155,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
130
155
|
|
|
131
156
|
@property
|
|
132
157
|
def ResultConfig(self):
|
|
158
|
+
"""Configurations of the generated image, including the resolution.
|
|
159
|
+
Images with the following resolutions can be generated: origin (The resolution is the same as the input image resolution, with the edge resolution of up to 2000. The image will be zoomed out proportionally if the resolution is exceeded.), 768:768 (1:1), 768:1024 (3:4), and 1024:768 (4:3).
|
|
160
|
+
If the resolution is not specified, origin is used by default.
|
|
161
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.ResultConfig`
|
|
162
|
+
"""
|
|
133
163
|
return self._ResultConfig
|
|
134
164
|
|
|
135
165
|
@ResultConfig.setter
|
|
@@ -138,6 +168,13 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
138
168
|
|
|
139
169
|
@property
|
|
140
170
|
def LogoAdd(self):
|
|
171
|
+
"""Switch indicating whether to add a logo to the generated image. Default value: 1.
|
|
172
|
+
1: add logo
|
|
173
|
+
0: do not add logo
|
|
174
|
+
Other values: add logo
|
|
175
|
+
It is recommended to use an obvious logo to indicate that the image result is generated by AI.
|
|
176
|
+
:rtype: int
|
|
177
|
+
"""
|
|
141
178
|
return self._LogoAdd
|
|
142
179
|
|
|
143
180
|
@LogoAdd.setter
|
|
@@ -146,6 +183,10 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
146
183
|
|
|
147
184
|
@property
|
|
148
185
|
def LogoParam(self):
|
|
186
|
+
"""Logo content settings.
|
|
187
|
+
By default, the text "Generated by AI" is added to the bottom right corner of the generated image. You can also use other logo.
|
|
188
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.LogoParam`
|
|
189
|
+
"""
|
|
149
190
|
return self._LogoParam
|
|
150
191
|
|
|
151
192
|
@LogoParam.setter
|
|
@@ -154,6 +195,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
154
195
|
|
|
155
196
|
@property
|
|
156
197
|
def Strength(self):
|
|
198
|
+
"""Generation strength.
|
|
199
|
+
The smaller the strength value, the more the generated image resembles the original image. Value range: (0, 1]. If the strength is not specified, the default value of the model is used.
|
|
200
|
+
The recommended value range is 0.6 to 0.8.
|
|
201
|
+
:rtype: float
|
|
202
|
+
"""
|
|
157
203
|
return self._Strength
|
|
158
204
|
|
|
159
205
|
@Strength.setter
|
|
@@ -162,6 +208,11 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
162
208
|
|
|
163
209
|
@property
|
|
164
210
|
def RspImgType(self):
|
|
211
|
+
"""Image return method (base64 or url).
|
|
212
|
+
You can specify only one method. Default value: base64.
|
|
213
|
+
The URL is valid for 1 hour.
|
|
214
|
+
:rtype: str
|
|
215
|
+
"""
|
|
165
216
|
return self._RspImgType
|
|
166
217
|
|
|
167
218
|
@RspImgType.setter
|
|
@@ -170,6 +221,12 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
170
221
|
|
|
171
222
|
@property
|
|
172
223
|
def EnhanceImage(self):
|
|
224
|
+
"""Switch indicating whether to enhance image clarity. Default value: 0.
|
|
225
|
+
1: on
|
|
226
|
+
0: off
|
|
227
|
+
If the switch is turned on, the image clarity will be enhanced and the generation time will increase.
|
|
228
|
+
:rtype: int
|
|
229
|
+
"""
|
|
173
230
|
return self._EnhanceImage
|
|
174
231
|
|
|
175
232
|
@EnhanceImage.setter
|
|
@@ -178,6 +235,10 @@ If the input value is greater than 0, the value will be used as the maximum numb
|
|
|
178
235
|
|
|
179
236
|
@property
|
|
180
237
|
def RestoreFace(self):
|
|
238
|
+
"""Maximum number of faces for detail restoration. Value range: 0 - 6. Default value: 0.
|
|
239
|
+
If the input value is greater than 0, the value will be used as the maximum number of faces with a small area can be restored in each image. The generation time will increase according to the actual number of faces restored.
|
|
240
|
+
:rtype: int
|
|
241
|
+
"""
|
|
181
242
|
return self._RestoreFace
|
|
182
243
|
|
|
183
244
|
@RestoreFace.setter
|
|
@@ -231,6 +292,11 @@ If the value is url, the URL of the generated image is returned. The URL is vali
|
|
|
231
292
|
|
|
232
293
|
@property
|
|
233
294
|
def ResultImage(self):
|
|
295
|
+
"""Different content is returned depending on the input parameter RspImgType.
|
|
296
|
+
If the value is base64, the Base64 code of the generated image is returned.
|
|
297
|
+
If the value is url, the URL of the generated image is returned. The URL is valid for 1 hour. Save it in time.
|
|
298
|
+
:rtype: str
|
|
299
|
+
"""
|
|
234
300
|
return self._ResultImage
|
|
235
301
|
|
|
236
302
|
@ResultImage.setter
|
|
@@ -239,6 +305,9 @@ If the value is url, the URL of the generated image is returned. The URL is vali
|
|
|
239
305
|
|
|
240
306
|
@property
|
|
241
307
|
def RequestId(self):
|
|
308
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
309
|
+
:rtype: str
|
|
310
|
+
"""
|
|
242
311
|
return self._RequestId
|
|
243
312
|
|
|
244
313
|
@RequestId.setter
|
|
@@ -271,6 +340,9 @@ class LogoParam(AbstractModel):
|
|
|
271
340
|
|
|
272
341
|
@property
|
|
273
342
|
def LogoUrl(self):
|
|
343
|
+
"""Logo URL
|
|
344
|
+
:rtype: str
|
|
345
|
+
"""
|
|
274
346
|
return self._LogoUrl
|
|
275
347
|
|
|
276
348
|
@LogoUrl.setter
|
|
@@ -279,6 +351,9 @@ class LogoParam(AbstractModel):
|
|
|
279
351
|
|
|
280
352
|
@property
|
|
281
353
|
def LogoImage(self):
|
|
354
|
+
"""Logo Base64 code. Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
355
|
+
:rtype: str
|
|
356
|
+
"""
|
|
282
357
|
return self._LogoImage
|
|
283
358
|
|
|
284
359
|
@LogoImage.setter
|
|
@@ -287,6 +362,9 @@ class LogoParam(AbstractModel):
|
|
|
287
362
|
|
|
288
363
|
@property
|
|
289
364
|
def LogoRect(self):
|
|
365
|
+
"""Coordinates of the logo image in the generated image. The logo image will be stretched according to the coordinates.
|
|
366
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.LogoRect`
|
|
367
|
+
"""
|
|
290
368
|
return self._LogoRect
|
|
291
369
|
|
|
292
370
|
@LogoRect.setter
|
|
@@ -333,6 +411,9 @@ class LogoRect(AbstractModel):
|
|
|
333
411
|
|
|
334
412
|
@property
|
|
335
413
|
def X(self):
|
|
414
|
+
"""X-axis coordinate of the upper left corner
|
|
415
|
+
:rtype: int
|
|
416
|
+
"""
|
|
336
417
|
return self._X
|
|
337
418
|
|
|
338
419
|
@X.setter
|
|
@@ -341,6 +422,9 @@ class LogoRect(AbstractModel):
|
|
|
341
422
|
|
|
342
423
|
@property
|
|
343
424
|
def Y(self):
|
|
425
|
+
"""Y-axis coordinate of the upper left corner
|
|
426
|
+
:rtype: int
|
|
427
|
+
"""
|
|
344
428
|
return self._Y
|
|
345
429
|
|
|
346
430
|
@Y.setter
|
|
@@ -349,6 +433,9 @@ class LogoRect(AbstractModel):
|
|
|
349
433
|
|
|
350
434
|
@property
|
|
351
435
|
def Width(self):
|
|
436
|
+
"""Box width
|
|
437
|
+
:rtype: int
|
|
438
|
+
"""
|
|
352
439
|
return self._Width
|
|
353
440
|
|
|
354
441
|
@Width.setter
|
|
@@ -357,6 +444,9 @@ class LogoRect(AbstractModel):
|
|
|
357
444
|
|
|
358
445
|
@property
|
|
359
446
|
def Height(self):
|
|
447
|
+
"""Box height
|
|
448
|
+
:rtype: int
|
|
449
|
+
"""
|
|
360
450
|
return self._Height
|
|
361
451
|
|
|
362
452
|
@Height.setter
|
|
@@ -395,6 +485,11 @@ Images with the following resolutions can be generated: origin (The resolution i
|
|
|
395
485
|
|
|
396
486
|
@property
|
|
397
487
|
def Resolution(self):
|
|
488
|
+
"""Generated image resolution.
|
|
489
|
+
|
|
490
|
+
Images with the following resolutions can be generated: origin (The resolution is the same as the input image resolution, with the edge resolution of up to 2000. The image will be zoomed out proportionally if the resolution is exceeded.), 768:768 (1:1), 768:1024 (3:4), and 1024:768 (4:3). If the resolution is not specified, origin is used by default. The generated image may be cropped if the aspect ratio of the generated image is too different from that of the input image.
|
|
491
|
+
:rtype: str
|
|
492
|
+
"""
|
|
398
493
|
return self._Resolution
|
|
399
494
|
|
|
400
495
|
@Resolution.setter
|