tencentcloud-sdk-mps 3.0.981 → 3.0.983
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/v20190612/client.rb +144 -0
- data/lib/v20190612/models.rb +373 -10
- 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: a823f72649bb1752b70bf843695073dc47d35f6f
|
4
|
+
data.tar.gz: ccd6529a8a7f90fc676bab63870b39f2bde62b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac49d42ca748e7c46c24e9f02017b1b3fe693aad59625b9b9595b601096ef2720263e4a2592d7df1bbedf34e50de4d1fcff23d94a28c392af8e23c1a9995005
|
7
|
+
data.tar.gz: 591ac5efbee81c00c156ce6359faf5858486024097485095a40a14db5eeb45aec122abd717aa548d951db29c3747a3d02a3d6ec837033bca1071dddf25e8fc87
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.983
|
data/lib/v20190612/client.rb
CHANGED
@@ -496,6 +496,30 @@ module TencentCloud
|
|
496
496
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
497
497
|
end
|
498
498
|
|
499
|
+
# 创建安全组,数量限制5个。
|
500
|
+
|
501
|
+
# @param request: Request instance for CreateStreamLinkSecurityGroup.
|
502
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkSecurityGroupRequest`
|
503
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkSecurityGroupResponse`
|
504
|
+
def CreateStreamLinkSecurityGroup(request)
|
505
|
+
body = send_request('CreateStreamLinkSecurityGroup', request.serialize)
|
506
|
+
response = JSON.parse(body)
|
507
|
+
if response['Response'].key?('Error') == false
|
508
|
+
model = CreateStreamLinkSecurityGroupResponse.new
|
509
|
+
model.deserialize(response['Response'])
|
510
|
+
model
|
511
|
+
else
|
512
|
+
code = response['Response']['Error']['Code']
|
513
|
+
message = response['Response']['Error']['Message']
|
514
|
+
reqid = response['Response']['RequestId']
|
515
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
516
|
+
end
|
517
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
518
|
+
raise e
|
519
|
+
rescue StandardError => e
|
520
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
521
|
+
end
|
522
|
+
|
499
523
|
# 创建用户自定义转码模板,数量上限:1000
|
500
524
|
|
501
525
|
# @param request: Request instance for CreateTranscodeTemplate.
|
@@ -1014,6 +1038,30 @@ module TencentCloud
|
|
1014
1038
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1015
1039
|
end
|
1016
1040
|
|
1041
|
+
# 删除安全组。
|
1042
|
+
|
1043
|
+
# @param request: Request instance for DeleteStreamLinkSecurityGroup.
|
1044
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkSecurityGroupRequest`
|
1045
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkSecurityGroupResponse`
|
1046
|
+
def DeleteStreamLinkSecurityGroup(request)
|
1047
|
+
body = send_request('DeleteStreamLinkSecurityGroup', request.serialize)
|
1048
|
+
response = JSON.parse(body)
|
1049
|
+
if response['Response'].key?('Error') == false
|
1050
|
+
model = DeleteStreamLinkSecurityGroupResponse.new
|
1051
|
+
model.deserialize(response['Response'])
|
1052
|
+
model
|
1053
|
+
else
|
1054
|
+
code = response['Response']['Error']['Code']
|
1055
|
+
message = response['Response']['Error']['Message']
|
1056
|
+
reqid = response['Response']['RequestId']
|
1057
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1058
|
+
end
|
1059
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1060
|
+
raise e
|
1061
|
+
rescue StandardError => e
|
1062
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1063
|
+
end
|
1064
|
+
|
1017
1065
|
# 删除用户自定义转码模板。
|
1018
1066
|
|
1019
1067
|
# @param request: Request instance for DeleteTranscodeTemplate.
|
@@ -1230,6 +1278,30 @@ module TencentCloud
|
|
1230
1278
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1231
1279
|
end
|
1232
1280
|
|
1281
|
+
# 根据安全组反差关联的Flow信息。
|
1282
|
+
|
1283
|
+
# @param request: Request instance for DescribeGroupAttachFlowsById.
|
1284
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeGroupAttachFlowsByIdRequest`
|
1285
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeGroupAttachFlowsByIdResponse`
|
1286
|
+
def DescribeGroupAttachFlowsById(request)
|
1287
|
+
body = send_request('DescribeGroupAttachFlowsById', request.serialize)
|
1288
|
+
response = JSON.parse(body)
|
1289
|
+
if response['Response'].key?('Error') == false
|
1290
|
+
model = DescribeGroupAttachFlowsByIdResponse.new
|
1291
|
+
model.deserialize(response['Response'])
|
1292
|
+
model
|
1293
|
+
else
|
1294
|
+
code = response['Response']['Error']['Code']
|
1295
|
+
message = response['Response']['Error']['Message']
|
1296
|
+
reqid = response['Response']['RequestId']
|
1297
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1298
|
+
end
|
1299
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1300
|
+
raise e
|
1301
|
+
rescue StandardError => e
|
1302
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1303
|
+
end
|
1304
|
+
|
1233
1305
|
# 查询雪碧图模板,支持根据条件,分页查询。
|
1234
1306
|
|
1235
1307
|
# @param request: Request instance for DescribeImageSpriteTemplates.
|
@@ -1710,6 +1782,30 @@ module TencentCloud
|
|
1710
1782
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1711
1783
|
end
|
1712
1784
|
|
1785
|
+
# 批量查询安全组信息。
|
1786
|
+
|
1787
|
+
# @param request: Request instance for DescribeStreamLinkSecurityGroups.
|
1788
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkSecurityGroupsRequest`
|
1789
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkSecurityGroupsResponse`
|
1790
|
+
def DescribeStreamLinkSecurityGroups(request)
|
1791
|
+
body = send_request('DescribeStreamLinkSecurityGroups', request.serialize)
|
1792
|
+
response = JSON.parse(body)
|
1793
|
+
if response['Response'].key?('Error') == false
|
1794
|
+
model = DescribeStreamLinkSecurityGroupsResponse.new
|
1795
|
+
model.deserialize(response['Response'])
|
1796
|
+
model
|
1797
|
+
else
|
1798
|
+
code = response['Response']['Error']['Code']
|
1799
|
+
message = response['Response']['Error']['Message']
|
1800
|
+
reqid = response['Response']['RequestId']
|
1801
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1802
|
+
end
|
1803
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1804
|
+
raise e
|
1805
|
+
rescue StandardError => e
|
1806
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1807
|
+
end
|
1808
|
+
|
1713
1809
|
# 通过任务 ID 查询任务的执行状态和结果的详细信息(最多可以查询7天之内提交的任务)。
|
1714
1810
|
|
1715
1811
|
# @param request: Request instance for DescribeTaskDetail.
|
@@ -1952,6 +2048,30 @@ module TencentCloud
|
|
1952
2048
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1953
2049
|
end
|
1954
2050
|
|
2051
|
+
# 批量解绑安全组下面关联的输入输出。
|
2052
|
+
|
2053
|
+
# @param request: Request instance for DisassociateSecurityGroup.
|
2054
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DisassociateSecurityGroupRequest`
|
2055
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DisassociateSecurityGroupResponse`
|
2056
|
+
def DisassociateSecurityGroup(request)
|
2057
|
+
body = send_request('DisassociateSecurityGroup', request.serialize)
|
2058
|
+
response = JSON.parse(body)
|
2059
|
+
if response['Response'].key?('Error') == false
|
2060
|
+
model = DisassociateSecurityGroupResponse.new
|
2061
|
+
model.deserialize(response['Response'])
|
2062
|
+
model
|
2063
|
+
else
|
2064
|
+
code = response['Response']['Error']['Code']
|
2065
|
+
message = response['Response']['Error']['Message']
|
2066
|
+
reqid = response['Response']['RequestId']
|
2067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2068
|
+
end
|
2069
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2070
|
+
raise e
|
2071
|
+
rescue StandardError => e
|
2072
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2073
|
+
end
|
2074
|
+
|
1955
2075
|
# 对视频进行编辑,生成一个新的视频。编辑的功能包括:
|
1956
2076
|
|
1957
2077
|
|
@@ -2470,6 +2590,30 @@ module TencentCloud
|
|
2470
2590
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2471
2591
|
end
|
2472
2592
|
|
2593
|
+
# 更新安全组。
|
2594
|
+
|
2595
|
+
# @param request: Request instance for ModifyStreamLinkSecurityGroup.
|
2596
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkSecurityGroupRequest`
|
2597
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkSecurityGroupResponse`
|
2598
|
+
def ModifyStreamLinkSecurityGroup(request)
|
2599
|
+
body = send_request('ModifyStreamLinkSecurityGroup', request.serialize)
|
2600
|
+
response = JSON.parse(body)
|
2601
|
+
if response['Response'].key?('Error') == false
|
2602
|
+
model = ModifyStreamLinkSecurityGroupResponse.new
|
2603
|
+
model.deserialize(response['Response'])
|
2604
|
+
model
|
2605
|
+
else
|
2606
|
+
code = response['Response']['Error']['Code']
|
2607
|
+
message = response['Response']['Error']['Message']
|
2608
|
+
reqid = response['Response']['RequestId']
|
2609
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2610
|
+
end
|
2611
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2612
|
+
raise e
|
2613
|
+
rescue StandardError => e
|
2614
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2615
|
+
end
|
2616
|
+
|
2473
2617
|
# 修改用户自定义转码模板信息。
|
2474
2618
|
|
2475
2619
|
# @param request: Request instance for ModifyTranscodeTemplate.
|
data/lib/v20190612/models.rb
CHANGED
@@ -2028,8 +2028,8 @@ module TencentCloud
|
|
2028
2028
|
|
2029
2029
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
2030
2030
|
extend Gem::Deprecate
|
2031
|
-
deprecate :OutputStorage, :none,
|
2032
|
-
deprecate :OutputStorage=, :none,
|
2031
|
+
deprecate :OutputStorage, :none, 2025, 1
|
2032
|
+
deprecate :OutputStorage=, :none, 2025, 1
|
2033
2033
|
|
2034
2034
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
2035
2035
|
@SegmentSet = segmentset
|
@@ -7002,13 +7002,13 @@ module TencentCloud
|
|
7002
7002
|
# @type Destinations: Array
|
7003
7003
|
# @param StreamId: 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
|
7004
7004
|
# @type StreamId: String
|
7005
|
-
# @param Latency: 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]
|
7005
|
+
# @param Latency: 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。此参数同时设置了发送方和接收方的延迟(recvlatency和peerlatency)为相同的值。建议配置为至少3倍RTT,以确保在网络拥塞时能够有效处理数据包的重传和确认
|
7006
7006
|
# @type Latency: Integer
|
7007
|
-
# @param RecvLatency: 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。
|
7007
|
+
# @param RecvLatency: 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。 此参数表示接收方用于缓存数据包的时间长度
|
7008
7008
|
# @type RecvLatency: Integer
|
7009
|
-
# @param PeerLatency: 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。
|
7009
|
+
# @param PeerLatency: 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。 此参数由发送方设置,用于告知接收方其期望的延迟缓冲时间
|
7010
7010
|
# @type PeerLatency: Integer
|
7011
|
-
# @param PeerIdleTimeout: 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
|
7011
|
+
# @param PeerIdleTimeout: 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。 如果连接在设定的超时时间内没有活动,将会被关闭
|
7012
7012
|
# @type PeerIdleTimeout: Integer
|
7013
7013
|
# @param Passphrase: 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
|
7014
7014
|
# @type Passphrase: String
|
@@ -7636,6 +7636,46 @@ module TencentCloud
|
|
7636
7636
|
end
|
7637
7637
|
end
|
7638
7638
|
|
7639
|
+
# CreateStreamLinkSecurityGroup请求参数结构体
|
7640
|
+
class CreateStreamLinkSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
7641
|
+
# @param Name: 安全组名称,限制大小写、数字和下划线,Region下唯一。
|
7642
|
+
# @type Name: String
|
7643
|
+
# @param Whitelist: 白名单列表,数量限制[1, 10]。
|
7644
|
+
# @type Whitelist: Array
|
7645
|
+
|
7646
|
+
attr_accessor :Name, :Whitelist
|
7647
|
+
|
7648
|
+
def initialize(name=nil, whitelist=nil)
|
7649
|
+
@Name = name
|
7650
|
+
@Whitelist = whitelist
|
7651
|
+
end
|
7652
|
+
|
7653
|
+
def deserialize(params)
|
7654
|
+
@Name = params['Name']
|
7655
|
+
@Whitelist = params['Whitelist']
|
7656
|
+
end
|
7657
|
+
end
|
7658
|
+
|
7659
|
+
# CreateStreamLinkSecurityGroup返回参数结构体
|
7660
|
+
class CreateStreamLinkSecurityGroupResponse < TencentCloud::Common::AbstractModel
|
7661
|
+
# @param Id: 安全组 ID。
|
7662
|
+
# @type Id: String
|
7663
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7664
|
+
# @type RequestId: String
|
7665
|
+
|
7666
|
+
attr_accessor :Id, :RequestId
|
7667
|
+
|
7668
|
+
def initialize(id=nil, requestid=nil)
|
7669
|
+
@Id = id
|
7670
|
+
@RequestId = requestid
|
7671
|
+
end
|
7672
|
+
|
7673
|
+
def deserialize(params)
|
7674
|
+
@Id = params['Id']
|
7675
|
+
@RequestId = params['RequestId']
|
7676
|
+
end
|
7677
|
+
end
|
7678
|
+
|
7639
7679
|
# CreateTranscodeTemplate请求参数结构体
|
7640
7680
|
class CreateTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
7641
7681
|
# @param Container: 封装格式,可选值:mp4、flv、hls、ts、webm、mkv、mxf、mov、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
|
@@ -8544,6 +8584,38 @@ module TencentCloud
|
|
8544
8584
|
end
|
8545
8585
|
end
|
8546
8586
|
|
8587
|
+
# DeleteStreamLinkSecurityGroup请求参数结构体
|
8588
|
+
class DeleteStreamLinkSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
8589
|
+
# @param Id: 安全组 ID。
|
8590
|
+
# @type Id: String
|
8591
|
+
|
8592
|
+
attr_accessor :Id
|
8593
|
+
|
8594
|
+
def initialize(id=nil)
|
8595
|
+
@Id = id
|
8596
|
+
end
|
8597
|
+
|
8598
|
+
def deserialize(params)
|
8599
|
+
@Id = params['Id']
|
8600
|
+
end
|
8601
|
+
end
|
8602
|
+
|
8603
|
+
# DeleteStreamLinkSecurityGroup返回参数结构体
|
8604
|
+
class DeleteStreamLinkSecurityGroupResponse < TencentCloud::Common::AbstractModel
|
8605
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8606
|
+
# @type RequestId: String
|
8607
|
+
|
8608
|
+
attr_accessor :RequestId
|
8609
|
+
|
8610
|
+
def initialize(requestid=nil)
|
8611
|
+
@RequestId = requestid
|
8612
|
+
end
|
8613
|
+
|
8614
|
+
def deserialize(params)
|
8615
|
+
@RequestId = params['RequestId']
|
8616
|
+
end
|
8617
|
+
end
|
8618
|
+
|
8547
8619
|
# DeleteTranscodeTemplate请求参数结构体
|
8548
8620
|
class DeleteTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
8549
8621
|
# @param Definition: 转码模板唯一标识。
|
@@ -8815,6 +8887,7 @@ module TencentCloud
|
|
8815
8887
|
# <li>Custom:用户自定义模板。</li>
|
8816
8888
|
# @type Type: String
|
8817
8889
|
# @param PureAudio: 是否为纯音频,0表示视频,1表示纯音频
|
8890
|
+
# 默认值:0
|
8818
8891
|
# @type PureAudio: Integer
|
8819
8892
|
# @param Name: 自适应转码模板标识过滤条件,长度限制:64 个字符
|
8820
8893
|
# @type Name: String
|
@@ -9126,6 +9199,49 @@ module TencentCloud
|
|
9126
9199
|
end
|
9127
9200
|
end
|
9128
9201
|
|
9202
|
+
# DescribeGroupAttachFlowsById请求参数结构体
|
9203
|
+
class DescribeGroupAttachFlowsByIdRequest < TencentCloud::Common::AbstractModel
|
9204
|
+
# @param Id: 媒体传输安全组ID。
|
9205
|
+
# @type Id: String
|
9206
|
+
|
9207
|
+
attr_accessor :Id
|
9208
|
+
|
9209
|
+
def initialize(id=nil)
|
9210
|
+
@Id = id
|
9211
|
+
end
|
9212
|
+
|
9213
|
+
def deserialize(params)
|
9214
|
+
@Id = params['Id']
|
9215
|
+
end
|
9216
|
+
end
|
9217
|
+
|
9218
|
+
# DescribeGroupAttachFlowsById返回参数结构体
|
9219
|
+
class DescribeGroupAttachFlowsByIdResponse < TencentCloud::Common::AbstractModel
|
9220
|
+
# @param Infos: 安全组反查的Flow信息列表。
|
9221
|
+
# @type Infos: Array
|
9222
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9223
|
+
# @type RequestId: String
|
9224
|
+
|
9225
|
+
attr_accessor :Infos, :RequestId
|
9226
|
+
|
9227
|
+
def initialize(infos=nil, requestid=nil)
|
9228
|
+
@Infos = infos
|
9229
|
+
@RequestId = requestid
|
9230
|
+
end
|
9231
|
+
|
9232
|
+
def deserialize(params)
|
9233
|
+
unless params['Infos'].nil?
|
9234
|
+
@Infos = []
|
9235
|
+
params['Infos'].each do |i|
|
9236
|
+
flowinoutresp_tmp = FlowInOutResp.new
|
9237
|
+
flowinoutresp_tmp.deserialize(i)
|
9238
|
+
@Infos << flowinoutresp_tmp
|
9239
|
+
end
|
9240
|
+
end
|
9241
|
+
@RequestId = params['RequestId']
|
9242
|
+
end
|
9243
|
+
end
|
9244
|
+
|
9129
9245
|
# 查询输入的HLS配置信息。
|
9130
9246
|
class DescribeHLSPullSourceAddress < TencentCloud::Common::AbstractModel
|
9131
9247
|
# @param Url: HLS源站的Url地址。
|
@@ -11111,6 +11227,44 @@ module TencentCloud
|
|
11111
11227
|
end
|
11112
11228
|
end
|
11113
11229
|
|
11230
|
+
# DescribeStreamLinkSecurityGroups请求参数结构体
|
11231
|
+
class DescribeStreamLinkSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
11232
|
+
|
11233
|
+
|
11234
|
+
def initialize()
|
11235
|
+
end
|
11236
|
+
|
11237
|
+
def deserialize(params)
|
11238
|
+
end
|
11239
|
+
end
|
11240
|
+
|
11241
|
+
# DescribeStreamLinkSecurityGroups返回参数结构体
|
11242
|
+
class DescribeStreamLinkSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
11243
|
+
# @param Infos: 安全组信息列表。
|
11244
|
+
# @type Infos: Array
|
11245
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11246
|
+
# @type RequestId: String
|
11247
|
+
|
11248
|
+
attr_accessor :Infos, :RequestId
|
11249
|
+
|
11250
|
+
def initialize(infos=nil, requestid=nil)
|
11251
|
+
@Infos = infos
|
11252
|
+
@RequestId = requestid
|
11253
|
+
end
|
11254
|
+
|
11255
|
+
def deserialize(params)
|
11256
|
+
unless params['Infos'].nil?
|
11257
|
+
@Infos = []
|
11258
|
+
params['Infos'].each do |i|
|
11259
|
+
securitygroupinfo_tmp = SecurityGroupInfo.new
|
11260
|
+
securitygroupinfo_tmp.deserialize(i)
|
11261
|
+
@Infos << securitygroupinfo_tmp
|
11262
|
+
end
|
11263
|
+
end
|
11264
|
+
@RequestId = params['RequestId']
|
11265
|
+
end
|
11266
|
+
end
|
11267
|
+
|
11114
11268
|
# DescribeTaskDetail请求参数结构体
|
11115
11269
|
class DescribeTaskDetailRequest < TencentCloud::Common::AbstractModel
|
11116
11270
|
# @param TaskId: 视频处理任务的任务 ID。
|
@@ -11872,6 +12026,49 @@ module TencentCloud
|
|
11872
12026
|
end
|
11873
12027
|
end
|
11874
12028
|
|
12029
|
+
# DisassociateSecurityGroup请求参数结构体
|
12030
|
+
class DisassociateSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
12031
|
+
# @param Id: 媒体传输安全组ID。
|
12032
|
+
# @type Id: String
|
12033
|
+
# @param UnattachInOutInfos: 要解绑的输入输出信息列表。
|
12034
|
+
# @type UnattachInOutInfos: Array
|
12035
|
+
|
12036
|
+
attr_accessor :Id, :UnattachInOutInfos
|
12037
|
+
|
12038
|
+
def initialize(id=nil, unattachinoutinfos=nil)
|
12039
|
+
@Id = id
|
12040
|
+
@UnattachInOutInfos = unattachinoutinfos
|
12041
|
+
end
|
12042
|
+
|
12043
|
+
def deserialize(params)
|
12044
|
+
@Id = params['Id']
|
12045
|
+
unless params['UnattachInOutInfos'].nil?
|
12046
|
+
@UnattachInOutInfos = []
|
12047
|
+
params['UnattachInOutInfos'].each do |i|
|
12048
|
+
unattachsecuritygroupinoutinfo_tmp = UnattachSecurityGroupInOutInfo.new
|
12049
|
+
unattachsecuritygroupinoutinfo_tmp.deserialize(i)
|
12050
|
+
@UnattachInOutInfos << unattachsecuritygroupinoutinfo_tmp
|
12051
|
+
end
|
12052
|
+
end
|
12053
|
+
end
|
12054
|
+
end
|
12055
|
+
|
12056
|
+
# DisassociateSecurityGroup返回参数结构体
|
12057
|
+
class DisassociateSecurityGroupResponse < TencentCloud::Common::AbstractModel
|
12058
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12059
|
+
# @type RequestId: String
|
12060
|
+
|
12061
|
+
attr_accessor :RequestId
|
12062
|
+
|
12063
|
+
def initialize(requestid=nil)
|
12064
|
+
@RequestId = requestid
|
12065
|
+
end
|
12066
|
+
|
12067
|
+
def deserialize(params)
|
12068
|
+
@RequestId = params['RequestId']
|
12069
|
+
end
|
12070
|
+
end
|
12071
|
+
|
11875
12072
|
# Drm 加密信息。
|
11876
12073
|
class DrmInfo < TencentCloud::Common::AbstractModel
|
11877
12074
|
# @param Type: 加密类型:
|
@@ -12431,6 +12628,60 @@ module TencentCloud
|
|
12431
12628
|
end
|
12432
12629
|
end
|
12433
12630
|
|
12631
|
+
# 查询Flow的配置信息。
|
12632
|
+
class FlowInOutResp < TencentCloud::Common::AbstractModel
|
12633
|
+
# @param FlowId: 流Id。
|
12634
|
+
# @type FlowId: String
|
12635
|
+
# @param FlowName: 流名称。
|
12636
|
+
# @type FlowName: String
|
12637
|
+
# @param EventId: 该Flow关联的媒体传输事件EventId。
|
12638
|
+
# @type EventId: String
|
12639
|
+
# @param FlowRegion: 媒体传输输入流所属的区域,取值和InputRegion相同。
|
12640
|
+
# @type FlowRegion: String
|
12641
|
+
# @param OutputRegion: 当返回是输出类型时非空,output所在Region。
|
12642
|
+
# @type OutputRegion: String
|
12643
|
+
# @param EventName: EventName。
|
12644
|
+
# @type EventName: String
|
12645
|
+
# @param InputName: InOutType为Input有效。
|
12646
|
+
# @type InputName: String
|
12647
|
+
# @param OutputName: InOutType为Output有效。
|
12648
|
+
# @type OutputName: String
|
12649
|
+
# @param InOutId: Input或者Output的Id。
|
12650
|
+
# @type InOutId: String
|
12651
|
+
# @param InOutType: 输入/输出类型,可选值:
|
12652
|
+
# Input:输入
|
12653
|
+
# Outpu:输出。
|
12654
|
+
# @type InOutType: String
|
12655
|
+
|
12656
|
+
attr_accessor :FlowId, :FlowName, :EventId, :FlowRegion, :OutputRegion, :EventName, :InputName, :OutputName, :InOutId, :InOutType
|
12657
|
+
|
12658
|
+
def initialize(flowid=nil, flowname=nil, eventid=nil, flowregion=nil, outputregion=nil, eventname=nil, inputname=nil, outputname=nil, inoutid=nil, inouttype=nil)
|
12659
|
+
@FlowId = flowid
|
12660
|
+
@FlowName = flowname
|
12661
|
+
@EventId = eventid
|
12662
|
+
@FlowRegion = flowregion
|
12663
|
+
@OutputRegion = outputregion
|
12664
|
+
@EventName = eventname
|
12665
|
+
@InputName = inputname
|
12666
|
+
@OutputName = outputname
|
12667
|
+
@InOutId = inoutid
|
12668
|
+
@InOutType = inouttype
|
12669
|
+
end
|
12670
|
+
|
12671
|
+
def deserialize(params)
|
12672
|
+
@FlowId = params['FlowId']
|
12673
|
+
@FlowName = params['FlowName']
|
12674
|
+
@EventId = params['EventId']
|
12675
|
+
@FlowRegion = params['FlowRegion']
|
12676
|
+
@OutputRegion = params['OutputRegion']
|
12677
|
+
@EventName = params['EventName']
|
12678
|
+
@InputName = params['InputName']
|
12679
|
+
@OutputName = params['OutputName']
|
12680
|
+
@InOutId = params['InOutId']
|
12681
|
+
@InOutType = params['InOutType']
|
12682
|
+
end
|
12683
|
+
end
|
12684
|
+
|
12434
12685
|
# 传输流日志信息。
|
12435
12686
|
class FlowLogInfo < TencentCloud::Common::AbstractModel
|
12436
12687
|
# @param Timestamp: 时间戳,单位为秒。
|
@@ -13877,10 +14128,10 @@ module TencentCloud
|
|
13877
14128
|
|
13878
14129
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
13879
14130
|
extend Gem::Deprecate
|
13880
|
-
deprecate :QualityControlResults, :none,
|
13881
|
-
deprecate :QualityControlResults=, :none,
|
13882
|
-
deprecate :DiagnoseResults, :none,
|
13883
|
-
deprecate :DiagnoseResults=, :none,
|
14131
|
+
deprecate :QualityControlResults, :none, 2025, 1
|
14132
|
+
deprecate :QualityControlResults=, :none, 2025, 1
|
14133
|
+
deprecate :DiagnoseResults, :none, 2025, 1
|
14134
|
+
deprecate :DiagnoseResults=, :none, 2025, 1
|
13884
14135
|
|
13885
14136
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
13886
14137
|
@QualityControlResults = qualitycontrolresults
|
@@ -17439,6 +17690,46 @@ module TencentCloud
|
|
17439
17690
|
end
|
17440
17691
|
end
|
17441
17692
|
|
17693
|
+
# ModifyStreamLinkSecurityGroup请求参数结构体
|
17694
|
+
class ModifyStreamLinkSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
17695
|
+
# @param Id: 安全组Id。
|
17696
|
+
# @type Id: String
|
17697
|
+
# @param Name: 安全组名称,限制大小写、数字和下划线,长度[1, 32],Region下唯一。
|
17698
|
+
# @type Name: String
|
17699
|
+
# @param Whitelist: 白名单列表,最多10个。
|
17700
|
+
# @type Whitelist: Array
|
17701
|
+
|
17702
|
+
attr_accessor :Id, :Name, :Whitelist
|
17703
|
+
|
17704
|
+
def initialize(id=nil, name=nil, whitelist=nil)
|
17705
|
+
@Id = id
|
17706
|
+
@Name = name
|
17707
|
+
@Whitelist = whitelist
|
17708
|
+
end
|
17709
|
+
|
17710
|
+
def deserialize(params)
|
17711
|
+
@Id = params['Id']
|
17712
|
+
@Name = params['Name']
|
17713
|
+
@Whitelist = params['Whitelist']
|
17714
|
+
end
|
17715
|
+
end
|
17716
|
+
|
17717
|
+
# ModifyStreamLinkSecurityGroup返回参数结构体
|
17718
|
+
class ModifyStreamLinkSecurityGroupResponse < TencentCloud::Common::AbstractModel
|
17719
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17720
|
+
# @type RequestId: String
|
17721
|
+
|
17722
|
+
attr_accessor :RequestId
|
17723
|
+
|
17724
|
+
def initialize(requestid=nil)
|
17725
|
+
@RequestId = requestid
|
17726
|
+
end
|
17727
|
+
|
17728
|
+
def deserialize(params)
|
17729
|
+
@RequestId = params['RequestId']
|
17730
|
+
end
|
17731
|
+
end
|
17732
|
+
|
17442
17733
|
# ModifyTranscodeTemplate请求参数结构体
|
17443
17734
|
class ModifyTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
17444
17735
|
# @param Definition: 转码模板唯一标识。
|
@@ -20474,6 +20765,44 @@ module TencentCloud
|
|
20474
20765
|
end
|
20475
20766
|
end
|
20476
20767
|
|
20768
|
+
# 安全组信息。
|
20769
|
+
class SecurityGroupInfo < TencentCloud::Common::AbstractModel
|
20770
|
+
# @param Id: 安全组 ID。
|
20771
|
+
# @type Id: String
|
20772
|
+
# @param Name: 安全组名称。
|
20773
|
+
# @type Name: String
|
20774
|
+
# @param Whitelist: 白名单列表。
|
20775
|
+
# @type Whitelist: Array
|
20776
|
+
# @param OccupiedInputs: 绑定的输入流列表。
|
20777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20778
|
+
# @type OccupiedInputs: Array
|
20779
|
+
# @param Region: 安全组地址。
|
20780
|
+
# @type Region: String
|
20781
|
+
# @param OccupiedOutputs: 绑定的输出流列表。
|
20782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20783
|
+
# @type OccupiedOutputs: Array
|
20784
|
+
|
20785
|
+
attr_accessor :Id, :Name, :Whitelist, :OccupiedInputs, :Region, :OccupiedOutputs
|
20786
|
+
|
20787
|
+
def initialize(id=nil, name=nil, whitelist=nil, occupiedinputs=nil, region=nil, occupiedoutputs=nil)
|
20788
|
+
@Id = id
|
20789
|
+
@Name = name
|
20790
|
+
@Whitelist = whitelist
|
20791
|
+
@OccupiedInputs = occupiedinputs
|
20792
|
+
@Region = region
|
20793
|
+
@OccupiedOutputs = occupiedoutputs
|
20794
|
+
end
|
20795
|
+
|
20796
|
+
def deserialize(params)
|
20797
|
+
@Id = params['Id']
|
20798
|
+
@Name = params['Name']
|
20799
|
+
@Whitelist = params['Whitelist']
|
20800
|
+
@OccupiedInputs = params['OccupiedInputs']
|
20801
|
+
@Region = params['Region']
|
20802
|
+
@OccupiedOutputs = params['OccupiedOutputs']
|
20803
|
+
end
|
20804
|
+
end
|
20805
|
+
|
20477
20806
|
# 智能拆条片段。
|
20478
20807
|
class SegmentRecognitionItem < TencentCloud::Common::AbstractModel
|
20479
20808
|
# @param Confidence: 置信度。
|
@@ -21754,6 +22083,36 @@ module TencentCloud
|
|
21754
22083
|
end
|
21755
22084
|
end
|
21756
22085
|
|
22086
|
+
# 安全组解绑输入/输出请求信息。
|
22087
|
+
class UnattachSecurityGroupInOutInfo < TencentCloud::Common::AbstractModel
|
22088
|
+
# @param FlowId: 该安全组关联的FlowId。
|
22089
|
+
# @type FlowId: String
|
22090
|
+
# @param InOutId: 要解绑的输入/输出ID。
|
22091
|
+
# @type InOutId: String
|
22092
|
+
# @param InOutType: 输入/输出类型,可选值:
|
22093
|
+
# Input:输入
|
22094
|
+
# Output:输出。
|
22095
|
+
# @type InOutType: String
|
22096
|
+
# @param FlowRegion: Flow所在的Region,和input共用。
|
22097
|
+
# @type FlowRegion: String
|
22098
|
+
|
22099
|
+
attr_accessor :FlowId, :InOutId, :InOutType, :FlowRegion
|
22100
|
+
|
22101
|
+
def initialize(flowid=nil, inoutid=nil, inouttype=nil, flowregion=nil)
|
22102
|
+
@FlowId = flowid
|
22103
|
+
@InOutId = inoutid
|
22104
|
+
@InOutType = inouttype
|
22105
|
+
@FlowRegion = flowregion
|
22106
|
+
end
|
22107
|
+
|
22108
|
+
def deserialize(params)
|
22109
|
+
@FlowId = params['FlowId']
|
22110
|
+
@InOutId = params['InOutId']
|
22111
|
+
@InOutType = params['InOutType']
|
22112
|
+
@FlowRegion = params['FlowRegion']
|
22113
|
+
end
|
22114
|
+
end
|
22115
|
+
|
21757
22116
|
# 媒体处理 URL 对象信息。
|
21758
22117
|
class UrlInputInfo < TencentCloud::Common::AbstractModel
|
21759
22118
|
# @param Url: 视频的 URL。
|
@@ -22205,6 +22564,7 @@ module TencentCloud
|
|
22205
22564
|
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
22206
22565
|
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
22207
22566
|
# 默认值:0。
|
22567
|
+
# 注意:Codec为MV-HEVC时可以支持到7680
|
22208
22568
|
# @type Width: Integer
|
22209
22569
|
# @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
22210
22570
|
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
@@ -22212,6 +22572,7 @@ module TencentCloud
|
|
22212
22572
|
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
22213
22573
|
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
22214
22574
|
# 默认值:0。
|
22575
|
+
# 注意:Codec为MV-HEVC时可以支持到7680
|
22215
22576
|
# @type Height: Integer
|
22216
22577
|
# @param Gop: 关键帧 I 帧之间的间隔,允许按帧或秒自定义GOP长度,取值范围:0 和 [1, 100000],
|
22217
22578
|
# 当填 0 或不填时,系统将自动设置 gop 长度。
|
@@ -22448,9 +22809,11 @@ module TencentCloud
|
|
22448
22809
|
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
22449
22810
|
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
22450
22811
|
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
22812
|
+
# 注意:Codec为MV-HEVC时可以支持到7680
|
22451
22813
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
22452
22814
|
# @type Width: Integer
|
22453
22815
|
# @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
22816
|
+
# 注意:Codec为MV-HEVC时可以支持到7680
|
22454
22817
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
22455
22818
|
# @type Height: Integer
|
22456
22819
|
# @param Gop: 关键帧 I 帧之间的间隔,允许按帧或秒自定义GOP长度,取值范围:0 和 [1, 100000]。
|
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.
|
4
|
+
version: 3.0.983
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|