tencentcloud-sdk-vod 3.0.476 → 3.0.477

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: e0385b67db60dbd70056f49dc7821c49a390c9c2
4
- data.tar.gz: bf981d17aa4d436630b047240dab17211d840079
3
+ metadata.gz: 093adf9aef645eb77c7eda387c4d9c985ba26c19
4
+ data.tar.gz: f3c5e18d12a59f5640bdd6134451000a7e32fb04
5
5
  SHA512:
6
- metadata.gz: 4bb8ba9bb94d337f0dcf1b760fd1c3673df7b0c405d241c3452d70e98b2d372097d5eee09d0b7d84274ae4d6bd72eade24812100bd2ae7f44d81cd7a14b5b3f2
7
- data.tar.gz: 3e04cba8bbb04b4a433b7afc25422ebc2347d0028f4b7162498922522085ef56008a366af84b9ac743192386327a169cea5941c43cdb8a1c1467728fb8f377c1
6
+ metadata.gz: 7d61ebfb5497fcba0ceb5aaa32ae6596a274a64eb693f6dcdec1621d229a0dc0c55cfb2cdecf8b8def1ab57c44fe3ddcb3f94f5a89ece3d9e38501519f28c2ff
7
+ data.tar.gz: ed846a6468f698ff4b2cc630721768cfe3cf6cec6e15caecfe3d1b4348eebbde577108304341d2cade6fc439bc7bc1a6d55c3c61d3e2dfd44a901de0e4126c24
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.476
1
+ 3.0.477
@@ -431,6 +431,30 @@ module TencentCloud
431
431
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
432
432
  end
433
433
 
434
+ # 创建用户自定义审核模板,数量上限:50。
435
+
436
+ # @param request: Request instance for CreateReviewTemplate.
437
+ # @type request: :class:`Tencentcloud::vod::V20180717::CreateReviewTemplateRequest`
438
+ # @rtype: :class:`Tencentcloud::vod::V20180717::CreateReviewTemplateResponse`
439
+ def CreateReviewTemplate(request)
440
+ body = send_request('CreateReviewTemplate', request.serialize)
441
+ response = JSON.parse(body)
442
+ if response['Response'].key?('Error') == false
443
+ model = CreateReviewTemplateResponse.new
444
+ model.deserialize(response['Response'])
445
+ model
446
+ else
447
+ code = response['Response']['Error']['Code']
448
+ message = response['Response']['Error']['Message']
449
+ reqid = response['Response']['RequestId']
450
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
451
+ end
452
+ rescue TencentCloud::Common::TencentCloudSDKException => e
453
+ raise e
454
+ rescue StandardError => e
455
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
456
+ end
457
+
434
458
  # 创建用户自定义采样截图模板,数量上限:16。
435
459
 
436
460
  # @param request: Request instance for CreateSampleSnapshotTemplate.
@@ -944,6 +968,30 @@ module TencentCloud
944
968
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
945
969
  end
946
970
 
971
+ # 删除用户自定义审核模板。
972
+
973
+ # @param request: Request instance for DeleteReviewTemplate.
974
+ # @type request: :class:`Tencentcloud::vod::V20180717::DeleteReviewTemplateRequest`
975
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DeleteReviewTemplateResponse`
976
+ def DeleteReviewTemplate(request)
977
+ body = send_request('DeleteReviewTemplate', request.serialize)
978
+ response = JSON.parse(body)
979
+ if response['Response'].key?('Error') == false
980
+ model = DeleteReviewTemplateResponse.new
981
+ model.deserialize(response['Response'])
982
+ model
983
+ else
984
+ code = response['Response']['Error']['Code']
985
+ message = response['Response']['Error']['Message']
986
+ reqid = response['Response']['RequestId']
987
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
988
+ end
989
+ rescue TencentCloud::Common::TencentCloudSDKException => e
990
+ raise e
991
+ rescue StandardError => e
992
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
993
+ end
994
+
947
995
  # 删除用户自定义采样截图模板。
948
996
 
949
997
  # @param request: Request instance for DeleteSampleSnapshotTemplate.
@@ -1454,8 +1502,9 @@ module TencentCloud
1454
1502
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1455
1503
  end
1456
1504
 
1457
- # 本 API 是 [旧版本加密](https://cloud.tencent.com/document/product/266/9638) 中[DescribeDrmDataKey 的 API 2017 接口](https://cloud.tencent.com/document/product/266/9643)的升级版本。
1458
- # 如果您是新接入点播加密的用户,不要使用该 API。请参考[视频加密综述](https://cloud.tencent.com/document/product/266/45552)使用。
1505
+ # 本 API 是 [旧版本加密](https://cloud.tencent.com/document/product/266/9638) 中 [DescribeDrmDataKey 的 API 2017 接口](https://cloud.tencent.com/document/product/266/9643) 的升级版本。
1506
+
1507
+ # 如果您是新接入点播加密的用户,不要使用该 API,请参考 [视频加密综述](https://cloud.tencent.com/document/product/266/45552) 使用推荐的加密方式。
1459
1508
 
1460
1509
  # @param request: Request instance for DescribeDrmDataKey.
1461
1510
  # @type request: :class:`Tencentcloud::vod::V20180717::DescribeDrmDataKeyRequest`
@@ -1717,6 +1766,7 @@ module TencentCloud
1717
1766
  # 7. 指定时间点截图信息(snapshotByTimeOffsetInfo):对视频依照指定时间点截图后,的截图信息。
1718
1767
  # 8. 视频打点信息(keyFrameDescInfo):对视频设置的打点信息。
1719
1768
  # 9. 转自适应码流信息(adaptiveDynamicStreamingInfo):包括规格、加密类型、打包格式等相关信息。
1769
+ # 10. 审核信息(reviewInfo):包括媒体审核及媒体封面审核信息。
1720
1770
  # 2. 可以指定回包只返回部分信息。
1721
1771
 
1722
1772
  # @param request: Request instance for DescribeMediaInfos.
@@ -1897,6 +1947,30 @@ module TencentCloud
1897
1947
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1898
1948
  end
1899
1949
 
1950
+ # 获取审核模板列表
1951
+
1952
+ # @param request: Request instance for DescribeReviewTemplates.
1953
+ # @type request: :class:`Tencentcloud::vod::V20180717::DescribeReviewTemplatesRequest`
1954
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DescribeReviewTemplatesResponse`
1955
+ def DescribeReviewTemplates(request)
1956
+ body = send_request('DescribeReviewTemplates', request.serialize)
1957
+ response = JSON.parse(body)
1958
+ if response['Response'].key?('Error') == false
1959
+ model = DescribeReviewTemplatesResponse.new
1960
+ model.deserialize(response['Response'])
1961
+ model
1962
+ else
1963
+ code = response['Response']['Error']['Code']
1964
+ message = response['Response']['Error']['Message']
1965
+ reqid = response['Response']['RequestId']
1966
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1967
+ end
1968
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1969
+ raise e
1970
+ rescue StandardError => e
1971
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1972
+ end
1973
+
1900
1974
  # 查询采样截图模板,支持根据条件,分页查询。
1901
1975
 
1902
1976
  # @param request: Request instance for DescribeSampleSnapshotTemplates.
@@ -2731,6 +2805,30 @@ module TencentCloud
2731
2805
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2732
2806
  end
2733
2807
 
2808
+ # 修改用户自定义审核模板。
2809
+
2810
+ # @param request: Request instance for ModifyReviewTemplate.
2811
+ # @type request: :class:`Tencentcloud::vod::V20180717::ModifyReviewTemplateRequest`
2812
+ # @rtype: :class:`Tencentcloud::vod::V20180717::ModifyReviewTemplateResponse`
2813
+ def ModifyReviewTemplate(request)
2814
+ body = send_request('ModifyReviewTemplate', request.serialize)
2815
+ response = JSON.parse(body)
2816
+ if response['Response'].key?('Error') == false
2817
+ model = ModifyReviewTemplateResponse.new
2818
+ model.deserialize(response['Response'])
2819
+ model
2820
+ else
2821
+ code = response['Response']['Error']['Code']
2822
+ message = response['Response']['Error']['Message']
2823
+ reqid = response['Response']['RequestId']
2824
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2825
+ end
2826
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2827
+ raise e
2828
+ rescue StandardError => e
2829
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2830
+ end
2831
+
2734
2832
  # 修改用户自定义采样截图模板。
2735
2833
 
2736
2834
  # @param request: Request instance for ModifySampleSnapshotTemplate.
@@ -5970,6 +5970,62 @@ module TencentCloud
5970
5970
  end
5971
5971
  end
5972
5972
 
5973
+ # CreateReviewTemplate请求参数结构体
5974
+ class CreateReviewTemplateRequest < TencentCloud::Common::AbstractModel
5975
+ # @param Labels: 需要返回的违规标签列表,可选值为:
5976
+ # <li>Porn:色情;</li>
5977
+ # <li>Terror:暴恐;</li>
5978
+ # <li>Polity:不适宜的信息;</li>
5979
+ # <li>Illegal:违法;</li>
5980
+ # <li>Religion:宗教;</li>
5981
+ # <li>Abuse:谩骂;</li>
5982
+ # <li>Ad:广告;</li>
5983
+ # <li>Moan:娇喘。</li>
5984
+ # @type Labels: Array
5985
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
5986
+ # @type SubAppId: String
5987
+ # @param Name: 审核模板名称,长度限制:64 个字符。
5988
+ # @type Name: String
5989
+ # @param Comment: 审核模板描述信息,长度限制:256 个字符。
5990
+ # @type Comment: String
5991
+
5992
+ attr_accessor :Labels, :SubAppId, :Name, :Comment
5993
+
5994
+ def initialize(labels=nil, subappid=nil, name=nil, comment=nil)
5995
+ @Labels = labels
5996
+ @SubAppId = subappid
5997
+ @Name = name
5998
+ @Comment = comment
5999
+ end
6000
+
6001
+ def deserialize(params)
6002
+ @Labels = params['Labels']
6003
+ @SubAppId = params['SubAppId']
6004
+ @Name = params['Name']
6005
+ @Comment = params['Comment']
6006
+ end
6007
+ end
6008
+
6009
+ # CreateReviewTemplate返回参数结构体
6010
+ class CreateReviewTemplateResponse < TencentCloud::Common::AbstractModel
6011
+ # @param Definition: 审核模板唯一标识。
6012
+ # @type Definition: Integer
6013
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6014
+ # @type RequestId: String
6015
+
6016
+ attr_accessor :Definition, :RequestId
6017
+
6018
+ def initialize(definition=nil, requestid=nil)
6019
+ @Definition = definition
6020
+ @RequestId = requestid
6021
+ end
6022
+
6023
+ def deserialize(params)
6024
+ @Definition = params['Definition']
6025
+ @RequestId = params['RequestId']
6026
+ end
6027
+ end
6028
+
5973
6029
  # CreateSampleSnapshotTemplate请求参数结构体
5974
6030
  class CreateSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
5975
6031
  # @param SampleType: 采样截图类型,取值:
@@ -7090,6 +7146,42 @@ module TencentCloud
7090
7146
  end
7091
7147
  end
7092
7148
 
7149
+ # DeleteReviewTemplate请求参数结构体
7150
+ class DeleteReviewTemplateRequest < TencentCloud::Common::AbstractModel
7151
+ # @param Definition: 审核模板唯一标识。
7152
+ # @type Definition: Integer
7153
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
7154
+ # @type SubAppId: Integer
7155
+
7156
+ attr_accessor :Definition, :SubAppId
7157
+
7158
+ def initialize(definition=nil, subappid=nil)
7159
+ @Definition = definition
7160
+ @SubAppId = subappid
7161
+ end
7162
+
7163
+ def deserialize(params)
7164
+ @Definition = params['Definition']
7165
+ @SubAppId = params['SubAppId']
7166
+ end
7167
+ end
7168
+
7169
+ # DeleteReviewTemplate返回参数结构体
7170
+ class DeleteReviewTemplateResponse < TencentCloud::Common::AbstractModel
7171
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7172
+ # @type RequestId: String
7173
+
7174
+ attr_accessor :RequestId
7175
+
7176
+ def initialize(requestid=nil)
7177
+ @RequestId = requestid
7178
+ end
7179
+
7180
+ def deserialize(params)
7181
+ @RequestId = params['RequestId']
7182
+ end
7183
+ end
7184
+
7093
7185
  # DeleteSampleSnapshotTemplate请求参数结构体
7094
7186
  class DeleteSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
7095
7187
  # @param Definition: 采样截图模板唯一标识。
@@ -8210,15 +8302,19 @@ module TencentCloud
8210
8302
  class DescribeDrmDataKeyRequest < TencentCloud::Common::AbstractModel
8211
8303
  # @param EdkList: 加密后的数据密钥列表,最大支持10个。
8212
8304
  # @type EdkList: Array
8305
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID 。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8306
+ # @type SubAppId: Integer
8213
8307
 
8214
- attr_accessor :EdkList
8308
+ attr_accessor :EdkList, :SubAppId
8215
8309
 
8216
- def initialize(edklist=nil)
8310
+ def initialize(edklist=nil, subappid=nil)
8217
8311
  @EdkList = edklist
8312
+ @SubAppId = subappid
8218
8313
  end
8219
8314
 
8220
8315
  def deserialize(params)
8221
8316
  @EdkList = params['EdkList']
8317
+ @SubAppId = params['SubAppId']
8222
8318
  end
8223
8319
  end
8224
8320
 
@@ -8804,6 +8900,8 @@ module TencentCloud
8804
8900
  class DescribeMediaInfosRequest < TencentCloud::Common::AbstractModel
8805
8901
  # @param FileIds: 媒体文件 ID 列表,N 从 0 开始取值,最大 19。
8806
8902
  # @type FileIds: Array
8903
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID 。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8904
+ # @type SubAppId: Integer
8807
8905
  # @param Filters: 指定所有媒体文件需要返回的信息,可同时指定多个信息,N 从 0 开始递增。如果未填写该字段,默认返回所有信息。选项有:
8808
8906
  # <li>basicInfo(视频基础信息)。</li>
8809
8907
  # <li>metaData(视频元信息)。</li>
@@ -8815,22 +8913,22 @@ module TencentCloud
8815
8913
  # <li>keyFrameDescInfo(打点信息)。</li>
8816
8914
  # <li>adaptiveDynamicStreamingInfo(转自适应码流信息)。</li>
8817
8915
  # <li>miniProgramReviewInfo(小程序审核信息)。</li>
8916
+ # <li>subtitleInfo(字幕信息)。</li>
8917
+ # <li>reviewInfo(审核信息)。</li>
8818
8918
  # @type Filters: Array
8819
- # @param SubAppId: 点播[子应用](/document/product/266/14574) ID 。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
8820
- # @type SubAppId: Integer
8821
8919
 
8822
- attr_accessor :FileIds, :Filters, :SubAppId
8920
+ attr_accessor :FileIds, :SubAppId, :Filters
8823
8921
 
8824
- def initialize(fileids=nil, filters=nil, subappid=nil)
8922
+ def initialize(fileids=nil, subappid=nil, filters=nil)
8825
8923
  @FileIds = fileids
8826
- @Filters = filters
8827
8924
  @SubAppId = subappid
8925
+ @Filters = filters
8828
8926
  end
8829
8927
 
8830
8928
  def deserialize(params)
8831
8929
  @FileIds = params['FileIds']
8832
- @Filters = params['Filters']
8833
8930
  @SubAppId = params['SubAppId']
8931
+ @Filters = params['Filters']
8834
8932
  end
8835
8933
  end
8836
8934
 
@@ -9231,6 +9329,71 @@ module TencentCloud
9231
9329
  end
9232
9330
  end
9233
9331
 
9332
+ # DescribeReviewTemplates请求参数结构体
9333
+ class DescribeReviewTemplatesRequest < TencentCloud::Common::AbstractModel
9334
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
9335
+ # @type SubAppId: Integer
9336
+ # @param Definitions: 审核模版唯一标识过滤条件,数组长度限制:100。
9337
+ # @type Definitions: Array
9338
+ # @param Type: 模板类型过滤条件,可选值:
9339
+ # <li>Preset:系统预置模板;</li>
9340
+ # <li>Custom:用户自定义模板。</li>
9341
+ # @type Type: String
9342
+ # @param Offset: 分页偏移量,默认值:0。
9343
+ # @type Offset: Integer
9344
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
9345
+ # @type Limit: Integer
9346
+
9347
+ attr_accessor :SubAppId, :Definitions, :Type, :Offset, :Limit
9348
+
9349
+ def initialize(subappid=nil, definitions=nil, type=nil, offset=nil, limit=nil)
9350
+ @SubAppId = subappid
9351
+ @Definitions = definitions
9352
+ @Type = type
9353
+ @Offset = offset
9354
+ @Limit = limit
9355
+ end
9356
+
9357
+ def deserialize(params)
9358
+ @SubAppId = params['SubAppId']
9359
+ @Definitions = params['Definitions']
9360
+ @Type = params['Type']
9361
+ @Offset = params['Offset']
9362
+ @Limit = params['Limit']
9363
+ end
9364
+ end
9365
+
9366
+ # DescribeReviewTemplates返回参数结构体
9367
+ class DescribeReviewTemplatesResponse < TencentCloud::Common::AbstractModel
9368
+ # @param TotalCount: 符合过滤条件的记录总数。
9369
+ # @type TotalCount: Integer
9370
+ # @param ReviewTemplateSet: 审核模板详情列表。
9371
+ # @type ReviewTemplateSet: Array
9372
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9373
+ # @type RequestId: String
9374
+
9375
+ attr_accessor :TotalCount, :ReviewTemplateSet, :RequestId
9376
+
9377
+ def initialize(totalcount=nil, reviewtemplateset=nil, requestid=nil)
9378
+ @TotalCount = totalcount
9379
+ @ReviewTemplateSet = reviewtemplateset
9380
+ @RequestId = requestid
9381
+ end
9382
+
9383
+ def deserialize(params)
9384
+ @TotalCount = params['TotalCount']
9385
+ unless params['ReviewTemplateSet'].nil?
9386
+ @ReviewTemplateSet = []
9387
+ params['ReviewTemplateSet'].each do |i|
9388
+ reviewtemplate_tmp = ReviewTemplate.new
9389
+ reviewtemplate_tmp.deserialize(i)
9390
+ @ReviewTemplateSet << reviewtemplate_tmp
9391
+ end
9392
+ end
9393
+ @RequestId = params['RequestId']
9394
+ end
9395
+ end
9396
+
9234
9397
  # DescribeSampleSnapshotTemplates请求参数结构体
9235
9398
  class DescribeSampleSnapshotTemplatesRequest < TencentCloud::Common::AbstractModel
9236
9399
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
@@ -11339,6 +11502,38 @@ module TencentCloud
11339
11502
  end
11340
11503
  end
11341
11504
 
11505
+ # 文件审核信息。
11506
+ class FileReviewInfo < TencentCloud::Common::AbstractModel
11507
+ # @param MediaReviewInfo: 媒体审核信息\*。
11508
+
11509
+ # \* 只展示通过 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 发起的审核结果信息。
11510
+ # 注意:此字段可能返回 null,表示取不到有效值。
11511
+ # @type MediaReviewInfo: :class:`Tencentcloud::Vod.v20180717.models.ReviewInfo`
11512
+ # @param CoverReviewInfo: 媒体封面审核信息\*。
11513
+
11514
+ # \* 只展示通过 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 发起的审核结果信息。
11515
+ # 注意:此字段可能返回 null,表示取不到有效值。
11516
+ # @type CoverReviewInfo: :class:`Tencentcloud::Vod.v20180717.models.ReviewInfo`
11517
+
11518
+ attr_accessor :MediaReviewInfo, :CoverReviewInfo
11519
+
11520
+ def initialize(mediareviewinfo=nil, coverreviewinfo=nil)
11521
+ @MediaReviewInfo = mediareviewinfo
11522
+ @CoverReviewInfo = coverreviewinfo
11523
+ end
11524
+
11525
+ def deserialize(params)
11526
+ unless params['MediaReviewInfo'].nil?
11527
+ @MediaReviewInfo = ReviewInfo.new
11528
+ @MediaReviewInfo.deserialize(params['MediaReviewInfo'])
11529
+ end
11530
+ unless params['CoverReviewInfo'].nil?
11531
+ @CoverReviewInfo = ReviewInfo.new
11532
+ @CoverReviewInfo.deserialize(params['CoverReviewInfo'])
11533
+ end
11534
+ end
11535
+ end
11536
+
11342
11537
  # 文件上传任务信息
11343
11538
  class FileUploadTask < TencentCloud::Common::AbstractModel
11344
11539
  # @param FileId: 文件唯一 ID。
@@ -13026,10 +13221,13 @@ module TencentCloud
13026
13221
  # @type SubtitleInfo: :class:`Tencentcloud::Vod.v20180717.models.MediaSubtitleInfo`
13027
13222
  # @param FileId: 媒体文件唯一标识 ID。
13028
13223
  # @type FileId: String
13224
+ # @param ReviewInfo: 审核信息。
13225
+ # 注意:此字段可能返回 null,表示取不到有效值。
13226
+ # @type ReviewInfo: :class:`Tencentcloud::Vod.v20180717.models.FileReviewInfo`
13029
13227
 
13030
- attr_accessor :BasicInfo, :MetaData, :TranscodeInfo, :AnimatedGraphicsInfo, :SampleSnapshotInfo, :ImageSpriteInfo, :SnapshotByTimeOffsetInfo, :KeyFrameDescInfo, :AdaptiveDynamicStreamingInfo, :MiniProgramReviewInfo, :SubtitleInfo, :FileId
13228
+ attr_accessor :BasicInfo, :MetaData, :TranscodeInfo, :AnimatedGraphicsInfo, :SampleSnapshotInfo, :ImageSpriteInfo, :SnapshotByTimeOffsetInfo, :KeyFrameDescInfo, :AdaptiveDynamicStreamingInfo, :MiniProgramReviewInfo, :SubtitleInfo, :FileId, :ReviewInfo
13031
13229
 
13032
- def initialize(basicinfo=nil, metadata=nil, transcodeinfo=nil, animatedgraphicsinfo=nil, samplesnapshotinfo=nil, imagespriteinfo=nil, snapshotbytimeoffsetinfo=nil, keyframedescinfo=nil, adaptivedynamicstreaminginfo=nil, miniprogramreviewinfo=nil, subtitleinfo=nil, fileid=nil)
13230
+ def initialize(basicinfo=nil, metadata=nil, transcodeinfo=nil, animatedgraphicsinfo=nil, samplesnapshotinfo=nil, imagespriteinfo=nil, snapshotbytimeoffsetinfo=nil, keyframedescinfo=nil, adaptivedynamicstreaminginfo=nil, miniprogramreviewinfo=nil, subtitleinfo=nil, fileid=nil, reviewinfo=nil)
13033
13231
  @BasicInfo = basicinfo
13034
13232
  @MetaData = metadata
13035
13233
  @TranscodeInfo = transcodeinfo
@@ -13042,6 +13240,7 @@ module TencentCloud
13042
13240
  @MiniProgramReviewInfo = miniprogramreviewinfo
13043
13241
  @SubtitleInfo = subtitleinfo
13044
13242
  @FileId = fileid
13243
+ @ReviewInfo = reviewinfo
13045
13244
  end
13046
13245
 
13047
13246
  def deserialize(params)
@@ -13090,6 +13289,10 @@ module TencentCloud
13090
13289
  @SubtitleInfo.deserialize(params['SubtitleInfo'])
13091
13290
  end
13092
13291
  @FileId = params['FileId']
13292
+ unless params['ReviewInfo'].nil?
13293
+ @ReviewInfo = FileReviewInfo.new
13294
+ @ReviewInfo.deserialize(params['ReviewInfo'])
13295
+ end
13093
13296
  end
13094
13297
  end
13095
13298
 
@@ -15363,6 +15566,64 @@ module TencentCloud
15363
15566
  end
15364
15567
  end
15365
15568
 
15569
+ # ModifyReviewTemplate请求参数结构体
15570
+ class ModifyReviewTemplateRequest < TencentCloud::Common::AbstractModel
15571
+ # @param Definition: 审核模板唯一标识。
15572
+ # @type Definition: Integer
15573
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
15574
+ # @type SubAppId: Integer
15575
+ # @param Name: 审核模板名称,长度限制:64 个字符。
15576
+ # @type Name: String
15577
+ # @param Comment: 审核模板描述信息,长度限制:256 个字符。
15578
+ # @type Comment: String
15579
+ # @param Labels: 需要返回的违规标签列表,可选值为:
15580
+ # <li>Porn:色情;</li>
15581
+ # <li>Terror:暴恐;</li>
15582
+ # <li>Polity:不适宜的信息;</li>
15583
+ # <li>Illegal:违法;</li>
15584
+ # <li>Religion:宗教;</li>
15585
+ # <li>Abuse:谩骂;</li>
15586
+ # <li>Ad:广告;</li>
15587
+ # <li>Moan:娇喘。</li>
15588
+
15589
+ # 注意:不填表示不更新。
15590
+ # @type Labels: Array
15591
+
15592
+ attr_accessor :Definition, :SubAppId, :Name, :Comment, :Labels
15593
+
15594
+ def initialize(definition=nil, subappid=nil, name=nil, comment=nil, labels=nil)
15595
+ @Definition = definition
15596
+ @SubAppId = subappid
15597
+ @Name = name
15598
+ @Comment = comment
15599
+ @Labels = labels
15600
+ end
15601
+
15602
+ def deserialize(params)
15603
+ @Definition = params['Definition']
15604
+ @SubAppId = params['SubAppId']
15605
+ @Name = params['Name']
15606
+ @Comment = params['Comment']
15607
+ @Labels = params['Labels']
15608
+ end
15609
+ end
15610
+
15611
+ # ModifyReviewTemplate返回参数结构体
15612
+ class ModifyReviewTemplateResponse < TencentCloud::Common::AbstractModel
15613
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15614
+ # @type RequestId: String
15615
+
15616
+ attr_accessor :RequestId
15617
+
15618
+ def initialize(requestid=nil)
15619
+ @RequestId = requestid
15620
+ end
15621
+
15622
+ def deserialize(params)
15623
+ @RequestId = params['RequestId']
15624
+ end
15625
+ end
15626
+
15366
15627
  # ModifySampleSnapshotTemplate请求参数结构体
15367
15628
  class ModifySampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
15368
15629
  # @param Definition: 采样截图模板唯一标识。
@@ -18989,6 +19250,93 @@ module TencentCloud
18989
19250
  end
18990
19251
  end
18991
19252
 
19253
+ # 审核信息。
19254
+ class ReviewInfo < TencentCloud::Common::AbstractModel
19255
+ # @param Definition: 审核模板 ID。
19256
+ # @type Definition: Integer
19257
+ # @param Suggestion: 审核的结果建议,取值范围:
19258
+ # <li>pass:建议通过;</li>
19259
+ # <li>review:建议复审;</li>
19260
+ # <li>block:建议封禁。</li>
19261
+ # @type Suggestion: String
19262
+ # @param TypeSet: 审核类型,当 Suggestion 为 review 或 block 时有效,格式为:Form.Label。
19263
+ # Form 表示违禁的形式,取值范围:
19264
+ # <li>Image:画面上的人物或图标;</li>
19265
+ # <li>OCR:画面上的文字;</li>
19266
+ # <li>ASR:语音中的文字;</li>
19267
+ # <li>Voice:声音。</li>
19268
+ # Label 表示违禁的标签,取值范围:
19269
+ # <li>Porn:色情;</li>
19270
+ # <li>Terror:暴恐;</li>
19271
+ # <li>Polity:不适宜的信息;</li>
19272
+ # <li>Ad:广告;</li>
19273
+ # <li>Illegal:违法;</li>
19274
+ # <li>Religion:宗教;</li>
19275
+ # <li>Abuse:谩骂;</li>
19276
+ # <li>Moan:娇喘。</li>
19277
+ # @type TypeSet: Array
19278
+ # @param ReviewTime: 审核时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
19279
+ # @type ReviewTime: String
19280
+
19281
+ attr_accessor :Definition, :Suggestion, :TypeSet, :ReviewTime
19282
+
19283
+ def initialize(definition=nil, suggestion=nil, typeset=nil, reviewtime=nil)
19284
+ @Definition = definition
19285
+ @Suggestion = suggestion
19286
+ @TypeSet = typeset
19287
+ @ReviewTime = reviewtime
19288
+ end
19289
+
19290
+ def deserialize(params)
19291
+ @Definition = params['Definition']
19292
+ @Suggestion = params['Suggestion']
19293
+ @TypeSet = params['TypeSet']
19294
+ @ReviewTime = params['ReviewTime']
19295
+ end
19296
+ end
19297
+
19298
+ # 审核模版详情
19299
+ class ReviewTemplate < TencentCloud::Common::AbstractModel
19300
+ # @param Definition: 审核模版唯一标签。
19301
+ # @type Definition: Integer
19302
+ # @param Name: 模板名称。
19303
+ # @type Name: String
19304
+ # @param Comment: 模板描述信息。
19305
+ # @type Comment: String
19306
+ # @param Type: 模板类型,可选值:
19307
+ # <li>Preset:系统预置模板;</li>
19308
+ # <li>Custom:用户自定义模板。</li>
19309
+ # @type Type: String
19310
+ # @param Labels: 需要返回的违规标签列表。
19311
+ # @type Labels: Array
19312
+ # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
19313
+ # @type CreateTime: String
19314
+ # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
19315
+ # @type UpdateTime: String
19316
+
19317
+ attr_accessor :Definition, :Name, :Comment, :Type, :Labels, :CreateTime, :UpdateTime
19318
+
19319
+ def initialize(definition=nil, name=nil, comment=nil, type=nil, labels=nil, createtime=nil, updatetime=nil)
19320
+ @Definition = definition
19321
+ @Name = name
19322
+ @Comment = comment
19323
+ @Type = type
19324
+ @Labels = labels
19325
+ @CreateTime = createtime
19326
+ @UpdateTime = updatetime
19327
+ end
19328
+
19329
+ def deserialize(params)
19330
+ @Definition = params['Definition']
19331
+ @Name = params['Name']
19332
+ @Comment = params['Comment']
19333
+ @Type = params['Type']
19334
+ @Labels = params['Labels']
19335
+ @CreateTime = params['CreateTime']
19336
+ @UpdateTime = params['UpdateTime']
19337
+ end
19338
+ end
19339
+
18992
19340
  # 华曦达(SDMC)相关的 DRM 密钥提供商信息。
18993
19341
  class SDMCDrmKeyProviderInfo < TencentCloud::Common::AbstractModel
18994
19342
  # @param Uid: 华曦达分配的用户 ID。最大长度为128个字符。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.476
4
+ version: 3.0.477
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-19 00:00:00.000000000 Z
11
+ date: 2022-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common