tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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.
Files changed (284) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/advisor/v20200721/models.py +0 -26
  3. tencentcloud/ams/v20201229/ams_client.py +17 -6
  4. tencentcloud/ams/v20201229/models.py +8 -6
  5. tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
  6. tencentcloud/antiddos/v20200309/models.py +44 -837
  7. tencentcloud/apm/v20210622/models.py +60 -60
  8. tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
  9. tencentcloud/autoscaling/v20180419/models.py +352 -210
  10. tencentcloud/batch/v20170312/batch_client.py +0 -46
  11. tencentcloud/batch/v20170312/errorcodes.py +0 -9
  12. tencentcloud/batch/v20170312/models.py +44 -1179
  13. tencentcloud/bh/v20230418/bh_client.py +253 -0
  14. tencentcloud/bh/v20230418/errorcodes.py +15 -0
  15. tencentcloud/bh/v20230418/models.py +3489 -1335
  16. tencentcloud/bi/v20220105/models.py +242 -2
  17. tencentcloud/billing/v20180709/billing_client.py +0 -23
  18. tencentcloud/billing/v20180709/models.py +34 -926
  19. tencentcloud/bpaas/v20181217/models.py +0 -54
  20. tencentcloud/cam/v20190116/errorcodes.py +3 -0
  21. tencentcloud/cam/v20190116/models.py +2 -86
  22. tencentcloud/captcha/v20190722/models.py +21 -54
  23. tencentcloud/cat/v20180409/cat_client.py +23 -0
  24. tencentcloud/cat/v20180409/models.py +509 -0
  25. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  26. tencentcloud/cbs/v20170312/models.py +75 -96
  27. tencentcloud/ccc/v20200210/ccc_client.py +184 -0
  28. tencentcloud/ccc/v20200210/errorcodes.py +12 -0
  29. tencentcloud/ccc/v20200210/models.py +2552 -1026
  30. tencentcloud/cdb/v20170320/cdb_client.py +27 -4
  31. tencentcloud/cdb/v20170320/models.py +180 -20
  32. tencentcloud/cdc/v20201214/cdc_client.py +46 -0
  33. tencentcloud/cdc/v20201214/errorcodes.py +18 -0
  34. tencentcloud/cdc/v20201214/models.py +202 -86
  35. tencentcloud/cdn/v20180606/cdn_client.py +70 -24
  36. tencentcloud/cdn/v20180606/models.py +19 -50
  37. tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
  38. tencentcloud/cdwch/v20200915/models.py +242 -260
  39. tencentcloud/cdwdoris/v20211228/models.py +330 -0
  40. tencentcloud/cdwpg/v20201230/models.py +196 -516
  41. tencentcloud/cdz/v20221123/models.py +0 -12
  42. tencentcloud/cfg/v20210820/models.py +30 -198
  43. tencentcloud/cfs/v20190719/errorcodes.py +3 -0
  44. tencentcloud/cfs/v20190719/models.py +15 -0
  45. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  46. tencentcloud/cfw/v20190904/models.py +331 -4
  47. tencentcloud/chc/__init__.py +0 -0
  48. tencentcloud/chc/v20230418/__init__.py +0 -0
  49. tencentcloud/chc/v20230418/chc_client.py +877 -0
  50. tencentcloud/chc/v20230418/errorcodes.py +15 -0
  51. tencentcloud/chc/v20230418/models.py +10146 -0
  52. tencentcloud/chdfs/v20201112/models.py +2 -2
  53. tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
  54. tencentcloud/ckafka/v20190819/models.py +371 -1230
  55. tencentcloud/clb/v20180317/clb_client.py +3 -3
  56. tencentcloud/clb/v20180317/models.py +395 -406
  57. tencentcloud/cls/v20201016/cls_client.py +41 -18
  58. tencentcloud/cls/v20201016/models.py +256 -606
  59. tencentcloud/cme/v20191029/cme_client.py +0 -1
  60. tencentcloud/cme/v20191029/errorcodes.py +3 -0
  61. tencentcloud/cme/v20191029/models.py +10 -14
  62. tencentcloud/cmq/v20190304/models.py +0 -90
  63. tencentcloud/common/abstract_client.py +29 -24
  64. tencentcloud/common/abstract_model.py +5 -1
  65. tencentcloud/common/common_client.py +14 -15
  66. tencentcloud/common/credential.py +68 -65
  67. tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
  68. tencentcloud/common/profile/client_profile.py +32 -30
  69. tencentcloud/common/profile/http_profile.py +20 -12
  70. tencentcloud/common/retry.py +18 -0
  71. tencentcloud/controlcenter/v20230110/models.py +0 -58
  72. tencentcloud/cvm/v20170312/cvm_client.py +42 -10
  73. tencentcloud/cvm/v20170312/errorcodes.py +25 -1
  74. tencentcloud/cvm/v20170312/models.py +835 -290
  75. tencentcloud/cwp/v20180228/cwp_client.py +1 -1
  76. tencentcloud/cwp/v20180228/models.py +362 -58
  77. tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
  78. tencentcloud/cynosdb/v20190107/models.py +451 -824
  79. tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
  80. tencentcloud/dbbrain/v20191016/models.py +605 -52
  81. tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
  82. tencentcloud/dbbrain/v20210527/models.py +6071 -2974
  83. tencentcloud/dbdc/v20201029/models.py +0 -16
  84. tencentcloud/dc/v20180410/models.py +25 -12
  85. tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
  86. tencentcloud/dcdb/v20180411/models.py +175 -114
  87. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  88. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  89. tencentcloud/dlc/v20210125/models.py +1217 -592
  90. tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
  91. tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
  92. tencentcloud/dnspod/v20210323/models.py +718 -110
  93. tencentcloud/domain/v20180808/domain_client.py +4 -2
  94. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  95. tencentcloud/domain/v20180808/models.py +628 -324
  96. tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
  97. tencentcloud/dsgc/v20190723/models.py +53 -34
  98. tencentcloud/dts/v20180330/models.py +0 -10
  99. tencentcloud/dts/v20211206/models.py +118 -585
  100. tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
  101. tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
  102. tencentcloud/ecdn/v20191012/models.py +4 -1047
  103. tencentcloud/emr/v20190103/emr_client.py +47 -1
  104. tencentcloud/emr/v20190103/models.py +1174 -146
  105. tencentcloud/es/v20180416/errorcodes.py +3 -0
  106. tencentcloud/es/v20180416/models.py +74 -6
  107. tencentcloud/es/v20250101/__init__.py +0 -0
  108. tencentcloud/es/v20250101/errorcodes.py +45 -0
  109. tencentcloud/es/v20250101/es_client.py +251 -0
  110. tencentcloud/es/v20250101/models.py +2519 -0
  111. tencentcloud/ess/v20201111/ess_client.py +43 -5
  112. tencentcloud/ess/v20201111/models.py +854 -60
  113. tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
  114. tencentcloud/essbasic/v20210526/models.py +726 -43
  115. tencentcloud/facefusion/v20220927/models.py +4 -2
  116. tencentcloud/fmu/v20191213/errorcodes.py +3 -21
  117. tencentcloud/fmu/v20191213/fmu_client.py +0 -75
  118. tencentcloud/fmu/v20191213/models.py +4 -531
  119. tencentcloud/gaap/v20180529/gaap_client.py +1 -1
  120. tencentcloud/gaap/v20180529/models.py +2 -276
  121. tencentcloud/goosefs/v20220519/models.py +0 -2
  122. tencentcloud/gs/v20191118/errorcodes.py +36 -0
  123. tencentcloud/gs/v20191118/gs_client.py +1074 -12
  124. tencentcloud/gs/v20191118/models.py +6976 -492
  125. tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
  126. tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
  127. tencentcloud/gwlb/v20240906/models.py +94 -84
  128. tencentcloud/hai/v20230812/errorcodes.py +7 -1
  129. tencentcloud/hai/v20230812/hai_client.py +23 -0
  130. tencentcloud/hai/v20230812/models.py +111 -136
  131. tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
  132. tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
  133. tencentcloud/hunyuan/v20230901/models.py +1089 -119
  134. tencentcloud/ims/v20201229/models.py +25 -4
  135. tencentcloud/ioa/v20220601/ioa_client.py +92 -0
  136. tencentcloud/ioa/v20220601/models.py +1136 -225
  137. tencentcloud/iotcloud/v20210408/models.py +2 -4
  138. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  139. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
  140. tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
  141. tencentcloud/iotvideo/v20191126/models.py +0 -4
  142. tencentcloud/iotvideo/v20201215/models.py +17 -0
  143. tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
  144. tencentcloud/iotvideo/v20211125/models.py +476 -0
  145. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
  146. tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
  147. tencentcloud/iss/v20230517/errorcodes.py +9 -0
  148. tencentcloud/iss/v20230517/iss_client.py +161 -0
  149. tencentcloud/iss/v20230517/models.py +1716 -743
  150. tencentcloud/kms/v20190118/models.py +101 -0
  151. tencentcloud/lcic/v20220817/errorcodes.py +2 -2
  152. tencentcloud/lcic/v20220817/lcic_client.py +47 -1
  153. tencentcloud/lcic/v20220817/models.py +357 -72
  154. tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
  155. tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
  156. tencentcloud/lighthouse/v20200324/models.py +237 -259
  157. tencentcloud/live/v20180801/models.py +61 -46
  158. tencentcloud/lke/v20231130/errorcodes.py +3 -0
  159. tencentcloud/lke/v20231130/lke_client.py +8 -29
  160. tencentcloud/lke/v20231130/models.py +561 -115
  161. tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
  162. tencentcloud/lkeap/v20240522/models.py +290 -18
  163. tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
  164. tencentcloud/lowcode/v20210108/models.py +0 -2
  165. tencentcloud/mariadb/v20170312/models.py +155 -140
  166. tencentcloud/memcached/v20190318/models.py +2 -2
  167. tencentcloud/mmps/v20200710/models.py +0 -66
  168. tencentcloud/mna/v20210119/errorcodes.py +0 -36
  169. tencentcloud/mna/v20210119/mna_client.py +0 -75
  170. tencentcloud/mna/v20210119/models.py +0 -1002
  171. tencentcloud/mongodb/v20190725/models.py +115 -6
  172. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  173. tencentcloud/monitor/v20180724/errorcodes.py +3 -0
  174. tencentcloud/monitor/v20180724/models.py +1055 -74
  175. tencentcloud/monitor/v20180724/monitor_client.py +94 -2
  176. tencentcloud/mps/v20190612/errorcodes.py +36 -0
  177. tencentcloud/mps/v20190612/models.py +4866 -448
  178. tencentcloud/mps/v20190612/mps_client.py +208 -0
  179. tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
  180. tencentcloud/mqtt/v20240516/models.py +705 -372
  181. tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
  182. tencentcloud/oceanus/v20190422/models.py +14 -2
  183. tencentcloud/ocr/v20181119/errorcodes.py +0 -12
  184. tencentcloud/ocr/v20181119/models.py +311 -1042
  185. tencentcloud/ocr/v20181119/ocr_client.py +5 -102
  186. tencentcloud/organization/v20210331/errorcodes.py +3 -0
  187. tencentcloud/organization/v20210331/models.py +45 -82
  188. tencentcloud/partners/v20180321/models.py +169 -0
  189. tencentcloud/partners/v20180321/partners_client.py +23 -0
  190. tencentcloud/postgres/v20170312/models.py +36 -328
  191. tencentcloud/postgres/v20170312/postgres_client.py +15 -5
  192. tencentcloud/privatedns/v20201028/models.py +36 -28
  193. tencentcloud/rce/v20201103/models.py +0 -15
  194. tencentcloud/redis/v20180412/models.py +233 -18
  195. tencentcloud/redis/v20180412/redis_client.py +23 -0
  196. tencentcloud/rum/v20210622/models.py +0 -2
  197. tencentcloud/ses/v20201002/models.py +32 -4
  198. tencentcloud/smop/v20201203/smop_client.py +3 -1
  199. tencentcloud/soe/v20180724/models.py +4 -2
  200. tencentcloud/sqlserver/v20180328/models.py +75 -0
  201. tencentcloud/ssl/v20191205/models.py +7 -319
  202. tencentcloud/ssm/v20190923/models.py +45 -0
  203. tencentcloud/sts/v20180813/errorcodes.py +9 -0
  204. tencentcloud/sts/v20180813/models.py +171 -0
  205. tencentcloud/sts/v20180813/sts_client.py +23 -0
  206. tencentcloud/svp/v20240125/errorcodes.py +3 -0
  207. tencentcloud/svp/v20240125/models.py +506 -44
  208. tencentcloud/svp/v20240125/svp_client.py +23 -0
  209. tencentcloud/tan/v20220420/tan_client.py +3 -1
  210. tencentcloud/tat/v20201028/errorcodes.py +12 -0
  211. tencentcloud/tat/v20201028/models.py +138 -42
  212. tencentcloud/tbaas/v20180416/models.py +0 -58
  213. tencentcloud/tcb/v20180608/errorcodes.py +3 -0
  214. tencentcloud/tcb/v20180608/models.py +189 -582
  215. tencentcloud/tcb/v20180608/tcb_client.py +23 -23
  216. tencentcloud/tcbr/v20220217/models.py +45 -0
  217. tencentcloud/tchd/v20230306/models.py +166 -0
  218. tencentcloud/tchd/v20230306/tchd_client.py +24 -0
  219. tencentcloud/tcr/v20190924/models.py +44 -174
  220. tencentcloud/tcss/v20201101/models.py +1458 -2066
  221. tencentcloud/tcss/v20201101/tcss_client.py +92 -125
  222. tencentcloud/tdid/v20210519/models.py +0 -10
  223. tencentcloud/tdmq/v20200217/models.py +405 -575
  224. tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
  225. tencentcloud/tds/v20220801/models.py +441 -0
  226. tencentcloud/tds/v20220801/tds_client.py +23 -0
  227. tencentcloud/tem/v20210701/models.py +0 -498
  228. tencentcloud/teo/v20220106/teo_client.py +6 -2
  229. tencentcloud/teo/v20220901/errorcodes.py +9 -0
  230. tencentcloud/teo/v20220901/models.py +1828 -472
  231. tencentcloud/teo/v20220901/teo_client.py +54 -4
  232. tencentcloud/thpc/v20211109/models.py +0 -6
  233. tencentcloud/thpc/v20220401/models.py +0 -14
  234. tencentcloud/thpc/v20230321/models.py +64 -52
  235. tencentcloud/tione/v20211111/errorcodes.py +114 -0
  236. tencentcloud/tione/v20211111/models.py +2288 -160
  237. tencentcloud/tione/v20211111/tione_client.py +138 -0
  238. tencentcloud/tiw/v20190919/errorcodes.py +3 -24
  239. tencentcloud/tiw/v20190919/models.py +3657 -8172
  240. tencentcloud/tiw/v20190919/tiw_client.py +1 -580
  241. tencentcloud/tke/v20180525/models.py +705 -721
  242. tencentcloud/tke/v20180525/tke_client.py +23 -0
  243. tencentcloud/tke/v20220501/models.py +0 -34
  244. tencentcloud/trocket/v20230308/models.py +1630 -160
  245. tencentcloud/trocket/v20230308/trocket_client.py +238 -0
  246. tencentcloud/trro/v20220325/models.py +1132 -44
  247. tencentcloud/trro/v20220325/trro_client.py +142 -0
  248. tencentcloud/trtc/v20190722/models.py +94 -90
  249. tencentcloud/trtc/v20190722/trtc_client.py +4 -0
  250. tencentcloud/tse/v20201207/models.py +90 -1010
  251. tencentcloud/tsf/v20180326/errorcodes.py +6 -0
  252. tencentcloud/tsf/v20180326/models.py +350 -582
  253. tencentcloud/tsf/v20180326/tsf_client.py +26 -1
  254. tencentcloud/tts/v20190823/models.py +15 -15
  255. tencentcloud/tts/v20190823/tts_client.py +6 -5
  256. tencentcloud/vclm/v20240523/models.py +2 -2
  257. tencentcloud/vcube/v20220410/models.py +66 -158
  258. tencentcloud/vcube/v20220410/vcube_client.py +2 -2
  259. tencentcloud/vdb/v20230616/models.py +1487 -29
  260. tencentcloud/vdb/v20230616/vdb_client.py +185 -1
  261. tencentcloud/vm/v20210922/models.py +2 -2
  262. tencentcloud/vm/v20210922/vm_client.py +16 -8
  263. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  264. tencentcloud/vod/v20180717/models.py +106 -417
  265. tencentcloud/vod/v20180717/vod_client.py +2 -1
  266. tencentcloud/vod/v20240718/errorcodes.py +33 -0
  267. tencentcloud/vod/v20240718/models.py +1839 -0
  268. tencentcloud/vod/v20240718/vod_client.py +146 -0
  269. tencentcloud/vpc/v20170312/errorcodes.py +12 -0
  270. tencentcloud/vpc/v20170312/models.py +2052 -519
  271. tencentcloud/vpc/v20170312/vpc_client.py +229 -11
  272. tencentcloud/vrs/v20200824/models.py +49 -0
  273. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  274. tencentcloud/waf/v20180125/models.py +4191 -0
  275. tencentcloud/waf/v20180125/waf_client.py +276 -0
  276. tencentcloud/wedata/v20210820/models.py +5404 -394
  277. tencentcloud/wedata/v20210820/wedata_client.py +161 -0
  278. tencentcloud/weilingwith/v20230427/models.py +0 -964
  279. tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
  280. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
  281. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
  282. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
  283. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
  284. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -371,7 +371,8 @@ class ImageModerationRequest(AbstractModel):
371
371
 
372
372
  def __init__(self):
373
373
  r"""
374
- :param _BizType: 该字段表示策略的具体编号,用于接口调度,在内容安全控制台中可配置。若不传入Biztype参数(留空),则代表采用默认的识别策略;传入则会在审核时根据业务场景采取不同的审核策略。<br>备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
374
+ :param _BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置。
375
+ 备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
375
376
  :type BizType: str
376
377
  :param _DataId: 该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。<br>取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,**长度不超过64个字符**。
377
378
  :type DataId: str
@@ -387,6 +388,8 @@ class ImageModerationRequest(AbstractModel):
387
388
  :type User: :class:`tencentcloud.ims.v20201229.models.User`
388
389
  :param _Device: 该字段表示待检测对象对应的设备相关信息,若填入则可甄别相应违规风险设备。
389
390
  :type Device: :class:`tencentcloud.ims.v20201229.models.Device`
391
+ :param _Type: 该字段表示输入的图片审核类型,取值含:IMAGE(内容安全)、IMAGE_AIGC(AI生成识别)两种,默认值为IMAGE。
392
+ :type Type: str
390
393
  """
391
394
  self._BizType = None
392
395
  self._DataId = None
@@ -396,10 +399,12 @@ class ImageModerationRequest(AbstractModel):
396
399
  self._MaxFrames = None
397
400
  self._User = None
398
401
  self._Device = None
402
+ self._Type = None
399
403
 
400
404
  @property
401
405
  def BizType(self):
402
- """该字段表示策略的具体编号,用于接口调度,在内容安全控制台中可配置。若不传入Biztype参数(留空),则代表采用默认的识别策略;传入则会在审核时根据业务场景采取不同的审核策略。<br>备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
406
+ """该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置。
407
+ 备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
403
408
  :rtype: str
404
409
  """
405
410
  return self._BizType
@@ -485,6 +490,17 @@ class ImageModerationRequest(AbstractModel):
485
490
  def Device(self, Device):
486
491
  self._Device = Device
487
492
 
493
+ @property
494
+ def Type(self):
495
+ """该字段表示输入的图片审核类型,取值含:IMAGE(内容安全)、IMAGE_AIGC(AI生成识别)两种,默认值为IMAGE。
496
+ :rtype: str
497
+ """
498
+ return self._Type
499
+
500
+ @Type.setter
501
+ def Type(self, Type):
502
+ self._Type = Type
503
+
488
504
 
489
505
  def _deserialize(self, params):
490
506
  self._BizType = params.get("BizType")
@@ -499,6 +515,7 @@ class ImageModerationRequest(AbstractModel):
499
515
  if params.get("Device") is not None:
500
516
  self._Device = Device()
501
517
  self._Device._deserialize(params.get("Device"))
518
+ self._Type = params.get("Type")
502
519
  memeber_set = set(params.keys())
503
520
  for name, value in vars(self).items():
504
521
  property_name = name[1:]
@@ -524,7 +541,9 @@ class ImageModerationResponse(AbstractModel):
524
541
  :type SubLabel: str
525
542
  :param _Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表图片越有可能属于当前返回的标签;如:*色情 99*,则表明该图片非常有可能属于色情内容;*色情 0*,则表明该图片不属于色情内容。
526
543
  :type Score: int
527
- :param _LabelResults: 该字段用于返回分类模型命中的恶意标签的详细识别结果,包括涉黄、广告等令人反感、不安全或不适宜的内容类型识别结果。
544
+ :param _LabelResults: 该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
545
+
546
+ 返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
528
547
  注意:此字段可能返回 null,表示取不到有效值。
529
548
  :type LabelResults: list of LabelResult
530
549
  :param _ObjectResults: 该字段用于返回物体检测模型的详细检测结果;包括:实体、广告台标、二维码等内容命中的标签名称、标签分数、坐标信息、场景识别结果、建议操作等内容审核信息;详细返回值信息可参阅对应的数据结构(ObjectResults)描述。
@@ -612,7 +631,9 @@ class ImageModerationResponse(AbstractModel):
612
631
 
613
632
  @property
614
633
  def LabelResults(self):
615
- """该字段用于返回分类模型命中的恶意标签的详细识别结果,包括涉黄、广告等令人反感、不安全或不适宜的内容类型识别结果。
634
+ """该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
635
+
636
+ 返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
616
637
  注意:此字段可能返回 null,表示取不到有效值。
617
638
  :rtype: list of LabelResult
618
639
  """
@@ -26,6 +26,29 @@ class IoaClient(AbstractClient):
26
26
  _service = 'ioa'
27
27
 
28
28
 
29
+ def CreateDLPFileDetectionTask(self, request):
30
+ """提交送检任务
31
+
32
+ :param request: Request instance for CreateDLPFileDetectionTask.
33
+ :type request: :class:`tencentcloud.ioa.v20220601.models.CreateDLPFileDetectionTaskRequest`
34
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.CreateDLPFileDetectionTaskResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("CreateDLPFileDetectionTask", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.CreateDLPFileDetectionTaskResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def CreateDeviceVirtualGroup(self, request):
30
53
  """创建终端自定义分组,私有化调用path为:/capi/Assets/Device/CreateDeviceVirtualGroup
31
54
 
@@ -49,6 +72,29 @@ class IoaClient(AbstractClient):
49
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
73
 
51
74
 
75
+ def CreatePrivilegeCode(self, request):
76
+ """生成特权码,私有化调用path为:capi/Assets/Device/CreatePrivilegeCode,生成的特权码、卸载码,仅对该设备当天有效
77
+
78
+ :param request: Request instance for CreatePrivilegeCode.
79
+ :type request: :class:`tencentcloud.ioa.v20220601.models.CreatePrivilegeCodeRequest`
80
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.CreatePrivilegeCodeResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("CreatePrivilegeCode", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.CreatePrivilegeCodeResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
52
98
  def DescribeAccountGroups(self, request):
53
99
  """以分页的方式查询账号分组列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
54
100
 
@@ -72,6 +118,29 @@ class IoaClient(AbstractClient):
72
118
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
119
 
74
120
 
121
+ def DescribeDLPFileDetectResult(self, request):
122
+ """webservice查询文件检测结果
123
+
124
+ :param request: Request instance for DescribeDLPFileDetectResult.
125
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeDLPFileDetectResultRequest`
126
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDLPFileDetectResultResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("DescribeDLPFileDetectResult", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.DescribeDLPFileDetectResultResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
75
144
  def DescribeDevices(self, request):
76
145
  """查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
77
146
 
@@ -134,6 +203,29 @@ class IoaClient(AbstractClient):
134
203
  model = models.DescribeRootAccountGroupResponse()
135
204
  model._deserialize(response["Response"])
136
205
  return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
213
+ def DescribeSoftCensusListByDevice(self, request):
214
+ """查看终端树下的软件列表,私有化调用path为:capi/Software/DescribeSoftCensusListByDevice
215
+
216
+ :param request: Request instance for DescribeSoftCensusListByDevice.
217
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftCensusListByDeviceRequest`
218
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftCensusListByDeviceResponse`
219
+
220
+ """
221
+ try:
222
+ params = request._serialize()
223
+ headers = request.headers
224
+ body = self.call("DescribeSoftCensusListByDevice", params, headers=headers)
225
+ response = json.loads(body)
226
+ model = models.DescribeSoftCensusListByDeviceResponse()
227
+ model._deserialize(response["Response"])
228
+ return model
137
229
  except Exception as e:
138
230
  if isinstance(e, TencentCloudSDKException):
139
231
  raise