tencentcloud-sdk-mps 3.0.672 → 3.0.674

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +100 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e50a9f0b4e0c232757a781b23aec55e99ec46db
4
- data.tar.gz: 9700c2086f00c7b4dcdd335c403bc2d0937b9cb4
3
+ metadata.gz: bb4dcaf55119ac08855ce7615c71278e04be53ad
4
+ data.tar.gz: 564306d1ea495974cd159c04143de9855517ddd3
5
5
  SHA512:
6
- metadata.gz: 92a92ed105b10d572b2bee28f1f105a868865be23f2326daaea582abd3d6e18f3545124febf8dbb345d4ef0d1eaeac3e2dcc14a9aa2e1cb1e68df27333e16bf6
7
- data.tar.gz: 79fcf9f9a67bef344f5ba06d2c6f33fcb622645b6852ea92146f61be8a0338c69dd66549e9add99e51cb84224eb2d3a2220c1883ec6d7295b1b4a8a934a274d2
6
+ metadata.gz: d7f74a9bdc5fe87e574c6df9ece8e6a5e74312a05f123395d377b6f9f3299ce449dd0c213ad63d3b4dc9e5a46bb33c4988cd6a6aab0638aaea06c09d0dd1c6de
7
+ data.tar.gz: 8e051e3d1905df403d3a39a3b4eea2538ac8a8bc988a191b47e094a98b300d31eef8bee12140d398afab35859982ecb15ea8404dde338c0fc00584f0f90825fa
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.672
1
+ 3.0.674
@@ -106,6 +106,9 @@ module TencentCloud
106
106
  # @type AsrFullTextConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrFullTextConfigureInfo`
107
107
  # @param AsrWordsConfigure: 语音关键词识别控制参数。
108
108
  # @type AsrWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrWordsConfigureInfo`
109
+ # @param TranslateConfigure: 语音翻译控制参数。
110
+ # 注意:此字段可能返回 null,表示取不到有效值。
111
+ # @type TranslateConfigure: :class:`Tencentcloud::Mps.v20190612.models.TranslateConfigureInfo`
109
112
  # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
110
113
  # @type CreateTime: String
111
114
  # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
@@ -116,9 +119,9 @@ module TencentCloud
116
119
  # 注意:此字段可能返回 null,表示取不到有效值。
117
120
  # @type Type: String
118
121
 
119
- attr_accessor :Definition, :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :CreateTime, :UpdateTime, :Type
122
+ attr_accessor :Definition, :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :TranslateConfigure, :CreateTime, :UpdateTime, :Type
120
123
 
121
- def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, createtime=nil, updatetime=nil, type=nil)
124
+ def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil, createtime=nil, updatetime=nil, type=nil)
122
125
  @Definition = definition
123
126
  @Name = name
124
127
  @Comment = comment
@@ -127,6 +130,7 @@ module TencentCloud
127
130
  @OcrWordsConfigure = ocrwordsconfigure
128
131
  @AsrFullTextConfigure = asrfulltextconfigure
129
132
  @AsrWordsConfigure = asrwordsconfigure
133
+ @TranslateConfigure = translateconfigure
130
134
  @CreateTime = createtime
131
135
  @UpdateTime = updatetime
132
136
  @Type = type
@@ -156,6 +160,10 @@ module TencentCloud
156
160
  @AsrWordsConfigure = AsrWordsConfigureInfo.new
157
161
  @AsrWordsConfigure.deserialize(params['AsrWordsConfigure'])
158
162
  end
163
+ unless params['TranslateConfigure'].nil?
164
+ @TranslateConfigure = TranslateConfigureInfo.new
165
+ @TranslateConfigure.deserialize(params['TranslateConfigure'])
166
+ end
159
167
  @CreateTime = params['CreateTime']
160
168
  @UpdateTime = params['UpdateTime']
161
169
  @Type = params['Type']
@@ -676,16 +684,20 @@ module TencentCloud
676
684
  # @param HighlightTask: 视频内容分析集锦任务的查询结果,当任务类型为 Highlight时有效。
677
685
  # 注意:此字段可能返回 null,表示取不到有效值。
678
686
  # @type HighlightTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHighlightResult`
687
+ # @param DeLogoTask: 视频内容分析去水印任务的查询结果,当任务类型为 DeLogo 时有效。
688
+ # 注意:此字段可能返回 null,表示取不到有效值。
689
+ # @type DeLogoTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoResult`
679
690
 
680
- attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask
691
+ attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask
681
692
 
682
- def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil)
693
+ def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil)
683
694
  @Type = type
684
695
  @ClassificationTask = classificationtask
685
696
  @CoverTask = covertask
686
697
  @TagTask = tagtask
687
698
  @FrameTagTask = frametagtask
688
699
  @HighlightTask = highlighttask
700
+ @DeLogoTask = delogotask
689
701
  end
690
702
 
691
703
  def deserialize(params)
@@ -710,6 +722,10 @@ module TencentCloud
710
722
  @HighlightTask = AiAnalysisTaskHighlightResult.new
711
723
  @HighlightTask.deserialize(params['HighlightTask'])
712
724
  end
725
+ unless params['DeLogoTask'].nil?
726
+ @DeLogoTask = AiAnalysisTaskDelLogoResult.new
727
+ @DeLogoTask.deserialize(params['DeLogoTask'])
728
+ end
713
729
  end
714
730
  end
715
731
 
@@ -884,6 +900,84 @@ module TencentCloud
884
900
  end
885
901
  end
886
902
 
903
+ # 智能去水印任务输入类型
904
+ class AiAnalysisTaskDelLogoInput < TencentCloud::Common::AbstractModel
905
+ # @param Definition: 视频智能去水印模板 ID。
906
+ # @type Definition: Integer
907
+
908
+ attr_accessor :Definition
909
+
910
+ def initialize(definition=nil)
911
+ @Definition = definition
912
+ end
913
+
914
+ def deserialize(params)
915
+ @Definition = params['Definition']
916
+ end
917
+ end
918
+
919
+ # 智能去水印结果信息
920
+ class AiAnalysisTaskDelLogoOutput < TencentCloud::Common::AbstractModel
921
+ # @param Path: 去水印后文件的路径。
922
+ # @type Path: String
923
+ # @param OutputStorage: 去水印后文件的存储位置。
924
+ # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
925
+
926
+ attr_accessor :Path, :OutputStorage
927
+
928
+ def initialize(path=nil, outputstorage=nil)
929
+ @Path = path
930
+ @OutputStorage = outputstorage
931
+ end
932
+
933
+ def deserialize(params)
934
+ @Path = params['Path']
935
+ unless params['OutputStorage'].nil?
936
+ @OutputStorage = TaskOutputStorage.new
937
+ @OutputStorage.deserialize(params['OutputStorage'])
938
+ end
939
+ end
940
+ end
941
+
942
+ # 智能去水印结果类型
943
+ class AiAnalysisTaskDelLogoResult < TencentCloud::Common::AbstractModel
944
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
945
+ # @type Status: String
946
+ # @param ErrCode: 错误码,0:成功,其他值:失败。
947
+ # @type ErrCode: Integer
948
+ # @param Message: 错误信息。
949
+ # @type Message: String
950
+ # @param Input: 智能去水印任务输入。
951
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoInput`
952
+ # @param Output: 智能去水印任务输出。
953
+ # 注意:此字段可能返回 null,表示取不到有效值。
954
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoOutput`
955
+
956
+ attr_accessor :Status, :ErrCode, :Message, :Input, :Output
957
+
958
+ def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
959
+ @Status = status
960
+ @ErrCode = errcode
961
+ @Message = message
962
+ @Input = input
963
+ @Output = output
964
+ end
965
+
966
+ def deserialize(params)
967
+ @Status = params['Status']
968
+ @ErrCode = params['ErrCode']
969
+ @Message = params['Message']
970
+ unless params['Input'].nil?
971
+ @Input = AiAnalysisTaskDelLogoInput.new
972
+ @Input.deserialize(params['Input'])
973
+ end
974
+ unless params['Output'].nil?
975
+ @Output = AiAnalysisTaskDelLogoOutput.new
976
+ @Output.deserialize(params['Output'])
977
+ end
978
+ end
979
+ end
980
+
887
981
  # 智能按帧标签任务输入类型
888
982
  class AiAnalysisTaskFrameTagInput < TencentCloud::Common::AbstractModel
889
983
  # @param Definition: 视频智能按帧标签模板 ID。
@@ -1455,8 +1549,8 @@ module TencentCloud
1455
1549
 
1456
1550
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
1457
1551
  extend Gem::Deprecate
1458
- deprecate :OutputStorage, :none, 2023, 9
1459
- deprecate :OutputStorage=, :none, 2023, 9
1552
+ deprecate :OutputStorage, :none, 2023, 10
1553
+ deprecate :OutputStorage=, :none, 2023, 10
1460
1554
 
1461
1555
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
1462
1556
  @SegmentSet = segmentset
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.672
4
+ version: 3.0.674
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-10-09 00:00:00.000000000 Z
11
+ date: 2023-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common