tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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 (260) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ags/v20250920/ags_client.py +46 -0
  3. tencentcloud/ags/v20250920/ags_client_async.py +36 -0
  4. tencentcloud/ags/v20250920/errorcodes.py +45 -0
  5. tencentcloud/ags/v20250920/models.py +1704 -110
  6. tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
  7. tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
  8. tencentcloud/ai3d/v20250513/models.py +78 -36
  9. tencentcloud/aiart/v20221229/aiart_client.py +46 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
  11. tencentcloud/aiart/v20221229/models.py +289 -0
  12. tencentcloud/ams/v20201229/models.py +101 -0
  13. tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
  14. tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
  15. tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
  16. tencentcloud/antiddos/v20200309/models.py +1671 -97
  17. tencentcloud/apm/v20210622/apm_client.py +23 -0
  18. tencentcloud/apm/v20210622/apm_client_async.py +18 -0
  19. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  20. tencentcloud/apm/v20210622/models.py +1678 -78
  21. tencentcloud/asr/v20190614/models.py +100 -2
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
  24. tencentcloud/autoscaling/v20180419/models.py +475 -338
  25. tencentcloud/bh/v20230418/models.py +179 -6
  26. tencentcloud/billing/v20180709/billing_client.py +23 -0
  27. tencentcloud/billing/v20180709/billing_client_async.py +18 -0
  28. tencentcloud/billing/v20180709/models.py +328 -6
  29. tencentcloud/cam/v20190116/models.py +111 -2
  30. tencentcloud/car/v20220110/car_client.py +23 -0
  31. tencentcloud/car/v20220110/car_client_async.py +18 -0
  32. tencentcloud/car/v20220110/models.py +109 -0
  33. tencentcloud/cbs/v20170312/models.py +14 -14
  34. tencentcloud/ccc/v20200210/ccc_client.py +42 -13
  35. tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
  36. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  37. tencentcloud/ccc/v20200210/models.py +256 -4
  38. tencentcloud/cdb/v20170320/models.py +37 -16
  39. tencentcloud/cdc/v20201214/models.py +92 -124
  40. tencentcloud/cdn/v20180606/cdn_client.py +0 -78
  41. tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
  42. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  43. tencentcloud/cdn/v20180606/models.py +464 -1028
  44. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  45. tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
  46. tencentcloud/cdwch/v20200915/models.py +555 -0
  47. tencentcloud/cdwdoris/v20211228/models.py +505 -0
  48. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  49. tencentcloud/cfs/v20190719/models.py +2 -2
  50. tencentcloud/cfw/v20190904/cfw_client.py +278 -23
  51. tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
  52. tencentcloud/cfw/v20190904/models.py +3319 -1154
  53. tencentcloud/chdfs/v20201112/models.py +150 -0
  54. tencentcloud/ckafka/v20190819/models.py +458 -282
  55. tencentcloud/clb/v20180317/clb_client.py +23 -0
  56. tencentcloud/clb/v20180317/clb_client_async.py +18 -0
  57. tencentcloud/clb/v20180317/models.py +230 -130
  58. tencentcloud/cloudapp/v20220530/models.py +190 -36
  59. tencentcloud/cloudaudit/v20190319/models.py +32 -4
  60. tencentcloud/cloudmate/__init__.py +0 -0
  61. tencentcloud/cloudmate/v20251030/__init__.py +0 -0
  62. tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
  63. tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
  64. tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
  65. tencentcloud/cloudmate/v20251030/models.py +387 -0
  66. tencentcloud/cls/v20201016/cls_client.py +1064 -0
  67. tencentcloud/cls/v20201016/cls_client_async.py +860 -26
  68. tencentcloud/cls/v20201016/models.py +10246 -384
  69. tencentcloud/cme/v20191029/models.py +23 -0
  70. tencentcloud/csip/v20221121/models.py +317 -0
  71. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  72. tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
  73. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  74. tencentcloud/cvm/v20170312/models.py +28 -8
  75. tencentcloud/cwp/v20180228/cwp_client.py +0 -188
  76. tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
  77. tencentcloud/cwp/v20180228/models.py +1097 -1814
  78. tencentcloud/cynosdb/v20190107/models.py +181 -48
  79. tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
  80. tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
  81. tencentcloud/dataagent/v20250513/models.py +1477 -52
  82. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  83. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
  84. tencentcloud/dbbrain/v20210527/models.py +261 -15
  85. tencentcloud/dbs/v20211108/dbs_client.py +69 -0
  86. tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
  87. tencentcloud/dbs/v20211108/errorcodes.py +15 -0
  88. tencentcloud/dbs/v20211108/models.py +1173 -27
  89. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  90. tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  91. tencentcloud/dlc/v20210125/errorcodes.py +15 -0
  92. tencentcloud/dlc/v20210125/models.py +1016 -0
  93. tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
  94. tencentcloud/dnspod/v20210323/models.py +4 -4
  95. tencentcloud/emr/v20190103/emr_client.py +46 -0
  96. tencentcloud/emr/v20190103/emr_client_async.py +36 -0
  97. tencentcloud/emr/v20190103/models.py +625 -2
  98. tencentcloud/es/v20180416/errorcodes.py +15 -0
  99. tencentcloud/es/v20180416/es_client.py +115 -0
  100. tencentcloud/es/v20180416/es_client_async.py +90 -0
  101. tencentcloud/es/v20180416/models.py +498 -4
  102. tencentcloud/ess/v20201111/ess_client.py +153 -6
  103. tencentcloud/ess/v20201111/ess_client_async.py +128 -6
  104. tencentcloud/ess/v20201111/models.py +1496 -58
  105. tencentcloud/essbasic/v20210526/models.py +129 -23
  106. tencentcloud/evt/v20250217/evt_client.py +46 -0
  107. tencentcloud/evt/v20250217/evt_client_async.py +36 -0
  108. tencentcloud/evt/v20250217/models.py +188 -0
  109. tencentcloud/faceid/v20180301/models.py +10 -4
  110. tencentcloud/gaap/v20180529/models.py +260 -352
  111. tencentcloud/gs/v20191118/models.py +150 -4
  112. tencentcloud/gwlb/v20240906/models.py +48 -70
  113. tencentcloud/iai/v20180301/models.py +4 -4
  114. tencentcloud/iai/v20200303/models.py +4 -4
  115. tencentcloud/igtm/v20231024/errorcodes.py +1 -1
  116. tencentcloud/ims/v20201229/ims_client.py +1 -1
  117. tencentcloud/ims/v20201229/ims_client_async.py +1 -1
  118. tencentcloud/ioa/v20220601/models.py +60 -0
  119. tencentcloud/keewidb/v20220308/models.py +52 -68
  120. tencentcloud/lcic/v20220817/models.py +15 -0
  121. tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
  122. tencentcloud/lighthouse/v20200324/models.py +8 -0
  123. tencentcloud/live/v20180801/errorcodes.py +6 -0
  124. tencentcloud/live/v20180801/live_client.py +143 -0
  125. tencentcloud/live/v20180801/live_client_async.py +113 -0
  126. tencentcloud/live/v20180801/models.py +914 -311
  127. tencentcloud/lke/v20231130/lke_client.py +48 -1
  128. tencentcloud/lke/v20231130/lke_client_async.py +43 -1
  129. tencentcloud/lke/v20231130/models.py +2940 -459
  130. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  131. tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
  132. tencentcloud/lkeap/v20240522/models.py +2 -6
  133. tencentcloud/lowcode/v20210108/models.py +30 -0
  134. tencentcloud/mna/v20210119/models.py +18 -2
  135. tencentcloud/mongodb/v20190725/models.py +2 -2
  136. tencentcloud/monitor/v20180724/models.py +258 -0
  137. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  138. tencentcloud/mps/v20190612/models.py +3007 -140
  139. tencentcloud/mps/v20190612/mps_client.py +115 -0
  140. tencentcloud/mps/v20190612/mps_client_async.py +90 -0
  141. tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
  142. tencentcloud/oceanus/v20190422/models.py +210 -4
  143. tencentcloud/ocr/v20181119/models.py +72 -4
  144. tencentcloud/ocr/v20181119/ocr_client.py +12 -8
  145. tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
  146. tencentcloud/partners/v20180321/models.py +88 -92
  147. tencentcloud/pts/v20210728/models.py +206 -0
  148. tencentcloud/rce/v20250425/__init__.py +0 -0
  149. tencentcloud/rce/v20250425/errorcodes.py +15 -0
  150. tencentcloud/rce/v20250425/models.py +301 -0
  151. tencentcloud/rce/v20250425/rce_client.py +49 -0
  152. tencentcloud/rce/v20250425/rce_client_async.py +44 -0
  153. tencentcloud/redis/v20180412/models.py +65 -70
  154. tencentcloud/rum/v20210622/models.py +548 -0
  155. tencentcloud/rum/v20210622/rum_client.py +23 -0
  156. tencentcloud/rum/v20210622/rum_client_async.py +18 -0
  157. tencentcloud/scf/v20180416/models.py +28 -2
  158. tencentcloud/ses/v20201002/errorcodes.py +3 -0
  159. tencentcloud/ssl/v20191205/models.py +991 -70
  160. tencentcloud/ssl/v20191205/ssl_client.py +2 -2
  161. tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
  162. tencentcloud/ssm/v20190923/models.py +134 -0
  163. tencentcloud/svp/v20240125/models.py +35 -20
  164. tencentcloud/tag/v20180813/models.py +34 -54
  165. tencentcloud/tat/v20201028/models.py +2 -0
  166. tencentcloud/tcaplusdb/v20190823/models.py +0 -337
  167. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
  168. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
  169. tencentcloud/tcb/v20180608/errorcodes.py +15 -12
  170. tencentcloud/tcb/v20180608/models.py +5761 -8383
  171. tencentcloud/tcb/v20180608/tcb_client.py +0 -276
  172. tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
  173. tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
  174. tencentcloud/tcbr/v20220217/models.py +4193 -1389
  175. tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
  176. tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
  177. tencentcloud/tcr/v20190924/models.py +727 -61
  178. tencentcloud/tcr/v20190924/tcr_client.py +92 -0
  179. tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
  180. tencentcloud/tcss/v20201101/models.py +30 -0
  181. tencentcloud/tdai/v20250717/models.py +440 -2
  182. tencentcloud/tdai/v20250717/tdai_client.py +23 -0
  183. tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
  184. tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
  185. tencentcloud/tdmq/v20200217/models.py +432 -4
  186. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
  187. tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
  188. tencentcloud/teo/v20220901/errorcodes.py +39 -0
  189. tencentcloud/teo/v20220901/models.py +596 -79
  190. tencentcloud/teo/v20220901/teo_client.py +107 -1
  191. tencentcloud/teo/v20220901/teo_client_async.py +97 -1
  192. tencentcloud/thpc/v20211109/models.py +14 -14
  193. tencentcloud/thpc/v20220401/models.py +14 -14
  194. tencentcloud/thpc/v20230321/models.py +20 -54
  195. tencentcloud/tione/v20211111/errorcodes.py +9 -0
  196. tencentcloud/tione/v20211111/models.py +910 -73
  197. tencentcloud/tione/v20211111/tione_client.py +69 -0
  198. tencentcloud/tione/v20211111/tione_client_async.py +54 -0
  199. tencentcloud/tke/v20180525/models.py +468 -18
  200. tencentcloud/tke/v20180525/tke_client.py +69 -0
  201. tencentcloud/tke/v20180525/tke_client_async.py +54 -0
  202. tencentcloud/tke/v20220501/models.py +539 -0
  203. tencentcloud/tke/v20220501/tke_client.py +23 -0
  204. tencentcloud/tke/v20220501/tke_client_async.py +18 -0
  205. tencentcloud/trocket/v20230308/models.py +42 -21
  206. tencentcloud/trocket/v20230308/trocket_client.py +2 -1
  207. tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
  208. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  209. tencentcloud/trtc/v20190722/models.py +173 -30
  210. tencentcloud/tse/v20201207/models.py +42 -0
  211. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  212. tencentcloud/tsf/v20180326/models.py +15 -510
  213. tencentcloud/tsf/v20180326/tsf_client.py +66 -47
  214. tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
  215. tencentcloud/tts/v20190823/tts_client.py +1 -1
  216. tencentcloud/tts/v20190823/tts_client_async.py +1 -1
  217. tencentcloud/vclm/v20240523/models.py +383 -0
  218. tencentcloud/vclm/v20240523/vclm_client.py +46 -0
  219. tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
  220. tencentcloud/vcube/v20220410/models.py +30 -0
  221. tencentcloud/vdb/v20230616/models.py +567 -0
  222. tencentcloud/vdb/v20230616/vdb_client.py +69 -0
  223. tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
  224. tencentcloud/vm/v20210922/models.py +116 -0
  225. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  226. tencentcloud/vod/v20180717/models.py +4107 -622
  227. tencentcloud/vod/v20180717/vod_client.py +72 -3
  228. tencentcloud/vod/v20180717/vod_client_async.py +57 -3
  229. tencentcloud/vpc/v20170312/errorcodes.py +15 -0
  230. tencentcloud/vpc/v20170312/models.py +387 -2
  231. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  232. tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
  233. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  234. tencentcloud/waf/v20180125/models.py +970 -0
  235. tencentcloud/waf/v20180125/waf_client.py +46 -0
  236. tencentcloud/waf/v20180125/waf_client_async.py +36 -0
  237. tencentcloud/wedata/v20210820/models.py +2851 -29
  238. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  239. tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  240. tencentcloud/wedata/v20250806/errorcodes.py +21 -0
  241. tencentcloud/wedata/v20250806/models.py +40999 -15704
  242. tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
  243. tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
  244. tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
  245. tencentcloud/weilingwith/v20230427/models.py +17 -336
  246. tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
  247. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
  248. tencentcloud/wimgs/__init__.py +0 -0
  249. tencentcloud/wimgs/v20251106/__init__.py +0 -0
  250. tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
  251. tencentcloud/wimgs/v20251106/models.py +132 -0
  252. tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
  253. tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
  254. tencentcloud/wsa/v20250508/errorcodes.py +6 -0
  255. tencentcloud/wsa/v20250508/models.py +17 -2
  256. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
  257. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
  258. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
  259. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
  260. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
@@ -116,9 +116,6 @@ INVALIDPARAMETER_TOKENFIELDNOTFOUND = 'InvalidParameter.TokenFieldNotFound'
116
116
  # 参数取值错误。
117
117
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
118
118
 
119
- # 行政区编码长度为0
120
- INVALIDPARAMETERVALUE_EMPTYADMINISTRATIVECODE = 'InvalidParameterValue.EmptyAdministrativeCode'
121
-
122
119
  # 告警状态无效
123
120
  INVALIDPARAMETERVALUE_INVALIDALARMSTATUS = 'InvalidParameterValue.InvalidAlarmStatus'
124
121
 
@@ -681,72 +681,6 @@ class AdministrationData(AbstractModel):
681
681
 
682
682
 
683
683
 
684
- class AdministrativeDetail(AbstractModel):
685
- r"""行政区划详情
686
-
687
- """
688
-
689
- def __init__(self):
690
- r"""
691
- :param _AdministrativeTypeCode: 行政区域类型编码
692
- :type AdministrativeTypeCode: str
693
- :param _AdministrativeCode: 行政区域编码
694
- :type AdministrativeCode: str
695
- :param _AdministrativeName: 行政区域名称
696
- :type AdministrativeName: str
697
- """
698
- self._AdministrativeTypeCode = None
699
- self._AdministrativeCode = None
700
- self._AdministrativeName = None
701
-
702
- @property
703
- def AdministrativeTypeCode(self):
704
- r"""行政区域类型编码
705
- :rtype: str
706
- """
707
- return self._AdministrativeTypeCode
708
-
709
- @AdministrativeTypeCode.setter
710
- def AdministrativeTypeCode(self, AdministrativeTypeCode):
711
- self._AdministrativeTypeCode = AdministrativeTypeCode
712
-
713
- @property
714
- def AdministrativeCode(self):
715
- r"""行政区域编码
716
- :rtype: str
717
- """
718
- return self._AdministrativeCode
719
-
720
- @AdministrativeCode.setter
721
- def AdministrativeCode(self, AdministrativeCode):
722
- self._AdministrativeCode = AdministrativeCode
723
-
724
- @property
725
- def AdministrativeName(self):
726
- r"""行政区域名称
727
- :rtype: str
728
- """
729
- return self._AdministrativeName
730
-
731
- @AdministrativeName.setter
732
- def AdministrativeName(self, AdministrativeName):
733
- self._AdministrativeName = AdministrativeName
734
-
735
-
736
- def _deserialize(self, params):
737
- self._AdministrativeTypeCode = params.get("AdministrativeTypeCode")
738
- self._AdministrativeCode = params.get("AdministrativeCode")
739
- self._AdministrativeName = params.get("AdministrativeName")
740
- memeber_set = set(params.keys())
741
- for name, value in vars(self).items():
742
- property_name = name[1:]
743
- if property_name in memeber_set:
744
- memeber_set.remove(property_name)
745
- if len(memeber_set) > 0:
746
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
747
-
748
-
749
-
750
684
  class AlarmInfo(AbstractModel):
751
685
  r"""告警信息
752
686
 
@@ -6411,145 +6345,6 @@ class DescribeCameraExtendInfoResponse(AbstractModel):
6411
6345
  self._RequestId = params.get("RequestId")
6412
6346
 
6413
6347
 
6414
- class DescribeCityWorkspaceListRequest(AbstractModel):
6415
- r"""DescribeCityWorkspaceList请求参数结构体
6416
-
6417
- """
6418
-
6419
- def __init__(self):
6420
- r"""
6421
- :param _AdministrativeCodeSet: 行政区编码集合
6422
- :type AdministrativeCodeSet: list of str
6423
- :param _ApplicationToken: 应用token
6424
- :type ApplicationToken: str
6425
- """
6426
- self._AdministrativeCodeSet = None
6427
- self._ApplicationToken = None
6428
-
6429
- @property
6430
- def AdministrativeCodeSet(self):
6431
- r"""行政区编码集合
6432
- :rtype: list of str
6433
- """
6434
- return self._AdministrativeCodeSet
6435
-
6436
- @AdministrativeCodeSet.setter
6437
- def AdministrativeCodeSet(self, AdministrativeCodeSet):
6438
- self._AdministrativeCodeSet = AdministrativeCodeSet
6439
-
6440
- @property
6441
- def ApplicationToken(self):
6442
- r"""应用token
6443
- :rtype: str
6444
- """
6445
- return self._ApplicationToken
6446
-
6447
- @ApplicationToken.setter
6448
- def ApplicationToken(self, ApplicationToken):
6449
- self._ApplicationToken = ApplicationToken
6450
-
6451
-
6452
- def _deserialize(self, params):
6453
- self._AdministrativeCodeSet = params.get("AdministrativeCodeSet")
6454
- self._ApplicationToken = params.get("ApplicationToken")
6455
- memeber_set = set(params.keys())
6456
- for name, value in vars(self).items():
6457
- property_name = name[1:]
6458
- if property_name in memeber_set:
6459
- memeber_set.remove(property_name)
6460
- if len(memeber_set) > 0:
6461
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6462
-
6463
-
6464
-
6465
- class DescribeCityWorkspaceListRes(AbstractModel):
6466
- r"""通过城市id查询工作空间列表
6467
-
6468
- """
6469
-
6470
- def __init__(self):
6471
- r"""
6472
- :param _WorkspaceSet: 通过城市id查询工作空间列表结果
6473
- :type WorkspaceSet: list of WorkspaceInfo
6474
- """
6475
- self._WorkspaceSet = None
6476
-
6477
- @property
6478
- def WorkspaceSet(self):
6479
- r"""通过城市id查询工作空间列表结果
6480
- :rtype: list of WorkspaceInfo
6481
- """
6482
- return self._WorkspaceSet
6483
-
6484
- @WorkspaceSet.setter
6485
- def WorkspaceSet(self, WorkspaceSet):
6486
- self._WorkspaceSet = WorkspaceSet
6487
-
6488
-
6489
- def _deserialize(self, params):
6490
- if params.get("WorkspaceSet") is not None:
6491
- self._WorkspaceSet = []
6492
- for item in params.get("WorkspaceSet"):
6493
- obj = WorkspaceInfo()
6494
- obj._deserialize(item)
6495
- self._WorkspaceSet.append(obj)
6496
- memeber_set = set(params.keys())
6497
- for name, value in vars(self).items():
6498
- property_name = name[1:]
6499
- if property_name in memeber_set:
6500
- memeber_set.remove(property_name)
6501
- if len(memeber_set) > 0:
6502
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6503
-
6504
-
6505
-
6506
- class DescribeCityWorkspaceListResponse(AbstractModel):
6507
- r"""DescribeCityWorkspaceList返回参数结构体
6508
-
6509
- """
6510
-
6511
- def __init__(self):
6512
- r"""
6513
- :param _Result: 工作空间信息集合
6514
- 注意:此字段可能返回 null,表示取不到有效值。
6515
- :type Result: :class:`tencentcloud.weilingwith.v20230427.models.DescribeCityWorkspaceListRes`
6516
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6517
- :type RequestId: str
6518
- """
6519
- self._Result = None
6520
- self._RequestId = None
6521
-
6522
- @property
6523
- def Result(self):
6524
- r"""工作空间信息集合
6525
- 注意:此字段可能返回 null,表示取不到有效值。
6526
- :rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeCityWorkspaceListRes`
6527
- """
6528
- return self._Result
6529
-
6530
- @Result.setter
6531
- def Result(self, Result):
6532
- self._Result = Result
6533
-
6534
- @property
6535
- def RequestId(self):
6536
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6537
- :rtype: str
6538
- """
6539
- return self._RequestId
6540
-
6541
- @RequestId.setter
6542
- def RequestId(self, RequestId):
6543
- self._RequestId = RequestId
6544
-
6545
-
6546
- def _deserialize(self, params):
6547
- if params.get("Result") is not None:
6548
- self._Result = DescribeCityWorkspaceListRes()
6549
- self._Result._deserialize(params.get("Result"))
6550
- self._RequestId = params.get("RequestId")
6551
-
6552
-
6553
6348
  class DescribeDeviceGroupListRequest(AbstractModel):
6554
6349
  r"""DescribeDeviceGroupList请求参数结构体
6555
6350
 
@@ -11811,11 +11606,25 @@ class DescribeVideoRecordStreamResponse(AbstractModel):
11811
11606
 
11812
11607
  def __init__(self):
11813
11608
  r"""
11609
+ :param _Result: 获取历史流结果
11610
+ :type Result: :class:`tencentcloud.weilingwith.v20230427.models.VideoRecordStreamRes`
11814
11611
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11815
11612
  :type RequestId: str
11816
11613
  """
11614
+ self._Result = None
11817
11615
  self._RequestId = None
11818
11616
 
11617
+ @property
11618
+ def Result(self):
11619
+ r"""获取历史流结果
11620
+ :rtype: :class:`tencentcloud.weilingwith.v20230427.models.VideoRecordStreamRes`
11621
+ """
11622
+ return self._Result
11623
+
11624
+ @Result.setter
11625
+ def Result(self, Result):
11626
+ self._Result = Result
11627
+
11819
11628
  @property
11820
11629
  def RequestId(self):
11821
11630
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -11829,6 +11638,9 @@ class DescribeVideoRecordStreamResponse(AbstractModel):
11829
11638
 
11830
11639
 
11831
11640
  def _deserialize(self, params):
11641
+ if params.get("Result") is not None:
11642
+ self._Result = VideoRecordStreamRes()
11643
+ self._Result._deserialize(params.get("Result"))
11832
11644
  self._RequestId = params.get("RequestId")
11833
11645
 
11834
11646
 
@@ -20071,137 +19883,6 @@ class VideoRecordStreamRes(AbstractModel):
20071
19883
 
20072
19884
 
20073
19885
 
20074
- class WorkspaceInfo(AbstractModel):
20075
- r"""工作空间信息描述
20076
-
20077
- """
20078
-
20079
- def __init__(self):
20080
- r"""
20081
- :param _WorkspaceId: 工作空间Id
20082
- :type WorkspaceId: int
20083
- :param _ChineseName: 工作空间中文名字
20084
- :type ChineseName: str
20085
- :param _Description: 工作空间描述
20086
- :type Description: str
20087
- :param _Status: 工作空间是否删除状态
20088
- :type Status: int
20089
- :param _ParkName: 该工作空间绑定的区/县的行政区名字
20090
- :type ParkName: str
20091
- :param _ParkNum: 该工作空间绑定的区/县的行政区编码
20092
- :type ParkNum: str
20093
- :param _AdministrativeDetailSet: 获取该工作空间绑定的区/县的上级行政区划信息
20094
- :type AdministrativeDetailSet: list of AdministrativeDetail
20095
- """
20096
- self._WorkspaceId = None
20097
- self._ChineseName = None
20098
- self._Description = None
20099
- self._Status = None
20100
- self._ParkName = None
20101
- self._ParkNum = None
20102
- self._AdministrativeDetailSet = None
20103
-
20104
- @property
20105
- def WorkspaceId(self):
20106
- r"""工作空间Id
20107
- :rtype: int
20108
- """
20109
- return self._WorkspaceId
20110
-
20111
- @WorkspaceId.setter
20112
- def WorkspaceId(self, WorkspaceId):
20113
- self._WorkspaceId = WorkspaceId
20114
-
20115
- @property
20116
- def ChineseName(self):
20117
- r"""工作空间中文名字
20118
- :rtype: str
20119
- """
20120
- return self._ChineseName
20121
-
20122
- @ChineseName.setter
20123
- def ChineseName(self, ChineseName):
20124
- self._ChineseName = ChineseName
20125
-
20126
- @property
20127
- def Description(self):
20128
- r"""工作空间描述
20129
- :rtype: str
20130
- """
20131
- return self._Description
20132
-
20133
- @Description.setter
20134
- def Description(self, Description):
20135
- self._Description = Description
20136
-
20137
- @property
20138
- def Status(self):
20139
- r"""工作空间是否删除状态
20140
- :rtype: int
20141
- """
20142
- return self._Status
20143
-
20144
- @Status.setter
20145
- def Status(self, Status):
20146
- self._Status = Status
20147
-
20148
- @property
20149
- def ParkName(self):
20150
- r"""该工作空间绑定的区/县的行政区名字
20151
- :rtype: str
20152
- """
20153
- return self._ParkName
20154
-
20155
- @ParkName.setter
20156
- def ParkName(self, ParkName):
20157
- self._ParkName = ParkName
20158
-
20159
- @property
20160
- def ParkNum(self):
20161
- r"""该工作空间绑定的区/县的行政区编码
20162
- :rtype: str
20163
- """
20164
- return self._ParkNum
20165
-
20166
- @ParkNum.setter
20167
- def ParkNum(self, ParkNum):
20168
- self._ParkNum = ParkNum
20169
-
20170
- @property
20171
- def AdministrativeDetailSet(self):
20172
- r"""获取该工作空间绑定的区/县的上级行政区划信息
20173
- :rtype: list of AdministrativeDetail
20174
- """
20175
- return self._AdministrativeDetailSet
20176
-
20177
- @AdministrativeDetailSet.setter
20178
- def AdministrativeDetailSet(self, AdministrativeDetailSet):
20179
- self._AdministrativeDetailSet = AdministrativeDetailSet
20180
-
20181
-
20182
- def _deserialize(self, params):
20183
- self._WorkspaceId = params.get("WorkspaceId")
20184
- self._ChineseName = params.get("ChineseName")
20185
- self._Description = params.get("Description")
20186
- self._Status = params.get("Status")
20187
- self._ParkName = params.get("ParkName")
20188
- self._ParkNum = params.get("ParkNum")
20189
- if params.get("AdministrativeDetailSet") is not None:
20190
- self._AdministrativeDetailSet = []
20191
- for item in params.get("AdministrativeDetailSet"):
20192
- obj = AdministrativeDetail()
20193
- obj._deserialize(item)
20194
- self._AdministrativeDetailSet.append(obj)
20195
- memeber_set = set(params.keys())
20196
- for name, value in vars(self).items():
20197
- property_name = name[1:]
20198
- if property_name in memeber_set:
20199
- memeber_set.remove(property_name)
20200
- if len(memeber_set) > 0:
20201
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20202
-
20203
-
20204
-
20205
19886
  class WorkspaceInfoList(AbstractModel):
20206
19887
  r"""项目空间列表
20207
19888
 
@@ -509,31 +509,6 @@ class WeilingwithClient(AbstractClient):
509
509
  raise TencentCloudSDKException(type(e).__name__, str(e))
510
510
 
511
511
 
512
- def DescribeCityWorkspaceList(self, request):
513
- r"""老微瓴后续不继续更新
514
-
515
- 通过城市id查询工作空间列表
516
-
517
- :param request: Request instance for DescribeCityWorkspaceList.
518
- :type request: :class:`tencentcloud.weilingwith.v20230427.models.DescribeCityWorkspaceListRequest`
519
- :rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeCityWorkspaceListResponse`
520
-
521
- """
522
- try:
523
- params = request._serialize()
524
- headers = request.headers
525
- body = self.call("DescribeCityWorkspaceList", params, headers=headers)
526
- response = json.loads(body)
527
- model = models.DescribeCityWorkspaceListResponse()
528
- model._deserialize(response["Response"])
529
- return model
530
- except Exception as e:
531
- if isinstance(e, TencentCloudSDKException):
532
- raise
533
- else:
534
- raise TencentCloudSDKException(type(e).__name__, str(e))
535
-
536
-
537
512
  def DescribeDeviceGroupList(self, request):
538
513
  r"""设备分组列表
539
514
 
@@ -403,26 +403,6 @@ class WeilingwithClient(AbstractClient):
403
403
 
404
404
  return await self.call_and_deserialize(**kwargs)
405
405
 
406
- async def DescribeCityWorkspaceList(
407
- self,
408
- request: models.DescribeCityWorkspaceListRequest,
409
- opts: Dict = None,
410
- ) -> models.DescribeCityWorkspaceListResponse:
411
- """
412
- 老微瓴后续不继续更新
413
-
414
- 通过城市id查询工作空间列表
415
- """
416
-
417
- kwargs = {}
418
- kwargs["action"] = "DescribeCityWorkspaceList"
419
- kwargs["params"] = request._serialize()
420
- kwargs["resp_cls"] = models.DescribeCityWorkspaceListResponse
421
- kwargs["headers"] = request.headers
422
- kwargs["opts"] = opts or {}
423
-
424
- return await self.call_and_deserialize(**kwargs)
425
-
426
406
  async def DescribeDeviceGroupList(
427
407
  self,
428
408
  request: models.DescribeDeviceGroupListRequest,
File without changes
File without changes
@@ -0,0 +1,33 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # 内部错误。
18
+ INTERNALERROR = 'InternalError'
19
+
20
+ # 参数错误。
21
+ INVALIDPARAMETER = 'InvalidParameter'
22
+
23
+ # 请求的次数超过了频率限制。
24
+ REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
25
+
26
+ # 服务未开通。
27
+ RESOURCENOTFOUND = 'ResourceNotFound'
28
+
29
+ # 服务不可用。
30
+ RESOURCEUNAVAILABLE = 'ResourceUnavailable'
31
+
32
+ # 未授权操作。
33
+ UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
@@ -0,0 +1,132 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import warnings
17
+
18
+ from tencentcloud.common.abstract_model import AbstractModel
19
+
20
+
21
+ class SearchByTextRequest(AbstractModel):
22
+ r"""SearchByText请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Query: 查询词
29
+ :type Query: str
30
+ """
31
+ self._Query = None
32
+
33
+ @property
34
+ def Query(self):
35
+ r"""查询词
36
+ :rtype: str
37
+ """
38
+ return self._Query
39
+
40
+ @Query.setter
41
+ def Query(self, Query):
42
+ self._Query = Query
43
+
44
+
45
+ def _deserialize(self, params):
46
+ self._Query = params.get("Query")
47
+ memeber_set = set(params.keys())
48
+ for name, value in vars(self).items():
49
+ property_name = name[1:]
50
+ if property_name in memeber_set:
51
+ memeber_set.remove(property_name)
52
+ if len(memeber_set) > 0:
53
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
54
+
55
+
56
+
57
+ class SearchByTextResponse(AbstractModel):
58
+ r"""SearchByText返回参数结构体
59
+
60
+ """
61
+
62
+ def __init__(self):
63
+ r"""
64
+ :param _Query: 原始查询词
65
+ :type Query: str
66
+ :param _Images: 搜索结果图片列表,格式为json字符串。
67
+
68
+ - thumbnailUrl:缩略图地址。
69
+ - thumbnailWidth:缩略图宽度。
70
+ - thumbnailHeight:缩略图高度。
71
+ - origPicUrl:原图地址。
72
+ - origPicWidth:原图宽度。
73
+ - siteUrl:站点地址,原图来源网页URL。
74
+ - siteName:站点名称。
75
+ - title:标题,原图标题或原图来源网页标题。
76
+ - date:内容发布时间。
77
+ :type Images: list of str
78
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
79
+ :type RequestId: str
80
+ """
81
+ self._Query = None
82
+ self._Images = None
83
+ self._RequestId = None
84
+
85
+ @property
86
+ def Query(self):
87
+ r"""原始查询词
88
+ :rtype: str
89
+ """
90
+ return self._Query
91
+
92
+ @Query.setter
93
+ def Query(self, Query):
94
+ self._Query = Query
95
+
96
+ @property
97
+ def Images(self):
98
+ r"""搜索结果图片列表,格式为json字符串。
99
+
100
+ - thumbnailUrl:缩略图地址。
101
+ - thumbnailWidth:缩略图宽度。
102
+ - thumbnailHeight:缩略图高度。
103
+ - origPicUrl:原图地址。
104
+ - origPicWidth:原图宽度。
105
+ - siteUrl:站点地址,原图来源网页URL。
106
+ - siteName:站点名称。
107
+ - title:标题,原图标题或原图来源网页标题。
108
+ - date:内容发布时间。
109
+ :rtype: list of str
110
+ """
111
+ return self._Images
112
+
113
+ @Images.setter
114
+ def Images(self, Images):
115
+ self._Images = Images
116
+
117
+ @property
118
+ def RequestId(self):
119
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
120
+ :rtype: str
121
+ """
122
+ return self._RequestId
123
+
124
+ @RequestId.setter
125
+ def RequestId(self, RequestId):
126
+ self._RequestId = RequestId
127
+
128
+
129
+ def _deserialize(self, params):
130
+ self._Query = params.get("Query")
131
+ self._Images = params.get("Images")
132
+ self._RequestId = params.get("RequestId")
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.wimgs.v20251106 import models
21
+
22
+
23
+ class WimgsClient(AbstractClient):
24
+ _apiVersion = '2025-11-06'
25
+ _endpoint = 'wimgs.tencentcloudapi.com'
26
+ _service = 'wimgs'
27
+
28
+
29
+ def SearchByText(self, request):
30
+ r"""文搜图接口,本服务将针对您输入的搜索关键词,检索并以JSON形式返回相关图片的标题、宽高、缩略图、内容来源url等信息。
31
+
32
+ :param request: Request instance for SearchByText.
33
+ :type request: :class:`tencentcloud.wimgs.v20251106.models.SearchByTextRequest`
34
+ :rtype: :class:`tencentcloud.wimgs.v20251106.models.SearchByTextResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("SearchByText", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.SearchByTextResponse()
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))