tencentcloud-sdk-vod 3.0.462 → 3.0.463

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 +28 -32
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fbe61ab0fc27b72e90f59f2fdfc194bd3e7fde3
4
- data.tar.gz: f894ed11beb07fbb2d037a25fda40dbba8dbbb6b
3
+ metadata.gz: fa7cd7ab21a100efaefa808ed3029018cb8883b8
4
+ data.tar.gz: 5785b9fc8fa97a6adf0a89ac7ac091eb6f5f4b04
5
5
  SHA512:
6
- metadata.gz: 378ffddda95b1231ebefb0a16a86a9b07f2cc4136befcddf58fa14c1048ddd8b4bb3d236330fad7c1ad4b60f75f2ab83a6b352bf194942999e4b5d7348c531b0
7
- data.tar.gz: 0599400626d24c517472e74368ea267316aeb96a13726dfafa955c50b8c2a9771990f520ca3e15d070082ece616f97b8d0ce7f6b69fe90ebe98475d6a27a8309
6
+ metadata.gz: 700f36e06c974fbf57f89e873ef49c30aa2c4e1f902fc889a56af9521142f60c6ce3a5896a74c7f713afbca46b1005ee7da87b45419ee94897707dcc14ac9c16
7
+ data.tar.gz: 372020e82f2b56f5fcd4e9805ce0b2770320a3f20bcf007d2565c7332d87d0585654b046dfd5685db7616e75b42fbc25b802d39aff3958a78ad3083789d6736b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.462
1
+ 3.0.463
@@ -18521,6 +18521,9 @@ module TencentCloud
18521
18521
  # @type FileId: String
18522
18522
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
18523
18523
  # @type SubAppId: Integer
18524
+ # @param Definition: 音视频审核模板 ID,默认值为 10。取值范围:
18525
+ # <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴恐(Terror)和不适宜的信息(Polity)。</li>
18526
+ # @type Definition: Integer
18524
18527
  # @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
18525
18528
  # @type TasksPriority: Integer
18526
18529
  # @param SessionContext: 来源上下文,用于透传用户请求信息,音视频审核完成回调将返回该字段值,最长 1000 个字符。
@@ -18530,11 +18533,12 @@ module TencentCloud
18530
18533
  # @param ExtInfo: 保留字段,特殊用途时使用。
18531
18534
  # @type ExtInfo: String
18532
18535
 
18533
- attr_accessor :FileId, :SubAppId, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
18536
+ attr_accessor :FileId, :SubAppId, :Definition, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
18534
18537
 
18535
- def initialize(fileid=nil, subappid=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
18538
+ def initialize(fileid=nil, subappid=nil, definition=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
18536
18539
  @FileId = fileid
18537
18540
  @SubAppId = subappid
18541
+ @Definition = definition
18538
18542
  @TasksPriority = taskspriority
18539
18543
  @SessionContext = sessioncontext
18540
18544
  @SessionId = sessionid
@@ -18544,6 +18548,7 @@ module TencentCloud
18544
18548
  def deserialize(params)
18545
18549
  @FileId = params['FileId']
18546
18550
  @SubAppId = params['SubAppId']
18551
+ @Definition = params['Definition']
18547
18552
  @TasksPriority = params['TasksPriority']
18548
18553
  @SessionContext = params['SessionContext']
18549
18554
  @SessionId = params['SessionId']
@@ -18585,33 +18590,15 @@ module TencentCloud
18585
18590
  # @type Suggestion: String
18586
18591
  # @param Label: 嫌疑片段最可能的违规的标签,取值范围:
18587
18592
  # <li>Porn:色情;</li>
18588
- # <li>Terrorism:暴恐;</li>
18589
- # <li>Political:令人不适宜的信息。</li>
18593
+ # <li>Terror:暴恐;</li>
18594
+ # <li>Polity:不适宜的信息;</li>
18595
+ # <li>Ad:广告;</li>
18596
+ # <li>Illegal:违法;</li>
18597
+ # <li>Religion:宗教;</li>
18598
+ # <li>Abuse:谩骂;</li>
18599
+ # <li>Moan:娇喘。</li>
18590
18600
  # @type Label: String
18591
- # @param SubLabel: 当 Form 为 Image 或 Voice 时有效,表示当前标签(Label)下的二级标签。
18592
- # 当 Form 为 Image 且 Label 为 Porn 时,取值范围:
18593
- # <li>porn:色情;</li>
18594
- # <li>vulgar:低俗。</li>
18595
-
18596
- # 当 Form 为 Image 且 Label 为 Terrorism 时,取值范围:
18597
- # <li>guns:武器枪支;</li>
18598
- # <li>bloody:血腥画面;</li>
18599
- # <li>banners:暴恐旗帜;</li>
18600
- # <li> scenario:暴恐画面;</li>
18601
- # <li>explosion:爆炸火灾。</li>
18602
-
18603
- # 当 Form 为 Image 且 Label 为 Political 时,取值范围:
18604
- # <li>violation_photo:违规图标;</li>
18605
- # <li>nation_politician:国家领导人;</li>
18606
- # <li>province_politician:省部级领导人;</li>
18607
- # <li>county_politician:市/县级领导人;</li>
18608
- # <li>sensitive_politician:敏感相关人物;</li>
18609
- # <li>foreign_politician:国外政治人物;</li>
18610
- # <li>sensitive_entertainment:敏感娱乐明星;</li>
18611
- # <li>sensitive_military:敏感军事人物。</li>
18612
-
18613
- # 当 Form 为 Voice 且 Label 为 Porn 时,取值范围:
18614
- # <li>moan:娇喘。</li>
18601
+ # @param SubLabel: 违规子标签。
18615
18602
  # @type SubLabel: String
18616
18603
  # @param Form: 嫌疑片段违禁的形式,取值范围:
18617
18604
  # <li>Image:画面上的人物或图标;</li>
@@ -18713,15 +18700,19 @@ module TencentCloud
18713
18700
  class ReviewAudioVideoTaskInput < TencentCloud::Common::AbstractModel
18714
18701
  # @param FileId: 媒体文件 ID。
18715
18702
  # @type FileId: String
18703
+ # @param Definition: 音视频审核模板 ID。
18704
+ # @type Definition: Integer
18716
18705
 
18717
- attr_accessor :FileId
18706
+ attr_accessor :FileId, :Definition
18718
18707
 
18719
- def initialize(fileid=nil)
18708
+ def initialize(fileid=nil, definition=nil)
18720
18709
  @FileId = fileid
18710
+ @Definition = definition
18721
18711
  end
18722
18712
 
18723
18713
  def deserialize(params)
18724
18714
  @FileId = params['FileId']
18715
+ @Definition = params['Definition']
18725
18716
  end
18726
18717
  end
18727
18718
 
@@ -18734,8 +18725,13 @@ module TencentCloud
18734
18725
  # @type Suggestion: String
18735
18726
  # @param Label: 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违规的标签,取值范围:
18736
18727
  # <li>Porn:色情;</li>
18737
- # <li>Terrorism:暴恐;</li>
18738
- # <li>Political:令人不适宜的信息。</li>
18728
+ # <li>Terror:暴恐;</li>
18729
+ # <li>Polity:不适宜的信息;</li>
18730
+ # <li>Ad:广告;</li>
18731
+ # <li>Illegal:违法;</li>
18732
+ # <li>Religion:宗教;</li>
18733
+ # <li>Abuse:谩骂;</li>
18734
+ # <li>Moan:娇喘。</li>
18739
18735
  # @type Label: String
18740
18736
  # @param Form: 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违禁的形式,取值范围:
18741
18737
  # <li>Image:画面上的人物或图标;</li>
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.462
4
+ version: 3.0.463
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-11-30 00:00:00.000000000 Z
11
+ date: 2022-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common