tencentcloud-sdk-vrs 3.0.962 → 3.0.963

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 573a091bd88ae74a59d15111f9e8950ce1016684
4
- data.tar.gz: b4499b51a41edbdf01803ca570d306439ff329ee
3
+ metadata.gz: e27beecbde2f9d555d925dc24a6cd9d0fe8c0dd9
4
+ data.tar.gz: 126fe92a42eb30c9ae38abd05b27cc2528d14991
5
5
  SHA512:
6
- metadata.gz: 7469e41548601883383fa08b5abb32ba254dbfd0f760d4bd9ec2f84d9a7ffaffc7da50a0eda619d958d364e145b3d42d07996dfd34631cb72ea9196b60a6279f
7
- data.tar.gz: 31ec05f49ee1dae94dede7bbe7e29c0e4e4c36d051ab2e4970492ba4f89a948227fcb6061cec7e440df44daea054f3b15e423108433694d58428e5e433a5ae73
6
+ metadata.gz: 907fcae03e8d6da8c41d77cb2221435e1115b8d1af58966202361921f98276c59ebc50c238b3ef7ca8a1723cf018856acc98c540ac10130ded985c45fd8cee29
7
+ data.tar.gz: 299627a09fd2828ee00b21661190af3f0669680a28dd9c2617af36e45c78be9c5390aa6d71da4d275a1daacea22df8009a053690370b57c7deac36cbfb1f1601
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.962
1
+ 3.0.963
@@ -185,6 +185,30 @@ module TencentCloud
185
185
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
186
186
  end
187
187
 
188
+ # 该接口用于查询复刻音色详细信息。
189
+
190
+ # @param request: Request instance for GetVRSVoiceTypeInfo.
191
+ # @type request: :class:`Tencentcloud::vrs::V20200824::GetVRSVoiceTypeInfoRequest`
192
+ # @rtype: :class:`Tencentcloud::vrs::V20200824::GetVRSVoiceTypeInfoResponse`
193
+ def GetVRSVoiceTypeInfo(request)
194
+ body = send_request('GetVRSVoiceTypeInfo', request.serialize)
195
+ response = JSON.parse(body)
196
+ if response['Response'].key?('Error') == false
197
+ model = GetVRSVoiceTypeInfoResponse.new
198
+ model.deserialize(response['Response'])
199
+ model
200
+ else
201
+ code = response['Response']['Error']['Code']
202
+ message = response['Response']['Error']['Message']
203
+ reqid = response['Response']['RequestId']
204
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
205
+ end
206
+ rescue TencentCloud::Common::TencentCloudSDKException => e
207
+ raise e
208
+ rescue StandardError => e
209
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
210
+ end
211
+
188
212
  # 查询复刻音色
189
213
 
190
214
  # @param request: Request instance for GetVRSVoiceTypes.
@@ -500,6 +500,53 @@ module TencentCloud
500
500
  end
501
501
  end
502
502
 
503
+ # GetVRSVoiceTypeInfo请求参数结构体
504
+ class GetVRSVoiceTypeInfoRequest < TencentCloud::Common::AbstractModel
505
+ # @param VoiceType: 音色id。
506
+ # @type VoiceType: Integer
507
+ # @param TaskType: 0 - 除快速声音复刻外其他复刻类型(默认); 5 - 快速声音复刻。 默认为0。
508
+ # @type TaskType: Integer
509
+ # @param FastVoiceType: 快速复刻音色id。
510
+ # @type FastVoiceType: String
511
+
512
+ attr_accessor :VoiceType, :TaskType, :FastVoiceType
513
+
514
+ def initialize(voicetype=nil, tasktype=nil, fastvoicetype=nil)
515
+ @VoiceType = voicetype
516
+ @TaskType = tasktype
517
+ @FastVoiceType = fastvoicetype
518
+ end
519
+
520
+ def deserialize(params)
521
+ @VoiceType = params['VoiceType']
522
+ @TaskType = params['TaskType']
523
+ @FastVoiceType = params['FastVoiceType']
524
+ end
525
+ end
526
+
527
+ # GetVRSVoiceTypeInfo返回参数结构体
528
+ class GetVRSVoiceTypeInfoResponse < TencentCloud::Common::AbstractModel
529
+ # @param Data: 音色信息
530
+ # @type Data: :class:`Tencentcloud::Vrs.v20200824.models.VoiceTypeInfo`
531
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
532
+ # @type RequestId: String
533
+
534
+ attr_accessor :Data, :RequestId
535
+
536
+ def initialize(data=nil, requestid=nil)
537
+ @Data = data
538
+ @RequestId = requestid
539
+ end
540
+
541
+ def deserialize(params)
542
+ unless params['Data'].nil?
543
+ @Data = VoiceTypeInfo.new
544
+ @Data.deserialize(params['Data'])
545
+ end
546
+ @RequestId = params['RequestId']
547
+ end
548
+ end
549
+
503
550
  # GetVRSVoiceTypes请求参数结构体
504
551
  class GetVRSVoiceTypesRequest < TencentCloud::Common::AbstractModel
505
552
  # @param TaskType: 复刻类型。
@@ -667,10 +714,10 @@ module TencentCloud
667
714
  # 1.检测字是否存在多读、 少读、 错读等
668
715
  # 2.检测准确度和流畅度
669
716
  class Words < TencentCloud::Common::AbstractModel
670
- # @param PronAccuracy: 准确度 (<75则认为不合格)
717
+ # @param PronAccuracy: 准确度 (小于75则认为不合格)
671
718
  # 注意:此字段可能返回 null,表示取不到有效值。
672
719
  # @type PronAccuracy: Float
673
- # @param PronFluency: 流畅度 (<0.95则认为不合格)
720
+ # @param PronFluency: 流畅度 (小于0.95则认为不合格)
674
721
  # 注意:此字段可能返回 null,表示取不到有效值。
675
722
  # @type PronFluency: Float
676
723
  # @param Tag: tag:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.962
4
+ version: 3.0.963
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-12-16 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common