tencentcloud-sdk-trtc 3.0.953 → 3.0.954

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190722/models.rb +77 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 752044ca670a4c54fca40875a9623b11487eb1fc
4
- data.tar.gz: 11c50113ef48cc379b71657ca7ea4f4284293614
3
+ metadata.gz: 52b4c3625dae83699277ec3c71cd2fe879136c40
4
+ data.tar.gz: d9ab0af69949f6244287794371190d3c27de1392
5
5
  SHA512:
6
- metadata.gz: 8370429ff0c94419f67aa8b8f8ef0d0a2e942d99abd37e28daf7dc3d09c5a57b5eae4716c8ef747a75fd1cc874f2c68b6d95f26aaf948af59bb22f73d9dea2be
7
- data.tar.gz: eb0bff2cd9989a9a3af022917a98f9d52b081862c553a917cfa4779f50887a4fe3aa33024f04e3c526f5818b3769e525d8ee10ec7f14bb522e362489722c6154
6
+ metadata.gz: 9ce313a95f0f8c9fc4781b6bdf248842462b3e36f27132e6127163bbd94acd6654ff98972f123f8e414313a9103607d4211109551014b7034bd0879191193d42
7
+ data.tar.gz: b6a264e9e7710374c159c8a15f91b7826eae98909bb6b37bbbce5897e0de0c0fc55de28cb61ad73b2424b2ca0a51d2f1e85efc36f91fcb302001ff20d7d0d778
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.953
1
+ 3.0.954
@@ -232,6 +232,74 @@ module TencentCloud
232
232
  end
233
233
  end
234
234
 
235
+ # 审核存储参数
236
+ class AuditStorageParams < TencentCloud::Common::AbstractModel
237
+ # @param CloudAuditStorage: 腾讯云对象存储COS以及第三方云存储的账号信息
238
+ # @type CloudAuditStorage: :class:`Tencentcloud::Trtc.v20190722.models.CloudAuditStorage`
239
+
240
+ attr_accessor :CloudAuditStorage
241
+
242
+ def initialize(cloudauditstorage=nil)
243
+ @CloudAuditStorage = cloudauditstorage
244
+ end
245
+
246
+ def deserialize(params)
247
+ unless params['CloudAuditStorage'].nil?
248
+ @CloudAuditStorage = CloudAuditStorage.new
249
+ @CloudAuditStorage.deserialize(params['CloudAuditStorage'])
250
+ end
251
+ end
252
+ end
253
+
254
+ # 腾讯云对象存储COS以及第三方云存储的账号信息
255
+ class CloudAuditStorage < TencentCloud::Common::AbstractModel
256
+ # @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
257
+ # 0:腾讯云对象存储 COS
258
+ # 1:AWS
259
+ # 【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
260
+ # 示例值:0
261
+ # @type Vendor: Integer
262
+ # @param Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
263
+ # 示例值:cn-shanghai-1
264
+
265
+ # AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
266
+ # 示例值:ap-southeast-3
267
+ # @type Region: String
268
+ # @param Bucket: 云存储桶名称。
269
+ # @type Bucket: String
270
+ # @param AccessKey: 云存储的access_key账号信息。
271
+ # 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
272
+ # 示例值:test-accesskey
273
+ # @type AccessKey: String
274
+ # @param SecretKey: 云存储的secret_key账号信息。
275
+ # 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
276
+ # 示例值:test-secretkey
277
+ # @type SecretKey: String
278
+ # @param FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
279
+ # 示例值:["prefix1", "prefix2"]
280
+ # @type FileNamePrefix: Array
281
+
282
+ attr_accessor :Vendor, :Region, :Bucket, :AccessKey, :SecretKey, :FileNamePrefix
283
+
284
+ def initialize(vendor=nil, region=nil, bucket=nil, accesskey=nil, secretkey=nil, filenameprefix=nil)
285
+ @Vendor = vendor
286
+ @Region = region
287
+ @Bucket = bucket
288
+ @AccessKey = accesskey
289
+ @SecretKey = secretkey
290
+ @FileNamePrefix = filenameprefix
291
+ end
292
+
293
+ def deserialize(params)
294
+ @Vendor = params['Vendor']
295
+ @Region = params['Region']
296
+ @Bucket = params['Bucket']
297
+ @AccessKey = params['AccessKey']
298
+ @SecretKey = params['SecretKey']
299
+ @FileNamePrefix = params['FileNamePrefix']
300
+ end
301
+ end
302
+
235
303
  # 腾讯云对象存储COS以及第三方云存储的账号信息
236
304
  class CloudStorage < TencentCloud::Common::AbstractModel
237
305
  # @param Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
@@ -350,14 +418,17 @@ module TencentCloud
350
418
  # @type UserId: String
351
419
  # @param RoomIdType: TRTC房间号的类型。【*注意】必须和TRTC的房间所对应的RoomId类型相同:0: 字符串类型的RoomId1: 32位整型的RoomId(默认)
352
420
  # @type RoomIdType: Integer
421
+ # @param AuditStorageParams: 音频文件上传到云存储的参数
422
+ # @type AuditStorageParams: :class:`Tencentcloud::Trtc.v20190722.models.AuditStorageParams`
353
423
 
354
- attr_accessor :SdkAppId, :RoomId, :UserId, :RoomIdType
424
+ attr_accessor :SdkAppId, :RoomId, :UserId, :RoomIdType, :AuditStorageParams
355
425
 
356
- def initialize(sdkappid=nil, roomid=nil, userid=nil, roomidtype=nil)
426
+ def initialize(sdkappid=nil, roomid=nil, userid=nil, roomidtype=nil, auditstorageparams=nil)
357
427
  @SdkAppId = sdkappid
358
428
  @RoomId = roomid
359
429
  @UserId = userid
360
430
  @RoomIdType = roomidtype
431
+ @AuditStorageParams = auditstorageparams
361
432
  end
362
433
 
363
434
  def deserialize(params)
@@ -365,6 +436,10 @@ module TencentCloud
365
436
  @RoomId = params['RoomId']
366
437
  @UserId = params['UserId']
367
438
  @RoomIdType = params['RoomIdType']
439
+ unless params['AuditStorageParams'].nil?
440
+ @AuditStorageParams = AuditStorageParams.new
441
+ @AuditStorageParams.deserialize(params['AuditStorageParams'])
442
+ end
368
443
  end
369
444
  end
370
445
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.953
4
+ version: 3.0.954
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-03 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common