tencentcloud-sdk-vod 3.0.657 → 3.0.659
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/client.rb +0 -24
- data/lib/v20180717/models.rb +122 -40
- 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: 85eb1ffe4a4fd7f66210077e7fbc114db1bcc7fd
|
4
|
+
data.tar.gz: be24cabebc7df4cf20004d483163a33359dfee47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 643db8bfc32fa48c01906b60c2402bc479c026c46ebe9d9b87b1cb122d4784377857fc5d2fc376bc12e2b32ff73ad6b796c4501ab5ae6bff79d974f225bc2050
|
7
|
+
data.tar.gz: 9b15bb1ab4fc6fecdb3aa6c59fa9f66ecfdca7774718c92418a6e125e4549e6041d7a0ca8806eb32903c5f7de97872bb1f7dee3a781c3a4343ff62066447bf4a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.659
|
data/lib/v20180717/client.rb
CHANGED
@@ -4147,30 +4147,6 @@ module TencentCloud
|
|
4147
4147
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4148
4148
|
end
|
4149
4149
|
|
4150
|
-
# 控制台验证域名归属
|
4151
|
-
|
4152
|
-
# @param request: Request instance for VerifyDomainOwnershipForConsole.
|
4153
|
-
# @type request: :class:`Tencentcloud::vod::V20180717::VerifyDomainOwnershipForConsoleRequest`
|
4154
|
-
# @rtype: :class:`Tencentcloud::vod::V20180717::VerifyDomainOwnershipForConsoleResponse`
|
4155
|
-
def VerifyDomainOwnershipForConsole(request)
|
4156
|
-
body = send_request('VerifyDomainOwnershipForConsole', request.serialize)
|
4157
|
-
response = JSON.parse(body)
|
4158
|
-
if response['Response'].key?('Error') == false
|
4159
|
-
model = VerifyDomainOwnershipForConsoleResponse.new
|
4160
|
-
model.deserialize(response['Response'])
|
4161
|
-
model
|
4162
|
-
else
|
4163
|
-
code = response['Response']['Error']['Code']
|
4164
|
-
message = response['Response']['Error']['Message']
|
4165
|
-
reqid = response['Response']['RequestId']
|
4166
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4167
|
-
end
|
4168
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4169
|
-
raise e
|
4170
|
-
rescue StandardError => e
|
4171
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4172
|
-
end
|
4173
|
-
|
4174
4150
|
# 该接口用于验证域名解析值。
|
4175
4151
|
|
4176
4152
|
# @param request: Request instance for VerifyDomainRecord.
|
data/lib/v20180717/models.rb
CHANGED
@@ -1978,12 +1978,18 @@ module TencentCloud
|
|
1978
1978
|
# @type Name: String
|
1979
1979
|
# @param SegmentSet: 物体出现的片段列表。
|
1980
1980
|
# @type SegmentSet: Array
|
1981
|
+
# @param RecognitionSegmentSet: 物体出现的片段列表。
|
1982
|
+
# @type RecognitionSegmentSet: Array
|
1981
1983
|
|
1982
|
-
attr_accessor :Name, :SegmentSet
|
1984
|
+
attr_accessor :Name, :SegmentSet, :RecognitionSegmentSet
|
1985
|
+
extend Gem::Deprecate
|
1986
|
+
deprecate :SegmentSet, :none, 2023, 9
|
1987
|
+
deprecate :SegmentSet=, :none, 2023, 9
|
1983
1988
|
|
1984
|
-
def initialize(name=nil, segmentset=nil)
|
1989
|
+
def initialize(name=nil, segmentset=nil, recognitionsegmentset=nil)
|
1985
1990
|
@Name = name
|
1986
1991
|
@SegmentSet = segmentset
|
1992
|
+
@RecognitionSegmentSet = recognitionsegmentset
|
1987
1993
|
end
|
1988
1994
|
|
1989
1995
|
def deserialize(params)
|
@@ -1996,6 +2002,14 @@ module TencentCloud
|
|
1996
2002
|
@SegmentSet << airecognitiontaskobjectseqmentitem_tmp
|
1997
2003
|
end
|
1998
2004
|
end
|
2005
|
+
unless params['RecognitionSegmentSet'].nil?
|
2006
|
+
@RecognitionSegmentSet = []
|
2007
|
+
params['RecognitionSegmentSet'].each do |i|
|
2008
|
+
airecognitiontaskobjectsegmentitem_tmp = AiRecognitionTaskObjectSegmentItem.new
|
2009
|
+
airecognitiontaskobjectsegmentitem_tmp.deserialize(i)
|
2010
|
+
@RecognitionSegmentSet << airecognitiontaskobjectsegmentitem_tmp
|
2011
|
+
end
|
2012
|
+
end
|
1999
2013
|
end
|
2000
2014
|
end
|
2001
2015
|
|
@@ -2031,6 +2045,34 @@ module TencentCloud
|
|
2031
2045
|
end
|
2032
2046
|
end
|
2033
2047
|
|
2048
|
+
# 物体识别结果片段。
|
2049
|
+
class AiRecognitionTaskObjectSegmentItem < TencentCloud::Common::AbstractModel
|
2050
|
+
# @param StartTimeOffset: 识别片段起始的偏移时间,单位:秒。
|
2051
|
+
# @type StartTimeOffset: Float
|
2052
|
+
# @param EndTimeOffset: 识别片段终止的偏移时间,单位:秒。
|
2053
|
+
# @type EndTimeOffset: Float
|
2054
|
+
# @param Confidence: 识别片段置信度。取值:0~100。
|
2055
|
+
# @type Confidence: Float
|
2056
|
+
# @param AreaCoordSet: 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
|
2057
|
+
# @type AreaCoordSet: Array
|
2058
|
+
|
2059
|
+
attr_accessor :StartTimeOffset, :EndTimeOffset, :Confidence, :AreaCoordSet
|
2060
|
+
|
2061
|
+
def initialize(starttimeoffset=nil, endtimeoffset=nil, confidence=nil, areacoordset=nil)
|
2062
|
+
@StartTimeOffset = starttimeoffset
|
2063
|
+
@EndTimeOffset = endtimeoffset
|
2064
|
+
@Confidence = confidence
|
2065
|
+
@AreaCoordSet = areacoordset
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
def deserialize(params)
|
2069
|
+
@StartTimeOffset = params['StartTimeOffset']
|
2070
|
+
@EndTimeOffset = params['EndTimeOffset']
|
2071
|
+
@Confidence = params['Confidence']
|
2072
|
+
@AreaCoordSet = params['AreaCoordSet']
|
2073
|
+
end
|
2074
|
+
end
|
2075
|
+
|
2034
2076
|
# 物体识别结果片段。
|
2035
2077
|
class AiRecognitionTaskObjectSeqmentItem < TencentCloud::Common::AbstractModel
|
2036
2078
|
# @param StartTimeOffset: 识别片段起始的偏移时间,单位:秒。
|
@@ -16493,12 +16535,18 @@ module TencentCloud
|
|
16493
16535
|
# @type Duration: Float
|
16494
16536
|
# @param Transitions: 转场操作列表。图像转场操作和音频转场操作各自最多支持一个。
|
16495
16537
|
# @type Transitions: Array
|
16538
|
+
# @param MediaTransitions: 转场操作列表。图像转场操作和音频转场操作各自最多支持一个。
|
16539
|
+
# @type MediaTransitions: Array
|
16496
16540
|
|
16497
|
-
attr_accessor :Duration, :Transitions
|
16541
|
+
attr_accessor :Duration, :Transitions, :MediaTransitions
|
16542
|
+
extend Gem::Deprecate
|
16543
|
+
deprecate :Transitions, :none, 2023, 9
|
16544
|
+
deprecate :Transitions=, :none, 2023, 9
|
16498
16545
|
|
16499
|
-
def initialize(duration=nil, transitions=nil)
|
16546
|
+
def initialize(duration=nil, transitions=nil, mediatransitions=nil)
|
16500
16547
|
@Duration = duration
|
16501
16548
|
@Transitions = transitions
|
16549
|
+
@MediaTransitions = mediatransitions
|
16502
16550
|
end
|
16503
16551
|
|
16504
16552
|
def deserialize(params)
|
@@ -16511,6 +16559,14 @@ module TencentCloud
|
|
16511
16559
|
@Transitions << transitionopertion_tmp
|
16512
16560
|
end
|
16513
16561
|
end
|
16562
|
+
unless params['MediaTransitions'].nil?
|
16563
|
+
@MediaTransitions = []
|
16564
|
+
params['MediaTransitions'].each do |i|
|
16565
|
+
transitionoperation_tmp = TransitionOperation.new
|
16566
|
+
transitionoperation_tmp.deserialize(i)
|
16567
|
+
@MediaTransitions << transitionoperation_tmp
|
16568
|
+
end
|
16569
|
+
end
|
16514
16570
|
end
|
16515
16571
|
end
|
16516
16572
|
|
@@ -25758,6 +25814,68 @@ module TencentCloud
|
|
25758
25814
|
end
|
25759
25815
|
end
|
25760
25816
|
|
25817
|
+
# 转场操作
|
25818
|
+
class TransitionOperation < TencentCloud::Common::AbstractModel
|
25819
|
+
# @param Type: 转场类型,取值有:
|
25820
|
+
# <ul>
|
25821
|
+
# <li>图像的转场操作,用于两个视频片段图像间的转场处理:
|
25822
|
+
# <ul>
|
25823
|
+
# <li>ImageFadeInFadeOut:图像淡入淡出。 </li>
|
25824
|
+
# <li>BowTieHorizontal:水平蝴蝶结。 </li>
|
25825
|
+
# <li>BowTieVertical:垂直蝴蝶结。 </li>
|
25826
|
+
# <li>ButterflyWaveScrawler:晃动。 </li>
|
25827
|
+
# <li>Cannabisleaf:枫叶。 </li>
|
25828
|
+
# <li>Circle:弧形收放。 </li>
|
25829
|
+
# <li>CircleCrop:圆环聚拢。 </li>
|
25830
|
+
# <li>Circleopen:椭圆聚拢。 </li>
|
25831
|
+
# <li>Crosswarp:横向翘曲。 </li>
|
25832
|
+
# <li>Cube:立方体。 </li>
|
25833
|
+
# <li>DoomScreenTransition:幕布。 </li>
|
25834
|
+
# <li>Doorway:门廊。 </li>
|
25835
|
+
# <li>Dreamy:波浪。 </li>
|
25836
|
+
# <li>DreamyZoom:水平聚拢。 </li>
|
25837
|
+
# <li>FilmBurn:火烧云。 </li>
|
25838
|
+
# <li>GlitchMemories:抖动。 </li>
|
25839
|
+
# <li>Heart:心形。 </li>
|
25840
|
+
# <li>InvertedPageCurl:翻页。 </li>
|
25841
|
+
# <li>Luma:腐蚀。 </li>
|
25842
|
+
# <li>Mosaic:九宫格。 </li>
|
25843
|
+
# <li>Pinwheel:风车。 </li>
|
25844
|
+
# <li>PolarFunction:椭圆扩散。 </li>
|
25845
|
+
# <li>PolkaDotsCurtain:弧形扩散。 </li>
|
25846
|
+
# <li>Radial:雷达扫描 </li>
|
25847
|
+
# <li>RotateScaleFade:上下收放。 </li>
|
25848
|
+
# <li>Squeeze:上下聚拢。 </li>
|
25849
|
+
# <li>Swap:放大切换。 </li>
|
25850
|
+
# <li>Swirl:螺旋。 </li>
|
25851
|
+
# <li>UndulatingBurnOutSwirl:水流蔓延。 </li>
|
25852
|
+
# <li>Windowblinds:百叶窗。 </li>
|
25853
|
+
# <li>WipeDown:向下收起。 </li>
|
25854
|
+
# <li>WipeLeft:向左收起。 </li>
|
25855
|
+
# <li>WipeRight:向右收起。 </li>
|
25856
|
+
# <li>WipeUp:向上收起。 </li>
|
25857
|
+
# <li>ZoomInCircles:水波纹。 </li>
|
25858
|
+
# </ul>
|
25859
|
+
# </li>
|
25860
|
+
# <li>音频的转场操作,用于两个音频片段间的转场处理:
|
25861
|
+
# <ul>
|
25862
|
+
# <li>AudioFadeInFadeOut:声音淡入淡出。 </li>
|
25863
|
+
# </ul>
|
25864
|
+
# </li>
|
25865
|
+
# </ul>
|
25866
|
+
# @type Type: String
|
25867
|
+
|
25868
|
+
attr_accessor :Type
|
25869
|
+
|
25870
|
+
def initialize(type=nil)
|
25871
|
+
@Type = type
|
25872
|
+
end
|
25873
|
+
|
25874
|
+
def deserialize(params)
|
25875
|
+
@Type = params['Type']
|
25876
|
+
end
|
25877
|
+
end
|
25878
|
+
|
25761
25879
|
# 转场操作
|
25762
25880
|
class TransitionOpertion < TencentCloud::Common::AbstractModel
|
25763
25881
|
# @param Type: 转场类型,取值有:
|
@@ -26126,42 +26244,6 @@ module TencentCloud
|
|
26126
26244
|
end
|
26127
26245
|
end
|
26128
26246
|
|
26129
|
-
# VerifyDomainOwnershipForConsole请求参数结构体
|
26130
|
-
class VerifyDomainOwnershipForConsoleRequest < TencentCloud::Common::AbstractModel
|
26131
|
-
# @param Domain: 需要接入点播的域名。
|
26132
|
-
# @type Domain: String
|
26133
|
-
# @param AccelerateArea: 需要开启加速的区域: <li>Mainland: 中国大陆地区</li> <li>Internation: 海外地区及港澳台</li> <li>Global: 全球</li> 不填会根据用户注册腾讯云时的地域信息自动判断 Mainland 或 Internation
|
26134
|
-
# @type AccelerateArea: String
|
26135
|
-
|
26136
|
-
attr_accessor :Domain, :AccelerateArea
|
26137
|
-
|
26138
|
-
def initialize(domain=nil, acceleratearea=nil)
|
26139
|
-
@Domain = domain
|
26140
|
-
@AccelerateArea = acceleratearea
|
26141
|
-
end
|
26142
|
-
|
26143
|
-
def deserialize(params)
|
26144
|
-
@Domain = params['Domain']
|
26145
|
-
@AccelerateArea = params['AccelerateArea']
|
26146
|
-
end
|
26147
|
-
end
|
26148
|
-
|
26149
|
-
# VerifyDomainOwnershipForConsole返回参数结构体
|
26150
|
-
class VerifyDomainOwnershipForConsoleResponse < TencentCloud::Common::AbstractModel
|
26151
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
26152
|
-
# @type RequestId: String
|
26153
|
-
|
26154
|
-
attr_accessor :RequestId
|
26155
|
-
|
26156
|
-
def initialize(requestid=nil)
|
26157
|
-
@RequestId = requestid
|
26158
|
-
end
|
26159
|
-
|
26160
|
-
def deserialize(params)
|
26161
|
-
@RequestId = params['RequestId']
|
26162
|
-
end
|
26163
|
-
end
|
26164
|
-
|
26165
26247
|
# VerifyDomainRecord请求参数结构体
|
26166
26248
|
class VerifyDomainRecordRequest < TencentCloud::Common::AbstractModel
|
26167
26249
|
# @param Domain: 需要接入点播的加速域名。
|
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: 3.0.
|
4
|
+
version: 3.0.659
|
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-09-
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|