yandexcloud 0.351.0__py3-none-any.whl → 0.353.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/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
- 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/baremetal/v1alpha/server_pb2.py +13 -11
- 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/connectionmanager/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
- yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
- 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/mongodb/v1/config/mongodb_pb2.py +94 -76
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
- 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/organizationmanager/v1/saml/federation_pb2.py +17 -3
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
- 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.353.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +163 -97
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
|
@@ -29,6 +29,9 @@ if _version_not_supported:
|
|
|
29
29
|
|
|
30
30
|
class EpisodeServiceStub(object):
|
|
31
31
|
"""Episode management service.
|
|
32
|
+
Provides methods for creating, retrieving, updating, and deleting episodes,
|
|
33
|
+
which represent specific time segments of streams
|
|
34
|
+
that can be individually accessed, managed, and published.
|
|
32
35
|
"""
|
|
33
36
|
|
|
34
37
|
def __init__(self, channel):
|
|
@@ -91,73 +94,87 @@ class EpisodeServiceStub(object):
|
|
|
91
94
|
|
|
92
95
|
class EpisodeServiceServicer(object):
|
|
93
96
|
"""Episode management service.
|
|
97
|
+
Provides methods for creating, retrieving, updating, and deleting episodes,
|
|
98
|
+
which represent specific time segments of streams
|
|
99
|
+
that can be individually accessed, managed, and published.
|
|
94
100
|
"""
|
|
95
101
|
|
|
96
102
|
def Get(self, request, context):
|
|
97
|
-
"""
|
|
103
|
+
"""Retrieves detailed information about a specific episode by its ID.
|
|
104
|
+
Returns all episode metadata, status, and related information.
|
|
98
105
|
"""
|
|
99
106
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
100
107
|
context.set_details('Method not implemented!')
|
|
101
108
|
raise NotImplementedError('Method not implemented!')
|
|
102
109
|
|
|
103
110
|
def List(self, request, context):
|
|
104
|
-
"""
|
|
111
|
+
"""Lists all episodes associated with a specific stream or stream line with pagination support.
|
|
112
|
+
Results can be filtered and sorted using the provided parameters.
|
|
105
113
|
"""
|
|
106
114
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
115
|
context.set_details('Method not implemented!')
|
|
108
116
|
raise NotImplementedError('Method not implemented!')
|
|
109
117
|
|
|
110
118
|
def BatchGet(self, request, context):
|
|
111
|
-
"""
|
|
119
|
+
"""Retrieves multiple episodes by their IDs in a specific channel in a single request.
|
|
120
|
+
This is more efficient than making multiple Get requests when retrieving several episodes.
|
|
112
121
|
"""
|
|
113
122
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
114
123
|
context.set_details('Method not implemented!')
|
|
115
124
|
raise NotImplementedError('Method not implemented!')
|
|
116
125
|
|
|
117
126
|
def Create(self, request, context):
|
|
118
|
-
"""
|
|
127
|
+
"""Creates a new episode associated with a stream or stream line.
|
|
128
|
+
Episodes can be configured with various settings including title, description,
|
|
129
|
+
time boundaries, and access rights.
|
|
119
130
|
"""
|
|
120
131
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
121
132
|
context.set_details('Method not implemented!')
|
|
122
133
|
raise NotImplementedError('Method not implemented!')
|
|
123
134
|
|
|
124
135
|
def Update(self, request, context):
|
|
125
|
-
"""
|
|
136
|
+
"""Updates an existing episode's metadata and settings.
|
|
137
|
+
Only fields specified in the field_mask will be updated.
|
|
126
138
|
"""
|
|
127
139
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
128
140
|
context.set_details('Method not implemented!')
|
|
129
141
|
raise NotImplementedError('Method not implemented!')
|
|
130
142
|
|
|
131
143
|
def Delete(self, request, context):
|
|
132
|
-
"""
|
|
144
|
+
"""Deletes a specific episode by its ID.
|
|
133
145
|
"""
|
|
134
146
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
135
147
|
context.set_details('Method not implemented!')
|
|
136
148
|
raise NotImplementedError('Method not implemented!')
|
|
137
149
|
|
|
138
150
|
def BatchDelete(self, request, context):
|
|
139
|
-
"""
|
|
151
|
+
"""Deletes multiple episodes associated with a specific stream or stream line in a single request.
|
|
152
|
+
This is more efficient than making multiple Delete requests when removing several episodes.
|
|
140
153
|
"""
|
|
141
154
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
142
155
|
context.set_details('Method not implemented!')
|
|
143
156
|
raise NotImplementedError('Method not implemented!')
|
|
144
157
|
|
|
145
158
|
def PerformAction(self, request, context):
|
|
146
|
-
"""
|
|
159
|
+
"""Performs a specific action on an episode, such as publishing or unpublishing.
|
|
147
160
|
"""
|
|
148
161
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
149
162
|
context.set_details('Method not implemented!')
|
|
150
163
|
raise NotImplementedError('Method not implemented!')
|
|
151
164
|
|
|
152
165
|
def GetPlayerURL(self, request, context):
|
|
153
|
-
"""
|
|
166
|
+
"""Generates a player URL for watching the episode.
|
|
167
|
+
The URL can include player parameters such as autoplay, mute, and visibility of interface controls.
|
|
168
|
+
For episodes with signed URL access, an expiration duration can be specified.
|
|
154
169
|
"""
|
|
155
170
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
156
171
|
context.set_details('Method not implemented!')
|
|
157
172
|
raise NotImplementedError('Method not implemented!')
|
|
158
173
|
|
|
159
174
|
def GetManifests(self, request, context):
|
|
160
|
-
"""
|
|
175
|
+
"""Retrieves the manifest URLs for the episode's media content.
|
|
176
|
+
Manifests provide players with necessary information
|
|
177
|
+
for streaming the content with different quality levels and formats.
|
|
161
178
|
"""
|
|
162
179
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
163
180
|
context.set_details('Method not implemented!')
|
|
@@ -226,6 +243,9 @@ def add_EpisodeServiceServicer_to_server(servicer, server):
|
|
|
226
243
|
# This class is part of an EXPERIMENTAL API.
|
|
227
244
|
class EpisodeService(object):
|
|
228
245
|
"""Episode management service.
|
|
246
|
+
Provides methods for creating, retrieving, updating, and deleting episodes,
|
|
247
|
+
which represent specific time segments of streams
|
|
248
|
+
that can be individually accessed, managed, and published.
|
|
229
249
|
"""
|
|
230
250
|
|
|
231
251
|
@staticmethod
|
|
@@ -20,134 +20,184 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class EpisodeServiceStub:
|
|
23
|
-
"""Episode management service.
|
|
23
|
+
"""Episode management service.
|
|
24
|
+
Provides methods for creating, retrieving, updating, and deleting episodes,
|
|
25
|
+
which represent specific time segments of streams
|
|
26
|
+
that can be individually accessed, managed, and published.
|
|
27
|
+
"""
|
|
24
28
|
|
|
25
29
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
30
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
31
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodeRequest,
|
|
28
32
|
yandex.cloud.video.v1.episode_pb2.Episode,
|
|
29
33
|
]
|
|
30
|
-
"""
|
|
34
|
+
"""Retrieves detailed information about a specific episode by its ID.
|
|
35
|
+
Returns all episode metadata, status, and related information.
|
|
36
|
+
"""
|
|
31
37
|
|
|
32
38
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
39
|
yandex.cloud.video.v1.episode_service_pb2.ListEpisodesRequest,
|
|
34
40
|
yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse,
|
|
35
41
|
]
|
|
36
|
-
"""
|
|
42
|
+
"""Lists all episodes associated with a specific stream or stream line with pagination support.
|
|
43
|
+
Results can be filtered and sorted using the provided parameters.
|
|
44
|
+
"""
|
|
37
45
|
|
|
38
46
|
BatchGet: grpc.UnaryUnaryMultiCallable[
|
|
39
47
|
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
40
48
|
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse,
|
|
41
49
|
]
|
|
42
|
-
"""
|
|
50
|
+
"""Retrieves multiple episodes by their IDs in a specific channel in a single request.
|
|
51
|
+
This is more efficient than making multiple Get requests when retrieving several episodes.
|
|
52
|
+
"""
|
|
43
53
|
|
|
44
54
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
45
55
|
yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
46
56
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
47
57
|
]
|
|
48
|
-
"""
|
|
58
|
+
"""Creates a new episode associated with a stream or stream line.
|
|
59
|
+
Episodes can be configured with various settings including title, description,
|
|
60
|
+
time boundaries, and access rights.
|
|
61
|
+
"""
|
|
49
62
|
|
|
50
63
|
Update: grpc.UnaryUnaryMultiCallable[
|
|
51
64
|
yandex.cloud.video.v1.episode_service_pb2.UpdateEpisodeRequest,
|
|
52
65
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
66
|
]
|
|
54
|
-
"""
|
|
67
|
+
"""Updates an existing episode's metadata and settings.
|
|
68
|
+
Only fields specified in the field_mask will be updated.
|
|
69
|
+
"""
|
|
55
70
|
|
|
56
71
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
57
72
|
yandex.cloud.video.v1.episode_service_pb2.DeleteEpisodeRequest,
|
|
58
73
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
74
|
]
|
|
60
|
-
"""
|
|
75
|
+
"""Deletes a specific episode by its ID."""
|
|
61
76
|
|
|
62
77
|
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
63
78
|
yandex.cloud.video.v1.episode_service_pb2.BatchDeleteEpisodesRequest,
|
|
64
79
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
65
80
|
]
|
|
66
|
-
"""
|
|
81
|
+
"""Deletes multiple episodes associated with a specific stream or stream line in a single request.
|
|
82
|
+
This is more efficient than making multiple Delete requests when removing several episodes.
|
|
83
|
+
"""
|
|
67
84
|
|
|
68
85
|
PerformAction: grpc.UnaryUnaryMultiCallable[
|
|
69
86
|
yandex.cloud.video.v1.episode_service_pb2.PerformEpisodeActionRequest,
|
|
70
87
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
71
88
|
]
|
|
72
|
-
"""
|
|
89
|
+
"""Performs a specific action on an episode, such as publishing or unpublishing."""
|
|
73
90
|
|
|
74
91
|
GetPlayerURL: grpc.UnaryUnaryMultiCallable[
|
|
75
92
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLRequest,
|
|
76
93
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLResponse,
|
|
77
94
|
]
|
|
78
|
-
"""
|
|
95
|
+
"""Generates a player URL for watching the episode.
|
|
96
|
+
The URL can include player parameters such as autoplay, mute, and visibility of interface controls.
|
|
97
|
+
For episodes with signed URL access, an expiration duration can be specified.
|
|
98
|
+
"""
|
|
79
99
|
|
|
80
100
|
GetManifests: grpc.UnaryUnaryMultiCallable[
|
|
81
101
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsRequest,
|
|
82
102
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse,
|
|
83
103
|
]
|
|
84
|
-
"""
|
|
104
|
+
"""Retrieves the manifest URLs for the episode's media content.
|
|
105
|
+
Manifests provide players with necessary information
|
|
106
|
+
for streaming the content with different quality levels and formats.
|
|
107
|
+
"""
|
|
85
108
|
|
|
86
109
|
class EpisodeServiceAsyncStub:
|
|
87
|
-
"""Episode management service.
|
|
110
|
+
"""Episode management service.
|
|
111
|
+
Provides methods for creating, retrieving, updating, and deleting episodes,
|
|
112
|
+
which represent specific time segments of streams
|
|
113
|
+
that can be individually accessed, managed, and published.
|
|
114
|
+
"""
|
|
88
115
|
|
|
89
116
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
117
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodeRequest,
|
|
91
118
|
yandex.cloud.video.v1.episode_pb2.Episode,
|
|
92
119
|
]
|
|
93
|
-
"""
|
|
120
|
+
"""Retrieves detailed information about a specific episode by its ID.
|
|
121
|
+
Returns all episode metadata, status, and related information.
|
|
122
|
+
"""
|
|
94
123
|
|
|
95
124
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
125
|
yandex.cloud.video.v1.episode_service_pb2.ListEpisodesRequest,
|
|
97
126
|
yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse,
|
|
98
127
|
]
|
|
99
|
-
"""
|
|
128
|
+
"""Lists all episodes associated with a specific stream or stream line with pagination support.
|
|
129
|
+
Results can be filtered and sorted using the provided parameters.
|
|
130
|
+
"""
|
|
100
131
|
|
|
101
132
|
BatchGet: grpc.aio.UnaryUnaryMultiCallable[
|
|
102
133
|
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
103
134
|
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse,
|
|
104
135
|
]
|
|
105
|
-
"""
|
|
136
|
+
"""Retrieves multiple episodes by their IDs in a specific channel in a single request.
|
|
137
|
+
This is more efficient than making multiple Get requests when retrieving several episodes.
|
|
138
|
+
"""
|
|
106
139
|
|
|
107
140
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
108
141
|
yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
109
142
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
110
143
|
]
|
|
111
|
-
"""
|
|
144
|
+
"""Creates a new episode associated with a stream or stream line.
|
|
145
|
+
Episodes can be configured with various settings including title, description,
|
|
146
|
+
time boundaries, and access rights.
|
|
147
|
+
"""
|
|
112
148
|
|
|
113
149
|
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
114
150
|
yandex.cloud.video.v1.episode_service_pb2.UpdateEpisodeRequest,
|
|
115
151
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
116
152
|
]
|
|
117
|
-
"""
|
|
153
|
+
"""Updates an existing episode's metadata and settings.
|
|
154
|
+
Only fields specified in the field_mask will be updated.
|
|
155
|
+
"""
|
|
118
156
|
|
|
119
157
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
120
158
|
yandex.cloud.video.v1.episode_service_pb2.DeleteEpisodeRequest,
|
|
121
159
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
122
160
|
]
|
|
123
|
-
"""
|
|
161
|
+
"""Deletes a specific episode by its ID."""
|
|
124
162
|
|
|
125
163
|
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
126
164
|
yandex.cloud.video.v1.episode_service_pb2.BatchDeleteEpisodesRequest,
|
|
127
165
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
128
166
|
]
|
|
129
|
-
"""
|
|
167
|
+
"""Deletes multiple episodes associated with a specific stream or stream line in a single request.
|
|
168
|
+
This is more efficient than making multiple Delete requests when removing several episodes.
|
|
169
|
+
"""
|
|
130
170
|
|
|
131
171
|
PerformAction: grpc.aio.UnaryUnaryMultiCallable[
|
|
132
172
|
yandex.cloud.video.v1.episode_service_pb2.PerformEpisodeActionRequest,
|
|
133
173
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
134
174
|
]
|
|
135
|
-
"""
|
|
175
|
+
"""Performs a specific action on an episode, such as publishing or unpublishing."""
|
|
136
176
|
|
|
137
177
|
GetPlayerURL: grpc.aio.UnaryUnaryMultiCallable[
|
|
138
178
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLRequest,
|
|
139
179
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLResponse,
|
|
140
180
|
]
|
|
141
|
-
"""
|
|
181
|
+
"""Generates a player URL for watching the episode.
|
|
182
|
+
The URL can include player parameters such as autoplay, mute, and visibility of interface controls.
|
|
183
|
+
For episodes with signed URL access, an expiration duration can be specified.
|
|
184
|
+
"""
|
|
142
185
|
|
|
143
186
|
GetManifests: grpc.aio.UnaryUnaryMultiCallable[
|
|
144
187
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsRequest,
|
|
145
188
|
yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse,
|
|
146
189
|
]
|
|
147
|
-
"""
|
|
190
|
+
"""Retrieves the manifest URLs for the episode's media content.
|
|
191
|
+
Manifests provide players with necessary information
|
|
192
|
+
for streaming the content with different quality levels and formats.
|
|
193
|
+
"""
|
|
148
194
|
|
|
149
195
|
class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
150
|
-
"""Episode management service.
|
|
196
|
+
"""Episode management service.
|
|
197
|
+
Provides methods for creating, retrieving, updating, and deleting episodes,
|
|
198
|
+
which represent specific time segments of streams
|
|
199
|
+
that can be individually accessed, managed, and published.
|
|
200
|
+
"""
|
|
151
201
|
|
|
152
202
|
@abc.abstractmethod
|
|
153
203
|
def Get(
|
|
@@ -155,7 +205,9 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
155
205
|
request: yandex.cloud.video.v1.episode_service_pb2.GetEpisodeRequest,
|
|
156
206
|
context: _ServicerContext,
|
|
157
207
|
) -> typing.Union[yandex.cloud.video.v1.episode_pb2.Episode, collections.abc.Awaitable[yandex.cloud.video.v1.episode_pb2.Episode]]:
|
|
158
|
-
"""
|
|
208
|
+
"""Retrieves detailed information about a specific episode by its ID.
|
|
209
|
+
Returns all episode metadata, status, and related information.
|
|
210
|
+
"""
|
|
159
211
|
|
|
160
212
|
@abc.abstractmethod
|
|
161
213
|
def List(
|
|
@@ -163,7 +215,9 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
163
215
|
request: yandex.cloud.video.v1.episode_service_pb2.ListEpisodesRequest,
|
|
164
216
|
context: _ServicerContext,
|
|
165
217
|
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse]]:
|
|
166
|
-
"""
|
|
218
|
+
"""Lists all episodes associated with a specific stream or stream line with pagination support.
|
|
219
|
+
Results can be filtered and sorted using the provided parameters.
|
|
220
|
+
"""
|
|
167
221
|
|
|
168
222
|
@abc.abstractmethod
|
|
169
223
|
def BatchGet(
|
|
@@ -171,7 +225,9 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
171
225
|
request: yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
172
226
|
context: _ServicerContext,
|
|
173
227
|
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse]]:
|
|
174
|
-
"""
|
|
228
|
+
"""Retrieves multiple episodes by their IDs in a specific channel in a single request.
|
|
229
|
+
This is more efficient than making multiple Get requests when retrieving several episodes.
|
|
230
|
+
"""
|
|
175
231
|
|
|
176
232
|
@abc.abstractmethod
|
|
177
233
|
def Create(
|
|
@@ -179,7 +235,10 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
179
235
|
request: yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
180
236
|
context: _ServicerContext,
|
|
181
237
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
182
|
-
"""
|
|
238
|
+
"""Creates a new episode associated with a stream or stream line.
|
|
239
|
+
Episodes can be configured with various settings including title, description,
|
|
240
|
+
time boundaries, and access rights.
|
|
241
|
+
"""
|
|
183
242
|
|
|
184
243
|
@abc.abstractmethod
|
|
185
244
|
def Update(
|
|
@@ -187,7 +246,9 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
187
246
|
request: yandex.cloud.video.v1.episode_service_pb2.UpdateEpisodeRequest,
|
|
188
247
|
context: _ServicerContext,
|
|
189
248
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
190
|
-
"""
|
|
249
|
+
"""Updates an existing episode's metadata and settings.
|
|
250
|
+
Only fields specified in the field_mask will be updated.
|
|
251
|
+
"""
|
|
191
252
|
|
|
192
253
|
@abc.abstractmethod
|
|
193
254
|
def Delete(
|
|
@@ -195,7 +256,7 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
195
256
|
request: yandex.cloud.video.v1.episode_service_pb2.DeleteEpisodeRequest,
|
|
196
257
|
context: _ServicerContext,
|
|
197
258
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
198
|
-
"""
|
|
259
|
+
"""Deletes a specific episode by its ID."""
|
|
199
260
|
|
|
200
261
|
@abc.abstractmethod
|
|
201
262
|
def BatchDelete(
|
|
@@ -203,7 +264,9 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
203
264
|
request: yandex.cloud.video.v1.episode_service_pb2.BatchDeleteEpisodesRequest,
|
|
204
265
|
context: _ServicerContext,
|
|
205
266
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
206
|
-
"""
|
|
267
|
+
"""Deletes multiple episodes associated with a specific stream or stream line in a single request.
|
|
268
|
+
This is more efficient than making multiple Delete requests when removing several episodes.
|
|
269
|
+
"""
|
|
207
270
|
|
|
208
271
|
@abc.abstractmethod
|
|
209
272
|
def PerformAction(
|
|
@@ -211,7 +274,7 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
211
274
|
request: yandex.cloud.video.v1.episode_service_pb2.PerformEpisodeActionRequest,
|
|
212
275
|
context: _ServicerContext,
|
|
213
276
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
214
|
-
"""
|
|
277
|
+
"""Performs a specific action on an episode, such as publishing or unpublishing."""
|
|
215
278
|
|
|
216
279
|
@abc.abstractmethod
|
|
217
280
|
def GetPlayerURL(
|
|
@@ -219,7 +282,10 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
219
282
|
request: yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLRequest,
|
|
220
283
|
context: _ServicerContext,
|
|
221
284
|
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLResponse]]:
|
|
222
|
-
"""
|
|
285
|
+
"""Generates a player URL for watching the episode.
|
|
286
|
+
The URL can include player parameters such as autoplay, mute, and visibility of interface controls.
|
|
287
|
+
For episodes with signed URL access, an expiration duration can be specified.
|
|
288
|
+
"""
|
|
223
289
|
|
|
224
290
|
@abc.abstractmethod
|
|
225
291
|
def GetManifests(
|
|
@@ -227,6 +293,9 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
227
293
|
request: yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsRequest,
|
|
228
294
|
context: _ServicerContext,
|
|
229
295
|
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse]]:
|
|
230
|
-
"""
|
|
296
|
+
"""Retrieves the manifest URLs for the episode's media content.
|
|
297
|
+
Manifests provide players with necessary information
|
|
298
|
+
for streaming the content with different quality levels and formats.
|
|
299
|
+
"""
|
|
231
300
|
|
|
232
301
|
def add_EpisodeServiceServicer_to_server(servicer: EpisodeServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -19,6 +19,11 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
19
19
|
|
|
20
20
|
@typing.final
|
|
21
21
|
class Manifest(google.protobuf.message.Message):
|
|
22
|
+
"""Represents a streaming manifest file that defines how video content is delivered.
|
|
23
|
+
Manifests contain information about available video qualities, audio tracks,
|
|
24
|
+
and other metadata needed by video players to stream content efficiently.
|
|
25
|
+
"""
|
|
26
|
+
|
|
22
27
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
23
28
|
|
|
24
29
|
class _ManifestType:
|
|
@@ -28,18 +33,36 @@ class Manifest(google.protobuf.message.Message):
|
|
|
28
33
|
class _ManifestTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Manifest._ManifestType.ValueType], builtins.type):
|
|
29
34
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
30
35
|
MANIFEST_TYPE_UNSPECIFIED: Manifest._ManifestType.ValueType # 0
|
|
36
|
+
"""The manifest type is not specified."""
|
|
31
37
|
DASH: Manifest._ManifestType.ValueType # 1
|
|
38
|
+
"""Dynamic Adaptive Streaming over HTTP (DASH) format.
|
|
39
|
+
@see https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
|
|
40
|
+
"""
|
|
32
41
|
HLS: Manifest._ManifestType.ValueType # 2
|
|
42
|
+
"""HTTP Live Streaming (HLS) format.
|
|
43
|
+
@see https://en.wikipedia.org/wiki/HTTP_Live_Streaming
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
class ManifestType(_ManifestType, metaclass=_ManifestTypeEnumTypeWrapper):
|
|
47
|
+
"""Manifest format supported by the platform."""
|
|
33
48
|
|
|
34
|
-
class ManifestType(_ManifestType, metaclass=_ManifestTypeEnumTypeWrapper): ...
|
|
35
49
|
MANIFEST_TYPE_UNSPECIFIED: Manifest.ManifestType.ValueType # 0
|
|
50
|
+
"""The manifest type is not specified."""
|
|
36
51
|
DASH: Manifest.ManifestType.ValueType # 1
|
|
52
|
+
"""Dynamic Adaptive Streaming over HTTP (DASH) format.
|
|
53
|
+
@see https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
|
|
54
|
+
"""
|
|
37
55
|
HLS: Manifest.ManifestType.ValueType # 2
|
|
56
|
+
"""HTTP Live Streaming (HLS) format.
|
|
57
|
+
@see https://en.wikipedia.org/wiki/HTTP_Live_Streaming
|
|
58
|
+
"""
|
|
38
59
|
|
|
39
60
|
URL_FIELD_NUMBER: builtins.int
|
|
40
61
|
TYPE_FIELD_NUMBER: builtins.int
|
|
41
62
|
url: builtins.str
|
|
63
|
+
"""URL where the manifest file can be accessed."""
|
|
42
64
|
type: global___Manifest.ManifestType.ValueType
|
|
65
|
+
"""Format of the manifest file."""
|
|
43
66
|
def __init__(
|
|
44
67
|
self,
|
|
45
68
|
*,
|
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/playlist.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/playlist.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x81\x02\n\x08Playlist\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x32\n\x05items\x18\x05 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItem\x12\x17\n\x0fstyle_preset_id\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x07\x10\x64\"u\n\x0cPlaylistItem\x12\x1c\n\x08video_id\x18\x64 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1e\n\nepisode_id\x18\x65 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x08position\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100B\x04\n\x02idJ\x04\x08\x02\x10\x64\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,8 +34,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.playl
|
|
|
34
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
37
|
-
_globals['_PLAYLISTITEM'].oneofs_by_name['id']._loaded_options = None
|
|
38
|
-
_globals['_PLAYLISTITEM'].oneofs_by_name['id']._serialized_options = b'\300\3011\001'
|
|
39
37
|
_globals['_PLAYLISTITEM'].fields_by_name['video_id']._loaded_options = None
|
|
40
38
|
_globals['_PLAYLISTITEM'].fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
|
|
41
39
|
_globals['_PLAYLISTITEM'].fields_by_name['episode_id']._loaded_options = None
|
|
@@ -43,7 +41,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
43
41
|
_globals['_PLAYLISTITEM'].fields_by_name['position']._loaded_options = None
|
|
44
42
|
_globals['_PLAYLISTITEM'].fields_by_name['position']._serialized_options = b'\372\3071\0050-100'
|
|
45
43
|
_globals['_PLAYLIST']._serialized_start=128
|
|
46
|
-
_globals['_PLAYLIST']._serialized_end=
|
|
47
|
-
_globals['_PLAYLISTITEM']._serialized_start=
|
|
48
|
-
_globals['_PLAYLISTITEM']._serialized_end=
|
|
44
|
+
_globals['_PLAYLIST']._serialized_end=385
|
|
45
|
+
_globals['_PLAYLISTITEM']._serialized_start=387
|
|
46
|
+
_globals['_PLAYLISTITEM']._serialized_end=504
|
|
49
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -15,7 +15,9 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
15
15
|
|
|
16
16
|
@typing.final
|
|
17
17
|
class Playlist(google.protobuf.message.Message):
|
|
18
|
-
"""Entity representing an ordered
|
|
18
|
+
"""Entity representing an ordered collection of videos or episodes.
|
|
19
|
+
Playlists allow organizing content into sequences for improved user experience.
|
|
20
|
+
"""
|
|
19
21
|
|
|
20
22
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
23
|
|
|
@@ -24,27 +26,30 @@ class Playlist(google.protobuf.message.Message):
|
|
|
24
26
|
TITLE_FIELD_NUMBER: builtins.int
|
|
25
27
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
26
28
|
ITEMS_FIELD_NUMBER: builtins.int
|
|
29
|
+
STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
|
|
27
30
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
28
31
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
29
32
|
id: builtins.str
|
|
30
|
-
"""
|
|
33
|
+
"""Unique identifier of the playlist."""
|
|
31
34
|
channel_id: builtins.str
|
|
32
|
-
"""
|
|
35
|
+
"""Identifier of the channel where this playlist is created and managed."""
|
|
33
36
|
title: builtins.str
|
|
34
|
-
"""
|
|
37
|
+
"""Title of the playlist displayed in interfaces and players."""
|
|
35
38
|
description: builtins.str
|
|
36
|
-
"""
|
|
39
|
+
"""Detailed description of the playlist's content and purpose."""
|
|
40
|
+
style_preset_id: builtins.str
|
|
41
|
+
"""Identifier of the style preset used in the player during playlist playback."""
|
|
37
42
|
@property
|
|
38
43
|
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PlaylistItem]:
|
|
39
|
-
"""
|
|
44
|
+
"""Ordered list of content items included in this playlist."""
|
|
40
45
|
|
|
41
46
|
@property
|
|
42
47
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
43
|
-
"""
|
|
48
|
+
"""Timestamp when the playlist was initially created in the system."""
|
|
44
49
|
|
|
45
50
|
@property
|
|
46
51
|
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
47
|
-
"""
|
|
52
|
+
"""Timestamp of the last modification to the playlist or its metadata."""
|
|
48
53
|
|
|
49
54
|
def __init__(
|
|
50
55
|
self,
|
|
@@ -54,27 +59,34 @@ class Playlist(google.protobuf.message.Message):
|
|
|
54
59
|
title: builtins.str = ...,
|
|
55
60
|
description: builtins.str = ...,
|
|
56
61
|
items: collections.abc.Iterable[global___PlaylistItem] | None = ...,
|
|
62
|
+
style_preset_id: builtins.str = ...,
|
|
57
63
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
58
64
|
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
59
65
|
) -> None: ...
|
|
60
66
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
61
|
-
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "id", b"id", "items", b"items", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
|
|
67
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "id", b"id", "items", b"items", "style_preset_id", b"style_preset_id", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
|
|
62
68
|
|
|
63
69
|
global___Playlist = Playlist
|
|
64
70
|
|
|
65
71
|
@typing.final
|
|
66
72
|
class PlaylistItem(google.protobuf.message.Message):
|
|
73
|
+
"""Represents a single item in a playlist.
|
|
74
|
+
Each item references either a video or an episode and specifies its position in the sequence.
|
|
75
|
+
"""
|
|
76
|
+
|
|
67
77
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
68
78
|
|
|
69
79
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
70
80
|
EPISODE_ID_FIELD_NUMBER: builtins.int
|
|
71
81
|
POSITION_FIELD_NUMBER: builtins.int
|
|
72
82
|
video_id: builtins.str
|
|
73
|
-
"""
|
|
83
|
+
"""Identifier of a video included in the playlist."""
|
|
74
84
|
episode_id: builtins.str
|
|
75
|
-
"""
|
|
85
|
+
"""Identifier of an episode included in the playlist."""
|
|
76
86
|
position: builtins.int
|
|
77
|
-
"""
|
|
87
|
+
"""Position of this item in the playlist sequence (zero-indexed).
|
|
88
|
+
Determines the playback order of content in the playlist.
|
|
89
|
+
"""
|
|
78
90
|
def __init__(
|
|
79
91
|
self,
|
|
80
92
|
*,
|