tencentcloud-sdk-tiw 3.0.536 → 3.0.538

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abfd259fa0f558b3f7590dc3c3e1ddc5e9f48669
4
- data.tar.gz: 370e1942727ef33fda290d94fa7e45fff0eff69e
3
+ metadata.gz: f3ea9d86add9e379bc511ac0e36a68ac84a1a7e7
4
+ data.tar.gz: 4a0171654731efcf9fff38b3991649fd17570390
5
5
  SHA512:
6
- metadata.gz: 0716490c556b13aa9ed88f974100d09ffe9e54209c3583e61c8f24a15c32c935f569f9e0a71c59122bcbb746e28ceae4453863424bdc9a03c541ad95b085cb20
7
- data.tar.gz: 35cdcd607859048eae1dedad57187fae282541debf099ec80b9071efbd5656d66232bb6941e1055d577f70a26da785b6a2096c2ac7af9680e7deb84d2512a9e4
6
+ metadata.gz: 8a944c7760a7c33d88f8441dc159333f63ca0a67a1b44d60bbdb01cf94b83a4745233b1208964c4deff8149fcc76f016c83856dedf93e6e230509e6bbd3c8055
7
+ data.tar.gz: a75ccfe6f133f4e6cc10cffcea41a01d38acc0f7654ed997015fda48e8a8a26dd245c80fef24430e382ee0dc9d3c91383a57529aaa0f7760f91f7dea44cf9f6d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.536
1
+ 3.0.538
@@ -29,6 +29,78 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 申请互动白板试用,默认15天
33
+
34
+ # @param request: Request instance for ApplyTiwTrial.
35
+ # @type request: :class:`Tencentcloud::tiw::V20190919::ApplyTiwTrialRequest`
36
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::ApplyTiwTrialResponse`
37
+ def ApplyTiwTrial(request)
38
+ body = send_request('ApplyTiwTrial', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ApplyTiwTrialResponse.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 CreateApplication.
59
+ # @type request: :class:`Tencentcloud::tiw::V20190919::CreateApplicationRequest`
60
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::CreateApplicationResponse`
61
+ def CreateApplication(request)
62
+ body = send_request('CreateApplication', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateApplicationResponse.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
+ # 创建课后录制任务
81
+
82
+ # @param request: Request instance for CreateOfflineRecord.
83
+ # @type request: :class:`Tencentcloud::tiw::V20190919::CreateOfflineRecordRequest`
84
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::CreateOfflineRecordResponse`
85
+ def CreateOfflineRecord(request)
86
+ body = send_request('CreateOfflineRecord', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateOfflineRecordResponse.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
+
32
104
  # 创建白板板书生成任务, 在任务结束后,如果提供了回调地址,将通过回调地址通知板书生成结果
33
105
 
34
106
  # @param request: Request instance for CreateSnapshotTask.
@@ -101,6 +173,174 @@ module TencentCloud
101
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
174
  end
103
175
 
176
+ # 通过服务角色调用其他云产品API接口获取信息
177
+
178
+ # @param request: Request instance for DescribeAPIService.
179
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeAPIServiceRequest`
180
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeAPIServiceResponse`
181
+ def DescribeAPIService(request)
182
+ body = send_request('DescribeAPIService', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DescribeAPIServiceResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
200
+ # 查询白板应用详情
201
+
202
+ # @param request: Request instance for DescribeApplicationInfos.
203
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeApplicationInfosRequest`
204
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeApplicationInfosResponse`
205
+ def DescribeApplicationInfos(request)
206
+ body = send_request('DescribeApplicationInfos', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeApplicationInfosResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
224
+ # 查询互动白板各个子产品用量
225
+
226
+ # @param request: Request instance for DescribeApplicationUsage.
227
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeApplicationUsageRequest`
228
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeApplicationUsageResponse`
229
+ def DescribeApplicationUsage(request)
230
+ body = send_request('DescribeApplicationUsage', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DescribeApplicationUsageResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
248
+ # 查询客户端白板日志
249
+
250
+ # @param request: Request instance for DescribeBoardSDKLog.
251
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeBoardSDKLogRequest`
252
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeBoardSDKLogResponse`
253
+ def DescribeBoardSDKLog(request)
254
+ body = send_request('DescribeBoardSDKLog', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DescribeBoardSDKLogResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
272
+ # 查询可用于创建白板应用的IM应用列表
273
+
274
+ # @param request: Request instance for DescribeIMApplications.
275
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeIMApplicationsRequest`
276
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeIMApplicationsResponse`
277
+ def DescribeIMApplications(request)
278
+ body = send_request('DescribeIMApplications', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeIMApplicationsResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
296
+ # 查询课后录制任务的进度与录制结果等相关信息
297
+
298
+ # @param request: Request instance for DescribeOfflineRecord.
299
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordRequest`
300
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordResponse`
301
+ def DescribeOfflineRecord(request)
302
+ body = send_request('DescribeOfflineRecord', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DescribeOfflineRecordResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
320
+ # 查询课后录制回调地址
321
+
322
+ # @param request: Request instance for DescribeOfflineRecordCallback.
323
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordCallbackRequest`
324
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordCallbackResponse`
325
+ def DescribeOfflineRecordCallback(request)
326
+ body = send_request('DescribeOfflineRecordCallback', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeOfflineRecordCallbackResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
104
344
  # 查询录制任务状态与结果
105
345
 
106
346
  # @param request: Request instance for DescribeOnlineRecord.
@@ -149,6 +389,30 @@ module TencentCloud
149
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
390
  end
151
391
 
392
+ # 查询用户后付费用量
393
+
394
+ # @param request: Request instance for DescribePostpaidUsage.
395
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribePostpaidUsageRequest`
396
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribePostpaidUsageResponse`
397
+ def DescribePostpaidUsage(request)
398
+ body = send_request('DescribePostpaidUsage', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DescribePostpaidUsageResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
152
416
  # 查询互动白板质量数据
153
417
 
154
418
  # @param request: Request instance for DescribeQualityMetrics.
@@ -173,6 +437,30 @@ module TencentCloud
173
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
438
  end
175
439
 
440
+ # 查询白板房间列表
441
+
442
+ # @param request: Request instance for DescribeRoomList.
443
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeRoomListRequest`
444
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeRoomListResponse`
445
+ def DescribeRoomList(request)
446
+ body = send_request('DescribeRoomList', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = DescribeRoomListResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
176
464
  # 获取指定白板板书生成任务信息
177
465
 
178
466
  # @param request: Request instance for DescribeSnapshotTask.
@@ -297,6 +585,126 @@ module TencentCloud
297
585
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
298
586
  end
299
587
 
588
+ # 按文档名称搜索转码任务
589
+
590
+ # @param request: Request instance for DescribeTranscodeSearch.
591
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeTranscodeSearchRequest`
592
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeTranscodeSearchResponse`
593
+ def DescribeTranscodeSearch(request)
594
+ body = send_request('DescribeTranscodeSearch', request.serialize)
595
+ response = JSON.parse(body)
596
+ if response['Response'].key?('Error') == false
597
+ model = DescribeTranscodeSearchResponse.new
598
+ model.deserialize(response['Response'])
599
+ model
600
+ else
601
+ code = response['Response']['Error']['Code']
602
+ message = response['Response']['Error']['Message']
603
+ reqid = response['Response']['RequestId']
604
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
605
+ end
606
+ rescue TencentCloud::Common::TencentCloudSDKException => e
607
+ raise e
608
+ rescue StandardError => e
609
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
610
+ end
611
+
612
+ # 查询指定时间段内子产品的用量汇总
613
+
614
+ # @param request: Request instance for DescribeUsageSummary.
615
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeUsageSummaryRequest`
616
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeUsageSummaryResponse`
617
+ def DescribeUsageSummary(request)
618
+ body = send_request('DescribeUsageSummary', request.serialize)
619
+ response = JSON.parse(body)
620
+ if response['Response'].key?('Error') == false
621
+ model = DescribeUsageSummaryResponse.new
622
+ model.deserialize(response['Response'])
623
+ model
624
+ else
625
+ code = response['Response']['Error']['Code']
626
+ message = response['Response']['Error']['Message']
627
+ reqid = response['Response']['RequestId']
628
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
629
+ end
630
+ rescue TencentCloud::Common::TencentCloudSDKException => e
631
+ raise e
632
+ rescue StandardError => e
633
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
634
+ end
635
+
636
+ # 查询白板用户列表
637
+
638
+ # @param request: Request instance for DescribeUserList.
639
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeUserListRequest`
640
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeUserListResponse`
641
+ def DescribeUserList(request)
642
+ body = send_request('DescribeUserList', request.serialize)
643
+ response = JSON.parse(body)
644
+ if response['Response'].key?('Error') == false
645
+ model = DescribeUserListResponse.new
646
+ model.deserialize(response['Response'])
647
+ model
648
+ else
649
+ code = response['Response']['Error']['Code']
650
+ message = response['Response']['Error']['Message']
651
+ reqid = response['Response']['RequestId']
652
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
653
+ end
654
+ rescue TencentCloud::Common::TencentCloudSDKException => e
655
+ raise e
656
+ rescue StandardError => e
657
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
658
+ end
659
+
660
+ # 查询客户资源列表
661
+
662
+ # @param request: Request instance for DescribeUserResources.
663
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeUserResourcesRequest`
664
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeUserResourcesResponse`
665
+ def DescribeUserResources(request)
666
+ body = send_request('DescribeUserResources', request.serialize)
667
+ response = JSON.parse(body)
668
+ if response['Response'].key?('Error') == false
669
+ model = DescribeUserResourcesResponse.new
670
+ model.deserialize(response['Response'])
671
+ model
672
+ else
673
+ code = response['Response']['Error']['Code']
674
+ message = response['Response']['Error']['Message']
675
+ reqid = response['Response']['RequestId']
676
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
677
+ end
678
+ rescue TencentCloud::Common::TencentCloudSDKException => e
679
+ raise e
680
+ rescue StandardError => e
681
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
682
+ end
683
+
684
+ # 查询互动白板用户详情,包括是否开通了互动白板,当前互动白板服务有效期等信息
685
+
686
+ # @param request: Request instance for DescribeUserStatus.
687
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeUserStatusRequest`
688
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeUserStatusResponse`
689
+ def DescribeUserStatus(request)
690
+ body = send_request('DescribeUserStatus', request.serialize)
691
+ response = JSON.parse(body)
692
+ if response['Response'].key?('Error') == false
693
+ model = DescribeUserStatusResponse.new
694
+ model.deserialize(response['Response'])
695
+ model
696
+ else
697
+ code = response['Response']['Error']['Code']
698
+ message = response['Response']['Error']['Message']
699
+ reqid = response['Response']['RequestId']
700
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
701
+ end
702
+ rescue TencentCloud::Common::TencentCloudSDKException => e
703
+ raise e
704
+ rescue StandardError => e
705
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
706
+ end
707
+
300
708
  # 查询录制视频生成任务状态与结果
301
709
 
302
710
  # @param request: Request instance for DescribeVideoGenerationTask.
@@ -345,6 +753,54 @@ module TencentCloud
345
753
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
346
754
  end
347
755
 
756
+ # 查询白板应用任务相关的配置,包括存储桶、回调等
757
+
758
+ # @param request: Request instance for DescribeWhiteboardApplicationConfig.
759
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeWhiteboardApplicationConfigRequest`
760
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeWhiteboardApplicationConfigResponse`
761
+ def DescribeWhiteboardApplicationConfig(request)
762
+ body = send_request('DescribeWhiteboardApplicationConfig', request.serialize)
763
+ response = JSON.parse(body)
764
+ if response['Response'].key?('Error') == false
765
+ model = DescribeWhiteboardApplicationConfigResponse.new
766
+ model.deserialize(response['Response'])
767
+ model
768
+ else
769
+ code = response['Response']['Error']['Code']
770
+ message = response['Response']['Error']['Message']
771
+ reqid = response['Response']['RequestId']
772
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
773
+ end
774
+ rescue TencentCloud::Common::TencentCloudSDKException => e
775
+ raise e
776
+ rescue StandardError => e
777
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
778
+ end
779
+
780
+ # 查询文档转码,实时录制存储桶的配置
781
+
782
+ # @param request: Request instance for DescribeWhiteboardBucketConfig.
783
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeWhiteboardBucketConfigRequest`
784
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeWhiteboardBucketConfigResponse`
785
+ def DescribeWhiteboardBucketConfig(request)
786
+ body = send_request('DescribeWhiteboardBucketConfig', request.serialize)
787
+ response = JSON.parse(body)
788
+ if response['Response'].key?('Error') == false
789
+ model = DescribeWhiteboardBucketConfigResponse.new
790
+ model.deserialize(response['Response'])
791
+ model
792
+ else
793
+ code = response['Response']['Error']['Code']
794
+ message = response['Response']['Error']['Message']
795
+ reqid = response['Response']['RequestId']
796
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
797
+ end
798
+ rescue TencentCloud::Common::TencentCloudSDKException => e
799
+ raise e
800
+ rescue StandardError => e
801
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
802
+ end
803
+
348
804
  # 查询推流任务状态与结果
349
805
 
350
806
  # @param request: Request instance for DescribeWhiteboardPush.
@@ -393,6 +849,126 @@ module TencentCloud
393
849
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
394
850
  end
395
851
 
852
+ # 根据房间号搜索白板推流任务
853
+
854
+ # @param request: Request instance for DescribeWhiteboardPushSearch.
855
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeWhiteboardPushSearchRequest`
856
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeWhiteboardPushSearchResponse`
857
+ def DescribeWhiteboardPushSearch(request)
858
+ body = send_request('DescribeWhiteboardPushSearch', request.serialize)
859
+ response = JSON.parse(body)
860
+ if response['Response'].key?('Error') == false
861
+ model = DescribeWhiteboardPushSearchResponse.new
862
+ model.deserialize(response['Response'])
863
+ model
864
+ else
865
+ code = response['Response']['Error']['Code']
866
+ message = response['Response']['Error']['Message']
867
+ reqid = response['Response']['RequestId']
868
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
869
+ end
870
+ rescue TencentCloud::Common::TencentCloudSDKException => e
871
+ raise e
872
+ rescue StandardError => e
873
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
874
+ end
875
+
876
+ # 修改白板应用
877
+
878
+ # @param request: Request instance for ModifyApplication.
879
+ # @type request: :class:`Tencentcloud::tiw::V20190919::ModifyApplicationRequest`
880
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::ModifyApplicationResponse`
881
+ def ModifyApplication(request)
882
+ body = send_request('ModifyApplication', request.serialize)
883
+ response = JSON.parse(body)
884
+ if response['Response'].key?('Error') == false
885
+ model = ModifyApplicationResponse.new
886
+ model.deserialize(response['Response'])
887
+ model
888
+ else
889
+ code = response['Response']['Error']['Code']
890
+ message = response['Response']['Error']['Message']
891
+ reqid = response['Response']['RequestId']
892
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
893
+ end
894
+ rescue TencentCloud::Common::TencentCloudSDKException => e
895
+ raise e
896
+ rescue StandardError => e
897
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
898
+ end
899
+
900
+ # 设置白板月功能费自动续费
901
+
902
+ # @param request: Request instance for ModifyAutoRenewFlag.
903
+ # @type request: :class:`Tencentcloud::tiw::V20190919::ModifyAutoRenewFlagRequest`
904
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::ModifyAutoRenewFlagResponse`
905
+ def ModifyAutoRenewFlag(request)
906
+ body = send_request('ModifyAutoRenewFlag', request.serialize)
907
+ response = JSON.parse(body)
908
+ if response['Response'].key?('Error') == false
909
+ model = ModifyAutoRenewFlagResponse.new
910
+ model.deserialize(response['Response'])
911
+ model
912
+ else
913
+ code = response['Response']['Error']['Code']
914
+ message = response['Response']['Error']['Message']
915
+ reqid = response['Response']['RequestId']
916
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
917
+ end
918
+ rescue TencentCloud::Common::TencentCloudSDKException => e
919
+ raise e
920
+ rescue StandardError => e
921
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
922
+ end
923
+
924
+ # 修改白板应用任务相关的配置,包括存储桶、回调等
925
+
926
+ # @param request: Request instance for ModifyWhiteboardApplicationConfig.
927
+ # @type request: :class:`Tencentcloud::tiw::V20190919::ModifyWhiteboardApplicationConfigRequest`
928
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::ModifyWhiteboardApplicationConfigResponse`
929
+ def ModifyWhiteboardApplicationConfig(request)
930
+ body = send_request('ModifyWhiteboardApplicationConfig', request.serialize)
931
+ response = JSON.parse(body)
932
+ if response['Response'].key?('Error') == false
933
+ model = ModifyWhiteboardApplicationConfigResponse.new
934
+ model.deserialize(response['Response'])
935
+ model
936
+ else
937
+ code = response['Response']['Error']['Code']
938
+ message = response['Response']['Error']['Message']
939
+ reqid = response['Response']['RequestId']
940
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
941
+ end
942
+ rescue TencentCloud::Common::TencentCloudSDKException => e
943
+ raise e
944
+ rescue StandardError => e
945
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
946
+ end
947
+
948
+ # 设置文档转码,实时录制存储桶的配置
949
+
950
+ # @param request: Request instance for ModifyWhiteboardBucketConfig.
951
+ # @type request: :class:`Tencentcloud::tiw::V20190919::ModifyWhiteboardBucketConfigRequest`
952
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::ModifyWhiteboardBucketConfigResponse`
953
+ def ModifyWhiteboardBucketConfig(request)
954
+ body = send_request('ModifyWhiteboardBucketConfig', request.serialize)
955
+ response = JSON.parse(body)
956
+ if response['Response'].key?('Error') == false
957
+ model = ModifyWhiteboardBucketConfigResponse.new
958
+ model.deserialize(response['Response'])
959
+ model
960
+ else
961
+ code = response['Response']['Error']['Code']
962
+ message = response['Response']['Error']['Message']
963
+ reqid = response['Response']['RequestId']
964
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
965
+ end
966
+ rescue TencentCloud::Common::TencentCloudSDKException => e
967
+ raise e
968
+ rescue StandardError => e
969
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
970
+ end
971
+
396
972
  # 暂停实时录制
397
973
 
398
974
  # @param request: Request instance for PauseOnlineRecord.
@@ -441,6 +1017,30 @@ module TencentCloud
441
1017
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
442
1018
  end
443
1019
 
1020
+ # 设置课后录制回调地址
1021
+
1022
+ # @param request: Request instance for SetOfflineRecordCallback.
1023
+ # @type request: :class:`Tencentcloud::tiw::V20190919::SetOfflineRecordCallbackRequest`
1024
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::SetOfflineRecordCallbackResponse`
1025
+ def SetOfflineRecordCallback(request)
1026
+ body = send_request('SetOfflineRecordCallback', request.serialize)
1027
+ response = JSON.parse(body)
1028
+ if response['Response'].key?('Error') == false
1029
+ model = SetOfflineRecordCallbackResponse.new
1030
+ model.deserialize(response['Response'])
1031
+ model
1032
+ else
1033
+ code = response['Response']['Error']['Code']
1034
+ message = response['Response']['Error']['Message']
1035
+ reqid = response['Response']['RequestId']
1036
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1037
+ end
1038
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1039
+ raise e
1040
+ rescue StandardError => e
1041
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1042
+ end
1043
+
444
1044
  # 设置实时录制回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40258
445
1045
 
446
1046
  # @param request: Request instance for SetOnlineRecordCallback.