tencentcloud-sdk-mps 3.0.589 → 3.0.590
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 +216 -0
- data/lib/v20190612/models.rb +446 -0
- 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: 6dc68dcf2082298bbf6bbd86c72c8143c8d0c03c
|
4
|
+
data.tar.gz: e63542d0ad46758126b707cb45a28f5c27901040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8333f9871318ee894bf6a96a30a22e2c162e8a0308cb54870d87f05da71e53ff32326b40ce298250cc9e1c111389327d337a007ef0839e1cc6d4a12fd76950c3
|
7
|
+
data.tar.gz: c9239f523a8c52650fab652e4968efe04593056a0fe024f29796e65af2ecb148e92be3b6e6ee02653af1ca62d1078103f435b7fa23b396846af0464ba12185cb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.590
|
data/lib/v20190612/client.rb
CHANGED
@@ -29,6 +29,78 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 批量删除媒体传输流。
|
33
|
+
|
34
|
+
# @param request: Request instance for BatchDeleteStreamLinkFlow.
|
35
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowResponse`
|
37
|
+
def BatchDeleteStreamLinkFlow(request)
|
38
|
+
body = send_request('BatchDeleteStreamLinkFlow', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = BatchDeleteStreamLinkFlowResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 批量启动媒体传输流。
|
57
|
+
|
58
|
+
# @param request: Request instance for BatchStartStreamLinkFlow.
|
59
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowResponse`
|
61
|
+
def BatchStartStreamLinkFlow(request)
|
62
|
+
body = send_request('BatchStartStreamLinkFlow', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = BatchStartStreamLinkFlowResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 批量停止媒体传输流。
|
81
|
+
|
82
|
+
# @param request: Request instance for BatchStopStreamLinkFlow.
|
83
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowResponse`
|
85
|
+
def BatchStopStreamLinkFlow(request)
|
86
|
+
body = send_request('BatchStopStreamLinkFlow', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = BatchStopStreamLinkFlowResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
32
104
|
# 创建用户自定义内容分析模板,数量上限:50。
|
33
105
|
|
34
106
|
# @param request: Request instance for CreateAIAnalysisTemplate.
|
@@ -280,6 +352,30 @@ module TencentCloud
|
|
280
352
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
281
353
|
end
|
282
354
|
|
355
|
+
# 创建媒体传输的事件Event。
|
356
|
+
|
357
|
+
# @param request: Request instance for CreateStreamLinkEvent.
|
358
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkEventRequest`
|
359
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkEventResponse`
|
360
|
+
def CreateStreamLinkEvent(request)
|
361
|
+
body = send_request('CreateStreamLinkEvent', request.serialize)
|
362
|
+
response = JSON.parse(body)
|
363
|
+
if response['Response'].key?('Error') == false
|
364
|
+
model = CreateStreamLinkEventResponse.new
|
365
|
+
model.deserialize(response['Response'])
|
366
|
+
model
|
367
|
+
else
|
368
|
+
code = response['Response']['Error']['Code']
|
369
|
+
message = response['Response']['Error']['Message']
|
370
|
+
reqid = response['Response']['RequestId']
|
371
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
372
|
+
end
|
373
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
374
|
+
raise e
|
375
|
+
rescue StandardError => e
|
376
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
377
|
+
end
|
378
|
+
|
283
379
|
# 创建媒体传输的传输流配置。
|
284
380
|
|
285
381
|
# @param request: Request instance for CreateStreamLinkFlow.
|
@@ -701,6 +797,30 @@ module TencentCloud
|
|
701
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
798
|
end
|
703
799
|
|
800
|
+
# 删除媒体传输的事件配置。
|
801
|
+
|
802
|
+
# @param request: Request instance for DeleteStreamLinkEvent.
|
803
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkEventRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkEventResponse`
|
805
|
+
def DeleteStreamLinkEvent(request)
|
806
|
+
body = send_request('DeleteStreamLinkEvent', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = DeleteStreamLinkEventResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
704
824
|
# 删除媒体传输的传输流配置。
|
705
825
|
|
706
826
|
# @param request: Request instance for DeleteStreamLinkFlow.
|
@@ -1133,6 +1253,78 @@ module TencentCloud
|
|
1133
1253
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
1254
|
end
|
1135
1255
|
|
1256
|
+
# 查询媒体传输事件的配置信息。
|
1257
|
+
|
1258
|
+
# @param request: Request instance for DescribeStreamLinkEvent.
|
1259
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventRequest`
|
1260
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventResponse`
|
1261
|
+
def DescribeStreamLinkEvent(request)
|
1262
|
+
body = send_request('DescribeStreamLinkEvent', request.serialize)
|
1263
|
+
response = JSON.parse(body)
|
1264
|
+
if response['Response'].key?('Error') == false
|
1265
|
+
model = DescribeStreamLinkEventResponse.new
|
1266
|
+
model.deserialize(response['Response'])
|
1267
|
+
model
|
1268
|
+
else
|
1269
|
+
code = response['Response']['Error']['Code']
|
1270
|
+
message = response['Response']['Error']['Message']
|
1271
|
+
reqid = response['Response']['RequestId']
|
1272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1273
|
+
end
|
1274
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1275
|
+
raise e
|
1276
|
+
rescue StandardError => e
|
1277
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# 查询媒体传输事件关联的所有媒体输入流的配置信息。
|
1281
|
+
|
1282
|
+
# @param request: Request instance for DescribeStreamLinkEventAttachedFlows.
|
1283
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsRequest`
|
1284
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsResponse`
|
1285
|
+
def DescribeStreamLinkEventAttachedFlows(request)
|
1286
|
+
body = send_request('DescribeStreamLinkEventAttachedFlows', request.serialize)
|
1287
|
+
response = JSON.parse(body)
|
1288
|
+
if response['Response'].key?('Error') == false
|
1289
|
+
model = DescribeStreamLinkEventAttachedFlowsResponse.new
|
1290
|
+
model.deserialize(response['Response'])
|
1291
|
+
model
|
1292
|
+
else
|
1293
|
+
code = response['Response']['Error']['Code']
|
1294
|
+
message = response['Response']['Error']['Message']
|
1295
|
+
reqid = response['Response']['RequestId']
|
1296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1297
|
+
end
|
1298
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1299
|
+
raise e
|
1300
|
+
rescue StandardError => e
|
1301
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# 批量查询媒体传输事件的配置信息。
|
1305
|
+
|
1306
|
+
# @param request: Request instance for DescribeStreamLinkEvents.
|
1307
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventsRequest`
|
1308
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventsResponse`
|
1309
|
+
def DescribeStreamLinkEvents(request)
|
1310
|
+
body = send_request('DescribeStreamLinkEvents', request.serialize)
|
1311
|
+
response = JSON.parse(body)
|
1312
|
+
if response['Response'].key?('Error') == false
|
1313
|
+
model = DescribeStreamLinkEventsResponse.new
|
1314
|
+
model.deserialize(response['Response'])
|
1315
|
+
model
|
1316
|
+
else
|
1317
|
+
code = response['Response']['Error']['Code']
|
1318
|
+
message = response['Response']['Error']['Message']
|
1319
|
+
reqid = response['Response']['RequestId']
|
1320
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1321
|
+
end
|
1322
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1323
|
+
raise e
|
1324
|
+
rescue StandardError => e
|
1325
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1326
|
+
end
|
1327
|
+
|
1136
1328
|
# 查询媒体输入流的配置信息。
|
1137
1329
|
|
1138
1330
|
# @param request: Request instance for DescribeStreamLinkFlow.
|
@@ -1885,6 +2077,30 @@ module TencentCloud
|
|
1885
2077
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1886
2078
|
end
|
1887
2079
|
|
2080
|
+
# 修改媒体传输的事件配置信息。
|
2081
|
+
|
2082
|
+
# @param request: Request instance for ModifyStreamLinkEvent.
|
2083
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkEventRequest`
|
2084
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkEventResponse`
|
2085
|
+
def ModifyStreamLinkEvent(request)
|
2086
|
+
body = send_request('ModifyStreamLinkEvent', request.serialize)
|
2087
|
+
response = JSON.parse(body)
|
2088
|
+
if response['Response'].key?('Error') == false
|
2089
|
+
model = ModifyStreamLinkEventResponse.new
|
2090
|
+
model.deserialize(response['Response'])
|
2091
|
+
model
|
2092
|
+
else
|
2093
|
+
code = response['Response']['Error']['Code']
|
2094
|
+
message = response['Response']['Error']['Message']
|
2095
|
+
reqid = response['Response']['RequestId']
|
2096
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2097
|
+
end
|
2098
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2099
|
+
raise e
|
2100
|
+
rescue StandardError => e
|
2101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2102
|
+
end
|
2103
|
+
|
1888
2104
|
# 修改媒体传输的传输流配置信息。
|
1889
2105
|
|
1890
2106
|
# @param request: Request instance for ModifyStreamLinkFlow.
|
data/lib/v20190612/models.rb
CHANGED
@@ -3782,6 +3782,114 @@ module TencentCloud
|
|
3782
3782
|
end
|
3783
3783
|
end
|
3784
3784
|
|
3785
|
+
# BatchDeleteStreamLinkFlow请求参数结构体
|
3786
|
+
class BatchDeleteStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
3787
|
+
# @param EventId: EventId。
|
3788
|
+
# @type EventId: String
|
3789
|
+
# @param FlowIds: Event关联的流Id数组,如果不传默认删除Event下面的所有媒体传输流。
|
3790
|
+
# @type FlowIds: Array
|
3791
|
+
|
3792
|
+
attr_accessor :EventId, :FlowIds
|
3793
|
+
|
3794
|
+
def initialize(eventid=nil, flowids=nil)
|
3795
|
+
@EventId = eventid
|
3796
|
+
@FlowIds = flowids
|
3797
|
+
end
|
3798
|
+
|
3799
|
+
def deserialize(params)
|
3800
|
+
@EventId = params['EventId']
|
3801
|
+
@FlowIds = params['FlowIds']
|
3802
|
+
end
|
3803
|
+
end
|
3804
|
+
|
3805
|
+
# BatchDeleteStreamLinkFlow返回参数结构体
|
3806
|
+
class BatchDeleteStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
|
3807
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3808
|
+
# @type RequestId: String
|
3809
|
+
|
3810
|
+
attr_accessor :RequestId
|
3811
|
+
|
3812
|
+
def initialize(requestid=nil)
|
3813
|
+
@RequestId = requestid
|
3814
|
+
end
|
3815
|
+
|
3816
|
+
def deserialize(params)
|
3817
|
+
@RequestId = params['RequestId']
|
3818
|
+
end
|
3819
|
+
end
|
3820
|
+
|
3821
|
+
# BatchStartStreamLinkFlow请求参数结构体
|
3822
|
+
class BatchStartStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
3823
|
+
# @param EventId: EventId。
|
3824
|
+
# @type EventId: String
|
3825
|
+
# @param FlowIds: Event关联的流Id数组,如果不传默认启动Event下面的所有媒体传输流。
|
3826
|
+
# @type FlowIds: Array
|
3827
|
+
|
3828
|
+
attr_accessor :EventId, :FlowIds
|
3829
|
+
|
3830
|
+
def initialize(eventid=nil, flowids=nil)
|
3831
|
+
@EventId = eventid
|
3832
|
+
@FlowIds = flowids
|
3833
|
+
end
|
3834
|
+
|
3835
|
+
def deserialize(params)
|
3836
|
+
@EventId = params['EventId']
|
3837
|
+
@FlowIds = params['FlowIds']
|
3838
|
+
end
|
3839
|
+
end
|
3840
|
+
|
3841
|
+
# BatchStartStreamLinkFlow返回参数结构体
|
3842
|
+
class BatchStartStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
|
3843
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3844
|
+
# @type RequestId: String
|
3845
|
+
|
3846
|
+
attr_accessor :RequestId
|
3847
|
+
|
3848
|
+
def initialize(requestid=nil)
|
3849
|
+
@RequestId = requestid
|
3850
|
+
end
|
3851
|
+
|
3852
|
+
def deserialize(params)
|
3853
|
+
@RequestId = params['RequestId']
|
3854
|
+
end
|
3855
|
+
end
|
3856
|
+
|
3857
|
+
# BatchStopStreamLinkFlow请求参数结构体
|
3858
|
+
class BatchStopStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
3859
|
+
# @param EventId: EventId。
|
3860
|
+
# @type EventId: String
|
3861
|
+
# @param FlowIds: 流Id,如果不传默认停止Event下所有的媒体传输流。
|
3862
|
+
# @type FlowIds: Array
|
3863
|
+
|
3864
|
+
attr_accessor :EventId, :FlowIds
|
3865
|
+
|
3866
|
+
def initialize(eventid=nil, flowids=nil)
|
3867
|
+
@EventId = eventid
|
3868
|
+
@FlowIds = flowids
|
3869
|
+
end
|
3870
|
+
|
3871
|
+
def deserialize(params)
|
3872
|
+
@EventId = params['EventId']
|
3873
|
+
@FlowIds = params['FlowIds']
|
3874
|
+
end
|
3875
|
+
end
|
3876
|
+
|
3877
|
+
# BatchStopStreamLinkFlow返回参数结构体
|
3878
|
+
class BatchStopStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
|
3879
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3880
|
+
# @type RequestId: String
|
3881
|
+
|
3882
|
+
attr_accessor :RequestId
|
3883
|
+
|
3884
|
+
def initialize(requestid=nil)
|
3885
|
+
@RequestId = requestid
|
3886
|
+
end
|
3887
|
+
|
3888
|
+
def deserialize(params)
|
3889
|
+
@RequestId = params['RequestId']
|
3890
|
+
end
|
3891
|
+
end
|
3892
|
+
|
3785
3893
|
# 智能分类任务控制参数
|
3786
3894
|
class ClassificationConfigureInfo < TencentCloud::Common::AbstractModel
|
3787
3895
|
# @param Switch: 智能分类任务开关,可选值:
|
@@ -5270,6 +5378,49 @@ module TencentCloud
|
|
5270
5378
|
end
|
5271
5379
|
end
|
5272
5380
|
|
5381
|
+
# CreateStreamLinkEvent请求参数结构体
|
5382
|
+
class CreateStreamLinkEventRequest < TencentCloud::Common::AbstractModel
|
5383
|
+
# @param EventName: 事件名称。
|
5384
|
+
# @type EventName: String
|
5385
|
+
# @param Description: 事件描述。
|
5386
|
+
# @type Description: String
|
5387
|
+
|
5388
|
+
attr_accessor :EventName, :Description
|
5389
|
+
|
5390
|
+
def initialize(eventname=nil, description=nil)
|
5391
|
+
@EventName = eventname
|
5392
|
+
@Description = description
|
5393
|
+
end
|
5394
|
+
|
5395
|
+
def deserialize(params)
|
5396
|
+
@EventName = params['EventName']
|
5397
|
+
@Description = params['Description']
|
5398
|
+
end
|
5399
|
+
end
|
5400
|
+
|
5401
|
+
# CreateStreamLinkEvent返回参数结构体
|
5402
|
+
class CreateStreamLinkEventResponse < TencentCloud::Common::AbstractModel
|
5403
|
+
# @param Info: 创建的Event信息。
|
5404
|
+
# @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeEvent`
|
5405
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5406
|
+
# @type RequestId: String
|
5407
|
+
|
5408
|
+
attr_accessor :Info, :RequestId
|
5409
|
+
|
5410
|
+
def initialize(info=nil, requestid=nil)
|
5411
|
+
@Info = info
|
5412
|
+
@RequestId = requestid
|
5413
|
+
end
|
5414
|
+
|
5415
|
+
def deserialize(params)
|
5416
|
+
unless params['Info'].nil?
|
5417
|
+
@Info = DescribeEvent.new
|
5418
|
+
@Info.deserialize(params['Info'])
|
5419
|
+
end
|
5420
|
+
@RequestId = params['RequestId']
|
5421
|
+
end
|
5422
|
+
end
|
5423
|
+
|
5273
5424
|
# CreateStreamLinkFlow请求参数结构体
|
5274
5425
|
class CreateStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
5275
5426
|
# @param FlowName: 流名称。
|
@@ -6070,6 +6221,38 @@ module TencentCloud
|
|
6070
6221
|
end
|
6071
6222
|
end
|
6072
6223
|
|
6224
|
+
# DeleteStreamLinkEvent请求参数结构体
|
6225
|
+
class DeleteStreamLinkEventRequest < TencentCloud::Common::AbstractModel
|
6226
|
+
# @param EventId: 媒体传输事件Id,删除前需要保证该Event关联的所有Flow都已经删除。
|
6227
|
+
# @type EventId: String
|
6228
|
+
|
6229
|
+
attr_accessor :EventId
|
6230
|
+
|
6231
|
+
def initialize(eventid=nil)
|
6232
|
+
@EventId = eventid
|
6233
|
+
end
|
6234
|
+
|
6235
|
+
def deserialize(params)
|
6236
|
+
@EventId = params['EventId']
|
6237
|
+
end
|
6238
|
+
end
|
6239
|
+
|
6240
|
+
# DeleteStreamLinkEvent返回参数结构体
|
6241
|
+
class DeleteStreamLinkEventResponse < TencentCloud::Common::AbstractModel
|
6242
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6243
|
+
# @type RequestId: String
|
6244
|
+
|
6245
|
+
attr_accessor :RequestId
|
6246
|
+
|
6247
|
+
def initialize(requestid=nil)
|
6248
|
+
@RequestId = requestid
|
6249
|
+
end
|
6250
|
+
|
6251
|
+
def deserialize(params)
|
6252
|
+
@RequestId = params['RequestId']
|
6253
|
+
end
|
6254
|
+
end
|
6255
|
+
|
6073
6256
|
# DeleteStreamLinkFlow请求参数结构体
|
6074
6257
|
class DeleteStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
6075
6258
|
# @param FlowId: 传输流Id。
|
@@ -6571,6 +6754,52 @@ module TencentCloud
|
|
6571
6754
|
end
|
6572
6755
|
end
|
6573
6756
|
|
6757
|
+
# 查询Event的配置信息。
|
6758
|
+
class DescribeEvent < TencentCloud::Common::AbstractModel
|
6759
|
+
# @param EventName: Event的名称。
|
6760
|
+
# @type EventName: String
|
6761
|
+
# @param EventId: Event的Id,唯一标识一个event。
|
6762
|
+
# @type EventId: String
|
6763
|
+
# @param CreateTime: Event创建时间,格式为yyyy-MM-ddTHH:mm:ssZ。
|
6764
|
+
# @type CreateTime: String
|
6765
|
+
# @param Description: Event的描述。
|
6766
|
+
# @type Description: String
|
6767
|
+
# @param Status: Event的状态信息
|
6768
|
+
# 0:未运行
|
6769
|
+
# 1:运行中
|
6770
|
+
# @type Status: Integer
|
6771
|
+
# @param AttachedFlowGroup: Event关联的Flow列表。
|
6772
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6773
|
+
# @type AttachedFlowGroup: Array
|
6774
|
+
|
6775
|
+
attr_accessor :EventName, :EventId, :CreateTime, :Description, :Status, :AttachedFlowGroup
|
6776
|
+
|
6777
|
+
def initialize(eventname=nil, eventid=nil, createtime=nil, description=nil, status=nil, attachedflowgroup=nil)
|
6778
|
+
@EventName = eventname
|
6779
|
+
@EventId = eventid
|
6780
|
+
@CreateTime = createtime
|
6781
|
+
@Description = description
|
6782
|
+
@Status = status
|
6783
|
+
@AttachedFlowGroup = attachedflowgroup
|
6784
|
+
end
|
6785
|
+
|
6786
|
+
def deserialize(params)
|
6787
|
+
@EventName = params['EventName']
|
6788
|
+
@EventId = params['EventId']
|
6789
|
+
@CreateTime = params['CreateTime']
|
6790
|
+
@Description = params['Description']
|
6791
|
+
@Status = params['Status']
|
6792
|
+
unless params['AttachedFlowGroup'].nil?
|
6793
|
+
@AttachedFlowGroup = []
|
6794
|
+
params['AttachedFlowGroup'].each do |i|
|
6795
|
+
describeflowid_tmp = DescribeFlowId.new
|
6796
|
+
describeflowid_tmp.deserialize(i)
|
6797
|
+
@AttachedFlowGroup << describeflowid_tmp
|
6798
|
+
end
|
6799
|
+
end
|
6800
|
+
end
|
6801
|
+
end
|
6802
|
+
|
6574
6803
|
# 查询Flow的配置信息。
|
6575
6804
|
class DescribeFlow < TencentCloud::Common::AbstractModel
|
6576
6805
|
# @param FlowId: 流Id。
|
@@ -6630,6 +6859,26 @@ module TencentCloud
|
|
6630
6859
|
end
|
6631
6860
|
end
|
6632
6861
|
|
6862
|
+
# Event管理的Flow列表
|
6863
|
+
class DescribeFlowId < TencentCloud::Common::AbstractModel
|
6864
|
+
# @param FlowId: FlowId,唯一标识一个flow。
|
6865
|
+
# @type FlowId: String
|
6866
|
+
# @param Region: flow所在的区域名称。
|
6867
|
+
# @type Region: String
|
6868
|
+
|
6869
|
+
attr_accessor :FlowId, :Region
|
6870
|
+
|
6871
|
+
def initialize(flowid=nil, region=nil)
|
6872
|
+
@FlowId = flowid
|
6873
|
+
@Region = region
|
6874
|
+
end
|
6875
|
+
|
6876
|
+
def deserialize(params)
|
6877
|
+
@FlowId = params['FlowId']
|
6878
|
+
@Region = params['Region']
|
6879
|
+
end
|
6880
|
+
end
|
6881
|
+
|
6633
6882
|
# 查询输入的HLS配置信息。
|
6634
6883
|
class DescribeHLSPullSourceAddress < TencentCloud::Common::AbstractModel
|
6635
6884
|
# @param Url: HLS源站的Url地址。
|
@@ -7734,6 +7983,163 @@ module TencentCloud
|
|
7734
7983
|
end
|
7735
7984
|
end
|
7736
7985
|
|
7986
|
+
# DescribeStreamLinkEventAttachedFlows请求参数结构体
|
7987
|
+
class DescribeStreamLinkEventAttachedFlowsRequest < TencentCloud::Common::AbstractModel
|
7988
|
+
# @param EventId: EventId。
|
7989
|
+
# @type EventId: String
|
7990
|
+
# @param PageNum: 当前页数,默认1。
|
7991
|
+
# @type PageNum: Integer
|
7992
|
+
# @param PageSize: 每页大小,默认10。
|
7993
|
+
# @type PageSize: Integer
|
7994
|
+
|
7995
|
+
attr_accessor :EventId, :PageNum, :PageSize
|
7996
|
+
|
7997
|
+
def initialize(eventid=nil, pagenum=nil, pagesize=nil)
|
7998
|
+
@EventId = eventid
|
7999
|
+
@PageNum = pagenum
|
8000
|
+
@PageSize = pagesize
|
8001
|
+
end
|
8002
|
+
|
8003
|
+
def deserialize(params)
|
8004
|
+
@EventId = params['EventId']
|
8005
|
+
@PageNum = params['PageNum']
|
8006
|
+
@PageSize = params['PageSize']
|
8007
|
+
end
|
8008
|
+
end
|
8009
|
+
|
8010
|
+
# DescribeStreamLinkEventAttachedFlows返回参数结构体
|
8011
|
+
class DescribeStreamLinkEventAttachedFlowsResponse < TencentCloud::Common::AbstractModel
|
8012
|
+
# @param Infos: 流的配置信息列表。
|
8013
|
+
# @type Infos: Array
|
8014
|
+
# @param TotalNum: 总数量。
|
8015
|
+
# @type TotalNum: Integer
|
8016
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8017
|
+
# @type RequestId: String
|
8018
|
+
|
8019
|
+
attr_accessor :Infos, :TotalNum, :RequestId
|
8020
|
+
|
8021
|
+
def initialize(infos=nil, totalnum=nil, requestid=nil)
|
8022
|
+
@Infos = infos
|
8023
|
+
@TotalNum = totalnum
|
8024
|
+
@RequestId = requestid
|
8025
|
+
end
|
8026
|
+
|
8027
|
+
def deserialize(params)
|
8028
|
+
unless params['Infos'].nil?
|
8029
|
+
@Infos = []
|
8030
|
+
params['Infos'].each do |i|
|
8031
|
+
describeflow_tmp = DescribeFlow.new
|
8032
|
+
describeflow_tmp.deserialize(i)
|
8033
|
+
@Infos << describeflow_tmp
|
8034
|
+
end
|
8035
|
+
end
|
8036
|
+
@TotalNum = params['TotalNum']
|
8037
|
+
@RequestId = params['RequestId']
|
8038
|
+
end
|
8039
|
+
end
|
8040
|
+
|
8041
|
+
# DescribeStreamLinkEvent请求参数结构体
|
8042
|
+
class DescribeStreamLinkEventRequest < TencentCloud::Common::AbstractModel
|
8043
|
+
# @param EventId: 媒体传输事件ID。
|
8044
|
+
# @type EventId: String
|
8045
|
+
|
8046
|
+
attr_accessor :EventId
|
8047
|
+
|
8048
|
+
def initialize(eventid=nil)
|
8049
|
+
@EventId = eventid
|
8050
|
+
end
|
8051
|
+
|
8052
|
+
def deserialize(params)
|
8053
|
+
@EventId = params['EventId']
|
8054
|
+
end
|
8055
|
+
end
|
8056
|
+
|
8057
|
+
# DescribeStreamLinkEvent返回参数结构体
|
8058
|
+
class DescribeStreamLinkEventResponse < TencentCloud::Common::AbstractModel
|
8059
|
+
# @param Info: 媒体传输事件的配置信息。
|
8060
|
+
# @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeEvent`
|
8061
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8062
|
+
# @type RequestId: String
|
8063
|
+
|
8064
|
+
attr_accessor :Info, :RequestId
|
8065
|
+
|
8066
|
+
def initialize(info=nil, requestid=nil)
|
8067
|
+
@Info = info
|
8068
|
+
@RequestId = requestid
|
8069
|
+
end
|
8070
|
+
|
8071
|
+
def deserialize(params)
|
8072
|
+
unless params['Info'].nil?
|
8073
|
+
@Info = DescribeEvent.new
|
8074
|
+
@Info.deserialize(params['Info'])
|
8075
|
+
end
|
8076
|
+
@RequestId = params['RequestId']
|
8077
|
+
end
|
8078
|
+
end
|
8079
|
+
|
8080
|
+
# DescribeStreamLinkEvents请求参数结构体
|
8081
|
+
class DescribeStreamLinkEventsRequest < TencentCloud::Common::AbstractModel
|
8082
|
+
# @param PageNum: 当前页数,默认1。
|
8083
|
+
# @type PageNum: Integer
|
8084
|
+
# @param PageSize: 每页大小,默认10。
|
8085
|
+
# @type PageSize: Integer
|
8086
|
+
|
8087
|
+
attr_accessor :PageNum, :PageSize
|
8088
|
+
|
8089
|
+
def initialize(pagenum=nil, pagesize=nil)
|
8090
|
+
@PageNum = pagenum
|
8091
|
+
@PageSize = pagesize
|
8092
|
+
end
|
8093
|
+
|
8094
|
+
def deserialize(params)
|
8095
|
+
@PageNum = params['PageNum']
|
8096
|
+
@PageSize = params['PageSize']
|
8097
|
+
end
|
8098
|
+
end
|
8099
|
+
|
8100
|
+
# DescribeStreamLinkEvents返回参数结构体
|
8101
|
+
class DescribeStreamLinkEventsResponse < TencentCloud::Common::AbstractModel
|
8102
|
+
# @param Infos: 媒体传输事件的配置信息列表。
|
8103
|
+
# @type Infos: Array
|
8104
|
+
# @param PageNum: 当前页数。
|
8105
|
+
# @type PageNum: Integer
|
8106
|
+
# @param PageSize: 每页大小。
|
8107
|
+
# @type PageSize: Integer
|
8108
|
+
# @param TotalNum: 总数量。
|
8109
|
+
# @type TotalNum: Integer
|
8110
|
+
# @param TotalPage: 总页数。
|
8111
|
+
# @type TotalPage: Integer
|
8112
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8113
|
+
# @type RequestId: String
|
8114
|
+
|
8115
|
+
attr_accessor :Infos, :PageNum, :PageSize, :TotalNum, :TotalPage, :RequestId
|
8116
|
+
|
8117
|
+
def initialize(infos=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
|
8118
|
+
@Infos = infos
|
8119
|
+
@PageNum = pagenum
|
8120
|
+
@PageSize = pagesize
|
8121
|
+
@TotalNum = totalnum
|
8122
|
+
@TotalPage = totalpage
|
8123
|
+
@RequestId = requestid
|
8124
|
+
end
|
8125
|
+
|
8126
|
+
def deserialize(params)
|
8127
|
+
unless params['Infos'].nil?
|
8128
|
+
@Infos = []
|
8129
|
+
params['Infos'].each do |i|
|
8130
|
+
describeevent_tmp = DescribeEvent.new
|
8131
|
+
describeevent_tmp.deserialize(i)
|
8132
|
+
@Infos << describeevent_tmp
|
8133
|
+
end
|
8134
|
+
end
|
8135
|
+
@PageNum = params['PageNum']
|
8136
|
+
@PageSize = params['PageSize']
|
8137
|
+
@TotalNum = params['TotalNum']
|
8138
|
+
@TotalPage = params['TotalPage']
|
8139
|
+
@RequestId = params['RequestId']
|
8140
|
+
end
|
8141
|
+
end
|
8142
|
+
|
7737
8143
|
# DescribeStreamLinkFlowLogs请求参数结构体
|
7738
8144
|
class DescribeStreamLinkFlowLogsRequest < TencentCloud::Common::AbstractModel
|
7739
8145
|
# @param FlowId: 传输流Id。
|
@@ -13320,6 +13726,46 @@ module TencentCloud
|
|
13320
13726
|
end
|
13321
13727
|
end
|
13322
13728
|
|
13729
|
+
# ModifyStreamLinkEvent请求参数结构体
|
13730
|
+
class ModifyStreamLinkEventRequest < TencentCloud::Common::AbstractModel
|
13731
|
+
# @param EventId: 媒体传输事件Event Id。
|
13732
|
+
# @type EventId: String
|
13733
|
+
# @param EventName: 需要修改的事件名称。
|
13734
|
+
# @type EventName: String
|
13735
|
+
# @param Description: Event的描述信息。
|
13736
|
+
# @type Description: String
|
13737
|
+
|
13738
|
+
attr_accessor :EventId, :EventName, :Description
|
13739
|
+
|
13740
|
+
def initialize(eventid=nil, eventname=nil, description=nil)
|
13741
|
+
@EventId = eventid
|
13742
|
+
@EventName = eventname
|
13743
|
+
@Description = description
|
13744
|
+
end
|
13745
|
+
|
13746
|
+
def deserialize(params)
|
13747
|
+
@EventId = params['EventId']
|
13748
|
+
@EventName = params['EventName']
|
13749
|
+
@Description = params['Description']
|
13750
|
+
end
|
13751
|
+
end
|
13752
|
+
|
13753
|
+
# ModifyStreamLinkEvent返回参数结构体
|
13754
|
+
class ModifyStreamLinkEventResponse < TencentCloud::Common::AbstractModel
|
13755
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13756
|
+
# @type RequestId: String
|
13757
|
+
|
13758
|
+
attr_accessor :RequestId
|
13759
|
+
|
13760
|
+
def initialize(requestid=nil)
|
13761
|
+
@RequestId = requestid
|
13762
|
+
end
|
13763
|
+
|
13764
|
+
def deserialize(params)
|
13765
|
+
@RequestId = params['RequestId']
|
13766
|
+
end
|
13767
|
+
end
|
13768
|
+
|
13323
13769
|
# ModifyStreamLinkFlow请求参数结构体
|
13324
13770
|
class ModifyStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
|
13325
13771
|
# @param FlowId: 流Id。
|
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.590
|
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-06-
|
11
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|