yandexcloud 0.351.0__py3-none-any.whl → 0.352.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
- yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
- yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +98 -86
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/top_level.txt +0 -0
|
@@ -20,134 +20,179 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class StreamLineServiceStub:
|
|
23
|
-
"""Stream line management service.
|
|
23
|
+
"""Stream line management service.
|
|
24
|
+
Provides methods for creating, retrieving, updating, and deleting stream lines,
|
|
25
|
+
which define the technical configuration for receiving and processing video signals.
|
|
26
|
+
"""
|
|
24
27
|
|
|
25
28
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
29
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
30
|
yandex.cloud.video.v1.stream_line_service_pb2.GetStreamLineRequest,
|
|
28
31
|
yandex.cloud.video.v1.stream_line_pb2.StreamLine,
|
|
29
32
|
]
|
|
30
|
-
"""
|
|
33
|
+
"""Retrieves detailed information about a specific stream line by its ID.
|
|
34
|
+
Returns all stream line metadata, configuration, and related information.
|
|
35
|
+
"""
|
|
31
36
|
|
|
32
37
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
38
|
yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesRequest,
|
|
34
39
|
yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesResponse,
|
|
35
40
|
]
|
|
36
|
-
"""
|
|
41
|
+
"""Lists all stream lines in a specific channel with pagination support.
|
|
42
|
+
Results can be filtered and sorted using the provided parameters.
|
|
43
|
+
"""
|
|
37
44
|
|
|
38
45
|
BatchGet: grpc.UnaryUnaryMultiCallable[
|
|
39
46
|
yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesRequest,
|
|
40
47
|
yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesResponse,
|
|
41
48
|
]
|
|
42
|
-
"""
|
|
49
|
+
"""Retrieves multiple stream lines by their IDs in a specific channel in a single request.
|
|
50
|
+
This is more efficient than making multiple Get requests when retrieving several stream lines.
|
|
51
|
+
"""
|
|
43
52
|
|
|
44
53
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
45
54
|
yandex.cloud.video.v1.stream_line_service_pb2.CreateStreamLineRequest,
|
|
46
55
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
47
56
|
]
|
|
48
|
-
"""
|
|
57
|
+
"""Creates a new stream line in the specified channel with the provided configuration.
|
|
58
|
+
Stream lines define the technical settings for receiving and processing video signals.
|
|
59
|
+
"""
|
|
49
60
|
|
|
50
61
|
Update: grpc.UnaryUnaryMultiCallable[
|
|
51
62
|
yandex.cloud.video.v1.stream_line_service_pb2.UpdateStreamLineRequest,
|
|
52
63
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
64
|
]
|
|
54
|
-
"""
|
|
65
|
+
"""Updates an existing stream line's metadata and configuration.
|
|
66
|
+
Only fields specified in the field_mask will be updated.
|
|
67
|
+
"""
|
|
55
68
|
|
|
56
69
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
57
70
|
yandex.cloud.video.v1.stream_line_service_pb2.DeleteStreamLineRequest,
|
|
58
71
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
72
|
]
|
|
60
|
-
"""
|
|
73
|
+
"""Deletes a specific stream line by its ID."""
|
|
61
74
|
|
|
62
75
|
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
63
76
|
yandex.cloud.video.v1.stream_line_service_pb2.BatchDeleteStreamLinesRequest,
|
|
64
77
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
65
78
|
]
|
|
66
|
-
"""
|
|
79
|
+
"""Deletes multiple stream lines in a specific channel in a single request.
|
|
80
|
+
This is more efficient than making multiple Delete requests when removing several stream lines.
|
|
81
|
+
"""
|
|
67
82
|
|
|
68
83
|
PerformAction: grpc.UnaryUnaryMultiCallable[
|
|
69
84
|
yandex.cloud.video.v1.stream_line_service_pb2.PerformLineActionRequest,
|
|
70
85
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
71
86
|
]
|
|
72
|
-
"""
|
|
87
|
+
"""Performs a specific action on a stream line, such as activation or deactivation.
|
|
88
|
+
Actions change the stream line's state without modifying its configuration.
|
|
89
|
+
"""
|
|
73
90
|
|
|
74
91
|
GetStreamKey: grpc.UnaryUnaryMultiCallable[
|
|
75
92
|
yandex.cloud.video.v1.stream_line_service_pb2.GetStreamKeyRequest,
|
|
76
93
|
yandex.cloud.video.v1.stream_line_pb2.PushStreamKey,
|
|
77
94
|
]
|
|
78
|
-
"""
|
|
95
|
+
"""Retrieves the unique stream key for a push-type stream line.
|
|
96
|
+
This key is used to authenticate when pushing video streams to the platform.
|
|
97
|
+
"""
|
|
79
98
|
|
|
80
99
|
UpdateStreamKey: grpc.UnaryUnaryMultiCallable[
|
|
81
100
|
yandex.cloud.video.v1.stream_line_service_pb2.UpdateStreamKeyRequest,
|
|
82
101
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
83
102
|
]
|
|
84
|
-
"""
|
|
103
|
+
"""Regenerates and updates the stream key for a push-type stream line.
|
|
104
|
+
This is useful for security purposes when the existing key may be compromised.
|
|
105
|
+
"""
|
|
85
106
|
|
|
86
107
|
class StreamLineServiceAsyncStub:
|
|
87
|
-
"""Stream line management service.
|
|
108
|
+
"""Stream line management service.
|
|
109
|
+
Provides methods for creating, retrieving, updating, and deleting stream lines,
|
|
110
|
+
which define the technical configuration for receiving and processing video signals.
|
|
111
|
+
"""
|
|
88
112
|
|
|
89
113
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
114
|
yandex.cloud.video.v1.stream_line_service_pb2.GetStreamLineRequest,
|
|
91
115
|
yandex.cloud.video.v1.stream_line_pb2.StreamLine,
|
|
92
116
|
]
|
|
93
|
-
"""
|
|
117
|
+
"""Retrieves detailed information about a specific stream line by its ID.
|
|
118
|
+
Returns all stream line metadata, configuration, and related information.
|
|
119
|
+
"""
|
|
94
120
|
|
|
95
121
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
122
|
yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesRequest,
|
|
97
123
|
yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesResponse,
|
|
98
124
|
]
|
|
99
|
-
"""
|
|
125
|
+
"""Lists all stream lines in a specific channel with pagination support.
|
|
126
|
+
Results can be filtered and sorted using the provided parameters.
|
|
127
|
+
"""
|
|
100
128
|
|
|
101
129
|
BatchGet: grpc.aio.UnaryUnaryMultiCallable[
|
|
102
130
|
yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesRequest,
|
|
103
131
|
yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesResponse,
|
|
104
132
|
]
|
|
105
|
-
"""
|
|
133
|
+
"""Retrieves multiple stream lines by their IDs in a specific channel in a single request.
|
|
134
|
+
This is more efficient than making multiple Get requests when retrieving several stream lines.
|
|
135
|
+
"""
|
|
106
136
|
|
|
107
137
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
108
138
|
yandex.cloud.video.v1.stream_line_service_pb2.CreateStreamLineRequest,
|
|
109
139
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
110
140
|
]
|
|
111
|
-
"""
|
|
141
|
+
"""Creates a new stream line in the specified channel with the provided configuration.
|
|
142
|
+
Stream lines define the technical settings for receiving and processing video signals.
|
|
143
|
+
"""
|
|
112
144
|
|
|
113
145
|
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
114
146
|
yandex.cloud.video.v1.stream_line_service_pb2.UpdateStreamLineRequest,
|
|
115
147
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
116
148
|
]
|
|
117
|
-
"""
|
|
149
|
+
"""Updates an existing stream line's metadata and configuration.
|
|
150
|
+
Only fields specified in the field_mask will be updated.
|
|
151
|
+
"""
|
|
118
152
|
|
|
119
153
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
120
154
|
yandex.cloud.video.v1.stream_line_service_pb2.DeleteStreamLineRequest,
|
|
121
155
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
122
156
|
]
|
|
123
|
-
"""
|
|
157
|
+
"""Deletes a specific stream line by its ID."""
|
|
124
158
|
|
|
125
159
|
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
126
160
|
yandex.cloud.video.v1.stream_line_service_pb2.BatchDeleteStreamLinesRequest,
|
|
127
161
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
128
162
|
]
|
|
129
|
-
"""
|
|
163
|
+
"""Deletes multiple stream lines in a specific channel in a single request.
|
|
164
|
+
This is more efficient than making multiple Delete requests when removing several stream lines.
|
|
165
|
+
"""
|
|
130
166
|
|
|
131
167
|
PerformAction: grpc.aio.UnaryUnaryMultiCallable[
|
|
132
168
|
yandex.cloud.video.v1.stream_line_service_pb2.PerformLineActionRequest,
|
|
133
169
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
134
170
|
]
|
|
135
|
-
"""
|
|
171
|
+
"""Performs a specific action on a stream line, such as activation or deactivation.
|
|
172
|
+
Actions change the stream line's state without modifying its configuration.
|
|
173
|
+
"""
|
|
136
174
|
|
|
137
175
|
GetStreamKey: grpc.aio.UnaryUnaryMultiCallable[
|
|
138
176
|
yandex.cloud.video.v1.stream_line_service_pb2.GetStreamKeyRequest,
|
|
139
177
|
yandex.cloud.video.v1.stream_line_pb2.PushStreamKey,
|
|
140
178
|
]
|
|
141
|
-
"""
|
|
179
|
+
"""Retrieves the unique stream key for a push-type stream line.
|
|
180
|
+
This key is used to authenticate when pushing video streams to the platform.
|
|
181
|
+
"""
|
|
142
182
|
|
|
143
183
|
UpdateStreamKey: grpc.aio.UnaryUnaryMultiCallable[
|
|
144
184
|
yandex.cloud.video.v1.stream_line_service_pb2.UpdateStreamKeyRequest,
|
|
145
185
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
146
186
|
]
|
|
147
|
-
"""
|
|
187
|
+
"""Regenerates and updates the stream key for a push-type stream line.
|
|
188
|
+
This is useful for security purposes when the existing key may be compromised.
|
|
189
|
+
"""
|
|
148
190
|
|
|
149
191
|
class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
150
|
-
"""Stream line management service.
|
|
192
|
+
"""Stream line management service.
|
|
193
|
+
Provides methods for creating, retrieving, updating, and deleting stream lines,
|
|
194
|
+
which define the technical configuration for receiving and processing video signals.
|
|
195
|
+
"""
|
|
151
196
|
|
|
152
197
|
@abc.abstractmethod
|
|
153
198
|
def Get(
|
|
@@ -155,7 +200,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
155
200
|
request: yandex.cloud.video.v1.stream_line_service_pb2.GetStreamLineRequest,
|
|
156
201
|
context: _ServicerContext,
|
|
157
202
|
) -> typing.Union[yandex.cloud.video.v1.stream_line_pb2.StreamLine, collections.abc.Awaitable[yandex.cloud.video.v1.stream_line_pb2.StreamLine]]:
|
|
158
|
-
"""
|
|
203
|
+
"""Retrieves detailed information about a specific stream line by its ID.
|
|
204
|
+
Returns all stream line metadata, configuration, and related information.
|
|
205
|
+
"""
|
|
159
206
|
|
|
160
207
|
@abc.abstractmethod
|
|
161
208
|
def List(
|
|
@@ -163,7 +210,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
163
210
|
request: yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesRequest,
|
|
164
211
|
context: _ServicerContext,
|
|
165
212
|
) -> typing.Union[yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.stream_line_service_pb2.ListStreamLinesResponse]]:
|
|
166
|
-
"""
|
|
213
|
+
"""Lists all stream lines in a specific channel with pagination support.
|
|
214
|
+
Results can be filtered and sorted using the provided parameters.
|
|
215
|
+
"""
|
|
167
216
|
|
|
168
217
|
@abc.abstractmethod
|
|
169
218
|
def BatchGet(
|
|
@@ -171,7 +220,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
171
220
|
request: yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesRequest,
|
|
172
221
|
context: _ServicerContext,
|
|
173
222
|
) -> typing.Union[yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.stream_line_service_pb2.BatchGetStreamLinesResponse]]:
|
|
174
|
-
"""
|
|
223
|
+
"""Retrieves multiple stream lines by their IDs in a specific channel in a single request.
|
|
224
|
+
This is more efficient than making multiple Get requests when retrieving several stream lines.
|
|
225
|
+
"""
|
|
175
226
|
|
|
176
227
|
@abc.abstractmethod
|
|
177
228
|
def Create(
|
|
@@ -179,7 +230,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
179
230
|
request: yandex.cloud.video.v1.stream_line_service_pb2.CreateStreamLineRequest,
|
|
180
231
|
context: _ServicerContext,
|
|
181
232
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
182
|
-
"""
|
|
233
|
+
"""Creates a new stream line in the specified channel with the provided configuration.
|
|
234
|
+
Stream lines define the technical settings for receiving and processing video signals.
|
|
235
|
+
"""
|
|
183
236
|
|
|
184
237
|
@abc.abstractmethod
|
|
185
238
|
def Update(
|
|
@@ -187,7 +240,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
187
240
|
request: yandex.cloud.video.v1.stream_line_service_pb2.UpdateStreamLineRequest,
|
|
188
241
|
context: _ServicerContext,
|
|
189
242
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
190
|
-
"""
|
|
243
|
+
"""Updates an existing stream line's metadata and configuration.
|
|
244
|
+
Only fields specified in the field_mask will be updated.
|
|
245
|
+
"""
|
|
191
246
|
|
|
192
247
|
@abc.abstractmethod
|
|
193
248
|
def Delete(
|
|
@@ -195,7 +250,7 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
195
250
|
request: yandex.cloud.video.v1.stream_line_service_pb2.DeleteStreamLineRequest,
|
|
196
251
|
context: _ServicerContext,
|
|
197
252
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
198
|
-
"""
|
|
253
|
+
"""Deletes a specific stream line by its ID."""
|
|
199
254
|
|
|
200
255
|
@abc.abstractmethod
|
|
201
256
|
def BatchDelete(
|
|
@@ -203,7 +258,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
203
258
|
request: yandex.cloud.video.v1.stream_line_service_pb2.BatchDeleteStreamLinesRequest,
|
|
204
259
|
context: _ServicerContext,
|
|
205
260
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
206
|
-
"""
|
|
261
|
+
"""Deletes multiple stream lines in a specific channel in a single request.
|
|
262
|
+
This is more efficient than making multiple Delete requests when removing several stream lines.
|
|
263
|
+
"""
|
|
207
264
|
|
|
208
265
|
@abc.abstractmethod
|
|
209
266
|
def PerformAction(
|
|
@@ -211,7 +268,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
211
268
|
request: yandex.cloud.video.v1.stream_line_service_pb2.PerformLineActionRequest,
|
|
212
269
|
context: _ServicerContext,
|
|
213
270
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
214
|
-
"""
|
|
271
|
+
"""Performs a specific action on a stream line, such as activation or deactivation.
|
|
272
|
+
Actions change the stream line's state without modifying its configuration.
|
|
273
|
+
"""
|
|
215
274
|
|
|
216
275
|
@abc.abstractmethod
|
|
217
276
|
def GetStreamKey(
|
|
@@ -219,7 +278,9 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
219
278
|
request: yandex.cloud.video.v1.stream_line_service_pb2.GetStreamKeyRequest,
|
|
220
279
|
context: _ServicerContext,
|
|
221
280
|
) -> typing.Union[yandex.cloud.video.v1.stream_line_pb2.PushStreamKey, collections.abc.Awaitable[yandex.cloud.video.v1.stream_line_pb2.PushStreamKey]]:
|
|
222
|
-
"""
|
|
281
|
+
"""Retrieves the unique stream key for a push-type stream line.
|
|
282
|
+
This key is used to authenticate when pushing video streams to the platform.
|
|
283
|
+
"""
|
|
223
284
|
|
|
224
285
|
@abc.abstractmethod
|
|
225
286
|
def UpdateStreamKey(
|
|
@@ -227,6 +288,8 @@ class StreamLineServiceServicer(metaclass=abc.ABCMeta):
|
|
|
227
288
|
request: yandex.cloud.video.v1.stream_line_service_pb2.UpdateStreamKeyRequest,
|
|
228
289
|
context: _ServicerContext,
|
|
229
290
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
230
|
-
"""
|
|
291
|
+
"""Regenerates and updates the stream key for a push-type stream line.
|
|
292
|
+
This is useful for security purposes when the existing key may be compromised.
|
|
293
|
+
"""
|
|
231
294
|
|
|
232
295
|
def add_StreamLineServiceServicer_to_server(servicer: StreamLineServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -23,6 +23,10 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
23
23
|
|
|
24
24
|
@typing.final
|
|
25
25
|
class Stream(google.protobuf.message.Message):
|
|
26
|
+
"""Entity representing a live video stream.
|
|
27
|
+
A stream is a real-time video broadcast linked to a specific stream line.
|
|
28
|
+
"""
|
|
29
|
+
|
|
26
30
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
27
31
|
|
|
28
32
|
class _StreamStatus:
|
|
@@ -32,33 +36,33 @@ class Stream(google.protobuf.message.Message):
|
|
|
32
36
|
class _StreamStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Stream._StreamStatus.ValueType], builtins.type):
|
|
33
37
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
34
38
|
STREAM_STATUS_UNSPECIFIED: Stream._StreamStatus.ValueType # 0
|
|
35
|
-
"""
|
|
39
|
+
"""The stream status is not specified."""
|
|
36
40
|
OFFLINE: Stream._StreamStatus.ValueType # 1
|
|
37
|
-
"""
|
|
41
|
+
"""The stream is offline and not broadcasting."""
|
|
38
42
|
PREPARING: Stream._StreamStatus.ValueType # 2
|
|
39
|
-
"""
|
|
43
|
+
"""The system is preparing the infrastructure for receiving the video signal."""
|
|
40
44
|
READY: Stream._StreamStatus.ValueType # 3
|
|
41
|
-
"""
|
|
45
|
+
"""The infrastructure is ready to launch the stream."""
|
|
42
46
|
ONAIR: Stream._StreamStatus.ValueType # 4
|
|
43
|
-
"""
|
|
47
|
+
"""The stream is currently broadcasting live."""
|
|
44
48
|
FINISHED: Stream._StreamStatus.ValueType # 5
|
|
45
|
-
"""
|
|
49
|
+
"""The stream has completed and is no longer broadcasting."""
|
|
46
50
|
|
|
47
51
|
class StreamStatus(_StreamStatus, metaclass=_StreamStatusEnumTypeWrapper):
|
|
48
|
-
"""
|
|
52
|
+
"""Current status of the stream."""
|
|
49
53
|
|
|
50
54
|
STREAM_STATUS_UNSPECIFIED: Stream.StreamStatus.ValueType # 0
|
|
51
|
-
"""
|
|
55
|
+
"""The stream status is not specified."""
|
|
52
56
|
OFFLINE: Stream.StreamStatus.ValueType # 1
|
|
53
|
-
"""
|
|
57
|
+
"""The stream is offline and not broadcasting."""
|
|
54
58
|
PREPARING: Stream.StreamStatus.ValueType # 2
|
|
55
|
-
"""
|
|
59
|
+
"""The system is preparing the infrastructure for receiving the video signal."""
|
|
56
60
|
READY: Stream.StreamStatus.ValueType # 3
|
|
57
|
-
"""
|
|
61
|
+
"""The infrastructure is ready to launch the stream."""
|
|
58
62
|
ONAIR: Stream.StreamStatus.ValueType # 4
|
|
59
|
-
"""
|
|
63
|
+
"""The stream is currently broadcasting live."""
|
|
60
64
|
FINISHED: Stream.StreamStatus.ValueType # 5
|
|
61
|
-
"""
|
|
65
|
+
"""The stream has completed and is no longer broadcasting."""
|
|
62
66
|
|
|
63
67
|
@typing.final
|
|
64
68
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -93,56 +97,60 @@ class Stream(google.protobuf.message.Message):
|
|
|
93
97
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
94
98
|
LABELS_FIELD_NUMBER: builtins.int
|
|
95
99
|
id: builtins.str
|
|
96
|
-
"""
|
|
100
|
+
"""Unique identifier of the stream."""
|
|
97
101
|
channel_id: builtins.str
|
|
98
|
-
"""
|
|
102
|
+
"""Identifier of the channel where the stream is created and managed."""
|
|
99
103
|
line_id: builtins.str
|
|
100
|
-
"""
|
|
104
|
+
"""Identifier of the stream line to which this stream is linked."""
|
|
101
105
|
title: builtins.str
|
|
102
|
-
"""
|
|
106
|
+
"""Title of the stream displayed in interfaces and players."""
|
|
103
107
|
description: builtins.str
|
|
104
|
-
"""
|
|
108
|
+
"""Detailed description of the stream content and context."""
|
|
105
109
|
thumbnail_id: builtins.str
|
|
106
|
-
"""
|
|
110
|
+
"""Identifier of the thumbnail image used to represent the stream visually."""
|
|
107
111
|
status: global___Stream.StreamStatus.ValueType
|
|
108
|
-
"""
|
|
112
|
+
"""Current status of the stream."""
|
|
109
113
|
@property
|
|
110
114
|
def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
111
|
-
"""
|
|
115
|
+
"""Timestamp when the stream was initiated."""
|
|
112
116
|
|
|
113
117
|
@property
|
|
114
118
|
def publish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
115
|
-
"""
|
|
119
|
+
"""Timestamp when the stream was published (switched to ONAIR status)."""
|
|
116
120
|
|
|
117
121
|
@property
|
|
118
122
|
def finish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
119
|
-
"""
|
|
123
|
+
"""Timestamp when the stream was completed."""
|
|
120
124
|
|
|
121
125
|
@property
|
|
122
126
|
def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
123
|
-
"""
|
|
124
|
-
|
|
127
|
+
"""Controls automatic publishing of the stream when it's ready.
|
|
128
|
+
When set to true, automatically switches status from READY to ONAIR.
|
|
125
129
|
"""
|
|
126
130
|
|
|
127
131
|
@property
|
|
128
132
|
def on_demand(self) -> global___OnDemand:
|
|
129
|
-
"""On-demand stream
|
|
133
|
+
"""On-demand stream starts immediately when a video signal appears."""
|
|
130
134
|
|
|
131
135
|
@property
|
|
132
136
|
def schedule(self) -> global___Schedule:
|
|
133
|
-
"""
|
|
137
|
+
"""Scheduled stream starts and finishes at specified time."""
|
|
134
138
|
|
|
135
139
|
@property
|
|
136
140
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
137
|
-
"""
|
|
141
|
+
"""Timestamp when the stream was initially created in the system."""
|
|
138
142
|
|
|
139
143
|
@property
|
|
140
144
|
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
141
|
-
"""
|
|
145
|
+
"""Timestamp of the last modification to the stream or its metadata."""
|
|
142
146
|
|
|
143
147
|
@property
|
|
144
148
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
145
|
-
"""Custom labels as
|
|
149
|
+
"""Custom user-defined labels as `key:value` pairs.
|
|
150
|
+
Maximum 64 labels per stream.
|
|
151
|
+
Used for organization, filtering, and metadata purposes.
|
|
152
|
+
Labels can be used for organization, filtering, and metadata purposes.
|
|
153
|
+
"""
|
|
146
154
|
|
|
147
155
|
def __init__(
|
|
148
156
|
self,
|
|
@@ -172,8 +180,9 @@ global___Stream = Stream
|
|
|
172
180
|
|
|
173
181
|
@typing.final
|
|
174
182
|
class OnDemand(google.protobuf.message.Message):
|
|
175
|
-
"""
|
|
176
|
-
This type of
|
|
183
|
+
"""Represents an on-demand stream type.
|
|
184
|
+
This type of stream must be started and finished explicitly by the user.
|
|
185
|
+
It begins broadcasting immediately when a video signal is detected.
|
|
177
186
|
"""
|
|
178
187
|
|
|
179
188
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -186,8 +195,8 @@ global___OnDemand = OnDemand
|
|
|
186
195
|
|
|
187
196
|
@typing.final
|
|
188
197
|
class Schedule(google.protobuf.message.Message):
|
|
189
|
-
"""
|
|
190
|
-
This type of
|
|
198
|
+
"""Represents a scheduled stream type.
|
|
199
|
+
This type of stream starts and finishes automatically at specified time.
|
|
191
200
|
"""
|
|
192
201
|
|
|
193
202
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -195,9 +204,13 @@ class Schedule(google.protobuf.message.Message):
|
|
|
195
204
|
START_TIME_FIELD_NUMBER: builtins.int
|
|
196
205
|
FINISH_TIME_FIELD_NUMBER: builtins.int
|
|
197
206
|
@property
|
|
198
|
-
def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
207
|
+
def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
208
|
+
"""Scheduled time when the stream should automatically start."""
|
|
209
|
+
|
|
199
210
|
@property
|
|
200
|
-
def finish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
211
|
+
def finish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
212
|
+
"""Scheduled time when the stream should automatically finish."""
|
|
213
|
+
|
|
201
214
|
def __init__(
|
|
202
215
|
self,
|
|
203
216
|
*,
|