tencentcloud-sdk-mps 3.0.579 → 3.0.580

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: e84561ed760e8b3a419d121c82d81729b1936b50
4
- data.tar.gz: 5d71b3384865925a6272f3e6aa8bb00e10a35279
3
+ metadata.gz: 9ce9f7ce59a970ccc7ea7cc7b8c9c5edf1da0a81
4
+ data.tar.gz: 70146ab4bc28d6aacbe2ad18f3dbcd1a00bd9658
5
5
  SHA512:
6
- metadata.gz: c39ae6383aa2ede57a9e0fb4137a816e338a005d2e27ec81c0c65c01bea268e5ad70b256496c41bd45cad33b7e089c174aedba631bd4d056a2eddc1562fb8493
7
- data.tar.gz: ef2e3256e77b9a1e3e5e8b36f31fc5017e1e825dfb77b99852d3a14d3b1c786df2fa461647fbc7600b0d33983578cc8e3a1f810f754b4e3179f0d05c04c90820
6
+ metadata.gz: 7d34e4e3e3ede51d3912c6c3edea749fe5287c31ba94e33d0fe330d4054f458dfd75bd9db1b96e4e4550a043c76c708ee6a85547163c6fda942f964c8c806464
7
+ data.tar.gz: 3b756b812af16735d992ef745763b731280e6e45679ff4d74d30bf36ebe8b3b146c33364c24ea7116428f19d3a2767c35ac016df3024f72b8a2f51657cad1d1e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.579
1
+ 3.0.580
@@ -2006,7 +2006,7 @@ module TencentCloud
2006
2006
  end
2007
2007
 
2008
2008
  # 从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 直播流处理事件通知的内容。
2009
- # 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 的中解析函数的实现事件通知的解析。
2009
+ # 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 中的解析实现事件通知的解析。
2010
2010
 
2011
2011
  # @param request: Request instance for ParseLiveStreamProcessNotification.
2012
2012
  # @type request: :class:`Tencentcloud::mps::V20190612::ParseLiveStreamProcessNotificationRequest`
@@ -2031,7 +2031,7 @@ module TencentCloud
2031
2031
  end
2032
2032
 
2033
2033
  # 从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 事件通知的内容。
2034
- # 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 的中解析函数的实现事件通知的解析。
2034
+ # 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 中的解析函数,实现事件通知的解析。
2035
2035
 
2036
2036
  # @param request: Request instance for ParseNotification.
2037
2037
  # @type request: :class:`Tencentcloud::mps::V20190612::ParseNotificationRequest`
@@ -8609,6 +8609,48 @@ module TencentCloud
8609
8609
  end
8610
8610
  end
8611
8611
 
8612
+ # 诊断结果项。
8613
+ class DiagnoseResult < TencentCloud::Common::AbstractModel
8614
+ # @param Category: 诊断出的异常类别。
8615
+ # 注意:此字段可能返回 null,表示取不到有效值。
8616
+ # @type Category: String
8617
+ # @param Type: 诊断出的具体异常类型。
8618
+ # 注意:此字段可能返回 null,表示取不到有效值。
8619
+ # @type Type: String
8620
+ # @param Timestamp: 诊断出异常开始的PTS时间戳。
8621
+ # 注意:此字段可能返回 null,表示取不到有效值。
8622
+ # @type Timestamp: Float
8623
+ # @param Description: 诊断出的异常描述。
8624
+ # 注意:此字段可能返回 null,表示取不到有效值。
8625
+ # @type Description: String
8626
+ # @param DateTime: 诊断到异常的北京时间,采用 ISO 日期格式。
8627
+ # 注意:此字段可能返回 null,表示取不到有效值。
8628
+ # @type DateTime: String
8629
+ # @param SeverityLevel: 诊断出的异常级别。
8630
+ # 注意:此字段可能返回 null,表示取不到有效值。
8631
+ # @type SeverityLevel: String
8632
+
8633
+ attr_accessor :Category, :Type, :Timestamp, :Description, :DateTime, :SeverityLevel
8634
+
8635
+ def initialize(category=nil, type=nil, timestamp=nil, description=nil, datetime=nil, severitylevel=nil)
8636
+ @Category = category
8637
+ @Type = type
8638
+ @Timestamp = timestamp
8639
+ @Description = description
8640
+ @DateTime = datetime
8641
+ @SeverityLevel = severitylevel
8642
+ end
8643
+
8644
+ def deserialize(params)
8645
+ @Category = params['Category']
8646
+ @Type = params['Type']
8647
+ @Timestamp = params['Timestamp']
8648
+ @Description = params['Description']
8649
+ @DateTime = params['DateTime']
8650
+ @SeverityLevel = params['SeverityLevel']
8651
+ end
8652
+ end
8653
+
8612
8654
  # DisableSchedule请求参数结构体
8613
8655
  class DisableScheduleRequest < TencentCloud::Common::AbstractModel
8614
8656
  # @param ScheduleId: 编排唯一表示。
@@ -10105,6 +10147,96 @@ module TencentCloud
10105
10147
  end
10106
10148
  end
10107
10149
 
10150
+ # 直播流分析结果
10151
+ class LiveStreamAiAnalysisResultInfo < TencentCloud::Common::AbstractModel
10152
+ # @param ResultSet: 直播分析子任务结果,暂时只支持直播拆条。
10153
+ # 注意:此字段可能返回 null,表示取不到有效值。
10154
+ # @type ResultSet: Array
10155
+
10156
+ attr_accessor :ResultSet
10157
+
10158
+ def initialize(resultset=nil)
10159
+ @ResultSet = resultset
10160
+ end
10161
+
10162
+ def deserialize(params)
10163
+ unless params['ResultSet'].nil?
10164
+ @ResultSet = []
10165
+ params['ResultSet'].each do |i|
10166
+ livestreamaianalysisresultitem_tmp = LiveStreamAiAnalysisResultItem.new
10167
+ livestreamaianalysisresultitem_tmp.deserialize(i)
10168
+ @ResultSet << livestreamaianalysisresultitem_tmp
10169
+ end
10170
+ end
10171
+ end
10172
+ end
10173
+
10174
+ # 直播流 AI 分析结果
10175
+ class LiveStreamAiAnalysisResultItem < TencentCloud::Common::AbstractModel
10176
+ # @param Type: 结果的类型,取值范围:
10177
+ # <li>SegmentRecognition:拆条。</li>
10178
+ # @type Type: String
10179
+ # @param SegmentResultSet: 拆条结果,当 Type 为
10180
+ # SegmentRecognition 时有效。
10181
+ # 注意:此字段可能返回 null,表示取不到有效值。
10182
+ # @type SegmentResultSet: Array
10183
+
10184
+ attr_accessor :Type, :SegmentResultSet
10185
+
10186
+ def initialize(type=nil, segmentresultset=nil)
10187
+ @Type = type
10188
+ @SegmentResultSet = segmentresultset
10189
+ end
10190
+
10191
+ def deserialize(params)
10192
+ @Type = params['Type']
10193
+ unless params['SegmentResultSet'].nil?
10194
+ @SegmentResultSet = []
10195
+ params['SegmentResultSet'].each do |i|
10196
+ segmentrecognitionitem_tmp = SegmentRecognitionItem.new
10197
+ segmentrecognitionitem_tmp.deserialize(i)
10198
+ @SegmentResultSet << segmentrecognitionitem_tmp
10199
+ end
10200
+ end
10201
+ end
10202
+ end
10203
+
10204
+ # 直播流质检结果
10205
+ class LiveStreamAiQualityControlResultInfo < TencentCloud::Common::AbstractModel
10206
+ # @param QualityControlResults: 质检结果列表。
10207
+ # 注意:此字段可能返回 null,表示取不到有效值。
10208
+ # @type QualityControlResults: Array
10209
+ # @param DiagnoseResults: 格式诊断结果列表。
10210
+ # 注意:此字段可能返回 null,表示取不到有效值。
10211
+ # @type DiagnoseResults: Array
10212
+
10213
+ attr_accessor :QualityControlResults, :DiagnoseResults
10214
+
10215
+ def initialize(qualitycontrolresults=nil, diagnoseresults=nil)
10216
+ @QualityControlResults = qualitycontrolresults
10217
+ @DiagnoseResults = diagnoseresults
10218
+ end
10219
+
10220
+ def deserialize(params)
10221
+ unless params['QualityControlResults'].nil?
10222
+ @QualityControlResults = []
10223
+ params['QualityControlResults'].each do |i|
10224
+ qualitycontrolresult_tmp = QualityControlResult.new
10225
+ qualitycontrolresult_tmp.deserialize(i)
10226
+ @QualityControlResults << qualitycontrolresult_tmp
10227
+ end
10228
+ end
10229
+ unless params['DiagnoseResults'].nil?
10230
+ @DiagnoseResults = []
10231
+ params['DiagnoseResults'].each do |i|
10232
+ diagnoseresult_tmp = DiagnoseResult.new
10233
+ diagnoseresult_tmp.deserialize(i)
10234
+ @DiagnoseResults << diagnoseresult_tmp
10235
+ end
10236
+ end
10237
+ end
10238
+ end
10239
+
10108
10240
  # 直播流 AI 识别结果
10109
10241
  class LiveStreamAiRecognitionResultInfo < TencentCloud::Common::AbstractModel
10110
10242
  # @param ResultSet: 内容识别结果列表。
@@ -10508,14 +10640,26 @@ module TencentCloud
10508
10640
  # @type EndPtsTime: Float
10509
10641
  # @param Confidence: 识别片段置信度。取值:0~100。
10510
10642
  # @type Confidence: Float
10643
+ # @param StartTime: 识别开始UTC时间。
10644
+ # 注意:此字段可能返回 null,表示取不到有效值。
10645
+ # @type StartTime: String
10646
+ # @param EndTime: 识别结束UTC时间。
10647
+ # 注意:此字段可能返回 null,表示取不到有效值。
10648
+ # @type EndTime: String
10649
+ # @param SteadyState: 稳态标记。
10650
+ # 注意:此字段可能返回 null,表示取不到有效值。
10651
+ # @type SteadyState: Boolean
10511
10652
 
10512
- attr_accessor :Text, :StartPtsTime, :EndPtsTime, :Confidence
10653
+ attr_accessor :Text, :StartPtsTime, :EndPtsTime, :Confidence, :StartTime, :EndTime, :SteadyState
10513
10654
 
10514
- def initialize(text=nil, startptstime=nil, endptstime=nil, confidence=nil)
10655
+ def initialize(text=nil, startptstime=nil, endptstime=nil, confidence=nil, starttime=nil, endtime=nil, steadystate=nil)
10515
10656
  @Text = text
10516
10657
  @StartPtsTime = startptstime
10517
10658
  @EndPtsTime = endptstime
10518
10659
  @Confidence = confidence
10660
+ @StartTime = starttime
10661
+ @EndTime = endtime
10662
+ @SteadyState = steadystate
10519
10663
  end
10520
10664
 
10521
10665
  def deserialize(params)
@@ -10523,6 +10667,9 @@ module TencentCloud
10523
10667
  @StartPtsTime = params['StartPtsTime']
10524
10668
  @EndPtsTime = params['EndPtsTime']
10525
10669
  @Confidence = params['Confidence']
10670
+ @StartTime = params['StartTime']
10671
+ @EndTime = params['EndTime']
10672
+ @SteadyState = params['SteadyState']
10526
10673
  end
10527
10674
  end
10528
10675
 
@@ -10765,15 +10912,27 @@ module TencentCloud
10765
10912
  # @type Confidence: Float
10766
10913
  # @param Trans: 翻译文本。
10767
10914
  # @type Trans: String
10915
+ # @param StartTime: 翻译开始UTC时间。
10916
+ # 注意:此字段可能返回 null,表示取不到有效值。
10917
+ # @type StartTime: String
10918
+ # @param EndTime: 翻译结束UTC时间。
10919
+ # 注意:此字段可能返回 null,表示取不到有效值。
10920
+ # @type EndTime: String
10921
+ # @param SteadyState: 稳态标记。
10922
+ # 注意:此字段可能返回 null,表示取不到有效值。
10923
+ # @type SteadyState: Boolean
10768
10924
 
10769
- attr_accessor :Text, :StartPtsTime, :EndPtsTime, :Confidence, :Trans
10925
+ attr_accessor :Text, :StartPtsTime, :EndPtsTime, :Confidence, :Trans, :StartTime, :EndTime, :SteadyState
10770
10926
 
10771
- def initialize(text=nil, startptstime=nil, endptstime=nil, confidence=nil, trans=nil)
10927
+ def initialize(text=nil, startptstime=nil, endptstime=nil, confidence=nil, trans=nil, starttime=nil, endtime=nil, steadystate=nil)
10772
10928
  @Text = text
10773
10929
  @StartPtsTime = startptstime
10774
10930
  @EndPtsTime = endptstime
10775
10931
  @Confidence = confidence
10776
10932
  @Trans = trans
10933
+ @StartTime = starttime
10934
+ @EndTime = endtime
10935
+ @SteadyState = steadystate
10777
10936
  end
10778
10937
 
10779
10938
  def deserialize(params)
@@ -10782,6 +10941,9 @@ module TencentCloud
10782
10941
  @EndPtsTime = params['EndPtsTime']
10783
10942
  @Confidence = params['Confidence']
10784
10943
  @Trans = params['Trans']
10944
+ @StartTime = params['StartTime']
10945
+ @EndTime = params['EndTime']
10946
+ @SteadyState = params['SteadyState']
10785
10947
  end
10786
10948
  end
10787
10949
 
@@ -13740,6 +13902,12 @@ module TencentCloud
13740
13902
  # @param AiRecognitionResultInfo: 内容识别结果,当 NotificationType 为 AiRecognitionResult 时有效。
13741
13903
  # 注意:此字段可能返回 null,表示取不到有效值。
13742
13904
  # @type AiRecognitionResultInfo: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamAiRecognitionResultInfo`
13905
+ # @param AiAnalysisResultInfo: 内容分析结果,当 NotificationType 为 AiAnalysisResult 时有效。
13906
+ # 注意:此字段可能返回 null,表示取不到有效值。
13907
+ # @type AiAnalysisResultInfo: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamAiAnalysisResultInfo`
13908
+ # @param AiQualityControlResultInfo: 媒体质检结果,当 NotificationType 为 AiQualityControlResult 时有效。
13909
+ # 注意:此字段可能返回 null,表示取不到有效值。
13910
+ # @type AiQualityControlResultInfo: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamAiQualityControlResultInfo`
13743
13911
  # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。
13744
13912
  # @type SessionId: String
13745
13913
  # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
@@ -13747,14 +13915,16 @@ module TencentCloud
13747
13915
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13748
13916
  # @type RequestId: String
13749
13917
 
13750
- attr_accessor :NotificationType, :TaskId, :ProcessEofInfo, :AiReviewResultInfo, :AiRecognitionResultInfo, :SessionId, :SessionContext, :RequestId
13918
+ attr_accessor :NotificationType, :TaskId, :ProcessEofInfo, :AiReviewResultInfo, :AiRecognitionResultInfo, :AiAnalysisResultInfo, :AiQualityControlResultInfo, :SessionId, :SessionContext, :RequestId
13751
13919
 
13752
- def initialize(notificationtype=nil, taskid=nil, processeofinfo=nil, aireviewresultinfo=nil, airecognitionresultinfo=nil, sessionid=nil, sessioncontext=nil, requestid=nil)
13920
+ def initialize(notificationtype=nil, taskid=nil, processeofinfo=nil, aireviewresultinfo=nil, airecognitionresultinfo=nil, aianalysisresultinfo=nil, aiqualitycontrolresultinfo=nil, sessionid=nil, sessioncontext=nil, requestid=nil)
13753
13921
  @NotificationType = notificationtype
13754
13922
  @TaskId = taskid
13755
13923
  @ProcessEofInfo = processeofinfo
13756
13924
  @AiReviewResultInfo = aireviewresultinfo
13757
13925
  @AiRecognitionResultInfo = airecognitionresultinfo
13926
+ @AiAnalysisResultInfo = aianalysisresultinfo
13927
+ @AiQualityControlResultInfo = aiqualitycontrolresultinfo
13758
13928
  @SessionId = sessionid
13759
13929
  @SessionContext = sessioncontext
13760
13930
  @RequestId = requestid
@@ -13775,6 +13945,14 @@ module TencentCloud
13775
13945
  @AiRecognitionResultInfo = LiveStreamAiRecognitionResultInfo.new
13776
13946
  @AiRecognitionResultInfo.deserialize(params['AiRecognitionResultInfo'])
13777
13947
  end
13948
+ unless params['AiAnalysisResultInfo'].nil?
13949
+ @AiAnalysisResultInfo = LiveStreamAiAnalysisResultInfo.new
13950
+ @AiAnalysisResultInfo.deserialize(params['AiAnalysisResultInfo'])
13951
+ end
13952
+ unless params['AiQualityControlResultInfo'].nil?
13953
+ @AiQualityControlResultInfo = LiveStreamAiQualityControlResultInfo.new
13954
+ @AiQualityControlResultInfo.deserialize(params['AiQualityControlResultInfo'])
13955
+ end
13778
13956
  @SessionId = params['SessionId']
13779
13957
  @SessionContext = params['SessionContext']
13780
13958
  @RequestId = params['RequestId']
@@ -15834,6 +16012,35 @@ module TencentCloud
15834
16012
  end
15835
16013
  end
15836
16014
 
16015
+ # 智能拆条片段。
16016
+ class SegmentRecognitionItem < TencentCloud::Common::AbstractModel
16017
+ # @param Confidence: 置信度。
16018
+ # @type Confidence: Float
16019
+ # @param StartTimeOffset: 片段起始时间偏移。
16020
+ # @type StartTimeOffset: Float
16021
+ # @param EndTimeOffset: 片段结束时间偏移。
16022
+ # @type EndTimeOffset: Float
16023
+ # @param SegmentUrl: 拆条片段URL。
16024
+ # 注意:此字段可能返回 null,表示取不到有效值。
16025
+ # @type SegmentUrl: String
16026
+
16027
+ attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentUrl
16028
+
16029
+ def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, segmenturl=nil)
16030
+ @Confidence = confidence
16031
+ @StartTimeOffset = starttimeoffset
16032
+ @EndTimeOffset = endtimeoffset
16033
+ @SegmentUrl = segmenturl
16034
+ end
16035
+
16036
+ def deserialize(params)
16037
+ @Confidence = params['Confidence']
16038
+ @StartTimeOffset = params['StartTimeOffset']
16039
+ @EndTimeOffset = params['EndTimeOffset']
16040
+ @SegmentUrl = params['SegmentUrl']
16041
+ end
16042
+ end
16043
+
15837
16044
  # 细节增强配置
15838
16045
  class SharpEnhanceConfig < TencentCloud::Common::AbstractModel
15839
16046
  # @param Switch: 能力配置开关,可选值:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.579
4
+ version: 3.0.580
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-29 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common