tencentcloud-sdk-trtc 3.0.953 → 3.0.955

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: 4bc4159783d166f2eeb62f6ee27830cf0840c055
4
+ data.tar.gz: e46559d8f0ac1772f8508e8a92b5917d05aa14f1
5
5
  SHA512:
6
- metadata.gz: 8370429ff0c94419f67aa8b8f8ef0d0a2e942d99abd37e28daf7dc3d09c5a57b5eae4716c8ef747a75fd1cc874f2c68b6d95f26aaf948af59bb22f73d9dea2be
7
- data.tar.gz: eb0bff2cd9989a9a3af022917a98f9d52b081862c553a917cfa4779f50887a4fe3aa33024f04e3c526f5818b3769e525d8ee10ec7f14bb522e362489722c6154
6
+ metadata.gz: 6978ace224ec56020b05c301f7acfa8c8fcf5089969b2d141dc20584dad6c1f319c93b45a2acf323444063362df4fd48097a0b6194b2e5edb4d9887aaf4bd586
7
+ data.tar.gz: 07573a70097cbd46d7ba1a8460fdf2699d1d111258d848c44356c4f93f36dba3e3dcce380b27997d67f059324be2601fb2d596d1d6fcfc2a422520f42bf17aa5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.953
1
+ 3.0.955
@@ -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.955
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