tencentcloud-sdk-vod 1.0.319 → 1.0.320
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/v20180717/models.rb +93 -93
- 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: a89f4486b3562375f52191fc431844c71a24becc
|
4
|
+
data.tar.gz: e99115c731bf99567f52d073d88bff438f4ec6d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f99326ddb9745c805a476c8677ba0b698fbc30ef4771731fb095ce08f7c50aee0bf888f8a8750c1149b90331a4a0a4d7c1a59a970e87fad75ab0aca557ea5021
|
7
|
+
data.tar.gz: 553f4fb694c10f3167b2e3223b6fef15bc1b3265c7f6ba2fcf64de4d9cd72575926fb764ed72f863a31c0b594101e4ca80c522aba468328fe760b11ae4b52820
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.320
|
data/lib/v20180717/models.rb
CHANGED
@@ -4896,6 +4896,8 @@ module TencentCloud
|
|
4896
4896
|
|
4897
4897
|
# CreateAIAnalysisTemplate请求参数结构体
|
4898
4898
|
class CreateAIAnalysisTemplateRequest < TencentCloud::Common::AbstractModel
|
4899
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
4900
|
+
# @type SubAppId: Integer
|
4899
4901
|
# @param Name: 视频内容分析模板名称,长度限制:64 个字符。
|
4900
4902
|
# @type Name: String
|
4901
4903
|
# @param Comment: 视频内容分析模板描述信息,长度限制:256 个字符。
|
@@ -4910,12 +4912,11 @@ module TencentCloud
|
|
4910
4912
|
# @type FrameTagConfigure: :class:`Tencentcloud::Vod.v20180717.models.FrameTagConfigureInfo`
|
4911
4913
|
# @param HighlightConfigure: 智能精彩集锦任务控制参数。
|
4912
4914
|
# @type HighlightConfigure: :class:`Tencentcloud::Vod.v20180717.models.HighlightsConfigureInfo`
|
4913
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
4914
|
-
# @type SubAppId: Integer
|
4915
4915
|
|
4916
|
-
attr_accessor :Name, :Comment, :ClassificationConfigure, :TagConfigure, :CoverConfigure, :FrameTagConfigure, :HighlightConfigure
|
4916
|
+
attr_accessor :SubAppId, :Name, :Comment, :ClassificationConfigure, :TagConfigure, :CoverConfigure, :FrameTagConfigure, :HighlightConfigure
|
4917
4917
|
|
4918
|
-
def initialize(name=nil, comment=nil, classificationconfigure=nil, tagconfigure=nil, coverconfigure=nil, frametagconfigure=nil, highlightconfigure=nil
|
4918
|
+
def initialize(subappid=nil, name=nil, comment=nil, classificationconfigure=nil, tagconfigure=nil, coverconfigure=nil, frametagconfigure=nil, highlightconfigure=nil)
|
4919
|
+
@SubAppId = subappid
|
4919
4920
|
@Name = name
|
4920
4921
|
@Comment = comment
|
4921
4922
|
@ClassificationConfigure = classificationconfigure
|
@@ -4923,10 +4924,10 @@ module TencentCloud
|
|
4923
4924
|
@CoverConfigure = coverconfigure
|
4924
4925
|
@FrameTagConfigure = frametagconfigure
|
4925
4926
|
@HighlightConfigure = highlightconfigure
|
4926
|
-
@SubAppId = subappid
|
4927
4927
|
end
|
4928
4928
|
|
4929
4929
|
def deserialize(params)
|
4930
|
+
@SubAppId = params['SubAppId']
|
4930
4931
|
@Name = params['Name']
|
4931
4932
|
@Comment = params['Comment']
|
4932
4933
|
unless params['ClassificationConfigure'].nil?
|
@@ -4949,7 +4950,6 @@ module TencentCloud
|
|
4949
4950
|
@HighlightConfigure = HighlightsConfigureInfo.new
|
4950
4951
|
@HighlightConfigure.deserialize(params['HighlightConfigure'])
|
4951
4952
|
end
|
4952
|
-
@SubAppId = params['SubAppId']
|
4953
4953
|
end
|
4954
4954
|
end
|
4955
4955
|
|
@@ -4975,6 +4975,8 @@ module TencentCloud
|
|
4975
4975
|
|
4976
4976
|
# CreateAIRecognitionTemplate请求参数结构体
|
4977
4977
|
class CreateAIRecognitionTemplateRequest < TencentCloud::Common::AbstractModel
|
4978
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
4979
|
+
# @type SubAppId: Integer
|
4978
4980
|
# @param Name: 视频内容识别模板名称,长度限制:64 个字符。
|
4979
4981
|
# @type Name: String
|
4980
4982
|
# @param Comment: 视频内容识别模板描述信息,长度限制:256 个字符。
|
@@ -4997,12 +4999,11 @@ module TencentCloud
|
|
4997
4999
|
# @type ObjectConfigure: :class:`Tencentcloud::Vod.v20180717.models.ObjectConfigureInfo`
|
4998
5000
|
# @param ScreenshotInterval: 截帧间隔,单位为秒。当不填时,默认截帧间隔为 1 秒,最小值为 0.5 秒。
|
4999
5001
|
# @type ScreenshotInterval: Float
|
5000
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5001
|
-
# @type SubAppId: Integer
|
5002
5002
|
|
5003
|
-
attr_accessor :Name, :Comment, :HeadTailConfigure, :SegmentConfigure, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :ObjectConfigure, :ScreenshotInterval
|
5003
|
+
attr_accessor :SubAppId, :Name, :Comment, :HeadTailConfigure, :SegmentConfigure, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :ObjectConfigure, :ScreenshotInterval
|
5004
5004
|
|
5005
|
-
def initialize(name=nil, comment=nil, headtailconfigure=nil, segmentconfigure=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, objectconfigure=nil, screenshotinterval=nil
|
5005
|
+
def initialize(subappid=nil, name=nil, comment=nil, headtailconfigure=nil, segmentconfigure=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, objectconfigure=nil, screenshotinterval=nil)
|
5006
|
+
@SubAppId = subappid
|
5006
5007
|
@Name = name
|
5007
5008
|
@Comment = comment
|
5008
5009
|
@HeadTailConfigure = headtailconfigure
|
@@ -5014,10 +5015,10 @@ module TencentCloud
|
|
5014
5015
|
@AsrWordsConfigure = asrwordsconfigure
|
5015
5016
|
@ObjectConfigure = objectconfigure
|
5016
5017
|
@ScreenshotInterval = screenshotinterval
|
5017
|
-
@SubAppId = subappid
|
5018
5018
|
end
|
5019
5019
|
|
5020
5020
|
def deserialize(params)
|
5021
|
+
@SubAppId = params['SubAppId']
|
5021
5022
|
@Name = params['Name']
|
5022
5023
|
@Comment = params['Comment']
|
5023
5024
|
unless params['HeadTailConfigure'].nil?
|
@@ -5053,7 +5054,6 @@ module TencentCloud
|
|
5053
5054
|
@ObjectConfigure.deserialize(params['ObjectConfigure'])
|
5054
5055
|
end
|
5055
5056
|
@ScreenshotInterval = params['ScreenshotInterval']
|
5056
|
-
@SubAppId = params['SubAppId']
|
5057
5057
|
end
|
5058
5058
|
end
|
5059
5059
|
|
@@ -5085,6 +5085,8 @@ module TencentCloud
|
|
5085
5085
|
# @param StreamInfos: 自适应转码输出子流参数信息,最多输出10路子流。
|
5086
5086
|
# 注意:各个子流的帧率必须保持一致;如果不一致,采用第一个子流的帧率作为输出帧率。
|
5087
5087
|
# @type StreamInfos: Array
|
5088
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5089
|
+
# @type SubAppId: Integer
|
5088
5090
|
# @param Name: 模板名称,长度限制:64 个字符。
|
5089
5091
|
# @type Name: String
|
5090
5092
|
# @param DrmType: DRM 方案类型,取值范围:
|
@@ -5105,20 +5107,18 @@ module TencentCloud
|
|
5105
5107
|
# @type DisableHigherVideoResolution: Integer
|
5106
5108
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
5107
5109
|
# @type Comment: String
|
5108
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5109
|
-
# @type SubAppId: Integer
|
5110
5110
|
|
5111
|
-
attr_accessor :Format, :StreamInfos, :Name, :DrmType, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment
|
5111
|
+
attr_accessor :Format, :StreamInfos, :SubAppId, :Name, :DrmType, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment
|
5112
5112
|
|
5113
|
-
def initialize(format=nil, streaminfos=nil, name=nil, drmtype=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil
|
5113
|
+
def initialize(format=nil, streaminfos=nil, subappid=nil, name=nil, drmtype=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil)
|
5114
5114
|
@Format = format
|
5115
5115
|
@StreamInfos = streaminfos
|
5116
|
+
@SubAppId = subappid
|
5116
5117
|
@Name = name
|
5117
5118
|
@DrmType = drmtype
|
5118
5119
|
@DisableHigherVideoBitrate = disablehighervideobitrate
|
5119
5120
|
@DisableHigherVideoResolution = disablehighervideoresolution
|
5120
5121
|
@Comment = comment
|
5121
|
-
@SubAppId = subappid
|
5122
5122
|
end
|
5123
5123
|
|
5124
5124
|
def deserialize(params)
|
@@ -5131,12 +5131,12 @@ module TencentCloud
|
|
5131
5131
|
@StreamInfos << adaptivestreamtemplate_tmp
|
5132
5132
|
end
|
5133
5133
|
end
|
5134
|
+
@SubAppId = params['SubAppId']
|
5134
5135
|
@Name = params['Name']
|
5135
5136
|
@DrmType = params['DrmType']
|
5136
5137
|
@DisableHigherVideoBitrate = params['DisableHigherVideoBitrate']
|
5137
5138
|
@DisableHigherVideoResolution = params['DisableHigherVideoResolution']
|
5138
5139
|
@Comment = params['Comment']
|
5139
|
-
@SubAppId = params['SubAppId']
|
5140
5140
|
end
|
5141
5141
|
end
|
5142
5142
|
|
@@ -5164,6 +5164,8 @@ module TencentCloud
|
|
5164
5164
|
class CreateAnimatedGraphicsTemplateRequest < TencentCloud::Common::AbstractModel
|
5165
5165
|
# @param Fps: 帧率,取值范围:[1, 30],单位:Hz。
|
5166
5166
|
# @type Fps: Integer
|
5167
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5168
|
+
# @type SubAppId: Integer
|
5167
5169
|
# @param Width: 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
5168
5170
|
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
5169
5171
|
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
@@ -5191,13 +5193,12 @@ module TencentCloud
|
|
5191
5193
|
# @type Name: String
|
5192
5194
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
5193
5195
|
# @type Comment: String
|
5194
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5195
|
-
# @type SubAppId: Integer
|
5196
5196
|
|
5197
|
-
attr_accessor :Fps, :Width, :Height, :ResolutionAdaptive, :Format, :Quality, :Name, :Comment
|
5197
|
+
attr_accessor :Fps, :SubAppId, :Width, :Height, :ResolutionAdaptive, :Format, :Quality, :Name, :Comment
|
5198
5198
|
|
5199
|
-
def initialize(fps=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, quality=nil, name=nil, comment=nil
|
5199
|
+
def initialize(fps=nil, subappid=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, quality=nil, name=nil, comment=nil)
|
5200
5200
|
@Fps = fps
|
5201
|
+
@SubAppId = subappid
|
5201
5202
|
@Width = width
|
5202
5203
|
@Height = height
|
5203
5204
|
@ResolutionAdaptive = resolutionadaptive
|
@@ -5205,11 +5206,11 @@ module TencentCloud
|
|
5205
5206
|
@Quality = quality
|
5206
5207
|
@Name = name
|
5207
5208
|
@Comment = comment
|
5208
|
-
@SubAppId = subappid
|
5209
5209
|
end
|
5210
5210
|
|
5211
5211
|
def deserialize(params)
|
5212
5212
|
@Fps = params['Fps']
|
5213
|
+
@SubAppId = params['SubAppId']
|
5213
5214
|
@Width = params['Width']
|
5214
5215
|
@Height = params['Height']
|
5215
5216
|
@ResolutionAdaptive = params['ResolutionAdaptive']
|
@@ -5217,7 +5218,6 @@ module TencentCloud
|
|
5217
5218
|
@Quality = params['Quality']
|
5218
5219
|
@Name = params['Name']
|
5219
5220
|
@Comment = params['Comment']
|
5220
|
-
@SubAppId = params['SubAppId']
|
5221
5221
|
end
|
5222
5222
|
end
|
5223
5223
|
|
@@ -5291,6 +5291,8 @@ module TencentCloud
|
|
5291
5291
|
# <li>ON:是;</li>
|
5292
5292
|
# <li>OFF:否。</li>
|
5293
5293
|
# @type ReviewWallSwitch: String
|
5294
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5295
|
+
# @type SubAppId: Integer
|
5294
5296
|
# @param Name: 内容智能识别模板名称,长度限制:64 个字符。
|
5295
5297
|
# @type Name: String
|
5296
5298
|
# @param Comment: 内容智能识别模板描述信息,长度限制:256 个字符。
|
@@ -5309,13 +5311,12 @@ module TencentCloud
|
|
5309
5311
|
# @type UserDefineConfigure: :class:`Tencentcloud::Vod.v20180717.models.UserDefineConfigureInfo`
|
5310
5312
|
# @param ScreenshotInterval: 截帧间隔,单位为秒。当不填时,默认截帧间隔为 1 秒,最小值为 0.5 秒。
|
5311
5313
|
# @type ScreenshotInterval: Float
|
5312
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5313
|
-
# @type SubAppId: Integer
|
5314
5314
|
|
5315
|
-
attr_accessor :ReviewWallSwitch, :Name, :Comment, :PornConfigure, :TerrorismConfigure, :PoliticalConfigure, :ProhibitedConfigure, :UserDefineConfigure, :ScreenshotInterval
|
5315
|
+
attr_accessor :ReviewWallSwitch, :SubAppId, :Name, :Comment, :PornConfigure, :TerrorismConfigure, :PoliticalConfigure, :ProhibitedConfigure, :UserDefineConfigure, :ScreenshotInterval
|
5316
5316
|
|
5317
|
-
def initialize(reviewwallswitch=nil, name=nil, comment=nil, pornconfigure=nil, terrorismconfigure=nil, politicalconfigure=nil, prohibitedconfigure=nil, userdefineconfigure=nil, screenshotinterval=nil
|
5317
|
+
def initialize(reviewwallswitch=nil, subappid=nil, name=nil, comment=nil, pornconfigure=nil, terrorismconfigure=nil, politicalconfigure=nil, prohibitedconfigure=nil, userdefineconfigure=nil, screenshotinterval=nil)
|
5318
5318
|
@ReviewWallSwitch = reviewwallswitch
|
5319
|
+
@SubAppId = subappid
|
5319
5320
|
@Name = name
|
5320
5321
|
@Comment = comment
|
5321
5322
|
@PornConfigure = pornconfigure
|
@@ -5324,11 +5325,11 @@ module TencentCloud
|
|
5324
5325
|
@ProhibitedConfigure = prohibitedconfigure
|
5325
5326
|
@UserDefineConfigure = userdefineconfigure
|
5326
5327
|
@ScreenshotInterval = screenshotinterval
|
5327
|
-
@SubAppId = subappid
|
5328
5328
|
end
|
5329
5329
|
|
5330
5330
|
def deserialize(params)
|
5331
5331
|
@ReviewWallSwitch = params['ReviewWallSwitch']
|
5332
|
+
@SubAppId = params['SubAppId']
|
5332
5333
|
@Name = params['Name']
|
5333
5334
|
@Comment = params['Comment']
|
5334
5335
|
unless params['PornConfigure'].nil?
|
@@ -5352,7 +5353,6 @@ module TencentCloud
|
|
5352
5353
|
@UserDefineConfigure.deserialize(params['UserDefineConfigure'])
|
5353
5354
|
end
|
5354
5355
|
@ScreenshotInterval = params['ScreenshotInterval']
|
5355
|
-
@SubAppId = params['SubAppId']
|
5356
5356
|
end
|
5357
5357
|
end
|
5358
5358
|
|
@@ -5553,6 +5553,8 @@ module TencentCloud
|
|
5553
5553
|
# @type RowCount: Integer
|
5554
5554
|
# @param ColumnCount: 雪碧图中小图的列数。
|
5555
5555
|
# @type ColumnCount: Integer
|
5556
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5557
|
+
# @type SubAppId: Integer
|
5556
5558
|
# @param Name: 雪碧图模板名称,长度限制:64 个字符。
|
5557
5559
|
# @type Name: String
|
5558
5560
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
@@ -5581,23 +5583,21 @@ module TencentCloud
|
|
5581
5583
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
5582
5584
|
# 默认值:open。
|
5583
5585
|
# @type ResolutionAdaptive: String
|
5584
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5585
|
-
# @type SubAppId: Integer
|
5586
5586
|
|
5587
|
-
attr_accessor :SampleType, :SampleInterval, :RowCount, :ColumnCount, :Name, :Comment, :FillType, :Width, :Height, :ResolutionAdaptive
|
5587
|
+
attr_accessor :SampleType, :SampleInterval, :RowCount, :ColumnCount, :SubAppId, :Name, :Comment, :FillType, :Width, :Height, :ResolutionAdaptive
|
5588
5588
|
|
5589
|
-
def initialize(sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, name=nil, comment=nil, filltype=nil, width=nil, height=nil, resolutionadaptive=nil
|
5589
|
+
def initialize(sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, subappid=nil, name=nil, comment=nil, filltype=nil, width=nil, height=nil, resolutionadaptive=nil)
|
5590
5590
|
@SampleType = sampletype
|
5591
5591
|
@SampleInterval = sampleinterval
|
5592
5592
|
@RowCount = rowcount
|
5593
5593
|
@ColumnCount = columncount
|
5594
|
+
@SubAppId = subappid
|
5594
5595
|
@Name = name
|
5595
5596
|
@Comment = comment
|
5596
5597
|
@FillType = filltype
|
5597
5598
|
@Width = width
|
5598
5599
|
@Height = height
|
5599
5600
|
@ResolutionAdaptive = resolutionadaptive
|
5600
|
-
@SubAppId = subappid
|
5601
5601
|
end
|
5602
5602
|
|
5603
5603
|
def deserialize(params)
|
@@ -5605,13 +5605,13 @@ module TencentCloud
|
|
5605
5605
|
@SampleInterval = params['SampleInterval']
|
5606
5606
|
@RowCount = params['RowCount']
|
5607
5607
|
@ColumnCount = params['ColumnCount']
|
5608
|
+
@SubAppId = params['SubAppId']
|
5608
5609
|
@Name = params['Name']
|
5609
5610
|
@Comment = params['Comment']
|
5610
5611
|
@FillType = params['FillType']
|
5611
5612
|
@Width = params['Width']
|
5612
5613
|
@Height = params['Height']
|
5613
5614
|
@ResolutionAdaptive = params['ResolutionAdaptive']
|
5614
|
-
@SubAppId = params['SubAppId']
|
5615
5615
|
end
|
5616
5616
|
end
|
5617
5617
|
|
@@ -5644,6 +5644,8 @@ module TencentCloud
|
|
5644
5644
|
# 2. Review:用于内容不适宜,等价于 Review.Face。
|
5645
5645
|
# 3. All:包含以上全部,等价于 1+2。
|
5646
5646
|
# @type Usages: Array
|
5647
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5648
|
+
# @type SubAppId: Integer
|
5647
5649
|
# @param Description: 素材描述,长度限制:1024 个字符。
|
5648
5650
|
# @type Description: String
|
5649
5651
|
# @param FaceContents: 素材图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串,仅支持 jpeg、png 图片格式。数组长度限制:5 张图片。
|
@@ -5653,27 +5655,25 @@ module TencentCloud
|
|
5653
5655
|
# <li>数组长度限制:20 个标签;</li>
|
5654
5656
|
# <li>单个标签长度限制:128 个字符。</li>
|
5655
5657
|
# @type Tags: Array
|
5656
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5657
|
-
# @type SubAppId: Integer
|
5658
5658
|
|
5659
|
-
attr_accessor :Name, :Usages, :Description, :FaceContents, :Tags
|
5659
|
+
attr_accessor :Name, :Usages, :SubAppId, :Description, :FaceContents, :Tags
|
5660
5660
|
|
5661
|
-
def initialize(name=nil, usages=nil,
|
5661
|
+
def initialize(name=nil, usages=nil, subappid=nil, description=nil, facecontents=nil, tags=nil)
|
5662
5662
|
@Name = name
|
5663
5663
|
@Usages = usages
|
5664
|
+
@SubAppId = subappid
|
5664
5665
|
@Description = description
|
5665
5666
|
@FaceContents = facecontents
|
5666
5667
|
@Tags = tags
|
5667
|
-
@SubAppId = subappid
|
5668
5668
|
end
|
5669
5669
|
|
5670
5670
|
def deserialize(params)
|
5671
5671
|
@Name = params['Name']
|
5672
5672
|
@Usages = params['Usages']
|
5673
|
+
@SubAppId = params['SubAppId']
|
5673
5674
|
@Description = params['Description']
|
5674
5675
|
@FaceContents = params['FaceContents']
|
5675
5676
|
@Tags = params['Tags']
|
5676
|
-
@SubAppId = params['SubAppId']
|
5677
5677
|
end
|
5678
5678
|
end
|
5679
5679
|
|
@@ -5789,6 +5789,8 @@ module TencentCloud
|
|
5789
5789
|
# <li>当 SampleType 为 Percent 时,指定采样间隔的百分比。</li>
|
5790
5790
|
# <li>当 SampleType 为 Time 时,指定采样间隔的时间,单位为秒。</li>
|
5791
5791
|
# @type SampleInterval: Integer
|
5792
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5793
|
+
# @type SubAppId: Integer
|
5792
5794
|
# @param Name: 采样截图模板名称,长度限制:64 个字符。
|
5793
5795
|
# @type Name: String
|
5794
5796
|
# @param Width: 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
@@ -5814,8 +5816,6 @@ module TencentCloud
|
|
5814
5816
|
# @type Format: String
|
5815
5817
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
5816
5818
|
# @type Comment: String
|
5817
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5818
|
-
# @type SubAppId: Integer
|
5819
5819
|
# @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
|
5820
5820
|
# <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
5821
5821
|
# <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
@@ -5824,31 +5824,31 @@ module TencentCloud
|
|
5824
5824
|
# 默认值:black 。
|
5825
5825
|
# @type FillType: String
|
5826
5826
|
|
5827
|
-
attr_accessor :SampleType, :SampleInterval, :Name, :Width, :Height, :ResolutionAdaptive, :Format, :Comment, :
|
5827
|
+
attr_accessor :SampleType, :SampleInterval, :SubAppId, :Name, :Width, :Height, :ResolutionAdaptive, :Format, :Comment, :FillType
|
5828
5828
|
|
5829
|
-
def initialize(sampletype=nil, sampleinterval=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, comment=nil,
|
5829
|
+
def initialize(sampletype=nil, sampleinterval=nil, subappid=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, comment=nil, filltype=nil)
|
5830
5830
|
@SampleType = sampletype
|
5831
5831
|
@SampleInterval = sampleinterval
|
5832
|
+
@SubAppId = subappid
|
5832
5833
|
@Name = name
|
5833
5834
|
@Width = width
|
5834
5835
|
@Height = height
|
5835
5836
|
@ResolutionAdaptive = resolutionadaptive
|
5836
5837
|
@Format = format
|
5837
5838
|
@Comment = comment
|
5838
|
-
@SubAppId = subappid
|
5839
5839
|
@FillType = filltype
|
5840
5840
|
end
|
5841
5841
|
|
5842
5842
|
def deserialize(params)
|
5843
5843
|
@SampleType = params['SampleType']
|
5844
5844
|
@SampleInterval = params['SampleInterval']
|
5845
|
+
@SubAppId = params['SubAppId']
|
5845
5846
|
@Name = params['Name']
|
5846
5847
|
@Width = params['Width']
|
5847
5848
|
@Height = params['Height']
|
5848
5849
|
@ResolutionAdaptive = params['ResolutionAdaptive']
|
5849
5850
|
@Format = params['Format']
|
5850
5851
|
@Comment = params['Comment']
|
5851
|
-
@SubAppId = params['SubAppId']
|
5852
5852
|
@FillType = params['FillType']
|
5853
5853
|
end
|
5854
5854
|
end
|
@@ -5875,6 +5875,8 @@ module TencentCloud
|
|
5875
5875
|
|
5876
5876
|
# CreateSnapshotByTimeOffsetTemplate请求参数结构体
|
5877
5877
|
class CreateSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
|
5878
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5879
|
+
# @type SubAppId: Integer
|
5878
5880
|
# @param Name: 指定时间点截图模板名称,长度限制:64 个字符。
|
5879
5881
|
# @type Name: String
|
5880
5882
|
# @param Width: 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
@@ -5900,8 +5902,6 @@ module TencentCloud
|
|
5900
5902
|
# @type Format: String
|
5901
5903
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
5902
5904
|
# @type Comment: String
|
5903
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
5904
|
-
# @type SubAppId: Integer
|
5905
5905
|
# @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
|
5906
5906
|
# <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
5907
5907
|
# <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
@@ -5910,27 +5910,27 @@ module TencentCloud
|
|
5910
5910
|
# 默认值:black 。
|
5911
5911
|
# @type FillType: String
|
5912
5912
|
|
5913
|
-
attr_accessor :Name, :Width, :Height, :ResolutionAdaptive, :Format, :Comment, :
|
5913
|
+
attr_accessor :SubAppId, :Name, :Width, :Height, :ResolutionAdaptive, :Format, :Comment, :FillType
|
5914
5914
|
|
5915
|
-
def initialize(name=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, comment=nil,
|
5915
|
+
def initialize(subappid=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, comment=nil, filltype=nil)
|
5916
|
+
@SubAppId = subappid
|
5916
5917
|
@Name = name
|
5917
5918
|
@Width = width
|
5918
5919
|
@Height = height
|
5919
5920
|
@ResolutionAdaptive = resolutionadaptive
|
5920
5921
|
@Format = format
|
5921
5922
|
@Comment = comment
|
5922
|
-
@SubAppId = subappid
|
5923
5923
|
@FillType = filltype
|
5924
5924
|
end
|
5925
5925
|
|
5926
5926
|
def deserialize(params)
|
5927
|
+
@SubAppId = params['SubAppId']
|
5927
5928
|
@Name = params['Name']
|
5928
5929
|
@Width = params['Width']
|
5929
5930
|
@Height = params['Height']
|
5930
5931
|
@ResolutionAdaptive = params['ResolutionAdaptive']
|
5931
5932
|
@Format = params['Format']
|
5932
5933
|
@Comment = params['Comment']
|
5933
|
-
@SubAppId = params['SubAppId']
|
5934
5934
|
@FillType = params['FillType']
|
5935
5935
|
end
|
5936
5936
|
end
|
@@ -6144,6 +6144,8 @@ module TencentCloud
|
|
6144
6144
|
class CreateTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
6145
6145
|
# @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
|
6146
6146
|
# @type Container: String
|
6147
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6148
|
+
# @type SubAppId: Integer
|
6147
6149
|
# @param Name: 转码模板名称,长度限制:64 个字符。
|
6148
6150
|
# @type Name: String
|
6149
6151
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
@@ -6164,13 +6166,12 @@ module TencentCloud
|
|
6164
6166
|
# @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfo`
|
6165
6167
|
# @param TEHDConfig: 极速高清转码参数。
|
6166
6168
|
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
|
6167
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
6168
|
-
# @type SubAppId: Integer
|
6169
6169
|
|
6170
|
-
attr_accessor :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
|
6170
|
+
attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
|
6171
6171
|
|
6172
|
-
def initialize(container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil
|
6172
|
+
def initialize(container=nil, subappid=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil)
|
6173
6173
|
@Container = container
|
6174
|
+
@SubAppId = subappid
|
6174
6175
|
@Name = name
|
6175
6176
|
@Comment = comment
|
6176
6177
|
@RemoveVideo = removevideo
|
@@ -6178,11 +6179,11 @@ module TencentCloud
|
|
6178
6179
|
@VideoTemplate = videotemplate
|
6179
6180
|
@AudioTemplate = audiotemplate
|
6180
6181
|
@TEHDConfig = tehdconfig
|
6181
|
-
@SubAppId = subappid
|
6182
6182
|
end
|
6183
6183
|
|
6184
6184
|
def deserialize(params)
|
6185
6185
|
@Container = params['Container']
|
6186
|
+
@SubAppId = params['SubAppId']
|
6186
6187
|
@Name = params['Name']
|
6187
6188
|
@Comment = params['Comment']
|
6188
6189
|
@RemoveVideo = params['RemoveVideo']
|
@@ -6199,7 +6200,6 @@ module TencentCloud
|
|
6199
6200
|
@TEHDConfig = TEHDConfig.new
|
6200
6201
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
6201
6202
|
end
|
6202
|
-
@SubAppId = params['SubAppId']
|
6203
6203
|
end
|
6204
6204
|
end
|
6205
6205
|
|
@@ -6274,6 +6274,8 @@ module TencentCloud
|
|
6274
6274
|
# <li>text:文字水印;</li>
|
6275
6275
|
# <li>svg:SVG 水印。</li>
|
6276
6276
|
# @type Type: String
|
6277
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6278
|
+
# @type SubAppId: Integer
|
6277
6279
|
# @param Name: 水印模板名称,长度限制:64 个字符。
|
6278
6280
|
# @type Name: String
|
6279
6281
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
@@ -6301,13 +6303,12 @@ module TencentCloud
|
|
6301
6303
|
# @type TextTemplate: :class:`Tencentcloud::Vod.v20180717.models.TextWatermarkTemplateInput`
|
6302
6304
|
# @param SvgTemplate: SVG水印模板,当 Type 为 svg,该字段必填。当 Type 为 image 或 text,该字段无效。
|
6303
6305
|
# @type SvgTemplate: :class:`Tencentcloud::Vod.v20180717.models.SvgWatermarkInput`
|
6304
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
6305
|
-
# @type SubAppId: Integer
|
6306
6306
|
|
6307
|
-
attr_accessor :Type, :Name, :Comment, :CoordinateOrigin, :XPos, :YPos, :ImageTemplate, :TextTemplate, :SvgTemplate
|
6307
|
+
attr_accessor :Type, :SubAppId, :Name, :Comment, :CoordinateOrigin, :XPos, :YPos, :ImageTemplate, :TextTemplate, :SvgTemplate
|
6308
6308
|
|
6309
|
-
def initialize(type=nil, name=nil, comment=nil, coordinateorigin=nil, xpos=nil, ypos=nil, imagetemplate=nil, texttemplate=nil, svgtemplate=nil
|
6309
|
+
def initialize(type=nil, subappid=nil, name=nil, comment=nil, coordinateorigin=nil, xpos=nil, ypos=nil, imagetemplate=nil, texttemplate=nil, svgtemplate=nil)
|
6310
6310
|
@Type = type
|
6311
|
+
@SubAppId = subappid
|
6311
6312
|
@Name = name
|
6312
6313
|
@Comment = comment
|
6313
6314
|
@CoordinateOrigin = coordinateorigin
|
@@ -6316,11 +6317,11 @@ module TencentCloud
|
|
6316
6317
|
@ImageTemplate = imagetemplate
|
6317
6318
|
@TextTemplate = texttemplate
|
6318
6319
|
@SvgTemplate = svgtemplate
|
6319
|
-
@SubAppId = subappid
|
6320
6320
|
end
|
6321
6321
|
|
6322
6322
|
def deserialize(params)
|
6323
6323
|
@Type = params['Type']
|
6324
|
+
@SubAppId = params['SubAppId']
|
6324
6325
|
@Name = params['Name']
|
6325
6326
|
@Comment = params['Comment']
|
6326
6327
|
@CoordinateOrigin = params['CoordinateOrigin']
|
@@ -6338,7 +6339,6 @@ module TencentCloud
|
|
6338
6339
|
@SvgTemplate = SvgWatermarkInput.new
|
6339
6340
|
@SvgTemplate.deserialize(params['SvgTemplate'])
|
6340
6341
|
end
|
6341
|
-
@SubAppId = params['SubAppId']
|
6342
6342
|
end
|
6343
6343
|
end
|
6344
6344
|
|
@@ -6380,7 +6380,7 @@ module TencentCloud
|
|
6380
6380
|
# @type Usages: Array
|
6381
6381
|
# @param Words: 关键词,数组长度限制:100。
|
6382
6382
|
# @type Words: Array
|
6383
|
-
# @param SubAppId:
|
6383
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6384
6384
|
# @type SubAppId: Integer
|
6385
6385
|
|
6386
6386
|
attr_accessor :Usages, :Words, :SubAppId
|
@@ -6824,7 +6824,7 @@ module TencentCloud
|
|
6824
6824
|
class DeletePersonSampleRequest < TencentCloud::Common::AbstractModel
|
6825
6825
|
# @param PersonId: 素材 ID。
|
6826
6826
|
# @type PersonId: String
|
6827
|
-
# @param SubAppId:
|
6827
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6828
6828
|
# @type SubAppId: Integer
|
6829
6829
|
|
6830
6830
|
attr_accessor :PersonId, :SubAppId
|
@@ -7112,7 +7112,7 @@ module TencentCloud
|
|
7112
7112
|
class DeleteWordSamplesRequest < TencentCloud::Common::AbstractModel
|
7113
7113
|
# @param Keywords: 关键词,数组长度限制:100 个词。
|
7114
7114
|
# @type Keywords: Array
|
7115
|
-
# @param SubAppId:
|
7115
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
7116
7116
|
# @type SubAppId: Integer
|
7117
7117
|
|
7118
7118
|
attr_accessor :Keywords, :SubAppId
|
@@ -8565,6 +8565,8 @@ module TencentCloud
|
|
8565
8565
|
|
8566
8566
|
# DescribePersonSamples请求参数结构体
|
8567
8567
|
class DescribePersonSamplesRequest < TencentCloud::Common::AbstractModel
|
8568
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
8569
|
+
# @type SubAppId: Integer
|
8568
8570
|
# @param Type: 拉取的素材类型,可选值:
|
8569
8571
|
# <li>UserDefine:用户自定义素材库;</li>
|
8570
8572
|
# <li>Default:系统默认素材库。</li>
|
@@ -8582,29 +8584,27 @@ module TencentCloud
|
|
8582
8584
|
# @type Offset: Integer
|
8583
8585
|
# @param Limit: 返回记录条数,默认值:100,最大值:100。
|
8584
8586
|
# @type Limit: Integer
|
8585
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
8586
|
-
# @type SubAppId: Integer
|
8587
8587
|
|
8588
|
-
attr_accessor :Type, :PersonIds, :Names, :Tags, :Offset, :Limit
|
8588
|
+
attr_accessor :SubAppId, :Type, :PersonIds, :Names, :Tags, :Offset, :Limit
|
8589
8589
|
|
8590
|
-
def initialize(type=nil, personids=nil, names=nil, tags=nil, offset=nil, limit=nil
|
8590
|
+
def initialize(subappid=nil, type=nil, personids=nil, names=nil, tags=nil, offset=nil, limit=nil)
|
8591
|
+
@SubAppId = subappid
|
8591
8592
|
@Type = type
|
8592
8593
|
@PersonIds = personids
|
8593
8594
|
@Names = names
|
8594
8595
|
@Tags = tags
|
8595
8596
|
@Offset = offset
|
8596
8597
|
@Limit = limit
|
8597
|
-
@SubAppId = subappid
|
8598
8598
|
end
|
8599
8599
|
|
8600
8600
|
def deserialize(params)
|
8601
|
+
@SubAppId = params['SubAppId']
|
8601
8602
|
@Type = params['Type']
|
8602
8603
|
@PersonIds = params['PersonIds']
|
8603
8604
|
@Names = params['Names']
|
8604
8605
|
@Tags = params['Tags']
|
8605
8606
|
@Offset = params['Offset']
|
8606
8607
|
@Limit = params['Limit']
|
8607
|
-
@SubAppId = params['SubAppId']
|
8608
8608
|
end
|
8609
8609
|
end
|
8610
8610
|
|
@@ -9713,6 +9713,8 @@ module TencentCloud
|
|
9713
9713
|
|
9714
9714
|
# DescribeWordSamples请求参数结构体
|
9715
9715
|
class DescribeWordSamplesRequest < TencentCloud::Common::AbstractModel
|
9716
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
9717
|
+
# @type SubAppId: Integer
|
9716
9718
|
# @param Usages: <b>关键词应用场景过滤条件,可选值:</b>
|
9717
9719
|
# 1. Recognition.Ocr:通过光学字符识别技术,进行内容识别;
|
9718
9720
|
# 2. Recognition.Asr:通过音频识别技术,进行内容识别;
|
@@ -9731,27 +9733,25 @@ module TencentCloud
|
|
9731
9733
|
# @type Offset: Integer
|
9732
9734
|
# @param Limit: 返回记录条数,默认值:100,最大值:100。
|
9733
9735
|
# @type Limit: Integer
|
9734
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
9735
|
-
# @type SubAppId: Integer
|
9736
9736
|
|
9737
|
-
attr_accessor :Usages, :Keywords, :Tags, :Offset, :Limit
|
9737
|
+
attr_accessor :SubAppId, :Usages, :Keywords, :Tags, :Offset, :Limit
|
9738
9738
|
|
9739
|
-
def initialize(usages=nil, keywords=nil, tags=nil, offset=nil, limit=nil
|
9739
|
+
def initialize(subappid=nil, usages=nil, keywords=nil, tags=nil, offset=nil, limit=nil)
|
9740
|
+
@SubAppId = subappid
|
9740
9741
|
@Usages = usages
|
9741
9742
|
@Keywords = keywords
|
9742
9743
|
@Tags = tags
|
9743
9744
|
@Offset = offset
|
9744
9745
|
@Limit = limit
|
9745
|
-
@SubAppId = subappid
|
9746
9746
|
end
|
9747
9747
|
|
9748
9748
|
def deserialize(params)
|
9749
|
+
@SubAppId = params['SubAppId']
|
9749
9750
|
@Usages = params['Usages']
|
9750
9751
|
@Keywords = params['Keywords']
|
9751
9752
|
@Tags = params['Tags']
|
9752
9753
|
@Offset = params['Offset']
|
9753
9754
|
@Limit = params['Limit']
|
9754
|
-
@SubAppId = params['SubAppId']
|
9755
9755
|
end
|
9756
9756
|
end
|
9757
9757
|
|
@@ -14478,6 +14478,8 @@ module TencentCloud
|
|
14478
14478
|
class ModifyPersonSampleRequest < TencentCloud::Common::AbstractModel
|
14479
14479
|
# @param PersonId: 素材 ID。
|
14480
14480
|
# @type PersonId: String
|
14481
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
14482
|
+
# @type SubAppId: Integer
|
14481
14483
|
# @param Name: 名称,长度限制:128 个字符。
|
14482
14484
|
# @type Name: String
|
14483
14485
|
# @param Description: 描述,长度限制:1024 个字符。
|
@@ -14491,23 +14493,22 @@ module TencentCloud
|
|
14491
14493
|
# @type FaceOperationInfo: :class:`Tencentcloud::Vod.v20180717.models.AiSampleFaceOperation`
|
14492
14494
|
# @param TagOperationInfo: 标签操作信息。
|
14493
14495
|
# @type TagOperationInfo: :class:`Tencentcloud::Vod.v20180717.models.AiSampleTagOperation`
|
14494
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
14495
|
-
# @type SubAppId: Integer
|
14496
14496
|
|
14497
|
-
attr_accessor :PersonId, :Name, :Description, :Usages, :FaceOperationInfo, :TagOperationInfo
|
14497
|
+
attr_accessor :PersonId, :SubAppId, :Name, :Description, :Usages, :FaceOperationInfo, :TagOperationInfo
|
14498
14498
|
|
14499
|
-
def initialize(personid=nil, name=nil, description=nil, usages=nil, faceoperationinfo=nil, tagoperationinfo=nil
|
14499
|
+
def initialize(personid=nil, subappid=nil, name=nil, description=nil, usages=nil, faceoperationinfo=nil, tagoperationinfo=nil)
|
14500
14500
|
@PersonId = personid
|
14501
|
+
@SubAppId = subappid
|
14501
14502
|
@Name = name
|
14502
14503
|
@Description = description
|
14503
14504
|
@Usages = usages
|
14504
14505
|
@FaceOperationInfo = faceoperationinfo
|
14505
14506
|
@TagOperationInfo = tagoperationinfo
|
14506
|
-
@SubAppId = subappid
|
14507
14507
|
end
|
14508
14508
|
|
14509
14509
|
def deserialize(params)
|
14510
14510
|
@PersonId = params['PersonId']
|
14511
|
+
@SubAppId = params['SubAppId']
|
14511
14512
|
@Name = params['Name']
|
14512
14513
|
@Description = params['Description']
|
14513
14514
|
@Usages = params['Usages']
|
@@ -14519,7 +14520,6 @@ module TencentCloud
|
|
14519
14520
|
@TagOperationInfo = AiSampleTagOperation.new
|
14520
14521
|
@TagOperationInfo.deserialize(params['TagOperationInfo'])
|
14521
14522
|
end
|
14522
|
-
@SubAppId = params['SubAppId']
|
14523
14523
|
end
|
14524
14524
|
end
|
14525
14525
|
|
@@ -15182,6 +15182,8 @@ module TencentCloud
|
|
15182
15182
|
class ModifyWordSampleRequest < TencentCloud::Common::AbstractModel
|
15183
15183
|
# @param Keyword: 关键词,长度限制:128 个字符。
|
15184
15184
|
# @type Keyword: String
|
15185
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
15186
|
+
# @type SubAppId: Integer
|
15185
15187
|
# @param Usages: <b>关键词应用场景,可选值:</b>
|
15186
15188
|
# 1. Recognition.Ocr:通过光学字符识别技术,进行内容识别;
|
15187
15189
|
# 2. Recognition.Asr:通过音频识别技术,进行内容识别;
|
@@ -15194,26 +15196,24 @@ module TencentCloud
|
|
15194
15196
|
# @type Usages: Array
|
15195
15197
|
# @param TagOperationInfo: 标签操作信息。
|
15196
15198
|
# @type TagOperationInfo: :class:`Tencentcloud::Vod.v20180717.models.AiSampleTagOperation`
|
15197
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
15198
|
-
# @type SubAppId: Integer
|
15199
15199
|
|
15200
|
-
attr_accessor :Keyword, :
|
15200
|
+
attr_accessor :Keyword, :SubAppId, :Usages, :TagOperationInfo
|
15201
15201
|
|
15202
|
-
def initialize(keyword=nil,
|
15202
|
+
def initialize(keyword=nil, subappid=nil, usages=nil, tagoperationinfo=nil)
|
15203
15203
|
@Keyword = keyword
|
15204
|
+
@SubAppId = subappid
|
15204
15205
|
@Usages = usages
|
15205
15206
|
@TagOperationInfo = tagoperationinfo
|
15206
|
-
@SubAppId = subappid
|
15207
15207
|
end
|
15208
15208
|
|
15209
15209
|
def deserialize(params)
|
15210
15210
|
@Keyword = params['Keyword']
|
15211
|
+
@SubAppId = params['SubAppId']
|
15211
15212
|
@Usages = params['Usages']
|
15212
15213
|
unless params['TagOperationInfo'].nil?
|
15213
15214
|
@TagOperationInfo = AiSampleTagOperation.new
|
15214
15215
|
@TagOperationInfo.deserialize(params['TagOperationInfo'])
|
15215
15216
|
end
|
15216
|
-
@SubAppId = params['SubAppId']
|
15217
15217
|
end
|
15218
15218
|
end
|
15219
15219
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.320
|
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-05-
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|