tencentcloud-sdk-vod 3.0.469 → 3.0.470

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: 00159f049948703b79fb9e680be755c7e88a5fae
4
- data.tar.gz: d8c32333bb685f56be8cf7ef3077e2d4b2abfe59
3
+ metadata.gz: be1b6b37357bd4f5f7001a3d7ce56ee7605f288e
4
+ data.tar.gz: 80dbb12a73eb156e6500a828f01b5721ef88e2f0
5
5
  SHA512:
6
- metadata.gz: b61eaed7912a460a23f8d04bcc91e1459ed58b1c2978fb9b0fcc561aab95859cc61bee85000169030080c575c3906e3ce6c21db53fa41698b0807fa30cf1b3bf
7
- data.tar.gz: 09df81be87ddf10ac0215c90e6d6801a94691179f9d5b0c96147429428e65eb2a62bfbf43edc9a70d3fa72b5a914cdc3c5e4b60ceb2e9113b352713403277906
6
+ metadata.gz: eed5f897e4caf4d8d4849338caec1244d2da9ce365145a7dc00e2f59af6f119e2663afb0f57b770214fa10c75b93100c9a8e47bd761ff8495b496f267de6c335
7
+ data.tar.gz: ba778438876e89dda8a26160a6f22ac2b5603037a74709812343da7b46facb42458d0617529d2e523e521377c17aba7500639f392e8d59aa4196af5e2c1757c7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.469
1
+ 3.0.470
@@ -1555,6 +1555,32 @@ module TencentCloud
1555
1555
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1556
1556
  end
1557
1557
 
1558
+ # 用于异步获取文件属性。
1559
+ # - 当前仅支持获取源文件的 Md5。
1560
+ # - 对输入文件为 HLS 或 DASH 的情况,仅获取索引文件的属性。
1561
+
1562
+ # @param request: Request instance for DescribeFileAttributes.
1563
+ # @type request: :class:`Tencentcloud::vod::V20180717::DescribeFileAttributesRequest`
1564
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DescribeFileAttributesResponse`
1565
+ def DescribeFileAttributes(request)
1566
+ body = send_request('DescribeFileAttributes', request.serialize)
1567
+ response = JSON.parse(body)
1568
+ if response['Response'].key?('Error') == false
1569
+ model = DescribeFileAttributesResponse.new
1570
+ model.deserialize(response['Response'])
1571
+ model
1572
+ else
1573
+ code = response['Response']['Error']['Code']
1574
+ message = response['Response']['Error']['Message']
1575
+ reqid = response['Response']['RequestId']
1576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1577
+ end
1578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1579
+ raise e
1580
+ rescue StandardError => e
1581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1582
+ end
1583
+
1558
1584
  # 获取片头片尾模板列表。
1559
1585
 
1560
1586
  # @param request: Request instance for DescribeHeadTailTemplates.
@@ -8373,6 +8373,62 @@ module TencentCloud
8373
8373
  end
8374
8374
  end
8375
8375
 
8376
+ # DescribeFileAttributes请求参数结构体
8377
+ class DescribeFileAttributesRequest < TencentCloud::Common::AbstractModel
8378
+ # @param FileId: 媒体文件 ID
8379
+ # @type FileId: String
8380
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8381
+ # @type SubAppId: Integer
8382
+ # @param SessionId: 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
8383
+ # @type SessionId: String
8384
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
8385
+ # @type SessionContext: String
8386
+ # @param TasksPriority: 任务优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
8387
+ # @type TasksPriority: Integer
8388
+ # @param ExtInfo: 保留字段,特殊用途时使用。
8389
+ # @type ExtInfo: String
8390
+
8391
+ attr_accessor :FileId, :SubAppId, :SessionId, :SessionContext, :TasksPriority, :ExtInfo
8392
+
8393
+ def initialize(fileid=nil, subappid=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil)
8394
+ @FileId = fileid
8395
+ @SubAppId = subappid
8396
+ @SessionId = sessionid
8397
+ @SessionContext = sessioncontext
8398
+ @TasksPriority = taskspriority
8399
+ @ExtInfo = extinfo
8400
+ end
8401
+
8402
+ def deserialize(params)
8403
+ @FileId = params['FileId']
8404
+ @SubAppId = params['SubAppId']
8405
+ @SessionId = params['SessionId']
8406
+ @SessionContext = params['SessionContext']
8407
+ @TasksPriority = params['TasksPriority']
8408
+ @ExtInfo = params['ExtInfo']
8409
+ end
8410
+ end
8411
+
8412
+ # DescribeFileAttributes返回参数结构体
8413
+ class DescribeFileAttributesResponse < TencentCloud::Common::AbstractModel
8414
+ # @param TaskId: 任务 ID 。
8415
+ # @type TaskId: String
8416
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8417
+ # @type RequestId: String
8418
+
8419
+ attr_accessor :TaskId, :RequestId
8420
+
8421
+ def initialize(taskid=nil, requestid=nil)
8422
+ @TaskId = taskid
8423
+ @RequestId = requestid
8424
+ end
8425
+
8426
+ def deserialize(params)
8427
+ @TaskId = params['TaskId']
8428
+ @RequestId = params['RequestId']
8429
+ end
8430
+ end
8431
+
8376
8432
  # 获取文件属性任务信息
8377
8433
  class DescribeFileAttributesTask < TencentCloud::Common::AbstractModel
8378
8434
  # @param TaskId: 任务 ID。
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.469
4
+ version: 3.0.470
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud