tencentcloud-sdk-iss 3.0.628
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-iss.rb +11 -0
- data/lib/v20230517/client.rb +1839 -0
- data/lib/v20230517/models.rb +6030 -0
- metadata +66 -0
@@ -0,0 +1,1839 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
|
19
|
+
module TencentCloud
|
20
|
+
module Iss
|
21
|
+
module V20230517
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2023-05-17'
|
26
|
+
api_endpoint = 'iss.tencentcloudapi.com'
|
27
|
+
sdk_version = 'ISS_' + File.read(File.expand_path('../VERSION', __dir__)).strip
|
28
|
+
super(credential, region, api_version, api_endpoint, sdk_version, profile)
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
# 添加AI任务
|
33
|
+
|
34
|
+
# @param request: Request instance for AddAITask.
|
35
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddAITaskRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddAITaskResponse`
|
37
|
+
def AddAITask(request)
|
38
|
+
body = send_request('AddAITask', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = AddAITaskResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 用于新增组织。
|
57
|
+
|
58
|
+
# @param request: Request instance for AddOrganization.
|
59
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddOrganizationRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddOrganizationResponse`
|
61
|
+
def AddOrganization(request)
|
62
|
+
body = send_request('AddOrganization', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = AddOrganizationResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 用于新增录像上云计划 (当前仅适用于通过GB28181协议和网关接入的设备/视频通道)
|
81
|
+
|
82
|
+
# @param request: Request instance for AddRecordBackupPlan.
|
83
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddRecordBackupPlanRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddRecordBackupPlanResponse`
|
85
|
+
def AddRecordBackupPlan(request)
|
86
|
+
body = send_request('AddRecordBackupPlan', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = AddRecordBackupPlanResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
104
|
+
# 用于新增录像上云模板。
|
105
|
+
# > 该功能本质是拉取设备本地录像数据上云(即存在 IPC 摄像头存储卡或 NVR 硬盘中的录像),操作时需先设定录像时间段(即想要上云的设备本地录像),再设定上云时间段和上云倍速,平台将于上云时间段倍速拉取设备对应前一天的录像时间段数据。
|
106
|
+
|
107
|
+
# > 设定需至少满足(上云时间段=前一天的录像时间段/上云倍速),建议上云时间段可多设定10%左右的时间,避免因网络波动导致数据拉取不完整。
|
108
|
+
|
109
|
+
# @param request: Request instance for AddRecordBackupTemplate.
|
110
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddRecordBackupTemplateRequest`
|
111
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddRecordBackupTemplateResponse`
|
112
|
+
def AddRecordBackupTemplate(request)
|
113
|
+
body = send_request('AddRecordBackupTemplate', request.serialize)
|
114
|
+
response = JSON.parse(body)
|
115
|
+
if response['Response'].key?('Error') == false
|
116
|
+
model = AddRecordBackupTemplateResponse.new
|
117
|
+
model.deserialize(response['Response'])
|
118
|
+
model
|
119
|
+
else
|
120
|
+
code = response['Response']['Error']['Code']
|
121
|
+
message = response['Response']['Error']['Message']
|
122
|
+
reqid = response['Response']['RequestId']
|
123
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
124
|
+
end
|
125
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
126
|
+
raise e
|
127
|
+
rescue StandardError => e
|
128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
129
|
+
end
|
130
|
+
|
131
|
+
# 用于新增实时上云计划
|
132
|
+
|
133
|
+
# @param request: Request instance for AddRecordPlan.
|
134
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddRecordPlanRequest`
|
135
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddRecordPlanResponse`
|
136
|
+
def AddRecordPlan(request)
|
137
|
+
body = send_request('AddRecordPlan', request.serialize)
|
138
|
+
response = JSON.parse(body)
|
139
|
+
if response['Response'].key?('Error') == false
|
140
|
+
model = AddRecordPlanResponse.new
|
141
|
+
model.deserialize(response['Response'])
|
142
|
+
model
|
143
|
+
else
|
144
|
+
code = response['Response']['Error']['Code']
|
145
|
+
message = response['Response']['Error']['Message']
|
146
|
+
reqid = response['Response']['RequestId']
|
147
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
148
|
+
end
|
149
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
150
|
+
raise e
|
151
|
+
rescue StandardError => e
|
152
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
153
|
+
end
|
154
|
+
|
155
|
+
# 用于新建取回任务
|
156
|
+
|
157
|
+
# @param request: Request instance for AddRecordRetrieveTask.
|
158
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddRecordRetrieveTaskRequest`
|
159
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddRecordRetrieveTaskResponse`
|
160
|
+
def AddRecordRetrieveTask(request)
|
161
|
+
body = send_request('AddRecordRetrieveTask', request.serialize)
|
162
|
+
response = JSON.parse(body)
|
163
|
+
if response['Response'].key?('Error') == false
|
164
|
+
model = AddRecordRetrieveTaskResponse.new
|
165
|
+
model.deserialize(response['Response'])
|
166
|
+
model
|
167
|
+
else
|
168
|
+
code = response['Response']['Error']['Code']
|
169
|
+
message = response['Response']['Error']['Message']
|
170
|
+
reqid = response['Response']['RequestId']
|
171
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
172
|
+
end
|
173
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
174
|
+
raise e
|
175
|
+
rescue StandardError => e
|
176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
177
|
+
end
|
178
|
+
|
179
|
+
# 用于新增实时上云模板
|
180
|
+
|
181
|
+
# @param request: Request instance for AddRecordTemplate.
|
182
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddRecordTemplateRequest`
|
183
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddRecordTemplateResponse`
|
184
|
+
def AddRecordTemplate(request)
|
185
|
+
body = send_request('AddRecordTemplate', request.serialize)
|
186
|
+
response = JSON.parse(body)
|
187
|
+
if response['Response'].key?('Error') == false
|
188
|
+
model = AddRecordTemplateResponse.new
|
189
|
+
model.deserialize(response['Response'])
|
190
|
+
model
|
191
|
+
else
|
192
|
+
code = response['Response']['Error']['Code']
|
193
|
+
message = response['Response']['Error']['Message']
|
194
|
+
reqid = response['Response']['RequestId']
|
195
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
196
|
+
end
|
197
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
198
|
+
raise e
|
199
|
+
rescue StandardError => e
|
200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
201
|
+
end
|
202
|
+
|
203
|
+
# 用于设置推拉流鉴权配置。
|
204
|
+
|
205
|
+
# @param request: Request instance for AddStreamAuth.
|
206
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddStreamAuthRequest`
|
207
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddStreamAuthResponse`
|
208
|
+
def AddStreamAuth(request)
|
209
|
+
body = send_request('AddStreamAuth', request.serialize)
|
210
|
+
response = JSON.parse(body)
|
211
|
+
if response['Response'].key?('Error') == false
|
212
|
+
model = AddStreamAuthResponse.new
|
213
|
+
model.deserialize(response['Response'])
|
214
|
+
model
|
215
|
+
else
|
216
|
+
code = response['Response']['Error']['Code']
|
217
|
+
message = response['Response']['Error']['Message']
|
218
|
+
reqid = response['Response']['RequestId']
|
219
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
220
|
+
end
|
221
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
222
|
+
raise e
|
223
|
+
rescue StandardError => e
|
224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
225
|
+
end
|
226
|
+
|
227
|
+
# 用于新增单个设备。添加设备之后,可根据返回结果到设备上进行配置,配置后等待设备注册/推流。
|
228
|
+
|
229
|
+
# @param request: Request instance for AddUserDevice.
|
230
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::AddUserDeviceRequest`
|
231
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::AddUserDeviceResponse`
|
232
|
+
def AddUserDevice(request)
|
233
|
+
body = send_request('AddUserDevice', request.serialize)
|
234
|
+
response = JSON.parse(body)
|
235
|
+
if response['Response'].key?('Error') == false
|
236
|
+
model = AddUserDeviceResponse.new
|
237
|
+
model.deserialize(response['Response'])
|
238
|
+
model
|
239
|
+
else
|
240
|
+
code = response['Response']['Error']['Code']
|
241
|
+
message = response['Response']['Error']['Message']
|
242
|
+
reqid = response['Response']['RequestId']
|
243
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
244
|
+
end
|
245
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
246
|
+
raise e
|
247
|
+
rescue StandardError => e
|
248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
249
|
+
end
|
250
|
+
|
251
|
+
# 用于检测域名是否备案。
|
252
|
+
|
253
|
+
# @param request: Request instance for CheckDomain.
|
254
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::CheckDomainRequest`
|
255
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::CheckDomainResponse`
|
256
|
+
def CheckDomain(request)
|
257
|
+
body = send_request('CheckDomain', request.serialize)
|
258
|
+
response = JSON.parse(body)
|
259
|
+
if response['Response'].key?('Error') == false
|
260
|
+
model = CheckDomainResponse.new
|
261
|
+
model.deserialize(response['Response'])
|
262
|
+
model
|
263
|
+
else
|
264
|
+
code = response['Response']['Error']['Code']
|
265
|
+
message = response['Response']['Error']['Message']
|
266
|
+
reqid = response['Response']['RequestId']
|
267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
268
|
+
end
|
269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
270
|
+
raise e
|
271
|
+
rescue StandardError => e
|
272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
273
|
+
end
|
274
|
+
|
275
|
+
# 用于设备通道云台控制,包括转动、变倍、变焦、光圈等。
|
276
|
+
|
277
|
+
# @param request: Request instance for ControlDevicePTZ.
|
278
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ControlDevicePTZRequest`
|
279
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ControlDevicePTZResponse`
|
280
|
+
def ControlDevicePTZ(request)
|
281
|
+
body = send_request('ControlDevicePTZ', request.serialize)
|
282
|
+
response = JSON.parse(body)
|
283
|
+
if response['Response'].key?('Error') == false
|
284
|
+
model = ControlDevicePTZResponse.new
|
285
|
+
model.deserialize(response['Response'])
|
286
|
+
model
|
287
|
+
else
|
288
|
+
code = response['Response']['Error']['Code']
|
289
|
+
message = response['Response']['Error']['Message']
|
290
|
+
reqid = response['Response']['RequestId']
|
291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
292
|
+
end
|
293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
294
|
+
raise e
|
295
|
+
rescue StandardError => e
|
296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
297
|
+
end
|
298
|
+
|
299
|
+
# 用于操作设备预置位,包括设置、删除、调用。
|
300
|
+
|
301
|
+
# @param request: Request instance for ControlDevicePreset.
|
302
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ControlDevicePresetRequest`
|
303
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ControlDevicePresetResponse`
|
304
|
+
def ControlDevicePreset(request)
|
305
|
+
body = send_request('ControlDevicePreset', request.serialize)
|
306
|
+
response = JSON.parse(body)
|
307
|
+
if response['Response'].key?('Error') == false
|
308
|
+
model = ControlDevicePresetResponse.new
|
309
|
+
model.deserialize(response['Response'])
|
310
|
+
model
|
311
|
+
else
|
312
|
+
code = response['Response']['Error']['Code']
|
313
|
+
message = response['Response']['Error']['Message']
|
314
|
+
reqid = response['Response']['RequestId']
|
315
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
316
|
+
end
|
317
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
318
|
+
raise e
|
319
|
+
rescue StandardError => e
|
320
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
321
|
+
end
|
322
|
+
|
323
|
+
# 用于获取设备的实时开流地址。
|
324
|
+
|
325
|
+
# @param request: Request instance for ControlDeviceStream.
|
326
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ControlDeviceStreamRequest`
|
327
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ControlDeviceStreamResponse`
|
328
|
+
def ControlDeviceStream(request)
|
329
|
+
body = send_request('ControlDeviceStream', request.serialize)
|
330
|
+
response = JSON.parse(body)
|
331
|
+
if response['Response'].key?('Error') == false
|
332
|
+
model = ControlDeviceStreamResponse.new
|
333
|
+
model.deserialize(response['Response'])
|
334
|
+
model
|
335
|
+
else
|
336
|
+
code = response['Response']['Error']['Code']
|
337
|
+
message = response['Response']['Error']['Message']
|
338
|
+
reqid = response['Response']['RequestId']
|
339
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
340
|
+
end
|
341
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
342
|
+
raise e
|
343
|
+
rescue StandardError => e
|
344
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
345
|
+
end
|
346
|
+
|
347
|
+
# 用于录像回放过程中的倍速、跳转、播放/暂停/停止等控制。
|
348
|
+
|
349
|
+
# @param request: Request instance for ControlRecord.
|
350
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ControlRecordRequest`
|
351
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ControlRecordResponse`
|
352
|
+
def ControlRecord(request)
|
353
|
+
body = send_request('ControlRecord', request.serialize)
|
354
|
+
response = JSON.parse(body)
|
355
|
+
if response['Response'].key?('Error') == false
|
356
|
+
model = ControlRecordResponse.new
|
357
|
+
model.deserialize(response['Response'])
|
358
|
+
model
|
359
|
+
else
|
360
|
+
code = response['Response']['Error']['Code']
|
361
|
+
message = response['Response']['Error']['Message']
|
362
|
+
reqid = response['Response']['RequestId']
|
363
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
364
|
+
end
|
365
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
366
|
+
raise e
|
367
|
+
rescue StandardError => e
|
368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
369
|
+
end
|
370
|
+
|
371
|
+
# 用于查询设备本地录像时间轴信息,为NVR/IPC本地存储的录像。
|
372
|
+
|
373
|
+
# @param request: Request instance for ControlRecordTimeline.
|
374
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ControlRecordTimelineRequest`
|
375
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ControlRecordTimelineResponse`
|
376
|
+
def ControlRecordTimeline(request)
|
377
|
+
body = send_request('ControlRecordTimeline', request.serialize)
|
378
|
+
response = JSON.parse(body)
|
379
|
+
if response['Response'].key?('Error') == false
|
380
|
+
model = ControlRecordTimelineResponse.new
|
381
|
+
model.deserialize(response['Response'])
|
382
|
+
model
|
383
|
+
else
|
384
|
+
code = response['Response']['Error']['Code']
|
385
|
+
message = response['Response']['Error']['Message']
|
386
|
+
reqid = response['Response']['RequestId']
|
387
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
388
|
+
end
|
389
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
390
|
+
raise e
|
391
|
+
rescue StandardError => e
|
392
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
393
|
+
end
|
394
|
+
|
395
|
+
# 删除AI任务
|
396
|
+
|
397
|
+
# @param request: Request instance for DeleteAITask.
|
398
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteAITaskRequest`
|
399
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteAITaskResponse`
|
400
|
+
def DeleteAITask(request)
|
401
|
+
body = send_request('DeleteAITask', request.serialize)
|
402
|
+
response = JSON.parse(body)
|
403
|
+
if response['Response'].key?('Error') == false
|
404
|
+
model = DeleteAITaskResponse.new
|
405
|
+
model.deserialize(response['Response'])
|
406
|
+
model
|
407
|
+
else
|
408
|
+
code = response['Response']['Error']['Code']
|
409
|
+
message = response['Response']['Error']['Message']
|
410
|
+
reqid = response['Response']['RequestId']
|
411
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
412
|
+
end
|
413
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
414
|
+
raise e
|
415
|
+
rescue StandardError => e
|
416
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
417
|
+
end
|
418
|
+
|
419
|
+
# 用于删除域名。
|
420
|
+
|
421
|
+
# @param request: Request instance for DeleteDomain.
|
422
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteDomainRequest`
|
423
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteDomainResponse`
|
424
|
+
def DeleteDomain(request)
|
425
|
+
body = send_request('DeleteDomain', request.serialize)
|
426
|
+
response = JSON.parse(body)
|
427
|
+
if response['Response'].key?('Error') == false
|
428
|
+
model = DeleteDomainResponse.new
|
429
|
+
model.deserialize(response['Response'])
|
430
|
+
model
|
431
|
+
else
|
432
|
+
code = response['Response']['Error']['Code']
|
433
|
+
message = response['Response']['Error']['Message']
|
434
|
+
reqid = response['Response']['RequestId']
|
435
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
436
|
+
end
|
437
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
438
|
+
raise e
|
439
|
+
rescue StandardError => e
|
440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
441
|
+
end
|
442
|
+
|
443
|
+
# 用于删除网关。
|
444
|
+
|
445
|
+
# @param request: Request instance for DeleteGateway.
|
446
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteGatewayRequest`
|
447
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteGatewayResponse`
|
448
|
+
def DeleteGateway(request)
|
449
|
+
body = send_request('DeleteGateway', request.serialize)
|
450
|
+
response = JSON.parse(body)
|
451
|
+
if response['Response'].key?('Error') == false
|
452
|
+
model = DeleteGatewayResponse.new
|
453
|
+
model.deserialize(response['Response'])
|
454
|
+
model
|
455
|
+
else
|
456
|
+
code = response['Response']['Error']['Code']
|
457
|
+
message = response['Response']['Error']['Message']
|
458
|
+
reqid = response['Response']['RequestId']
|
459
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
460
|
+
end
|
461
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
462
|
+
raise e
|
463
|
+
rescue StandardError => e
|
464
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
465
|
+
end
|
466
|
+
|
467
|
+
# 用于删除组织。
|
468
|
+
|
469
|
+
# @param request: Request instance for DeleteOrganization.
|
470
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteOrganizationRequest`
|
471
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteOrganizationResponse`
|
472
|
+
def DeleteOrganization(request)
|
473
|
+
body = send_request('DeleteOrganization', request.serialize)
|
474
|
+
response = JSON.parse(body)
|
475
|
+
if response['Response'].key?('Error') == false
|
476
|
+
model = DeleteOrganizationResponse.new
|
477
|
+
model.deserialize(response['Response'])
|
478
|
+
model
|
479
|
+
else
|
480
|
+
code = response['Response']['Error']['Code']
|
481
|
+
message = response['Response']['Error']['Message']
|
482
|
+
reqid = response['Response']['RequestId']
|
483
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
484
|
+
end
|
485
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
486
|
+
raise e
|
487
|
+
rescue StandardError => e
|
488
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
489
|
+
end
|
490
|
+
|
491
|
+
# 用于删除录像上云模板。
|
492
|
+
|
493
|
+
# @param request: Request instance for DeleteRecordBackupPlan.
|
494
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteRecordBackupPlanRequest`
|
495
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteRecordBackupPlanResponse`
|
496
|
+
def DeleteRecordBackupPlan(request)
|
497
|
+
body = send_request('DeleteRecordBackupPlan', request.serialize)
|
498
|
+
response = JSON.parse(body)
|
499
|
+
if response['Response'].key?('Error') == false
|
500
|
+
model = DeleteRecordBackupPlanResponse.new
|
501
|
+
model.deserialize(response['Response'])
|
502
|
+
model
|
503
|
+
else
|
504
|
+
code = response['Response']['Error']['Code']
|
505
|
+
message = response['Response']['Error']['Message']
|
506
|
+
reqid = response['Response']['RequestId']
|
507
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
508
|
+
end
|
509
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
510
|
+
raise e
|
511
|
+
rescue StandardError => e
|
512
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
513
|
+
end
|
514
|
+
|
515
|
+
# 用于删除录像上云模板。
|
516
|
+
|
517
|
+
# @param request: Request instance for DeleteRecordBackupTemplate.
|
518
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteRecordBackupTemplateRequest`
|
519
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteRecordBackupTemplateResponse`
|
520
|
+
def DeleteRecordBackupTemplate(request)
|
521
|
+
body = send_request('DeleteRecordBackupTemplate', request.serialize)
|
522
|
+
response = JSON.parse(body)
|
523
|
+
if response['Response'].key?('Error') == false
|
524
|
+
model = DeleteRecordBackupTemplateResponse.new
|
525
|
+
model.deserialize(response['Response'])
|
526
|
+
model
|
527
|
+
else
|
528
|
+
code = response['Response']['Error']['Code']
|
529
|
+
message = response['Response']['Error']['Message']
|
530
|
+
reqid = response['Response']['RequestId']
|
531
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
532
|
+
end
|
533
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
534
|
+
raise e
|
535
|
+
rescue StandardError => e
|
536
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
537
|
+
end
|
538
|
+
|
539
|
+
# 用于删除实时上云计划
|
540
|
+
|
541
|
+
# @param request: Request instance for DeleteRecordPlan.
|
542
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteRecordPlanRequest`
|
543
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteRecordPlanResponse`
|
544
|
+
def DeleteRecordPlan(request)
|
545
|
+
body = send_request('DeleteRecordPlan', request.serialize)
|
546
|
+
response = JSON.parse(body)
|
547
|
+
if response['Response'].key?('Error') == false
|
548
|
+
model = DeleteRecordPlanResponse.new
|
549
|
+
model.deserialize(response['Response'])
|
550
|
+
model
|
551
|
+
else
|
552
|
+
code = response['Response']['Error']['Code']
|
553
|
+
message = response['Response']['Error']['Message']
|
554
|
+
reqid = response['Response']['RequestId']
|
555
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
556
|
+
end
|
557
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
558
|
+
raise e
|
559
|
+
rescue StandardError => e
|
560
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
561
|
+
end
|
562
|
+
|
563
|
+
# 用于删除取回任务
|
564
|
+
|
565
|
+
# @param request: Request instance for DeleteRecordRetrieveTask.
|
566
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteRecordRetrieveTaskRequest`
|
567
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteRecordRetrieveTaskResponse`
|
568
|
+
def DeleteRecordRetrieveTask(request)
|
569
|
+
body = send_request('DeleteRecordRetrieveTask', request.serialize)
|
570
|
+
response = JSON.parse(body)
|
571
|
+
if response['Response'].key?('Error') == false
|
572
|
+
model = DeleteRecordRetrieveTaskResponse.new
|
573
|
+
model.deserialize(response['Response'])
|
574
|
+
model
|
575
|
+
else
|
576
|
+
code = response['Response']['Error']['Code']
|
577
|
+
message = response['Response']['Error']['Message']
|
578
|
+
reqid = response['Response']['RequestId']
|
579
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
580
|
+
end
|
581
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
582
|
+
raise e
|
583
|
+
rescue StandardError => e
|
584
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
585
|
+
end
|
586
|
+
|
587
|
+
# 用于删除实时上云模板
|
588
|
+
|
589
|
+
# @param request: Request instance for DeleteRecordTemplate.
|
590
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteRecordTemplateRequest`
|
591
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteRecordTemplateResponse`
|
592
|
+
def DeleteRecordTemplate(request)
|
593
|
+
body = send_request('DeleteRecordTemplate', request.serialize)
|
594
|
+
response = JSON.parse(body)
|
595
|
+
if response['Response'].key?('Error') == false
|
596
|
+
model = DeleteRecordTemplateResponse.new
|
597
|
+
model.deserialize(response['Response'])
|
598
|
+
model
|
599
|
+
else
|
600
|
+
code = response['Response']['Error']['Code']
|
601
|
+
message = response['Response']['Error']['Message']
|
602
|
+
reqid = response['Response']['RequestId']
|
603
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
604
|
+
end
|
605
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
606
|
+
raise e
|
607
|
+
rescue StandardError => e
|
608
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
609
|
+
end
|
610
|
+
|
611
|
+
# 用于删除已添加的设备。
|
612
|
+
|
613
|
+
# @param request: Request instance for DeleteUserDevice.
|
614
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DeleteUserDeviceRequest`
|
615
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DeleteUserDeviceResponse`
|
616
|
+
def DeleteUserDevice(request)
|
617
|
+
body = send_request('DeleteUserDevice', request.serialize)
|
618
|
+
response = JSON.parse(body)
|
619
|
+
if response['Response'].key?('Error') == false
|
620
|
+
model = DeleteUserDeviceResponse.new
|
621
|
+
model.deserialize(response['Response'])
|
622
|
+
model
|
623
|
+
else
|
624
|
+
code = response['Response']['Error']['Code']
|
625
|
+
message = response['Response']['Error']['Message']
|
626
|
+
reqid = response['Response']['RequestId']
|
627
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
628
|
+
end
|
629
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
630
|
+
raise e
|
631
|
+
rescue StandardError => e
|
632
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
633
|
+
end
|
634
|
+
|
635
|
+
# 获取AI任务详情
|
636
|
+
|
637
|
+
# @param request: Request instance for DescribeAITask.
|
638
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeAITaskRequest`
|
639
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeAITaskResponse`
|
640
|
+
def DescribeAITask(request)
|
641
|
+
body = send_request('DescribeAITask', request.serialize)
|
642
|
+
response = JSON.parse(body)
|
643
|
+
if response['Response'].key?('Error') == false
|
644
|
+
model = DescribeAITaskResponse.new
|
645
|
+
model.deserialize(response['Response'])
|
646
|
+
model
|
647
|
+
else
|
648
|
+
code = response['Response']['Error']['Code']
|
649
|
+
message = response['Response']['Error']['Message']
|
650
|
+
reqid = response['Response']['RequestId']
|
651
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
652
|
+
end
|
653
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
654
|
+
raise e
|
655
|
+
rescue StandardError => e
|
656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
657
|
+
end
|
658
|
+
|
659
|
+
# 获取AI任务识别结果
|
660
|
+
|
661
|
+
# @param request: Request instance for DescribeAITaskResult.
|
662
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeAITaskResultRequest`
|
663
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeAITaskResultResponse`
|
664
|
+
def DescribeAITaskResult(request)
|
665
|
+
body = send_request('DescribeAITaskResult', request.serialize)
|
666
|
+
response = JSON.parse(body)
|
667
|
+
if response['Response'].key?('Error') == false
|
668
|
+
model = DescribeAITaskResultResponse.new
|
669
|
+
model.deserialize(response['Response'])
|
670
|
+
model
|
671
|
+
else
|
672
|
+
code = response['Response']['Error']['Code']
|
673
|
+
message = response['Response']['Error']['Message']
|
674
|
+
reqid = response['Response']['RequestId']
|
675
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
676
|
+
end
|
677
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
678
|
+
raise e
|
679
|
+
rescue StandardError => e
|
680
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
681
|
+
end
|
682
|
+
|
683
|
+
# 用于根据服务节点获取 CNAME 值。
|
684
|
+
|
685
|
+
# @param request: Request instance for DescribeCNAME.
|
686
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeCNAMERequest`
|
687
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeCNAMEResponse`
|
688
|
+
def DescribeCNAME(request)
|
689
|
+
body = send_request('DescribeCNAME', request.serialize)
|
690
|
+
response = JSON.parse(body)
|
691
|
+
if response['Response'].key?('Error') == false
|
692
|
+
model = DescribeCNAMEResponse.new
|
693
|
+
model.deserialize(response['Response'])
|
694
|
+
model
|
695
|
+
else
|
696
|
+
code = response['Response']['Error']['Code']
|
697
|
+
message = response['Response']['Error']['Message']
|
698
|
+
reqid = response['Response']['RequestId']
|
699
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
700
|
+
end
|
701
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
702
|
+
raise e
|
703
|
+
rescue StandardError => e
|
704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
705
|
+
end
|
706
|
+
|
707
|
+
# 用于查询设备的通道。
|
708
|
+
|
709
|
+
# @param request: Request instance for DescribeDeviceChannel.
|
710
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeDeviceChannelRequest`
|
711
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeDeviceChannelResponse`
|
712
|
+
def DescribeDeviceChannel(request)
|
713
|
+
body = send_request('DescribeDeviceChannel', request.serialize)
|
714
|
+
response = JSON.parse(body)
|
715
|
+
if response['Response'].key?('Error') == false
|
716
|
+
model = DescribeDeviceChannelResponse.new
|
717
|
+
model.deserialize(response['Response'])
|
718
|
+
model
|
719
|
+
else
|
720
|
+
code = response['Response']['Error']['Code']
|
721
|
+
message = response['Response']['Error']['Message']
|
722
|
+
reqid = response['Response']['RequestId']
|
723
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
724
|
+
end
|
725
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
726
|
+
raise e
|
727
|
+
rescue StandardError => e
|
728
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
729
|
+
end
|
730
|
+
|
731
|
+
# 用于查询设备通道预置位信息。
|
732
|
+
|
733
|
+
# @param request: Request instance for DescribeDevicePreset.
|
734
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeDevicePresetRequest`
|
735
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeDevicePresetResponse`
|
736
|
+
def DescribeDevicePreset(request)
|
737
|
+
body = send_request('DescribeDevicePreset', request.serialize)
|
738
|
+
response = JSON.parse(body)
|
739
|
+
if response['Response'].key?('Error') == false
|
740
|
+
model = DescribeDevicePresetResponse.new
|
741
|
+
model.deserialize(response['Response'])
|
742
|
+
model
|
743
|
+
else
|
744
|
+
code = response['Response']['Error']['Code']
|
745
|
+
message = response['Response']['Error']['Message']
|
746
|
+
reqid = response['Response']['RequestId']
|
747
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
748
|
+
end
|
749
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
750
|
+
raise e
|
751
|
+
rescue StandardError => e
|
752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
753
|
+
end
|
754
|
+
|
755
|
+
# 用于添加设备时,查询设备可以使用的服务节点,查询结果为已经绑定了域名的服务节点。
|
756
|
+
|
757
|
+
# @param request: Request instance for DescribeDeviceRegion.
|
758
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeDeviceRegionRequest`
|
759
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeDeviceRegionResponse`
|
760
|
+
def DescribeDeviceRegion(request)
|
761
|
+
body = send_request('DescribeDeviceRegion', request.serialize)
|
762
|
+
response = JSON.parse(body)
|
763
|
+
if response['Response'].key?('Error') == false
|
764
|
+
model = DescribeDeviceRegionResponse.new
|
765
|
+
model.deserialize(response['Response'])
|
766
|
+
model
|
767
|
+
else
|
768
|
+
code = response['Response']['Error']['Code']
|
769
|
+
message = response['Response']['Error']['Message']
|
770
|
+
reqid = response['Response']['RequestId']
|
771
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
772
|
+
end
|
773
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
774
|
+
raise e
|
775
|
+
rescue StandardError => e
|
776
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
777
|
+
end
|
778
|
+
|
779
|
+
# 用于查询添加的域名列表。
|
780
|
+
|
781
|
+
# @param request: Request instance for DescribeDomain.
|
782
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeDomainRequest`
|
783
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeDomainResponse`
|
784
|
+
def DescribeDomain(request)
|
785
|
+
body = send_request('DescribeDomain', request.serialize)
|
786
|
+
response = JSON.parse(body)
|
787
|
+
if response['Response'].key?('Error') == false
|
788
|
+
model = DescribeDomainResponse.new
|
789
|
+
model.deserialize(response['Response'])
|
790
|
+
model
|
791
|
+
else
|
792
|
+
code = response['Response']['Error']['Code']
|
793
|
+
message = response['Response']['Error']['Message']
|
794
|
+
reqid = response['Response']['RequestId']
|
795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
796
|
+
end
|
797
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
798
|
+
raise e
|
799
|
+
rescue StandardError => e
|
800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
801
|
+
end
|
802
|
+
|
803
|
+
# 用于用户添加域名时,查询可以绑定的服务节点,结果为平台支持的所有服务节点。(注意:每个服务节点只能绑定一个域名)
|
804
|
+
|
805
|
+
# @param request: Request instance for DescribeDomainRegion.
|
806
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeDomainRegionRequest`
|
807
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeDomainRegionResponse`
|
808
|
+
def DescribeDomainRegion(request)
|
809
|
+
body = send_request('DescribeDomainRegion', request.serialize)
|
810
|
+
response = JSON.parse(body)
|
811
|
+
if response['Response'].key?('Error') == false
|
812
|
+
model = DescribeDomainRegionResponse.new
|
813
|
+
model.deserialize(response['Response'])
|
814
|
+
model
|
815
|
+
else
|
816
|
+
code = response['Response']['Error']['Code']
|
817
|
+
message = response['Response']['Error']['Message']
|
818
|
+
reqid = response['Response']['RequestId']
|
819
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
820
|
+
end
|
821
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
822
|
+
raise e
|
823
|
+
rescue StandardError => e
|
824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
825
|
+
end
|
826
|
+
|
827
|
+
# 用于获取网关详情。
|
828
|
+
|
829
|
+
# @param request: Request instance for DescribeGateway.
|
830
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeGatewayRequest`
|
831
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeGatewayResponse`
|
832
|
+
def DescribeGateway(request)
|
833
|
+
body = send_request('DescribeGateway', request.serialize)
|
834
|
+
response = JSON.parse(body)
|
835
|
+
if response['Response'].key?('Error') == false
|
836
|
+
model = DescribeGatewayResponse.new
|
837
|
+
model.deserialize(response['Response'])
|
838
|
+
model
|
839
|
+
else
|
840
|
+
code = response['Response']['Error']['Code']
|
841
|
+
message = response['Response']['Error']['Message']
|
842
|
+
reqid = response['Response']['RequestId']
|
843
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
844
|
+
end
|
845
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
846
|
+
raise e
|
847
|
+
rescue StandardError => e
|
848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
849
|
+
end
|
850
|
+
|
851
|
+
# 用于获取网关的数据及流量监控信息。
|
852
|
+
|
853
|
+
# @param request: Request instance for DescribeGatewayMonitor.
|
854
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeGatewayMonitorRequest`
|
855
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeGatewayMonitorResponse`
|
856
|
+
def DescribeGatewayMonitor(request)
|
857
|
+
body = send_request('DescribeGatewayMonitor', request.serialize)
|
858
|
+
response = JSON.parse(body)
|
859
|
+
if response['Response'].key?('Error') == false
|
860
|
+
model = DescribeGatewayMonitorResponse.new
|
861
|
+
model.deserialize(response['Response'])
|
862
|
+
model
|
863
|
+
else
|
864
|
+
code = response['Response']['Error']['Code']
|
865
|
+
message = response['Response']['Error']['Message']
|
866
|
+
reqid = response['Response']['RequestId']
|
867
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
868
|
+
end
|
869
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
870
|
+
raise e
|
871
|
+
rescue StandardError => e
|
872
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
873
|
+
end
|
874
|
+
|
875
|
+
# 用于查询网关接入协议。
|
876
|
+
|
877
|
+
# @param request: Request instance for DescribeGatewayProtocol.
|
878
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeGatewayProtocolRequest`
|
879
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeGatewayProtocolResponse`
|
880
|
+
def DescribeGatewayProtocol(request)
|
881
|
+
body = send_request('DescribeGatewayProtocol', request.serialize)
|
882
|
+
response = JSON.parse(body)
|
883
|
+
if response['Response'].key?('Error') == false
|
884
|
+
model = DescribeGatewayProtocolResponse.new
|
885
|
+
model.deserialize(response['Response'])
|
886
|
+
model
|
887
|
+
else
|
888
|
+
code = response['Response']['Error']['Code']
|
889
|
+
message = response['Response']['Error']['Message']
|
890
|
+
reqid = response['Response']['RequestId']
|
891
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
892
|
+
end
|
893
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
894
|
+
raise e
|
895
|
+
rescue StandardError => e
|
896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
897
|
+
end
|
898
|
+
|
899
|
+
# 查询网关服务版本
|
900
|
+
|
901
|
+
# @param request: Request instance for DescribeGatewayVersion.
|
902
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeGatewayVersionRequest`
|
903
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeGatewayVersionResponse`
|
904
|
+
def DescribeGatewayVersion(request)
|
905
|
+
body = send_request('DescribeGatewayVersion', request.serialize)
|
906
|
+
response = JSON.parse(body)
|
907
|
+
if response['Response'].key?('Error') == false
|
908
|
+
model = DescribeGatewayVersionResponse.new
|
909
|
+
model.deserialize(response['Response'])
|
910
|
+
model
|
911
|
+
else
|
912
|
+
code = response['Response']['Error']['Code']
|
913
|
+
message = response['Response']['Error']['Message']
|
914
|
+
reqid = response['Response']['RequestId']
|
915
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
916
|
+
end
|
917
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
918
|
+
raise e
|
919
|
+
rescue StandardError => e
|
920
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
921
|
+
end
|
922
|
+
|
923
|
+
# 用于查询组织。
|
924
|
+
|
925
|
+
# @param request: Request instance for DescribeOrganization.
|
926
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeOrganizationRequest`
|
927
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeOrganizationResponse`
|
928
|
+
def DescribeOrganization(request)
|
929
|
+
body = send_request('DescribeOrganization', request.serialize)
|
930
|
+
response = JSON.parse(body)
|
931
|
+
if response['Response'].key?('Error') == false
|
932
|
+
model = DescribeOrganizationResponse.new
|
933
|
+
model.deserialize(response['Response'])
|
934
|
+
model
|
935
|
+
else
|
936
|
+
code = response['Response']['Error']['Code']
|
937
|
+
message = response['Response']['Error']['Message']
|
938
|
+
reqid = response['Response']['RequestId']
|
939
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
940
|
+
end
|
941
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
942
|
+
raise e
|
943
|
+
rescue StandardError => e
|
944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
945
|
+
end
|
946
|
+
|
947
|
+
# 用于查询录像上云计划详情。
|
948
|
+
|
949
|
+
# @param request: Request instance for DescribeRecordBackupPlan.
|
950
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordBackupPlanRequest`
|
951
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordBackupPlanResponse`
|
952
|
+
def DescribeRecordBackupPlan(request)
|
953
|
+
body = send_request('DescribeRecordBackupPlan', request.serialize)
|
954
|
+
response = JSON.parse(body)
|
955
|
+
if response['Response'].key?('Error') == false
|
956
|
+
model = DescribeRecordBackupPlanResponse.new
|
957
|
+
model.deserialize(response['Response'])
|
958
|
+
model
|
959
|
+
else
|
960
|
+
code = response['Response']['Error']['Code']
|
961
|
+
message = response['Response']['Error']['Message']
|
962
|
+
reqid = response['Response']['RequestId']
|
963
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
964
|
+
end
|
965
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
966
|
+
raise e
|
967
|
+
rescue StandardError => e
|
968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
969
|
+
end
|
970
|
+
|
971
|
+
# 用于查询录像上云模板详情。
|
972
|
+
|
973
|
+
# @param request: Request instance for DescribeRecordBackupTemplate.
|
974
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordBackupTemplateRequest`
|
975
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordBackupTemplateResponse`
|
976
|
+
def DescribeRecordBackupTemplate(request)
|
977
|
+
body = send_request('DescribeRecordBackupTemplate', request.serialize)
|
978
|
+
response = JSON.parse(body)
|
979
|
+
if response['Response'].key?('Error') == false
|
980
|
+
model = DescribeRecordBackupTemplateResponse.new
|
981
|
+
model.deserialize(response['Response'])
|
982
|
+
model
|
983
|
+
else
|
984
|
+
code = response['Response']['Error']['Code']
|
985
|
+
message = response['Response']['Error']['Message']
|
986
|
+
reqid = response['Response']['RequestId']
|
987
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
988
|
+
end
|
989
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
990
|
+
raise e
|
991
|
+
rescue StandardError => e
|
992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
993
|
+
end
|
994
|
+
|
995
|
+
# 用于查询设备云端录像时间轴信息(即为视频上云后设置录像计划后云存储的录像)
|
996
|
+
|
997
|
+
# @param request: Request instance for DescribeRecordFile.
|
998
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordFileRequest`
|
999
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordFileResponse`
|
1000
|
+
def DescribeRecordFile(request)
|
1001
|
+
body = send_request('DescribeRecordFile', request.serialize)
|
1002
|
+
response = JSON.parse(body)
|
1003
|
+
if response['Response'].key?('Error') == false
|
1004
|
+
model = DescribeRecordFileResponse.new
|
1005
|
+
model.deserialize(response['Response'])
|
1006
|
+
model
|
1007
|
+
else
|
1008
|
+
code = response['Response']['Error']['Code']
|
1009
|
+
message = response['Response']['Error']['Message']
|
1010
|
+
reqid = response['Response']['RequestId']
|
1011
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1012
|
+
end
|
1013
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1014
|
+
raise e
|
1015
|
+
rescue StandardError => e
|
1016
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
# 用于查询实时上云计划详情
|
1020
|
+
|
1021
|
+
# @param request: Request instance for DescribeRecordPlan.
|
1022
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordPlanRequest`
|
1023
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordPlanResponse`
|
1024
|
+
def DescribeRecordPlan(request)
|
1025
|
+
body = send_request('DescribeRecordPlan', request.serialize)
|
1026
|
+
response = JSON.parse(body)
|
1027
|
+
if response['Response'].key?('Error') == false
|
1028
|
+
model = DescribeRecordPlanResponse.new
|
1029
|
+
model.deserialize(response['Response'])
|
1030
|
+
model
|
1031
|
+
else
|
1032
|
+
code = response['Response']['Error']['Code']
|
1033
|
+
message = response['Response']['Error']['Message']
|
1034
|
+
reqid = response['Response']['RequestId']
|
1035
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1036
|
+
end
|
1037
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1038
|
+
raise e
|
1039
|
+
rescue StandardError => e
|
1040
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
# 用于获取云端录像回放url地址
|
1044
|
+
|
1045
|
+
# @param request: Request instance for DescribeRecordPlaybackUrl.
|
1046
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordPlaybackUrlRequest`
|
1047
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordPlaybackUrlResponse`
|
1048
|
+
def DescribeRecordPlaybackUrl(request)
|
1049
|
+
body = send_request('DescribeRecordPlaybackUrl', request.serialize)
|
1050
|
+
response = JSON.parse(body)
|
1051
|
+
if response['Response'].key?('Error') == false
|
1052
|
+
model = DescribeRecordPlaybackUrlResponse.new
|
1053
|
+
model.deserialize(response['Response'])
|
1054
|
+
model
|
1055
|
+
else
|
1056
|
+
code = response['Response']['Error']['Code']
|
1057
|
+
message = response['Response']['Error']['Message']
|
1058
|
+
reqid = response['Response']['RequestId']
|
1059
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1060
|
+
end
|
1061
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1062
|
+
raise e
|
1063
|
+
rescue StandardError => e
|
1064
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# 用于查询云录像取回任务详情
|
1068
|
+
|
1069
|
+
# @param request: Request instance for DescribeRecordRetrieveTask.
|
1070
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordRetrieveTaskRequest`
|
1071
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordRetrieveTaskResponse`
|
1072
|
+
def DescribeRecordRetrieveTask(request)
|
1073
|
+
body = send_request('DescribeRecordRetrieveTask', request.serialize)
|
1074
|
+
response = JSON.parse(body)
|
1075
|
+
if response['Response'].key?('Error') == false
|
1076
|
+
model = DescribeRecordRetrieveTaskResponse.new
|
1077
|
+
model.deserialize(response['Response'])
|
1078
|
+
model
|
1079
|
+
else
|
1080
|
+
code = response['Response']['Error']['Code']
|
1081
|
+
message = response['Response']['Error']['Message']
|
1082
|
+
reqid = response['Response']['RequestId']
|
1083
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1084
|
+
end
|
1085
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1086
|
+
raise e
|
1087
|
+
rescue StandardError => e
|
1088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# 用于查询实时上云模板详情
|
1092
|
+
|
1093
|
+
# @param request: Request instance for DescribeRecordTemplate.
|
1094
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordTemplateRequest`
|
1095
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordTemplateResponse`
|
1096
|
+
def DescribeRecordTemplate(request)
|
1097
|
+
body = send_request('DescribeRecordTemplate', request.serialize)
|
1098
|
+
response = JSON.parse(body)
|
1099
|
+
if response['Response'].key?('Error') == false
|
1100
|
+
model = DescribeRecordTemplateResponse.new
|
1101
|
+
model.deserialize(response['Response'])
|
1102
|
+
model
|
1103
|
+
else
|
1104
|
+
code = response['Response']['Error']['Code']
|
1105
|
+
message = response['Response']['Error']['Message']
|
1106
|
+
reqid = response['Response']['RequestId']
|
1107
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1108
|
+
end
|
1109
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1110
|
+
raise e
|
1111
|
+
rescue StandardError => e
|
1112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# 用于查询推拉流鉴权配置。
|
1116
|
+
|
1117
|
+
# @param request: Request instance for DescribeStreamAuth.
|
1118
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeStreamAuthRequest`
|
1119
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeStreamAuthResponse`
|
1120
|
+
def DescribeStreamAuth(request)
|
1121
|
+
body = send_request('DescribeStreamAuth', request.serialize)
|
1122
|
+
response = JSON.parse(body)
|
1123
|
+
if response['Response'].key?('Error') == false
|
1124
|
+
model = DescribeStreamAuthResponse.new
|
1125
|
+
model.deserialize(response['Response'])
|
1126
|
+
model
|
1127
|
+
else
|
1128
|
+
code = response['Response']['Error']['Code']
|
1129
|
+
message = response['Response']['Error']['Message']
|
1130
|
+
reqid = response['Response']['RequestId']
|
1131
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1132
|
+
end
|
1133
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1134
|
+
raise e
|
1135
|
+
rescue StandardError => e
|
1136
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# 用于查询设备的详细信息。
|
1140
|
+
|
1141
|
+
# @param request: Request instance for DescribeUserDevice.
|
1142
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeUserDeviceRequest`
|
1143
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeUserDeviceResponse`
|
1144
|
+
def DescribeUserDevice(request)
|
1145
|
+
body = send_request('DescribeUserDevice', request.serialize)
|
1146
|
+
response = JSON.parse(body)
|
1147
|
+
if response['Response'].key?('Error') == false
|
1148
|
+
model = DescribeUserDeviceResponse.new
|
1149
|
+
model.deserialize(response['Response'])
|
1150
|
+
model
|
1151
|
+
else
|
1152
|
+
code = response['Response']['Error']['Code']
|
1153
|
+
message = response['Response']['Error']['Message']
|
1154
|
+
reqid = response['Response']['RequestId']
|
1155
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1156
|
+
end
|
1157
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1158
|
+
raise e
|
1159
|
+
rescue StandardError => e
|
1160
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
# 用于获取云录像下载 url
|
1164
|
+
|
1165
|
+
# @param request: Request instance for DescribeVideoDownloadUrl.
|
1166
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeVideoDownloadUrlRequest`
|
1167
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeVideoDownloadUrlResponse`
|
1168
|
+
def DescribeVideoDownloadUrl(request)
|
1169
|
+
body = send_request('DescribeVideoDownloadUrl', request.serialize)
|
1170
|
+
response = JSON.parse(body)
|
1171
|
+
if response['Response'].key?('Error') == false
|
1172
|
+
model = DescribeVideoDownloadUrlResponse.new
|
1173
|
+
model.deserialize(response['Response'])
|
1174
|
+
model
|
1175
|
+
else
|
1176
|
+
code = response['Response']['Error']['Code']
|
1177
|
+
message = response['Response']['Error']['Message']
|
1178
|
+
reqid = response['Response']['RequestId']
|
1179
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1180
|
+
end
|
1181
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1182
|
+
raise e
|
1183
|
+
rescue StandardError => e
|
1184
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
# 获取AI任务列表
|
1188
|
+
|
1189
|
+
# @param request: Request instance for ListAITasks.
|
1190
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListAITasksRequest`
|
1191
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListAITasksResponse`
|
1192
|
+
def ListAITasks(request)
|
1193
|
+
body = send_request('ListAITasks', request.serialize)
|
1194
|
+
response = JSON.parse(body)
|
1195
|
+
if response['Response'].key?('Error') == false
|
1196
|
+
model = ListAITasksResponse.new
|
1197
|
+
model.deserialize(response['Response'])
|
1198
|
+
model
|
1199
|
+
else
|
1200
|
+
code = response['Response']['Error']['Code']
|
1201
|
+
message = response['Response']['Error']['Message']
|
1202
|
+
reqid = response['Response']['RequestId']
|
1203
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1204
|
+
end
|
1205
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1206
|
+
raise e
|
1207
|
+
rescue StandardError => e
|
1208
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# 用于获取对应组织下的设备列表。
|
1212
|
+
|
1213
|
+
# @param request: Request instance for ListDevices.
|
1214
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListDevicesRequest`
|
1215
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListDevicesResponse`
|
1216
|
+
def ListDevices(request)
|
1217
|
+
body = send_request('ListDevices', request.serialize)
|
1218
|
+
response = JSON.parse(body)
|
1219
|
+
if response['Response'].key?('Error') == false
|
1220
|
+
model = ListDevicesResponse.new
|
1221
|
+
model.deserialize(response['Response'])
|
1222
|
+
model
|
1223
|
+
else
|
1224
|
+
code = response['Response']['Error']['Code']
|
1225
|
+
message = response['Response']['Error']['Message']
|
1226
|
+
reqid = response['Response']['RequestId']
|
1227
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1228
|
+
end
|
1229
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1230
|
+
raise e
|
1231
|
+
rescue StandardError => e
|
1232
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# 用于获取网关列表。
|
1236
|
+
|
1237
|
+
# @param request: Request instance for ListGateways.
|
1238
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListGatewaysRequest`
|
1239
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListGatewaysResponse`
|
1240
|
+
def ListGateways(request)
|
1241
|
+
body = send_request('ListGateways', request.serialize)
|
1242
|
+
response = JSON.parse(body)
|
1243
|
+
if response['Response'].key?('Error') == false
|
1244
|
+
model = ListGatewaysResponse.new
|
1245
|
+
model.deserialize(response['Response'])
|
1246
|
+
model
|
1247
|
+
else
|
1248
|
+
code = response['Response']['Error']['Code']
|
1249
|
+
message = response['Response']['Error']['Message']
|
1250
|
+
reqid = response['Response']['RequestId']
|
1251
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1252
|
+
end
|
1253
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1254
|
+
raise e
|
1255
|
+
rescue StandardError => e
|
1256
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
# 用于查询组织目录下的未添加到实时上云计划中的通道数量
|
1260
|
+
|
1261
|
+
# @param request: Request instance for ListOrganizationChannelNumbers.
|
1262
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListOrganizationChannelNumbersRequest`
|
1263
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListOrganizationChannelNumbersResponse`
|
1264
|
+
def ListOrganizationChannelNumbers(request)
|
1265
|
+
body = send_request('ListOrganizationChannelNumbers', request.serialize)
|
1266
|
+
response = JSON.parse(body)
|
1267
|
+
if response['Response'].key?('Error') == false
|
1268
|
+
model = ListOrganizationChannelNumbersResponse.new
|
1269
|
+
model.deserialize(response['Response'])
|
1270
|
+
model
|
1271
|
+
else
|
1272
|
+
code = response['Response']['Error']['Code']
|
1273
|
+
message = response['Response']['Error']['Message']
|
1274
|
+
reqid = response['Response']['RequestId']
|
1275
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1276
|
+
end
|
1277
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1278
|
+
raise e
|
1279
|
+
rescue StandardError => e
|
1280
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# 用于查询组织目录下的通道列表
|
1284
|
+
|
1285
|
+
# @param request: Request instance for ListOrganizationChannels.
|
1286
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListOrganizationChannelsRequest`
|
1287
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListOrganizationChannelsResponse`
|
1288
|
+
def ListOrganizationChannels(request)
|
1289
|
+
body = send_request('ListOrganizationChannels', request.serialize)
|
1290
|
+
response = JSON.parse(body)
|
1291
|
+
if response['Response'].key?('Error') == false
|
1292
|
+
model = ListOrganizationChannelsResponse.new
|
1293
|
+
model.deserialize(response['Response'])
|
1294
|
+
model
|
1295
|
+
else
|
1296
|
+
code = response['Response']['Error']['Code']
|
1297
|
+
message = response['Response']['Error']['Message']
|
1298
|
+
reqid = response['Response']['RequestId']
|
1299
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1300
|
+
end
|
1301
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1302
|
+
raise e
|
1303
|
+
rescue StandardError => e
|
1304
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# 用于查询录像上云计划下的设备通道列表。
|
1308
|
+
|
1309
|
+
# @param request: Request instance for ListRecordBackupPlanDevices.
|
1310
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordBackupPlanDevicesRequest`
|
1311
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordBackupPlanDevicesResponse`
|
1312
|
+
def ListRecordBackupPlanDevices(request)
|
1313
|
+
body = send_request('ListRecordBackupPlanDevices', request.serialize)
|
1314
|
+
response = JSON.parse(body)
|
1315
|
+
if response['Response'].key?('Error') == false
|
1316
|
+
model = ListRecordBackupPlanDevicesResponse.new
|
1317
|
+
model.deserialize(response['Response'])
|
1318
|
+
model
|
1319
|
+
else
|
1320
|
+
code = response['Response']['Error']['Code']
|
1321
|
+
message = response['Response']['Error']['Message']
|
1322
|
+
reqid = response['Response']['RequestId']
|
1323
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1324
|
+
end
|
1325
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1326
|
+
raise e
|
1327
|
+
rescue StandardError => e
|
1328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# 用于查询录像上云计划列表。
|
1332
|
+
|
1333
|
+
# @param request: Request instance for ListRecordBackupPlans.
|
1334
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordBackupPlansRequest`
|
1335
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordBackupPlansResponse`
|
1336
|
+
def ListRecordBackupPlans(request)
|
1337
|
+
body = send_request('ListRecordBackupPlans', request.serialize)
|
1338
|
+
response = JSON.parse(body)
|
1339
|
+
if response['Response'].key?('Error') == false
|
1340
|
+
model = ListRecordBackupPlansResponse.new
|
1341
|
+
model.deserialize(response['Response'])
|
1342
|
+
model
|
1343
|
+
else
|
1344
|
+
code = response['Response']['Error']['Code']
|
1345
|
+
message = response['Response']['Error']['Message']
|
1346
|
+
reqid = response['Response']['RequestId']
|
1347
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1348
|
+
end
|
1349
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1350
|
+
raise e
|
1351
|
+
rescue StandardError => e
|
1352
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# 用于查询录像上云模板列表。
|
1356
|
+
|
1357
|
+
# @param request: Request instance for ListRecordBackupTemplates.
|
1358
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordBackupTemplatesRequest`
|
1359
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordBackupTemplatesResponse`
|
1360
|
+
def ListRecordBackupTemplates(request)
|
1361
|
+
body = send_request('ListRecordBackupTemplates', request.serialize)
|
1362
|
+
response = JSON.parse(body)
|
1363
|
+
if response['Response'].key?('Error') == false
|
1364
|
+
model = ListRecordBackupTemplatesResponse.new
|
1365
|
+
model.deserialize(response['Response'])
|
1366
|
+
model
|
1367
|
+
else
|
1368
|
+
code = response['Response']['Error']['Code']
|
1369
|
+
message = response['Response']['Error']['Message']
|
1370
|
+
reqid = response['Response']['RequestId']
|
1371
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1372
|
+
end
|
1373
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1374
|
+
raise e
|
1375
|
+
rescue StandardError => e
|
1376
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
# 用于查询用户下所有实时上云计划中的通道列表
|
1380
|
+
|
1381
|
+
# @param request: Request instance for ListRecordPlanChannels.
|
1382
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordPlanChannelsRequest`
|
1383
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordPlanChannelsResponse`
|
1384
|
+
def ListRecordPlanChannels(request)
|
1385
|
+
body = send_request('ListRecordPlanChannels', request.serialize)
|
1386
|
+
response = JSON.parse(body)
|
1387
|
+
if response['Response'].key?('Error') == false
|
1388
|
+
model = ListRecordPlanChannelsResponse.new
|
1389
|
+
model.deserialize(response['Response'])
|
1390
|
+
model
|
1391
|
+
else
|
1392
|
+
code = response['Response']['Error']['Code']
|
1393
|
+
message = response['Response']['Error']['Message']
|
1394
|
+
reqid = response['Response']['RequestId']
|
1395
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1396
|
+
end
|
1397
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1398
|
+
raise e
|
1399
|
+
rescue StandardError => e
|
1400
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# 用于查询实时上云计划下的设备通道列表
|
1404
|
+
|
1405
|
+
# @param request: Request instance for ListRecordPlanDevices.
|
1406
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordPlanDevicesRequest`
|
1407
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordPlanDevicesResponse`
|
1408
|
+
def ListRecordPlanDevices(request)
|
1409
|
+
body = send_request('ListRecordPlanDevices', request.serialize)
|
1410
|
+
response = JSON.parse(body)
|
1411
|
+
if response['Response'].key?('Error') == false
|
1412
|
+
model = ListRecordPlanDevicesResponse.new
|
1413
|
+
model.deserialize(response['Response'])
|
1414
|
+
model
|
1415
|
+
else
|
1416
|
+
code = response['Response']['Error']['Code']
|
1417
|
+
message = response['Response']['Error']['Message']
|
1418
|
+
reqid = response['Response']['RequestId']
|
1419
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1420
|
+
end
|
1421
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1422
|
+
raise e
|
1423
|
+
rescue StandardError => e
|
1424
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# 用于查询实时上云计划列表
|
1428
|
+
|
1429
|
+
# @param request: Request instance for ListRecordPlans.
|
1430
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordPlansRequest`
|
1431
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordPlansResponse`
|
1432
|
+
def ListRecordPlans(request)
|
1433
|
+
body = send_request('ListRecordPlans', request.serialize)
|
1434
|
+
response = JSON.parse(body)
|
1435
|
+
if response['Response'].key?('Error') == false
|
1436
|
+
model = ListRecordPlansResponse.new
|
1437
|
+
model.deserialize(response['Response'])
|
1438
|
+
model
|
1439
|
+
else
|
1440
|
+
code = response['Response']['Error']['Code']
|
1441
|
+
message = response['Response']['Error']['Message']
|
1442
|
+
reqid = response['Response']['RequestId']
|
1443
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1444
|
+
end
|
1445
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1446
|
+
raise e
|
1447
|
+
rescue StandardError => e
|
1448
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
# 用于查询取回任务列表
|
1452
|
+
|
1453
|
+
# @param request: Request instance for ListRecordRetrieveTasks.
|
1454
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordRetrieveTasksRequest`
|
1455
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordRetrieveTasksResponse`
|
1456
|
+
def ListRecordRetrieveTasks(request)
|
1457
|
+
body = send_request('ListRecordRetrieveTasks', request.serialize)
|
1458
|
+
response = JSON.parse(body)
|
1459
|
+
if response['Response'].key?('Error') == false
|
1460
|
+
model = ListRecordRetrieveTasksResponse.new
|
1461
|
+
model.deserialize(response['Response'])
|
1462
|
+
model
|
1463
|
+
else
|
1464
|
+
code = response['Response']['Error']['Code']
|
1465
|
+
message = response['Response']['Error']['Message']
|
1466
|
+
reqid = response['Response']['RequestId']
|
1467
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1468
|
+
end
|
1469
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1470
|
+
raise e
|
1471
|
+
rescue StandardError => e
|
1472
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
# 用于查询实时上云模板列表
|
1476
|
+
|
1477
|
+
# @param request: Request instance for ListRecordTemplates.
|
1478
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListRecordTemplatesRequest`
|
1479
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListRecordTemplatesResponse`
|
1480
|
+
def ListRecordTemplates(request)
|
1481
|
+
body = send_request('ListRecordTemplates', request.serialize)
|
1482
|
+
response = JSON.parse(body)
|
1483
|
+
if response['Response'].key?('Error') == false
|
1484
|
+
model = ListRecordTemplatesResponse.new
|
1485
|
+
model.deserialize(response['Response'])
|
1486
|
+
model
|
1487
|
+
else
|
1488
|
+
code = response['Response']['Error']['Code']
|
1489
|
+
message = response['Response']['Error']['Message']
|
1490
|
+
reqid = response['Response']['RequestId']
|
1491
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1492
|
+
end
|
1493
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1494
|
+
raise e
|
1495
|
+
rescue StandardError => e
|
1496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# 用于获取设备本地录像 URL 地址。
|
1500
|
+
|
1501
|
+
# @param request: Request instance for PlayRecord.
|
1502
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::PlayRecordRequest`
|
1503
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::PlayRecordResponse`
|
1504
|
+
def PlayRecord(request)
|
1505
|
+
body = send_request('PlayRecord', request.serialize)
|
1506
|
+
response = JSON.parse(body)
|
1507
|
+
if response['Response'].key?('Error') == false
|
1508
|
+
model = PlayRecordResponse.new
|
1509
|
+
model.deserialize(response['Response'])
|
1510
|
+
model
|
1511
|
+
else
|
1512
|
+
code = response['Response']['Error']['Code']
|
1513
|
+
message = response['Response']['Error']['Message']
|
1514
|
+
reqid = response['Response']['RequestId']
|
1515
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1516
|
+
end
|
1517
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1518
|
+
raise e
|
1519
|
+
rescue StandardError => e
|
1520
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
# 用于刷新国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。
|
1524
|
+
|
1525
|
+
# @param request: Request instance for RefreshDeviceChannel.
|
1526
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::RefreshDeviceChannelRequest`
|
1527
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::RefreshDeviceChannelResponse`
|
1528
|
+
def RefreshDeviceChannel(request)
|
1529
|
+
body = send_request('RefreshDeviceChannel', request.serialize)
|
1530
|
+
response = JSON.parse(body)
|
1531
|
+
if response['Response'].key?('Error') == false
|
1532
|
+
model = RefreshDeviceChannelResponse.new
|
1533
|
+
model.deserialize(response['Response'])
|
1534
|
+
model
|
1535
|
+
else
|
1536
|
+
code = response['Response']['Error']['Code']
|
1537
|
+
message = response['Response']['Error']['Message']
|
1538
|
+
reqid = response['Response']['RequestId']
|
1539
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1540
|
+
end
|
1541
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1542
|
+
raise e
|
1543
|
+
rescue StandardError => e
|
1544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# 更新AI任务
|
1548
|
+
|
1549
|
+
# @param request: Request instance for UpdateAITask.
|
1550
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateAITaskRequest`
|
1551
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateAITaskResponse`
|
1552
|
+
def UpdateAITask(request)
|
1553
|
+
body = send_request('UpdateAITask', request.serialize)
|
1554
|
+
response = JSON.parse(body)
|
1555
|
+
if response['Response'].key?('Error') == false
|
1556
|
+
model = UpdateAITaskResponse.new
|
1557
|
+
model.deserialize(response['Response'])
|
1558
|
+
model
|
1559
|
+
else
|
1560
|
+
code = response['Response']['Error']['Code']
|
1561
|
+
message = response['Response']['Error']['Message']
|
1562
|
+
reqid = response['Response']['RequestId']
|
1563
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1564
|
+
end
|
1565
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1566
|
+
raise e
|
1567
|
+
rescue StandardError => e
|
1568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
# 更新 AI 任务状态
|
1572
|
+
|
1573
|
+
# @param request: Request instance for UpdateAITaskStatus.
|
1574
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateAITaskStatusRequest`
|
1575
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateAITaskStatusResponse`
|
1576
|
+
def UpdateAITaskStatus(request)
|
1577
|
+
body = send_request('UpdateAITaskStatus', request.serialize)
|
1578
|
+
response = JSON.parse(body)
|
1579
|
+
if response['Response'].key?('Error') == false
|
1580
|
+
model = UpdateAITaskStatusResponse.new
|
1581
|
+
model.deserialize(response['Response'])
|
1582
|
+
model
|
1583
|
+
else
|
1584
|
+
code = response['Response']['Error']['Code']
|
1585
|
+
message = response['Response']['Error']['Message']
|
1586
|
+
reqid = response['Response']['RequestId']
|
1587
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1588
|
+
end
|
1589
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1590
|
+
raise e
|
1591
|
+
rescue StandardError => e
|
1592
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# 用于批量更改设备的组织。
|
1596
|
+
|
1597
|
+
# @param request: Request instance for UpdateDeviceOrganization.
|
1598
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateDeviceOrganizationRequest`
|
1599
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateDeviceOrganizationResponse`
|
1600
|
+
def UpdateDeviceOrganization(request)
|
1601
|
+
body = send_request('UpdateDeviceOrganization', request.serialize)
|
1602
|
+
response = JSON.parse(body)
|
1603
|
+
if response['Response'].key?('Error') == false
|
1604
|
+
model = UpdateDeviceOrganizationResponse.new
|
1605
|
+
model.deserialize(response['Response'])
|
1606
|
+
model
|
1607
|
+
else
|
1608
|
+
code = response['Response']['Error']['Code']
|
1609
|
+
message = response['Response']['Error']['Message']
|
1610
|
+
reqid = response['Response']['RequestId']
|
1611
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1612
|
+
end
|
1613
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1614
|
+
raise e
|
1615
|
+
rescue StandardError => e
|
1616
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
# 用于启用/禁用设备,禁用后拒绝设备注册。
|
1620
|
+
|
1621
|
+
# @param request: Request instance for UpdateDeviceStatus.
|
1622
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateDeviceStatusRequest`
|
1623
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateDeviceStatusResponse`
|
1624
|
+
def UpdateDeviceStatus(request)
|
1625
|
+
body = send_request('UpdateDeviceStatus', request.serialize)
|
1626
|
+
response = JSON.parse(body)
|
1627
|
+
if response['Response'].key?('Error') == false
|
1628
|
+
model = UpdateDeviceStatusResponse.new
|
1629
|
+
model.deserialize(response['Response'])
|
1630
|
+
model
|
1631
|
+
else
|
1632
|
+
code = response['Response']['Error']['Code']
|
1633
|
+
message = response['Response']['Error']['Message']
|
1634
|
+
reqid = response['Response']['RequestId']
|
1635
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1636
|
+
end
|
1637
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1638
|
+
raise e
|
1639
|
+
rescue StandardError => e
|
1640
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1641
|
+
end
|
1642
|
+
|
1643
|
+
# 用于修改网关信息(支持对网关名称和描述的修改)。
|
1644
|
+
|
1645
|
+
# @param request: Request instance for UpdateGateway.
|
1646
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateGatewayRequest`
|
1647
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateGatewayResponse`
|
1648
|
+
def UpdateGateway(request)
|
1649
|
+
body = send_request('UpdateGateway', request.serialize)
|
1650
|
+
response = JSON.parse(body)
|
1651
|
+
if response['Response'].key?('Error') == false
|
1652
|
+
model = UpdateGatewayResponse.new
|
1653
|
+
model.deserialize(response['Response'])
|
1654
|
+
model
|
1655
|
+
else
|
1656
|
+
code = response['Response']['Error']['Code']
|
1657
|
+
message = response['Response']['Error']['Message']
|
1658
|
+
reqid = response['Response']['RequestId']
|
1659
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1660
|
+
end
|
1661
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1662
|
+
raise e
|
1663
|
+
rescue StandardError => e
|
1664
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
# 用于修改组织。
|
1668
|
+
|
1669
|
+
# @param request: Request instance for UpdateOrganization.
|
1670
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateOrganizationRequest`
|
1671
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateOrganizationResponse`
|
1672
|
+
def UpdateOrganization(request)
|
1673
|
+
body = send_request('UpdateOrganization', request.serialize)
|
1674
|
+
response = JSON.parse(body)
|
1675
|
+
if response['Response'].key?('Error') == false
|
1676
|
+
model = UpdateOrganizationResponse.new
|
1677
|
+
model.deserialize(response['Response'])
|
1678
|
+
model
|
1679
|
+
else
|
1680
|
+
code = response['Response']['Error']['Code']
|
1681
|
+
message = response['Response']['Error']['Message']
|
1682
|
+
reqid = response['Response']['RequestId']
|
1683
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1684
|
+
end
|
1685
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1686
|
+
raise e
|
1687
|
+
rescue StandardError => e
|
1688
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# 用于修改录像上云计划。
|
1692
|
+
|
1693
|
+
# @param request: Request instance for UpdateRecordBackupPlan.
|
1694
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateRecordBackupPlanRequest`
|
1695
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateRecordBackupPlanResponse`
|
1696
|
+
def UpdateRecordBackupPlan(request)
|
1697
|
+
body = send_request('UpdateRecordBackupPlan', request.serialize)
|
1698
|
+
response = JSON.parse(body)
|
1699
|
+
if response['Response'].key?('Error') == false
|
1700
|
+
model = UpdateRecordBackupPlanResponse.new
|
1701
|
+
model.deserialize(response['Response'])
|
1702
|
+
model
|
1703
|
+
else
|
1704
|
+
code = response['Response']['Error']['Code']
|
1705
|
+
message = response['Response']['Error']['Message']
|
1706
|
+
reqid = response['Response']['RequestId']
|
1707
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1708
|
+
end
|
1709
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1710
|
+
raise e
|
1711
|
+
rescue StandardError => e
|
1712
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
# 用于修改录像上云模板。
|
1716
|
+
|
1717
|
+
# @param request: Request instance for UpdateRecordBackupTemplate.
|
1718
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateRecordBackupTemplateRequest`
|
1719
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateRecordBackupTemplateResponse`
|
1720
|
+
def UpdateRecordBackupTemplate(request)
|
1721
|
+
body = send_request('UpdateRecordBackupTemplate', request.serialize)
|
1722
|
+
response = JSON.parse(body)
|
1723
|
+
if response['Response'].key?('Error') == false
|
1724
|
+
model = UpdateRecordBackupTemplateResponse.new
|
1725
|
+
model.deserialize(response['Response'])
|
1726
|
+
model
|
1727
|
+
else
|
1728
|
+
code = response['Response']['Error']['Code']
|
1729
|
+
message = response['Response']['Error']['Message']
|
1730
|
+
reqid = response['Response']['RequestId']
|
1731
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1732
|
+
end
|
1733
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1734
|
+
raise e
|
1735
|
+
rescue StandardError => e
|
1736
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# 用于修改实时上云计划
|
1740
|
+
|
1741
|
+
# @param request: Request instance for UpdateRecordPlan.
|
1742
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateRecordPlanRequest`
|
1743
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateRecordPlanResponse`
|
1744
|
+
def UpdateRecordPlan(request)
|
1745
|
+
body = send_request('UpdateRecordPlan', request.serialize)
|
1746
|
+
response = JSON.parse(body)
|
1747
|
+
if response['Response'].key?('Error') == false
|
1748
|
+
model = UpdateRecordPlanResponse.new
|
1749
|
+
model.deserialize(response['Response'])
|
1750
|
+
model
|
1751
|
+
else
|
1752
|
+
code = response['Response']['Error']['Code']
|
1753
|
+
message = response['Response']['Error']['Message']
|
1754
|
+
reqid = response['Response']['RequestId']
|
1755
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1756
|
+
end
|
1757
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1758
|
+
raise e
|
1759
|
+
rescue StandardError => e
|
1760
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
# 用于修改实时上云模板
|
1764
|
+
|
1765
|
+
# @param request: Request instance for UpdateRecordTemplate.
|
1766
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateRecordTemplateRequest`
|
1767
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateRecordTemplateResponse`
|
1768
|
+
def UpdateRecordTemplate(request)
|
1769
|
+
body = send_request('UpdateRecordTemplate', request.serialize)
|
1770
|
+
response = JSON.parse(body)
|
1771
|
+
if response['Response'].key?('Error') == false
|
1772
|
+
model = UpdateRecordTemplateResponse.new
|
1773
|
+
model.deserialize(response['Response'])
|
1774
|
+
model
|
1775
|
+
else
|
1776
|
+
code = response['Response']['Error']['Code']
|
1777
|
+
message = response['Response']['Error']['Message']
|
1778
|
+
reqid = response['Response']['RequestId']
|
1779
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1780
|
+
end
|
1781
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1782
|
+
raise e
|
1783
|
+
rescue StandardError => e
|
1784
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1785
|
+
end
|
1786
|
+
|
1787
|
+
# 用于修改设备的配置信息。
|
1788
|
+
|
1789
|
+
# @param request: Request instance for UpdateUserDevice.
|
1790
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpdateUserDeviceRequest`
|
1791
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpdateUserDeviceResponse`
|
1792
|
+
def UpdateUserDevice(request)
|
1793
|
+
body = send_request('UpdateUserDevice', request.serialize)
|
1794
|
+
response = JSON.parse(body)
|
1795
|
+
if response['Response'].key?('Error') == false
|
1796
|
+
model = UpdateUserDeviceResponse.new
|
1797
|
+
model.deserialize(response['Response'])
|
1798
|
+
model
|
1799
|
+
else
|
1800
|
+
code = response['Response']['Error']['Code']
|
1801
|
+
message = response['Response']['Error']['Message']
|
1802
|
+
reqid = response['Response']['RequestId']
|
1803
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1804
|
+
end
|
1805
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1806
|
+
raise e
|
1807
|
+
rescue StandardError => e
|
1808
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
# 用于网关升级(支持对所有待更新的服务一键升级)。
|
1812
|
+
|
1813
|
+
# @param request: Request instance for UpgradeGateway.
|
1814
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::UpgradeGatewayRequest`
|
1815
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::UpgradeGatewayResponse`
|
1816
|
+
def UpgradeGateway(request)
|
1817
|
+
body = send_request('UpgradeGateway', request.serialize)
|
1818
|
+
response = JSON.parse(body)
|
1819
|
+
if response['Response'].key?('Error') == false
|
1820
|
+
model = UpgradeGatewayResponse.new
|
1821
|
+
model.deserialize(response['Response'])
|
1822
|
+
model
|
1823
|
+
else
|
1824
|
+
code = response['Response']['Error']['Code']
|
1825
|
+
message = response['Response']['Error']['Message']
|
1826
|
+
reqid = response['Response']['RequestId']
|
1827
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1828
|
+
end
|
1829
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1830
|
+
raise e
|
1831
|
+
rescue StandardError => e
|
1832
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
|
1836
|
+
end
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
end
|