tencentcloud-sdk-live 3.0.1100 → 3.0.1102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180801/models.rb +219 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7bb27511f2ad786f05b5e0440cd49a973943376
4
- data.tar.gz: f40857bdabf535eb07f8a460d26ac31fdd2e72e0
3
+ metadata.gz: 8552b0d2eb7bb532437c8054fbe475d85ac3c537
4
+ data.tar.gz: 66fa57e23304a5563fcac6b023e12890657a110a
5
5
  SHA512:
6
- metadata.gz: f6407a9d50191268cb44ab867c624f99297b06caeeddec6d2aa5f5376a893c3af2b824da72b68ed42761f94b56ca1710511ff727477ac0edd516c6671cc42a42
7
- data.tar.gz: 7aba2c95bafcdeb9b2ecf9f2d1a81e196c399a6ea245a6366e659ed46c6e749038d577915442cf5694bdc5b289631f48f24b4e750080bba6b003afb1dc24643c
6
+ metadata.gz: 6d8acd423039db70b606ce526d5c7b64b2221d39afeb61257d2bb7b18b0c86b20f0ea2aa3eb7c6d1ad5c559d0c2fc350afdf7a07649a5daf36a96601150db1d7
7
+ data.tar.gz: a74a89d7c24f932a92f3fd6b6b3c2af59240657edfe5ef2a3f198d03fabf963bebf78c0c7a76fe8284028824b1eca57f412b1b473862b7ed074bf7b120fa2f03
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1100
1
+ 3.0.1102
@@ -411,6 +411,86 @@ module TencentCloud
411
411
  end
412
412
  end
413
413
 
414
+ # 直播审核关键词信息
415
+ class AuditKeyword < TencentCloud::Common::AbstractModel
416
+ # @param Content: 关键词内容。
417
+ # @type Content: String
418
+ # @param Label: 关键词标签。
419
+ # 可取值:Normal: 正常 ,Polity: 政治,Porn: 色情,Sexy:性感,Ad: 广告,Illegal: 违法,Abuse: 谩骂,Terror: 暴恐,Spam: 灌水,Moan:呻吟。
420
+ # @type Label: String
421
+
422
+ attr_accessor :Content, :Label
423
+
424
+ def initialize(content=nil, label=nil)
425
+ @Content = content
426
+ @Label = label
427
+ end
428
+
429
+ def deserialize(params)
430
+ @Content = params['Content']
431
+ @Label = params['Label']
432
+ end
433
+ end
434
+
435
+ # 直播审核删除关键词结果详情。
436
+ class AuditKeywordDeleteDetail < TencentCloud::Common::AbstractModel
437
+ # @param KeywordId: 关键词 Id。
438
+ # @type KeywordId: String
439
+ # @param Content: 关键词内容。
440
+ # @type Content: String
441
+ # @param Deleted: 是否删除成功。
442
+ # @type Deleted: Boolean
443
+ # @param Error: 如果删除失败,错误信息。
444
+ # @type Error: String
445
+
446
+ attr_accessor :KeywordId, :Content, :Deleted, :Error
447
+
448
+ def initialize(keywordid=nil, content=nil, deleted=nil, error=nil)
449
+ @KeywordId = keywordid
450
+ @Content = content
451
+ @Deleted = deleted
452
+ @Error = error
453
+ end
454
+
455
+ def deserialize(params)
456
+ @KeywordId = params['KeywordId']
457
+ @Content = params['Content']
458
+ @Deleted = params['Deleted']
459
+ @Error = params['Error']
460
+ end
461
+ end
462
+
463
+ # 直播审核关键词查询信息。
464
+ class AuditKeywordInfo < TencentCloud::Common::AbstractModel
465
+ # @param KeywordId: 关键词 Id。
466
+ # @type KeywordId: String
467
+ # @param Content: 关键词内容。
468
+ # @type Content: String
469
+ # @param Label: 关键词标签。
470
+ # 可取值:Normal: 正常 ,Polity: 政治,Porn: 色情,Sexy:性感,Ad: 广告,Illegal: 违法,Abuse: 谩骂,Terror: 暴恐,Spam: 灌水,Moan:呻吟。
471
+ # @type Label: String
472
+ # @param CreateTime: 创建时间。UTC 格式,例如:2018-11-29T19:00:00Z。
473
+ # 注意:
474
+ # 1. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示。
475
+ # @type CreateTime: String
476
+
477
+ attr_accessor :KeywordId, :Content, :Label, :CreateTime
478
+
479
+ def initialize(keywordid=nil, content=nil, label=nil, createtime=nil)
480
+ @KeywordId = keywordid
481
+ @Content = content
482
+ @Label = label
483
+ @CreateTime = createtime
484
+ end
485
+
486
+ def deserialize(params)
487
+ @KeywordId = params['KeywordId']
488
+ @Content = params['Content']
489
+ @Label = params['Label']
490
+ @CreateTime = params['CreateTime']
491
+ end
492
+ end
493
+
414
494
  # AuthenticateDomainOwner请求参数结构体
415
495
  class AuthenticateDomainOwnerRequest < TencentCloud::Common::AbstractModel
416
496
  # @param DomainName: 要验证的域名。
@@ -1997,27 +2077,58 @@ module TencentCloud
1997
2077
 
1998
2078
  # CreateAuditKeywords请求参数结构体
1999
2079
  class CreateAuditKeywordsRequest < TencentCloud::Common::AbstractModel
2080
+ # @param Keywords: 关键词列表。
2081
+ # @type Keywords: Array
2082
+ # @param LibId: 直播审核词库Id。
2083
+ # @type LibId: String
2000
2084
 
2085
+ attr_accessor :Keywords, :LibId
2001
2086
 
2002
- def initialize()
2087
+ def initialize(keywords=nil, libid=nil)
2088
+ @Keywords = keywords
2089
+ @LibId = libid
2003
2090
  end
2004
2091
 
2005
2092
  def deserialize(params)
2093
+ unless params['Keywords'].nil?
2094
+ @Keywords = []
2095
+ params['Keywords'].each do |i|
2096
+ auditkeyword_tmp = AuditKeyword.new
2097
+ auditkeyword_tmp.deserialize(i)
2098
+ @Keywords << auditkeyword_tmp
2099
+ end
2100
+ end
2101
+ @LibId = params['LibId']
2006
2102
  end
2007
2103
  end
2008
2104
 
2009
2105
  # CreateAuditKeywords返回参数结构体
2010
2106
  class CreateAuditKeywordsResponse < TencentCloud::Common::AbstractModel
2107
+ # @param KeywordIds: 添加成功的关键词 Id 列表。
2108
+ # @type KeywordIds: Array
2109
+ # @param DupInfos: 重复关键词列表。
2110
+ # @type DupInfos: Array
2011
2111
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2012
2112
  # @type RequestId: String
2013
2113
 
2014
- attr_accessor :RequestId
2114
+ attr_accessor :KeywordIds, :DupInfos, :RequestId
2015
2115
 
2016
- def initialize(requestid=nil)
2116
+ def initialize(keywordids=nil, dupinfos=nil, requestid=nil)
2117
+ @KeywordIds = keywordids
2118
+ @DupInfos = dupinfos
2017
2119
  @RequestId = requestid
2018
2120
  end
2019
2121
 
2020
2122
  def deserialize(params)
2123
+ @KeywordIds = params['KeywordIds']
2124
+ unless params['DupInfos'].nil?
2125
+ @DupInfos = []
2126
+ params['DupInfos'].each do |i|
2127
+ auditkeywordinfo_tmp = AuditKeywordInfo.new
2128
+ auditkeywordinfo_tmp.deserialize(i)
2129
+ @DupInfos << auditkeywordinfo_tmp
2130
+ end
2131
+ end
2021
2132
  @RequestId = params['RequestId']
2022
2133
  end
2023
2134
  end
@@ -3585,10 +3696,16 @@ module TencentCloud
3585
3696
  # @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
3586
3697
  # 不传递或者为空字符串,清空之前的DRM配置。
3587
3698
  # @type DRMTracks: String
3699
+ # @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
3700
+ # 0:否。
3701
+ # 1:是。
3702
+ # @type IsAdaptiveBitRate: Integer
3703
+ # @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
3704
+ # @type AdaptiveChildren: Array
3588
3705
 
3589
- attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
3706
+ attr_accessor :TemplateName, :VideoBitrate, :Acodec, :AudioBitrate, :Vcodec, :Description, :NeedVideo, :Width, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AiTransCode, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks, :IsAdaptiveBitRate, :AdaptiveChildren
3590
3707
 
3591
- def initialize(templatename=nil, videobitrate=nil, acodec=nil, audiobitrate=nil, vcodec=nil, description=nil, needvideo=nil, width=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, aitranscode=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil)
3708
+ def initialize(templatename=nil, videobitrate=nil, acodec=nil, audiobitrate=nil, vcodec=nil, description=nil, needvideo=nil, width=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, aitranscode=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil, isadaptivebitrate=nil, adaptivechildren=nil)
3592
3709
  @TemplateName = templatename
3593
3710
  @VideoBitrate = videobitrate
3594
3711
  @Acodec = acodec
@@ -3611,6 +3728,8 @@ module TencentCloud
3611
3728
  @ShortEdgeAsHeight = shortedgeasheight
3612
3729
  @DRMType = drmtype
3613
3730
  @DRMTracks = drmtracks
3731
+ @IsAdaptiveBitRate = isadaptivebitrate
3732
+ @AdaptiveChildren = adaptivechildren
3614
3733
  end
3615
3734
 
3616
3735
  def deserialize(params)
@@ -3636,6 +3755,15 @@ module TencentCloud
3636
3755
  @ShortEdgeAsHeight = params['ShortEdgeAsHeight']
3637
3756
  @DRMType = params['DRMType']
3638
3757
  @DRMTracks = params['DRMTracks']
3758
+ @IsAdaptiveBitRate = params['IsAdaptiveBitRate']
3759
+ unless params['AdaptiveChildren'].nil?
3760
+ @AdaptiveChildren = []
3761
+ params['AdaptiveChildren'].each do |i|
3762
+ childtemplateinfo_tmp = ChildTemplateInfo.new
3763
+ childtemplateinfo_tmp.deserialize(i)
3764
+ @AdaptiveChildren << childtemplateinfo_tmp
3765
+ end
3766
+ end
3639
3767
  end
3640
3768
  end
3641
3769
 
@@ -3999,27 +4127,51 @@ module TencentCloud
3999
4127
 
4000
4128
  # DeleteAuditKeywords请求参数结构体
4001
4129
  class DeleteAuditKeywordsRequest < TencentCloud::Common::AbstractModel
4130
+ # @param KeywordIds: 要删除的关键词 Id 列表。
4131
+ # @type KeywordIds: Array
4132
+ # @param LibId: 关键词库 Id。
4133
+ # @type LibId: String
4002
4134
 
4135
+ attr_accessor :KeywordIds, :LibId
4003
4136
 
4004
- def initialize()
4137
+ def initialize(keywordids=nil, libid=nil)
4138
+ @KeywordIds = keywordids
4139
+ @LibId = libid
4005
4140
  end
4006
4141
 
4007
4142
  def deserialize(params)
4143
+ @KeywordIds = params['KeywordIds']
4144
+ @LibId = params['LibId']
4008
4145
  end
4009
4146
  end
4010
4147
 
4011
4148
  # DeleteAuditKeywords返回参数结构体
4012
4149
  class DeleteAuditKeywordsResponse < TencentCloud::Common::AbstractModel
4150
+ # @param SuccessCount: 成功删除关键词的数量。
4151
+ # @type SuccessCount: Integer
4152
+ # @param Infos: 关键词详情列表。
4153
+ # @type Infos: Array
4013
4154
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4014
4155
  # @type RequestId: String
4015
4156
 
4016
- attr_accessor :RequestId
4157
+ attr_accessor :SuccessCount, :Infos, :RequestId
4017
4158
 
4018
- def initialize(requestid=nil)
4159
+ def initialize(successcount=nil, infos=nil, requestid=nil)
4160
+ @SuccessCount = successcount
4161
+ @Infos = infos
4019
4162
  @RequestId = requestid
4020
4163
  end
4021
4164
 
4022
4165
  def deserialize(params)
4166
+ @SuccessCount = params['SuccessCount']
4167
+ unless params['Infos'].nil?
4168
+ @Infos = []
4169
+ params['Infos'].each do |i|
4170
+ auditkeyworddeletedetail_tmp = AuditKeywordDeleteDetail.new
4171
+ auditkeyworddeletedetail_tmp.deserialize(i)
4172
+ @Infos << auditkeyworddeletedetail_tmp
4173
+ end
4174
+ end
4023
4175
  @RequestId = params['RequestId']
4024
4176
  end
4025
4177
  end
@@ -5114,27 +5266,64 @@ module TencentCloud
5114
5266
 
5115
5267
  # DescribeAuditKeywords请求参数结构体
5116
5268
  class DescribeAuditKeywordsRequest < TencentCloud::Common::AbstractModel
5269
+ # @param Offset: 获取偏移量。
5270
+ # @type Offset: Integer
5271
+ # @param Limit: 单页条数,最大为100条,超过则按100条返回。
5272
+ # @type Limit: Integer
5273
+ # @param LibId: 关键词库 Id。
5274
+ # @type LibId: String
5275
+ # @param Content: 关键词搜索字段。
5276
+ # 为空字符串时忽略。
5277
+ # @type Content: String
5278
+ # @param Labels: 标签类别搜索。
5279
+ # @type Labels: Array
5117
5280
 
5281
+ attr_accessor :Offset, :Limit, :LibId, :Content, :Labels
5118
5282
 
5119
- def initialize()
5283
+ def initialize(offset=nil, limit=nil, libid=nil, content=nil, labels=nil)
5284
+ @Offset = offset
5285
+ @Limit = limit
5286
+ @LibId = libid
5287
+ @Content = content
5288
+ @Labels = labels
5120
5289
  end
5121
5290
 
5122
5291
  def deserialize(params)
5292
+ @Offset = params['Offset']
5293
+ @Limit = params['Limit']
5294
+ @LibId = params['LibId']
5295
+ @Content = params['Content']
5296
+ @Labels = params['Labels']
5123
5297
  end
5124
5298
  end
5125
5299
 
5126
5300
  # DescribeAuditKeywords返回参数结构体
5127
5301
  class DescribeAuditKeywordsResponse < TencentCloud::Common::AbstractModel
5302
+ # @param Total: 关键词总条数。
5303
+ # @type Total: Integer
5304
+ # @param Infos: 关键词详情列表。
5305
+ # @type Infos: Array
5128
5306
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5129
5307
  # @type RequestId: String
5130
5308
 
5131
- attr_accessor :RequestId
5309
+ attr_accessor :Total, :Infos, :RequestId
5132
5310
 
5133
- def initialize(requestid=nil)
5311
+ def initialize(total=nil, infos=nil, requestid=nil)
5312
+ @Total = total
5313
+ @Infos = infos
5134
5314
  @RequestId = requestid
5135
5315
  end
5136
5316
 
5137
5317
  def deserialize(params)
5318
+ @Total = params['Total']
5319
+ unless params['Infos'].nil?
5320
+ @Infos = []
5321
+ params['Infos'].each do |i|
5322
+ auditkeywordinfo_tmp = AuditKeywordInfo.new
5323
+ auditkeywordinfo_tmp.deserialize(i)
5324
+ @Infos << auditkeywordinfo_tmp
5325
+ end
5326
+ end
5138
5327
  @RequestId = params['RequestId']
5139
5328
  end
5140
5329
  end
@@ -12845,10 +13034,16 @@ module TencentCloud
12845
13034
  # @param DRMTracks: DRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
12846
13035
  # 不传递或者为空字符串,清空之前的DRM配置。
12847
13036
  # @type DRMTracks: String
13037
+ # @param IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
13038
+ # 0:否。
13039
+ # 1:是。
13040
+ # @type IsAdaptiveBitRate: Integer
13041
+ # @param AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
13042
+ # @type AdaptiveChildren: Array
12848
13043
 
12849
- attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks
13044
+ attr_accessor :TemplateId, :Vcodec, :Acodec, :AudioBitrate, :Description, :VideoBitrate, :Width, :NeedVideo, :NeedAudio, :Height, :Fps, :Gop, :Rotate, :Profile, :BitrateToOrig, :HeightToOrig, :FpsToOrig, :AdaptBitratePercent, :ShortEdgeAsHeight, :DRMType, :DRMTracks, :IsAdaptiveBitRate, :AdaptiveChildren
12850
13045
 
12851
- def initialize(templateid=nil, vcodec=nil, acodec=nil, audiobitrate=nil, description=nil, videobitrate=nil, width=nil, needvideo=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil)
13046
+ def initialize(templateid=nil, vcodec=nil, acodec=nil, audiobitrate=nil, description=nil, videobitrate=nil, width=nil, needvideo=nil, needaudio=nil, height=nil, fps=nil, gop=nil, rotate=nil, profile=nil, bitratetoorig=nil, heighttoorig=nil, fpstoorig=nil, adaptbitratepercent=nil, shortedgeasheight=nil, drmtype=nil, drmtracks=nil, isadaptivebitrate=nil, adaptivechildren=nil)
12852
13047
  @TemplateId = templateid
12853
13048
  @Vcodec = vcodec
12854
13049
  @Acodec = acodec
@@ -12870,6 +13065,8 @@ module TencentCloud
12870
13065
  @ShortEdgeAsHeight = shortedgeasheight
12871
13066
  @DRMType = drmtype
12872
13067
  @DRMTracks = drmtracks
13068
+ @IsAdaptiveBitRate = isadaptivebitrate
13069
+ @AdaptiveChildren = adaptivechildren
12873
13070
  end
12874
13071
 
12875
13072
  def deserialize(params)
@@ -12894,6 +13091,15 @@ module TencentCloud
12894
13091
  @ShortEdgeAsHeight = params['ShortEdgeAsHeight']
12895
13092
  @DRMType = params['DRMType']
12896
13093
  @DRMTracks = params['DRMTracks']
13094
+ @IsAdaptiveBitRate = params['IsAdaptiveBitRate']
13095
+ unless params['AdaptiveChildren'].nil?
13096
+ @AdaptiveChildren = []
13097
+ params['AdaptiveChildren'].each do |i|
13098
+ childtemplateinfo_tmp = ChildTemplateInfo.new
13099
+ childtemplateinfo_tmp.deserialize(i)
13100
+ @AdaptiveChildren << childtemplateinfo_tmp
13101
+ end
13102
+ end
12897
13103
  end
12898
13104
  end
12899
13105
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1100
4
+ version: 3.0.1102
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-13 00:00:00.000000000 Z
11
+ date: 2025-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common