tencentcloud-sdk-ams 3.0.482 → 3.0.483

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: b5d0f4d072d5d34c4780267d483bd4e91dd4c918
4
- data.tar.gz: 2cea46cfdbcd5de58c2649b1de504f1baadbe195
3
+ metadata.gz: 8d6895ca2bf406795e0e3add1d3398c7b54ea837
4
+ data.tar.gz: 6e90a8e5eb247111a262e95d94aa2d7e98145f48
5
5
  SHA512:
6
- metadata.gz: 3e378c14f624b742b4d8d30e6341792d8d9467fbf15e3eaffd38051ae26b1b317675479144c8e7292d8f862a73a46a71d402f8b666fbe369d91907a198e28085
7
- data.tar.gz: f74d63ce901ff45a75bec300e8b13b311e467cdc150274ed12d9579bf3a360aa1c529f441169ab4ab277f916cfe2ce7699e8badfb9788ce980d71e0a4b55d9dc
6
+ metadata.gz: b86b7ecf466096435e2dc1a540fd59bbe8323b1f32d0703c9783e8b8ed75a715f19372ed810f0524a3f1fd8713efb44804797f57c2a8a1d22384aa60c84edfd8
7
+ data.tar.gz: 121d4b43fc6c0437431ed3434b2035597236898221ddd917e88ec4907e72c5b0c8f42298f89e564b37593932429de182b0d9d0525e370379ecf64279ecec93f7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.482
1
+ 3.0.483
@@ -60,12 +60,12 @@ module TencentCloud
60
60
  # - 该接口为收费接口,计费方式敬请参见 [腾讯云音频内容安全定价](https://cloud.tencent.com/product/ams/pricing)。
61
61
 
62
62
  # ### 接口调用说明:
63
- # - 音频文件大小支持:**文件 < 5M**;
64
- # - 音频文件**时长小于60s**,超过60s音频调用则报错;
65
- # - 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**);
63
+ # - 音频文件大小支持:**文件 <= 4M**;
64
+ # - 音频文件**时长不超过60s**,超过60s音频调用则报错;
65
+ # - 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**aac**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**);
66
66
  # - 接口仅限音频文件传入,视频文件传入请调用长音频异步接口;
67
67
  # - 接口**默认QPS为20**,如需自定义配置并发或请求频率,请工单咨询;
68
- # - 接口**默认超时为5s**,请求如超过该时长则接口会报错。
68
+ # - 接口**默认超时为10s**,请求如超过该时长则接口会报错。
69
69
 
70
70
  # @param request: Request instance for CreateAudioModerationSyncTask.
71
71
  # @type request: :class:`Tencentcloud::ams::V20201229::CreateAudioModerationSyncTaskRequest`
@@ -126,10 +126,10 @@ module TencentCloud
126
126
  # @param Score: 该参数用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于当前返回的语种标签;
127
127
  # 注意:此字段可能返回 null,表示取不到有效值。
128
128
  # @type Score: Integer
129
- # @param StartTime: 该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为毫秒。
129
+ # @param StartTime: 该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。
130
130
  # 注意:此字段可能返回 null,表示取不到有效值。
131
131
  # @type StartTime: Float
132
- # @param EndTime: 该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为毫秒。
132
+ # @param EndTime: 该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。
133
133
  # 注意:此字段可能返回 null,表示取不到有效值。
134
134
  # @type EndTime: Float
135
135
  # @param SubLabelCode: *内测中,敬请期待*
@@ -162,9 +162,9 @@ module TencentCloud
162
162
  # @type Label: String
163
163
  # @param Score: 该字段用于返回呻吟检测的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于呻吟内容。
164
164
  # @type Score: Integer
165
- # @param StartTime: 该字段用于返回对应呻吟标签的片段在音频文件内的开始时间,单位为毫秒。
165
+ # @param StartTime: 该字段用于返回对应呻吟标签的片段在音频文件内的开始时间,单位为秒。
166
166
  # @type StartTime: Float
167
- # @param EndTime: 该字段用于返回对应呻吟标签的片段在音频文件内的结束时间,单位为毫秒。
167
+ # @param EndTime: 该字段用于返回对应呻吟标签的片段在音频文件内的结束时间,单位为秒。
168
168
  # @type EndTime: Float
169
169
  # @param SubLabelCode: *内测中,敬请期待*
170
170
  # @type SubLabelCode: String
@@ -205,10 +205,10 @@ module TencentCloud
205
205
  # @param Score: 该字段用于返回呻吟检测的置信度,取值范围:0(置信度最低)-100(置信度最高),越高代表音频越有可能属于说话人声纹。
206
206
  # 注意:此字段可能返回 null,表示取不到有效值。
207
207
  # @type Score: Integer
208
- # @param StartTime: 该字段用于返回对应说话人的片段在音频文件内的开始时间,单位为毫秒。
208
+ # @param StartTime: 该字段用于返回对应说话人的片段在音频文件内的开始时间,单位为秒。
209
209
  # 注意:此字段可能返回 null,表示取不到有效值。
210
210
  # @type StartTime: Float
211
- # @param EndTime: 该字段用于返回对应说话人的片段在音频文件内的结束时间,单位为毫秒。
211
+ # @param EndTime: 该字段用于返回对应说话人的片段在音频文件内的结束时间,单位为秒。
212
212
  # 注意:此字段可能返回 null,表示取不到有效值。
213
213
  # @type EndTime: Float
214
214
 
@@ -443,12 +443,15 @@ module TencentCloud
443
443
  # @param RecognitionResults: 识别类标签结果信息列表
444
444
  # 注意:此字段可能返回 null,表示取不到有效值。
445
445
  # @type RecognitionResults: Array
446
+ # @param Duration: 识别音频时长,单位为毫秒;
447
+ # 注意:此字段可能返回 null,表示取不到有效值。
448
+ # @type Duration: String
446
449
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
447
450
  # @type RequestId: String
448
451
 
449
- attr_accessor :DataId, :Name, :BizType, :Suggestion, :Label, :AsrText, :TextResults, :MoanResults, :SubLabel, :LanguageResults, :SpeakerResults, :RecognitionResults, :RequestId
452
+ attr_accessor :DataId, :Name, :BizType, :Suggestion, :Label, :AsrText, :TextResults, :MoanResults, :SubLabel, :LanguageResults, :SpeakerResults, :RecognitionResults, :Duration, :RequestId
450
453
 
451
- def initialize(dataid=nil, name=nil, biztype=nil, suggestion=nil, label=nil, asrtext=nil, textresults=nil, moanresults=nil, sublabel=nil, languageresults=nil, speakerresults=nil, recognitionresults=nil, requestid=nil)
454
+ def initialize(dataid=nil, name=nil, biztype=nil, suggestion=nil, label=nil, asrtext=nil, textresults=nil, moanresults=nil, sublabel=nil, languageresults=nil, speakerresults=nil, recognitionresults=nil, duration=nil, requestid=nil)
452
455
  @DataId = dataid
453
456
  @Name = name
454
457
  @BizType = biztype
@@ -461,6 +464,7 @@ module TencentCloud
461
464
  @LanguageResults = languageresults
462
465
  @SpeakerResults = speakerresults
463
466
  @RecognitionResults = recognitionresults
467
+ @Duration = duration
464
468
  @RequestId = requestid
465
469
  end
466
470
 
@@ -512,6 +516,7 @@ module TencentCloud
512
516
  @RecognitionResults << recognitionresult_tmp
513
517
  end
514
518
  end
519
+ @Duration = params['Duration']
515
520
  @RequestId = params['RequestId']
516
521
  end
517
522
  end
@@ -864,9 +869,9 @@ module TencentCloud
864
869
  # @param Suggestion: 建议您拿到判断结果后的执行操作。
865
870
  # 建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
866
871
  # @type Suggestion: String
867
- # @param StartTime: 违规事件开始时间,单位为毫秒(ms);
872
+ # @param StartTime: 违规事件开始时间,单位为秒(s);
868
873
  # @type StartTime: Float
869
- # @param EndTime: 违规事件结束时间,单位为毫秒(ms);
874
+ # @param EndTime: 违规事件结束时间,单位为秒(s);
870
875
  # @type EndTime: Float
871
876
  # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
872
877
  # 注意:此字段可能返回null,表示取不到有效值。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ams
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.482
4
+ version: 3.0.483
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-28 00:00:00.000000000 Z
11
+ date: 2022-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common