tencentcloud-sdk-tiw 3.0.466 → 3.0.467

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: a25dda22b9eb65c1c3cef8fdbcdb5c121486aeee
4
- data.tar.gz: 7e49150a7c27c9b90371cabc4a94949151c9b780
3
+ metadata.gz: 2c91e3f06bf0060f6fa4e45836b4b7eaee262412
4
+ data.tar.gz: 885373e2a88e49188fc9972a1e16c169a9c6570e
5
5
  SHA512:
6
- metadata.gz: 0bc7c36b96b1bc17856104335bf2adfbf4d45e122f3f328076963c1e606fc03735339eec59c810ae1c3f5cd9e7743ce1ea7efb1c8f0a4ffc41a48f67c42c4513
7
- data.tar.gz: b03459ce6d69dc1d2ca9e88eedc2bdfc1d54270d3e3707cc05dba89cd450d687c5e7ee5493e94aea9c0d8304ccd8e1a8d96daf9d5c2aae78d60e7261c9f2b8d7
6
+ metadata.gz: 77594895b0a9d7d508a7306738b77aad05abf4fcaae4f28944ff6954c0bc752c5e171b8e2e5a93b0aff81a685570af17e2dfd8806d9c92d7c3aa8ef511c76bc7
7
+ data.tar.gz: b1e2a526c8750e5b7ba66aea535a5f1cdc05d4f4d34120ef3b43c58634fabce3cec160bdb2f7cd20710ae1639ad582af1ad31bbfe78eb736a7cc16bccceb007a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.466
1
+ 3.0.467
@@ -223,6 +223,32 @@ module TencentCloud
223
223
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
224
224
  end
225
225
 
226
+ # 查询互动白板房间维度每天计费用量。
227
+ # 1. 单次查询统计区间最多不能超过31天。
228
+ # 2. 由于统计延迟等原因,暂时不支持查询当天数据,建议在次日上午7点以后再来查询前一天的用量,例如在10月27日上午7点后,再来查询到10月26日整天的用量
229
+
230
+ # @param request: Request instance for DescribeTIWRoomDailyUsage.
231
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeTIWRoomDailyUsageRequest`
232
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeTIWRoomDailyUsageResponse`
233
+ def DescribeTIWRoomDailyUsage(request)
234
+ body = send_request('DescribeTIWRoomDailyUsage', request.serialize)
235
+ response = JSON.parse(body)
236
+ if response['Response'].key?('Error') == false
237
+ model = DescribeTIWRoomDailyUsageResponse.new
238
+ model.deserialize(response['Response'])
239
+ model
240
+ else
241
+ code = response['Response']['Error']['Code']
242
+ message = response['Response']['Error']['Message']
243
+ reqid = response['Response']['RequestId']
244
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
245
+ end
246
+ rescue TencentCloud::Common::TencentCloudSDKException => e
247
+ raise e
248
+ rescue StandardError => e
249
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
250
+ end
251
+
226
252
  # 查询文档转码任务的执行进度与转码结果
227
253
 
228
254
  # @param request: Request instance for DescribeTranscode.
@@ -711,6 +711,79 @@ module TencentCloud
711
711
  end
712
712
  end
713
713
 
714
+ # DescribeTIWRoomDailyUsage请求参数结构体
715
+ class DescribeTIWRoomDailyUsageRequest < TencentCloud::Common::AbstractModel
716
+ # @param SdkAppId: 互动白板应用SdkAppId
717
+ # @type SdkAppId: Integer
718
+ # @param SubProduct: 需要查询的子产品用量,支持传入以下值
719
+ # - sp_tiw_board: 互动白板时长,单位为分钟
720
+ # - sp_tiw_ric: 实时录制时长,单位分钟
721
+ # @type SubProduct: String
722
+ # @param StartTime: 开始时间,格式YYYY-MM-DD,查询结果里包括该天数据
723
+ # @type StartTime: String
724
+ # @param EndTime: 结束时间,格式YYYY-MM-DD,查询结果里包括该天数据,单次查询统计区间最多不能超过31天。
725
+ # @type EndTime: String
726
+ # @param RoomIDs: 需要查询的房间ID列表,不填默认查询全部房间
727
+ # @type RoomIDs: Array
728
+ # @param Offset: 查询偏移量,默认为0
729
+ # @type Offset: Integer
730
+ # @param Limit: 每次查询返回条目限制,默认为20
731
+ # @type Limit: Integer
732
+
733
+ attr_accessor :SdkAppId, :SubProduct, :StartTime, :EndTime, :RoomIDs, :Offset, :Limit
734
+
735
+ def initialize(sdkappid=nil, subproduct=nil, starttime=nil, endtime=nil, roomids=nil, offset=nil, limit=nil)
736
+ @SdkAppId = sdkappid
737
+ @SubProduct = subproduct
738
+ @StartTime = starttime
739
+ @EndTime = endtime
740
+ @RoomIDs = roomids
741
+ @Offset = offset
742
+ @Limit = limit
743
+ end
744
+
745
+ def deserialize(params)
746
+ @SdkAppId = params['SdkAppId']
747
+ @SubProduct = params['SubProduct']
748
+ @StartTime = params['StartTime']
749
+ @EndTime = params['EndTime']
750
+ @RoomIDs = params['RoomIDs']
751
+ @Offset = params['Offset']
752
+ @Limit = params['Limit']
753
+ end
754
+ end
755
+
756
+ # DescribeTIWRoomDailyUsage返回参数结构体
757
+ class DescribeTIWRoomDailyUsageResponse < TencentCloud::Common::AbstractModel
758
+ # @param Usages: 指定区间指定产品的房间用量列表
759
+ # @type Usages: Array
760
+ # @param Total: 用量列表总数
761
+ # @type Total: Integer
762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
763
+ # @type RequestId: String
764
+
765
+ attr_accessor :Usages, :Total, :RequestId
766
+
767
+ def initialize(usages=nil, total=nil, requestid=nil)
768
+ @Usages = usages
769
+ @Total = total
770
+ @RequestId = requestid
771
+ end
772
+
773
+ def deserialize(params)
774
+ unless params['Usages'].nil?
775
+ @Usages = []
776
+ params['Usages'].each do |i|
777
+ roomusagedataitem_tmp = RoomUsageDataItem.new
778
+ roomusagedataitem_tmp.deserialize(i)
779
+ @Usages << roomusagedataitem_tmp
780
+ end
781
+ end
782
+ @Total = params['Total']
783
+ @RequestId = params['RequestId']
784
+ end
785
+ end
786
+
714
787
  # DescribeTranscodeCallback请求参数结构体
715
788
  class DescribeTranscodeCallbackRequest < TencentCloud::Common::AbstractModel
716
789
  # @param SdkAppId: 应用的SdkAppId
@@ -1328,6 +1401,41 @@ module TencentCloud
1328
1401
  end
1329
1402
  end
1330
1403
 
1404
+ # 互动白板房间用量信息
1405
+ class RoomUsageDataItem < TencentCloud::Common::AbstractModel
1406
+ # @param Time: 日期,格式为YYYY-MM-DD
1407
+ # @type Time: String
1408
+ # @param SdkAppId: 白板应用SDKAppID
1409
+ # @type SdkAppId: Integer
1410
+ # @param SubProduct: 互动白板子产品,请求参数传入的一致
1411
+ # - sp_tiw_board: 互动白板时长
1412
+ # - sp_tiw_ric: 实时录制时长
1413
+ # @type SubProduct: String
1414
+ # @param Value: 用量值
1415
+ # - 白板时长、实时录制时长单位为分钟
1416
+ # @type Value: Float
1417
+ # @param RoomID: 互动白板房间号
1418
+ # @type RoomID: Integer
1419
+
1420
+ attr_accessor :Time, :SdkAppId, :SubProduct, :Value, :RoomID
1421
+
1422
+ def initialize(time=nil, sdkappid=nil, subproduct=nil, value=nil, roomid=nil)
1423
+ @Time = time
1424
+ @SdkAppId = sdkappid
1425
+ @SubProduct = subproduct
1426
+ @Value = value
1427
+ @RoomID = roomid
1428
+ end
1429
+
1430
+ def deserialize(params)
1431
+ @Time = params['Time']
1432
+ @SdkAppId = params['SdkAppId']
1433
+ @SubProduct = params['SubProduct']
1434
+ @Value = params['Value']
1435
+ @RoomID = params['RoomID']
1436
+ end
1437
+ end
1438
+
1331
1439
  # SetOnlineRecordCallbackKey请求参数结构体
1332
1440
  class SetOnlineRecordCallbackKeyRequest < TencentCloud::Common::AbstractModel
1333
1441
  # @param SdkAppId: 应用的SdkAppId
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tiw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.466
4
+ version: 3.0.467
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-06 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common