tencentcloud-sdk-live 3.0.1098 → 3.0.1100

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20cb450ef7a2d17774529e56a54dca825eee936d
4
- data.tar.gz: d843ac8c00005abf8371407c0f10c6e44b6bb7fb
3
+ metadata.gz: b7bb27511f2ad786f05b5e0440cd49a973943376
4
+ data.tar.gz: f40857bdabf535eb07f8a460d26ac31fdd2e72e0
5
5
  SHA512:
6
- metadata.gz: 8e550e90a5d0140b09c3d23e25ba134345a687ed295b71187f3e77eac92b72348cd59715495fd0c08e12c98291ef3c6732f255c2513bb58fd704eb322b7b7c32
7
- data.tar.gz: 2b3f009b6dce0926e1d88f05e43695bae8ee824da571b2264800fff35d457ab244cdb70f87f5b3592ea0c03b207fe66e9a280a1bea7fc07cb501583f22cac919
6
+ metadata.gz: f6407a9d50191268cb44ab867c624f99297b06caeeddec6d2aa5f5376a893c3af2b824da72b68ed42761f94b56ca1710511ff727477ac0edd516c6671cc42a42
7
+ data.tar.gz: 7aba2c95bafcdeb9b2ecf9f2d1a81e196c399a6ea245a6366e659ed46c6e749038d577915442cf5694bdc5b289631f48f24b4e750080bba6b003afb1dc24643c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1098
1
+ 3.0.1100
@@ -295,6 +295,30 @@ module TencentCloud
295
295
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
296
296
  end
297
297
 
298
+ # 创建关键词,并关联到关键词库。
299
+
300
+ # @param request: Request instance for CreateAuditKeywords.
301
+ # @type request: :class:`Tencentcloud::live::V20180801::CreateAuditKeywordsRequest`
302
+ # @rtype: :class:`Tencentcloud::live::V20180801::CreateAuditKeywordsResponse`
303
+ def CreateAuditKeywords(request)
304
+ body = send_request('CreateAuditKeywords', request.serialize)
305
+ response = JSON.parse(body)
306
+ if response['Response'].key?('Error') == false
307
+ model = CreateAuditKeywordsResponse.new
308
+ model.deserialize(response['Response'])
309
+ model
310
+ else
311
+ code = response['Response']['Error']['Code']
312
+ message = response['Response']['Error']['Message']
313
+ reqid = response['Response']['RequestId']
314
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
315
+ end
316
+ rescue TencentCloud::Common::TencentCloudSDKException => e
317
+ raise e
318
+ rescue StandardError => e
319
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
+ end
321
+
298
322
  # 该接口用来创建新的导播台
299
323
 
300
324
  # @param request: Request instance for CreateCaster.
@@ -951,6 +975,30 @@ module TencentCloud
951
975
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
952
976
  end
953
977
 
978
+ # 删除关键词信息。
979
+
980
+ # @param request: Request instance for DeleteAuditKeywords.
981
+ # @type request: :class:`Tencentcloud::live::V20180801::DeleteAuditKeywordsRequest`
982
+ # @rtype: :class:`Tencentcloud::live::V20180801::DeleteAuditKeywordsResponse`
983
+ def DeleteAuditKeywords(request)
984
+ body = send_request('DeleteAuditKeywords', request.serialize)
985
+ response = JSON.parse(body)
986
+ if response['Response'].key?('Error') == false
987
+ model = DeleteAuditKeywordsResponse.new
988
+ model.deserialize(response['Response'])
989
+ model
990
+ else
991
+ code = response['Response']['Error']['Code']
992
+ message = response['Response']['Error']['Message']
993
+ reqid = response['Response']['RequestId']
994
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
995
+ end
996
+ rescue TencentCloud::Common::TencentCloudSDKException => e
997
+ raise e
998
+ rescue StandardError => e
999
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1000
+ end
1001
+
954
1002
  # 该接口用来删除一个导播台的所有信息。
955
1003
  # 注意,调用该接口后,所有的导播台信息将被清除,包括正在直播的内容也将直接中断。
956
1004
 
@@ -1654,6 +1702,30 @@ module TencentCloud
1654
1702
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1655
1703
  end
1656
1704
 
1705
+ # 获取关键词信息。
1706
+
1707
+ # @param request: Request instance for DescribeAuditKeywords.
1708
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeAuditKeywordsRequest`
1709
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeAuditKeywordsResponse`
1710
+ def DescribeAuditKeywords(request)
1711
+ body = send_request('DescribeAuditKeywords', request.serialize)
1712
+ response = JSON.parse(body)
1713
+ if response['Response'].key?('Error') == false
1714
+ model = DescribeAuditKeywordsResponse.new
1715
+ model.deserialize(response['Response'])
1716
+ model
1717
+ else
1718
+ code = response['Response']['Error']['Code']
1719
+ message = response['Response']['Error']['Message']
1720
+ reqid = response['Response']['RequestId']
1721
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1722
+ end
1723
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1724
+ raise e
1725
+ rescue StandardError => e
1726
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1727
+ end
1728
+
1657
1729
  # 返回正在直播中的流列表。适用于推流成功后查询在线流信息。
1658
1730
 
1659
1731
  # 注意:
@@ -1995,6 +1995,33 @@ module TencentCloud
1995
1995
  end
1996
1996
  end
1997
1997
 
1998
+ # CreateAuditKeywords请求参数结构体
1999
+ class CreateAuditKeywordsRequest < TencentCloud::Common::AbstractModel
2000
+
2001
+
2002
+ def initialize()
2003
+ end
2004
+
2005
+ def deserialize(params)
2006
+ end
2007
+ end
2008
+
2009
+ # CreateAuditKeywords返回参数结构体
2010
+ class CreateAuditKeywordsResponse < TencentCloud::Common::AbstractModel
2011
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2012
+ # @type RequestId: String
2013
+
2014
+ attr_accessor :RequestId
2015
+
2016
+ def initialize(requestid=nil)
2017
+ @RequestId = requestid
2018
+ end
2019
+
2020
+ def deserialize(params)
2021
+ @RequestId = params['RequestId']
2022
+ end
2023
+ end
2024
+
1998
2025
  # CreateCasterInputPushUrl请求参数结构体
1999
2026
  class CreateCasterInputPushUrlRequest < TencentCloud::Common::AbstractModel
2000
2027
  # @param CasterId: 导播台ID
@@ -3970,6 +3997,33 @@ module TencentCloud
3970
3997
  end
3971
3998
  end
3972
3999
 
4000
+ # DeleteAuditKeywords请求参数结构体
4001
+ class DeleteAuditKeywordsRequest < TencentCloud::Common::AbstractModel
4002
+
4003
+
4004
+ def initialize()
4005
+ end
4006
+
4007
+ def deserialize(params)
4008
+ end
4009
+ end
4010
+
4011
+ # DeleteAuditKeywords返回参数结构体
4012
+ class DeleteAuditKeywordsResponse < TencentCloud::Common::AbstractModel
4013
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4014
+ # @type RequestId: String
4015
+
4016
+ attr_accessor :RequestId
4017
+
4018
+ def initialize(requestid=nil)
4019
+ @RequestId = requestid
4020
+ end
4021
+
4022
+ def deserialize(params)
4023
+ @RequestId = params['RequestId']
4024
+ end
4025
+ end
4026
+
3973
4027
  # DeleteCasterInputInfo请求参数结构体
3974
4028
  class DeleteCasterInputInfoRequest < TencentCloud::Common::AbstractModel
3975
4029
  # @param CasterId: 导播台ID
@@ -5058,6 +5112,33 @@ module TencentCloud
5058
5112
  end
5059
5113
  end
5060
5114
 
5115
+ # DescribeAuditKeywords请求参数结构体
5116
+ class DescribeAuditKeywordsRequest < TencentCloud::Common::AbstractModel
5117
+
5118
+
5119
+ def initialize()
5120
+ end
5121
+
5122
+ def deserialize(params)
5123
+ end
5124
+ end
5125
+
5126
+ # DescribeAuditKeywords返回参数结构体
5127
+ class DescribeAuditKeywordsResponse < TencentCloud::Common::AbstractModel
5128
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5129
+ # @type RequestId: String
5130
+
5131
+ attr_accessor :RequestId
5132
+
5133
+ def initialize(requestid=nil)
5134
+ @RequestId = requestid
5135
+ end
5136
+
5137
+ def deserialize(params)
5138
+ @RequestId = params['RequestId']
5139
+ end
5140
+ end
5141
+
5061
5142
  # DescribeBackupStreamList请求参数结构体
5062
5143
  class DescribeBackupStreamListRequest < TencentCloud::Common::AbstractModel
5063
5144
  # @param StreamName: 流名称,用于精确查询。
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.1098
4
+ version: 3.0.1100
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-10 00:00:00.000000000 Z
11
+ date: 2025-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common