tencentcloud-sdk-vod 3.0.485 → 3.0.486

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/v20180717/models.rb +21 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9782967cdad9980c5263327564efd3ab514d222f
4
- data.tar.gz: 275e843fd6f6a48a8b33406c6388c7463f5dbf8a
3
+ metadata.gz: 7f8dd6f2f207b5e06090887a2e8744e68da59b69
4
+ data.tar.gz: 8dade3bf27a511382214ff72c7a313ef693e33bc
5
5
  SHA512:
6
- metadata.gz: a98f8a05e4ae392bd30848c12a7e22980c24ff07a18178a62a28d110275b7ecee8e1eb2b5baf1224937bea474c2a7800775a0a32e9d4f962c3c50c78e30c0aa0
7
- data.tar.gz: 987f6efc982d33e5763a5b9798ff5cf903364340e881d1bc9bc5aa2d4a1bdb1132f5d27f9eb757e88ebc6630aab69144f4992e1751d5af1a84c9053486b1d610
6
+ metadata.gz: 3b66d433636f7cdb8319c858f49ad684268d6833c8cbec093edca74eeba20ce44da0c3bf43a8292880760b66c0c9075b3d328d9a13095ce75ae81434c9aab6c8
7
+ data.tar.gz: e05c5a072856054f3ee63bc977af6d833af02b2173ddeea7c2cebb3ba54bac86ec1ee713d83bef93f90af6537f3e4e93e38e48e7384ab7b3c8fe893d8b508c7d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.485
1
+ 3.0.486
@@ -19000,7 +19000,12 @@ module TencentCloud
19000
19000
  # @type FileId: String
19001
19001
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
19002
19002
  # @type SubAppId: Integer
19003
- # @param Definition: 音视频审核模板 ID,默认值为 10。取值范围:
19003
+ # @param ReviewContents: 审核的内容,可选值有:
19004
+ # <li>Media:原始音视频;</li>
19005
+ # <li>Cover:封面。</li>
19006
+ # 不填或填空数组时,默认为审核 Media。
19007
+ # @type ReviewContents: Array
19008
+ # @param Definition: 审核模板 ID,默认值为 10。取值范围:
19004
19009
  # <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴恐(Terror)和不适宜的信息(Polity)。</li>
19005
19010
  # @type Definition: Integer
19006
19011
  # @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
@@ -19012,11 +19017,12 @@ module TencentCloud
19012
19017
  # @param ExtInfo: 保留字段,特殊用途时使用。
19013
19018
  # @type ExtInfo: String
19014
19019
 
19015
- attr_accessor :FileId, :SubAppId, :Definition, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
19020
+ attr_accessor :FileId, :SubAppId, :ReviewContents, :Definition, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
19016
19021
 
19017
- def initialize(fileid=nil, subappid=nil, definition=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
19022
+ def initialize(fileid=nil, subappid=nil, reviewcontents=nil, definition=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
19018
19023
  @FileId = fileid
19019
19024
  @SubAppId = subappid
19025
+ @ReviewContents = reviewcontents
19020
19026
  @Definition = definition
19021
19027
  @TasksPriority = taskspriority
19022
19028
  @SessionContext = sessioncontext
@@ -19027,6 +19033,7 @@ module TencentCloud
19027
19033
  def deserialize(params)
19028
19034
  @FileId = params['FileId']
19029
19035
  @SubAppId = params['SubAppId']
19036
+ @ReviewContents = params['ReviewContents']
19030
19037
  @Definition = params['Definition']
19031
19038
  @TasksPriority = params['TasksPriority']
19032
19039
  @SessionContext = params['SessionContext']
@@ -19240,16 +19247,20 @@ module TencentCloud
19240
19247
  # @type SegmentSetFileUrl: String
19241
19248
  # @param SegmentSetFileUrlExpireTime: 涉及违规信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
19242
19249
  # @type SegmentSetFileUrlExpireTime: String
19250
+ # @param CoverReviewResult: 封面审核结果。
19251
+ # 注意:此字段可能返回 null,表示取不到有效值。
19252
+ # @type CoverReviewResult: :class:`Tencentcloud::Vod.v20180717.models.ReviewImageResult`
19243
19253
 
19244
- attr_accessor :Suggestion, :Label, :Form, :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime
19254
+ attr_accessor :Suggestion, :Label, :Form, :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime, :CoverReviewResult
19245
19255
 
19246
- def initialize(suggestion=nil, label=nil, form=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil)
19256
+ def initialize(suggestion=nil, label=nil, form=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil, coverreviewresult=nil)
19247
19257
  @Suggestion = suggestion
19248
19258
  @Label = label
19249
19259
  @Form = form
19250
19260
  @SegmentSet = segmentset
19251
19261
  @SegmentSetFileUrl = segmentsetfileurl
19252
19262
  @SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
19263
+ @CoverReviewResult = coverreviewresult
19253
19264
  end
19254
19265
 
19255
19266
  def deserialize(params)
@@ -19266,6 +19277,10 @@ module TencentCloud
19266
19277
  end
19267
19278
  @SegmentSetFileUrl = params['SegmentSetFileUrl']
19268
19279
  @SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
19280
+ unless params['CoverReviewResult'].nil?
19281
+ @CoverReviewResult = ReviewImageResult.new
19282
+ @CoverReviewResult.deserialize(params['CoverReviewResult'])
19283
+ end
19269
19284
  end
19270
19285
  end
19271
19286
 
@@ -19297,7 +19312,7 @@ module TencentCloud
19297
19312
  # ReviewImage返回参数结构体
19298
19313
  class ReviewImageResponse < TencentCloud::Common::AbstractModel
19299
19314
  # @param ReviewResultSet: 图片审核任务结果。
19300
- # <font color=red>注意:该字段已废弃,建议使用 ReviewResult。</font>
19315
+ # <font color=red>注意:该字段已废弃,建议使用 MediaReviewResult。</font>
19301
19316
  # @type ReviewResultSet: Array
19302
19317
  # @param MediaReviewResult: 图片审核任务结果。
19303
19318
  # 注意:此字段可能返回 null,表示取不到有效值。
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.485
4
+ version: 3.0.486
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-03 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common