tencentcloud-sdk-trtc 3.0.935 → 3.0.936
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/client.rb +0 -26
- data/lib/v20190722/models.rb +14 -41
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbbe608e066cff36b76df1b9ad64492fc0d20b20
|
4
|
+
data.tar.gz: b47be273d4a88524b054d45df82cf17dfe08aa53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0f4e2ee63e80c29b9bd2993263501b6aad5c773479391cd779f573e4a2858ea8b0a16bffca2920ef19d33b947792ec2312da18030bffdbfe5c2d6c44315aa56
|
7
|
+
data.tar.gz: 5ef2e0c3d3dfd205d0033f3577efea3989cd6a2c72bdfde39f460bbc90a799f25e33f85ff7fe473755173599c99d4ceece6a05d2c145a4c5e81796a1f33f4629
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.936
|
data/lib/v20190722/client.rb
CHANGED
@@ -1448,32 +1448,6 @@ module TencentCloud
|
|
1448
1448
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1449
1449
|
end
|
1450
1450
|
|
1451
|
-
# 接口不再支持
|
1452
|
-
|
1453
|
-
# 对转录的文本进行总结。
|
1454
|
-
|
1455
|
-
# @param request: Request instance for SummarizeTranscription.
|
1456
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::SummarizeTranscriptionRequest`
|
1457
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::SummarizeTranscriptionResponse`
|
1458
|
-
def SummarizeTranscription(request)
|
1459
|
-
body = send_request('SummarizeTranscription', request.serialize)
|
1460
|
-
response = JSON.parse(body)
|
1461
|
-
if response['Response'].key?('Error') == false
|
1462
|
-
model = SummarizeTranscriptionResponse.new
|
1463
|
-
model.deserialize(response['Response'])
|
1464
|
-
model
|
1465
|
-
else
|
1466
|
-
code = response['Response']['Error']['Code']
|
1467
|
-
message = response['Response']['Error']['Message']
|
1468
|
-
reqid = response['Response']['RequestId']
|
1469
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1470
|
-
end
|
1471
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1472
|
-
raise e
|
1473
|
-
rescue StandardError => e
|
1474
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1475
|
-
end
|
1476
|
-
|
1477
1451
|
# 更新AIConversation参数
|
1478
1452
|
|
1479
1453
|
# @param request: Request instance for UpdateAIConversation.
|
data/lib/v20190722/models.rb
CHANGED
@@ -3700,10 +3700,10 @@ module TencentCloud
|
|
3700
3700
|
|
3701
3701
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage
|
3702
3702
|
extend Gem::Deprecate
|
3703
|
-
deprecate :Model, :none, 2024,
|
3704
|
-
deprecate :Model=, :none, 2024,
|
3705
|
-
deprecate :TranslationLanguage, :none, 2024,
|
3706
|
-
deprecate :TranslationLanguage=, :none, 2024,
|
3703
|
+
deprecate :Model, :none, 2024, 11
|
3704
|
+
deprecate :Model=, :none, 2024, 11
|
3705
|
+
deprecate :TranslationLanguage, :none, 2024, 11
|
3706
|
+
deprecate :TranslationLanguage=, :none, 2024, 11
|
3707
3707
|
|
3708
3708
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil)
|
3709
3709
|
@Language = language
|
@@ -4638,12 +4638,12 @@ module TencentCloud
|
|
4638
4638
|
|
4639
4639
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration
|
4640
4640
|
extend Gem::Deprecate
|
4641
|
-
deprecate :VideoEncodeParams, :none, 2024,
|
4642
|
-
deprecate :VideoEncodeParams=, :none, 2024,
|
4643
|
-
deprecate :AudioEncodeParams, :none, 2024,
|
4644
|
-
deprecate :AudioEncodeParams=, :none, 2024,
|
4645
|
-
deprecate :SourceUrl, :none, 2024,
|
4646
|
-
deprecate :SourceUrl=, :none, 2024,
|
4641
|
+
deprecate :VideoEncodeParams, :none, 2024, 11
|
4642
|
+
deprecate :VideoEncodeParams=, :none, 2024, 11
|
4643
|
+
deprecate :AudioEncodeParams, :none, 2024, 11
|
4644
|
+
deprecate :AudioEncodeParams=, :none, 2024, 11
|
4645
|
+
deprecate :SourceUrl, :none, 2024, 11
|
4646
|
+
deprecate :SourceUrl=, :none, 2024, 11
|
4647
4647
|
|
4648
4648
|
def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil)
|
4649
4649
|
@SdkAppId = sdkappid
|
@@ -5121,33 +5121,6 @@ module TencentCloud
|
|
5121
5121
|
end
|
5122
5122
|
end
|
5123
5123
|
|
5124
|
-
# SummarizeTranscription请求参数结构体
|
5125
|
-
class SummarizeTranscriptionRequest < TencentCloud::Common::AbstractModel
|
5126
|
-
|
5127
|
-
|
5128
|
-
def initialize()
|
5129
|
-
end
|
5130
|
-
|
5131
|
-
def deserialize(params)
|
5132
|
-
end
|
5133
|
-
end
|
5134
|
-
|
5135
|
-
# SummarizeTranscription返回参数结构体
|
5136
|
-
class SummarizeTranscriptionResponse < TencentCloud::Common::AbstractModel
|
5137
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5138
|
-
# @type RequestId: String
|
5139
|
-
|
5140
|
-
attr_accessor :RequestId
|
5141
|
-
|
5142
|
-
def initialize(requestid=nil)
|
5143
|
-
@RequestId = requestid
|
5144
|
-
end
|
5145
|
-
|
5146
|
-
def deserialize(params)
|
5147
|
-
@RequestId = params['RequestId']
|
5148
|
-
end
|
5149
|
-
end
|
5150
|
-
|
5151
5124
|
# TRTC数据大盘/实时监控 API接口数据出参
|
5152
5125
|
class TRTCDataResp < TencentCloud::Common::AbstractModel
|
5153
5126
|
# @param StatementID: StatementID值,监控仪表盘下固定为0。
|
@@ -5308,10 +5281,10 @@ module TencentCloud
|
|
5308
5281
|
|
5309
5282
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList
|
5310
5283
|
extend Gem::Deprecate
|
5311
|
-
deprecate :IMAdminUserId, :none, 2024,
|
5312
|
-
deprecate :IMAdminUserId=, :none, 2024,
|
5313
|
-
deprecate :IMAdminUserSig, :none, 2024,
|
5314
|
-
deprecate :IMAdminUserSig=, :none, 2024,
|
5284
|
+
deprecate :IMAdminUserId, :none, 2024, 11
|
5285
|
+
deprecate :IMAdminUserId=, :none, 2024, 11
|
5286
|
+
deprecate :IMAdminUserSig, :none, 2024, 11
|
5287
|
+
deprecate :IMAdminUserSig=, :none, 2024, 11
|
5315
5288
|
|
5316
5289
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil)
|
5317
5290
|
@UserId = userid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.936
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|