tencentcloud-sdk-live 3.0.1199 → 3.0.1201

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: 9d67baad4d21434feed68aa37567b60111705692
4
- data.tar.gz: f4bc6a8ec5d59b4de79ce046f62b9da81f6715d5
3
+ metadata.gz: 5f9c77536dd4da2a086d41e66634c142220aa94d
4
+ data.tar.gz: 264c8cbc162f18854932eaa3b3f7ad4003680432
5
5
  SHA512:
6
- metadata.gz: ad91624b1a71bd2f79630aa68a1352e8b5c6a0986f39b4ce0435df39794e8d6e544daccbbe03821d246ce11e875964fa38e6284366153cc7ebdd1af7a42aee78
7
- data.tar.gz: 7dcd00317851cefbbabbdb25091be83d5524219dd1aedab97e9d5e79e561b9144948627196342259490000ab8ad51aa26dbefe7395a6c408ce2745979194d3ca
6
+ metadata.gz: 087250f1a2f5cb0529125b423989ccfd86e1eecfc67d375737425d1ea0206193ccf6e5ba694c2a75e60bdf8344dd17a43212cb731208f19f775e2abec1d16f02
7
+ data.tar.gz: 0b6f9d639ea34d4cbffcc72b8228f695c1311b1ad444bb7111d2c31e6f62b22a41d9a288739f6229b0e01c39683269056724979c650d6479c375e667abaa1e82
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1199
1
+ 3.0.1201
@@ -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 CreateAuditKeywordLib.
301
+ # @type request: :class:`Tencentcloud::live::V20180801::CreateAuditKeywordLibRequest`
302
+ # @rtype: :class:`Tencentcloud::live::V20180801::CreateAuditKeywordLibResponse`
303
+ def CreateAuditKeywordLib(request)
304
+ body = send_request('CreateAuditKeywordLib', request.serialize)
305
+ response = JSON.parse(body)
306
+ if response['Response'].key?('Error') == false
307
+ model = CreateAuditKeywordLibResponse.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 CreateAuditKeywords.
@@ -2056,6 +2056,33 @@ module TencentCloud
2056
2056
  end
2057
2057
  end
2058
2058
 
2059
+ # CreateAuditKeywordLib请求参数结构体
2060
+ class CreateAuditKeywordLibRequest < TencentCloud::Common::AbstractModel
2061
+
2062
+
2063
+ def initialize()
2064
+ end
2065
+
2066
+ def deserialize(params)
2067
+ end
2068
+ end
2069
+
2070
+ # CreateAuditKeywordLib返回参数结构体
2071
+ class CreateAuditKeywordLibResponse < TencentCloud::Common::AbstractModel
2072
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2073
+ # @type RequestId: String
2074
+
2075
+ attr_accessor :RequestId
2076
+
2077
+ def initialize(requestid=nil)
2078
+ @RequestId = requestid
2079
+ end
2080
+
2081
+ def deserialize(params)
2082
+ @RequestId = params['RequestId']
2083
+ end
2084
+ end
2085
+
2059
2086
  # CreateAuditKeywords请求参数结构体
2060
2087
  class CreateAuditKeywordsRequest < TencentCloud::Common::AbstractModel
2061
2088
  # @param Keywords: 关键词列表。
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.1199
4
+ version: 3.0.1201
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-08 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common