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 VideoServiceStub(object):
|
|
31
31
|
"""Video management service.
|
|
32
|
+
Provides methods for creating, retrieving, updating, and deleting videos,
|
|
33
|
+
as well as managing video-related operations such as transcoding, publishing,
|
|
34
|
+
and generating playback URLs.
|
|
32
35
|
"""
|
|
33
36
|
|
|
34
37
|
def __init__(self, channel):
|
|
@@ -101,87 +104,104 @@ class VideoServiceStub(object):
|
|
|
101
104
|
|
|
102
105
|
class VideoServiceServicer(object):
|
|
103
106
|
"""Video management service.
|
|
107
|
+
Provides methods for creating, retrieving, updating, and deleting videos,
|
|
108
|
+
as well as managing video-related operations such as transcoding, publishing,
|
|
109
|
+
and generating playback URLs.
|
|
104
110
|
"""
|
|
105
111
|
|
|
106
112
|
def Get(self, request, context):
|
|
107
|
-
"""
|
|
113
|
+
"""Retrieves detailed information about a specific video by its ID.
|
|
114
|
+
Returns all video metadata, status, and related information.
|
|
108
115
|
"""
|
|
109
116
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
110
117
|
context.set_details('Method not implemented!')
|
|
111
118
|
raise NotImplementedError('Method not implemented!')
|
|
112
119
|
|
|
113
120
|
def List(self, request, context):
|
|
114
|
-
"""
|
|
121
|
+
"""Lists all videos in a specific channel with pagination support.
|
|
122
|
+
Results can be filtered and sorted using the provided parameters.
|
|
115
123
|
"""
|
|
116
124
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
117
125
|
context.set_details('Method not implemented!')
|
|
118
126
|
raise NotImplementedError('Method not implemented!')
|
|
119
127
|
|
|
120
128
|
def BatchGet(self, request, context):
|
|
121
|
-
"""
|
|
129
|
+
"""Retrieves multiple videos by their IDs in a specific channel in a single request.
|
|
130
|
+
This is more efficient than making multiple Get requests when retrieving several videos.
|
|
122
131
|
"""
|
|
123
132
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
124
133
|
context.set_details('Method not implemented!')
|
|
125
134
|
raise NotImplementedError('Method not implemented!')
|
|
126
135
|
|
|
127
136
|
def Create(self, request, context):
|
|
128
|
-
"""
|
|
137
|
+
"""Creates a new video in the specified channel.
|
|
138
|
+
The video can be created from different sources: TUS upload, direct link, or S3 storage.
|
|
129
139
|
"""
|
|
130
140
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
131
141
|
context.set_details('Method not implemented!')
|
|
132
142
|
raise NotImplementedError('Method not implemented!')
|
|
133
143
|
|
|
134
144
|
def Update(self, request, context):
|
|
135
|
-
"""
|
|
145
|
+
"""Updates an existing video's metadata and settings.
|
|
146
|
+
Only fields specified in the field_mask will be updated.
|
|
136
147
|
"""
|
|
137
148
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
138
149
|
context.set_details('Method not implemented!')
|
|
139
150
|
raise NotImplementedError('Method not implemented!')
|
|
140
151
|
|
|
141
152
|
def Transcode(self, request, context):
|
|
142
|
-
"""
|
|
153
|
+
"""Initiates or updates video transcoding with specified parameters.
|
|
154
|
+
Can be used to start transcoding for videos with auto_transcode=DISABLE,
|
|
155
|
+
or to re-process a completed video with new transcoding settings.
|
|
156
|
+
Supports additional features like subtitle processing, translation, and summarization.
|
|
143
157
|
"""
|
|
144
158
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
145
159
|
context.set_details('Method not implemented!')
|
|
146
160
|
raise NotImplementedError('Method not implemented!')
|
|
147
161
|
|
|
148
162
|
def Delete(self, request, context):
|
|
149
|
-
"""
|
|
163
|
+
"""Deletes a specific video by its ID.
|
|
150
164
|
"""
|
|
151
165
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
152
166
|
context.set_details('Method not implemented!')
|
|
153
167
|
raise NotImplementedError('Method not implemented!')
|
|
154
168
|
|
|
155
169
|
def BatchDelete(self, request, context):
|
|
156
|
-
"""
|
|
170
|
+
"""Deletes multiple videos in a specific channel in a single request.
|
|
171
|
+
This is more efficient than making multiple Delete requests when removing several videos.
|
|
157
172
|
"""
|
|
158
173
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
159
174
|
context.set_details('Method not implemented!')
|
|
160
175
|
raise NotImplementedError('Method not implemented!')
|
|
161
176
|
|
|
162
177
|
def PerformAction(self, request, context):
|
|
163
|
-
"""
|
|
178
|
+
"""Performs a specific action on a video, such as publishing or unpublishing.
|
|
164
179
|
"""
|
|
165
180
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
166
181
|
context.set_details('Method not implemented!')
|
|
167
182
|
raise NotImplementedError('Method not implemented!')
|
|
168
183
|
|
|
169
184
|
def GetPlayerURL(self, request, context):
|
|
170
|
-
"""
|
|
185
|
+
"""Generates a standard player URL for watching the video.
|
|
186
|
+
The URL respects the video's access rights and can include custom player parameters.
|
|
187
|
+
For videos with signed URL access, an expiration duration can be specified.
|
|
171
188
|
"""
|
|
172
189
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
173
190
|
context.set_details('Method not implemented!')
|
|
174
191
|
raise NotImplementedError('Method not implemented!')
|
|
175
192
|
|
|
176
193
|
def BatchGetPlayerURLs(self, request, context):
|
|
177
|
-
"""
|
|
194
|
+
"""Generates multiple player URLs for a list of videos in a specific channel in a single request.
|
|
195
|
+
This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
|
|
178
196
|
"""
|
|
179
197
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
180
198
|
context.set_details('Method not implemented!')
|
|
181
199
|
raise NotImplementedError('Method not implemented!')
|
|
182
200
|
|
|
183
201
|
def GetManifests(self, request, context):
|
|
184
|
-
"""
|
|
202
|
+
"""Retrieves the manifest URLs for a specific video.
|
|
203
|
+
Manifests are used by video players to access the video content with adaptive bitrate streaming.
|
|
204
|
+
Supports different manifest types (HLS, DASH) and configuration parameters.
|
|
185
205
|
"""
|
|
186
206
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
187
207
|
context.set_details('Method not implemented!')
|
|
@@ -260,6 +280,9 @@ def add_VideoServiceServicer_to_server(servicer, server):
|
|
|
260
280
|
# This class is part of an EXPERIMENTAL API.
|
|
261
281
|
class VideoService(object):
|
|
262
282
|
"""Video management service.
|
|
283
|
+
Provides methods for creating, retrieving, updating, and deleting videos,
|
|
284
|
+
as well as managing video-related operations such as transcoding, publishing,
|
|
285
|
+
and generating playback URLs.
|
|
263
286
|
"""
|
|
264
287
|
|
|
265
288
|
@staticmethod
|
|
@@ -20,158 +20,218 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class VideoServiceStub:
|
|
23
|
-
"""Video management service.
|
|
23
|
+
"""Video management service.
|
|
24
|
+
Provides methods for creating, retrieving, updating, and deleting videos,
|
|
25
|
+
as well as managing video-related operations such as transcoding, publishing,
|
|
26
|
+
and generating playback URLs.
|
|
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.video_service_pb2.GetVideoRequest,
|
|
28
32
|
yandex.cloud.video.v1.video_pb2.Video,
|
|
29
33
|
]
|
|
30
|
-
"""
|
|
34
|
+
"""Retrieves detailed information about a specific video by its ID.
|
|
35
|
+
Returns all video metadata, status, and related information.
|
|
36
|
+
"""
|
|
31
37
|
|
|
32
38
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
39
|
yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
|
|
34
40
|
yandex.cloud.video.v1.video_service_pb2.ListVideoResponse,
|
|
35
41
|
]
|
|
36
|
-
"""
|
|
42
|
+
"""Lists all videos in a specific channel 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.video_service_pb2.BatchGetVideosRequest,
|
|
40
48
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
|
|
41
49
|
]
|
|
42
|
-
"""
|
|
50
|
+
"""Retrieves multiple videos by their IDs in a specific channel in a single request.
|
|
51
|
+
This is more efficient than making multiple Get requests when retrieving several videos.
|
|
52
|
+
"""
|
|
43
53
|
|
|
44
54
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
45
55
|
yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
|
|
46
56
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
47
57
|
]
|
|
48
|
-
"""
|
|
58
|
+
"""Creates a new video in the specified channel.
|
|
59
|
+
The video can be created from different sources: TUS upload, direct link, or S3 storage.
|
|
60
|
+
"""
|
|
49
61
|
|
|
50
62
|
Update: grpc.UnaryUnaryMultiCallable[
|
|
51
63
|
yandex.cloud.video.v1.video_service_pb2.UpdateVideoRequest,
|
|
52
64
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
65
|
]
|
|
54
|
-
"""
|
|
66
|
+
"""Updates an existing video's metadata and settings.
|
|
67
|
+
Only fields specified in the field_mask will be updated.
|
|
68
|
+
"""
|
|
55
69
|
|
|
56
70
|
Transcode: grpc.UnaryUnaryMultiCallable[
|
|
57
71
|
yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
|
|
58
72
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
73
|
]
|
|
60
|
-
"""
|
|
74
|
+
"""Initiates or updates video transcoding with specified parameters.
|
|
75
|
+
Can be used to start transcoding for videos with auto_transcode=DISABLE,
|
|
76
|
+
or to re-process a completed video with new transcoding settings.
|
|
77
|
+
Supports additional features like subtitle processing, translation, and summarization.
|
|
78
|
+
"""
|
|
61
79
|
|
|
62
80
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
63
81
|
yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
|
|
64
82
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
65
83
|
]
|
|
66
|
-
"""
|
|
84
|
+
"""Deletes a specific video by its ID."""
|
|
67
85
|
|
|
68
86
|
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
69
87
|
yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
|
|
70
88
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
71
89
|
]
|
|
72
|
-
"""
|
|
90
|
+
"""Deletes multiple videos in a specific channel in a single request.
|
|
91
|
+
This is more efficient than making multiple Delete requests when removing several videos.
|
|
92
|
+
"""
|
|
73
93
|
|
|
74
94
|
PerformAction: grpc.UnaryUnaryMultiCallable[
|
|
75
95
|
yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
|
|
76
96
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
77
97
|
]
|
|
78
|
-
"""
|
|
98
|
+
"""Performs a specific action on a video, such as publishing or unpublishing."""
|
|
79
99
|
|
|
80
100
|
GetPlayerURL: grpc.UnaryUnaryMultiCallable[
|
|
81
101
|
yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
|
|
82
102
|
yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse,
|
|
83
103
|
]
|
|
84
|
-
"""
|
|
104
|
+
"""Generates a standard player URL for watching the video.
|
|
105
|
+
The URL respects the video's access rights and can include custom player parameters.
|
|
106
|
+
For videos with signed URL access, an expiration duration can be specified.
|
|
107
|
+
"""
|
|
85
108
|
|
|
86
109
|
BatchGetPlayerURLs: grpc.UnaryUnaryMultiCallable[
|
|
87
110
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
|
|
88
111
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse,
|
|
89
112
|
]
|
|
90
|
-
"""
|
|
113
|
+
"""Generates multiple player URLs for a list of videos in a specific channel in a single request.
|
|
114
|
+
This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
|
|
115
|
+
"""
|
|
91
116
|
|
|
92
117
|
GetManifests: grpc.UnaryUnaryMultiCallable[
|
|
93
118
|
yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
|
|
94
119
|
yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
|
|
95
120
|
]
|
|
96
|
-
"""
|
|
121
|
+
"""Retrieves the manifest URLs for a specific video.
|
|
122
|
+
Manifests are used by video players to access the video content with adaptive bitrate streaming.
|
|
123
|
+
Supports different manifest types (HLS, DASH) and configuration parameters.
|
|
124
|
+
"""
|
|
97
125
|
|
|
98
126
|
class VideoServiceAsyncStub:
|
|
99
|
-
"""Video management service.
|
|
127
|
+
"""Video management service.
|
|
128
|
+
Provides methods for creating, retrieving, updating, and deleting videos,
|
|
129
|
+
as well as managing video-related operations such as transcoding, publishing,
|
|
130
|
+
and generating playback URLs.
|
|
131
|
+
"""
|
|
100
132
|
|
|
101
133
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
102
134
|
yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
|
|
103
135
|
yandex.cloud.video.v1.video_pb2.Video,
|
|
104
136
|
]
|
|
105
|
-
"""
|
|
137
|
+
"""Retrieves detailed information about a specific video by its ID.
|
|
138
|
+
Returns all video metadata, status, and related information.
|
|
139
|
+
"""
|
|
106
140
|
|
|
107
141
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
108
142
|
yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
|
|
109
143
|
yandex.cloud.video.v1.video_service_pb2.ListVideoResponse,
|
|
110
144
|
]
|
|
111
|
-
"""
|
|
145
|
+
"""Lists all videos in a specific channel with pagination support.
|
|
146
|
+
Results can be filtered and sorted using the provided parameters.
|
|
147
|
+
"""
|
|
112
148
|
|
|
113
149
|
BatchGet: grpc.aio.UnaryUnaryMultiCallable[
|
|
114
150
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
|
|
115
151
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
|
|
116
152
|
]
|
|
117
|
-
"""
|
|
153
|
+
"""Retrieves multiple videos by their IDs in a specific channel in a single request.
|
|
154
|
+
This is more efficient than making multiple Get requests when retrieving several videos.
|
|
155
|
+
"""
|
|
118
156
|
|
|
119
157
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
120
158
|
yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
|
|
121
159
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
122
160
|
]
|
|
123
|
-
"""
|
|
161
|
+
"""Creates a new video in the specified channel.
|
|
162
|
+
The video can be created from different sources: TUS upload, direct link, or S3 storage.
|
|
163
|
+
"""
|
|
124
164
|
|
|
125
165
|
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
126
166
|
yandex.cloud.video.v1.video_service_pb2.UpdateVideoRequest,
|
|
127
167
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
128
168
|
]
|
|
129
|
-
"""
|
|
169
|
+
"""Updates an existing video's metadata and settings.
|
|
170
|
+
Only fields specified in the field_mask will be updated.
|
|
171
|
+
"""
|
|
130
172
|
|
|
131
173
|
Transcode: grpc.aio.UnaryUnaryMultiCallable[
|
|
132
174
|
yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
|
|
133
175
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
134
176
|
]
|
|
135
|
-
"""
|
|
177
|
+
"""Initiates or updates video transcoding with specified parameters.
|
|
178
|
+
Can be used to start transcoding for videos with auto_transcode=DISABLE,
|
|
179
|
+
or to re-process a completed video with new transcoding settings.
|
|
180
|
+
Supports additional features like subtitle processing, translation, and summarization.
|
|
181
|
+
"""
|
|
136
182
|
|
|
137
183
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
138
184
|
yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
|
|
139
185
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
140
186
|
]
|
|
141
|
-
"""
|
|
187
|
+
"""Deletes a specific video by its ID."""
|
|
142
188
|
|
|
143
189
|
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
144
190
|
yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
|
|
145
191
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
146
192
|
]
|
|
147
|
-
"""
|
|
193
|
+
"""Deletes multiple videos in a specific channel in a single request.
|
|
194
|
+
This is more efficient than making multiple Delete requests when removing several videos.
|
|
195
|
+
"""
|
|
148
196
|
|
|
149
197
|
PerformAction: grpc.aio.UnaryUnaryMultiCallable[
|
|
150
198
|
yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
|
|
151
199
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
152
200
|
]
|
|
153
|
-
"""
|
|
201
|
+
"""Performs a specific action on a video, such as publishing or unpublishing."""
|
|
154
202
|
|
|
155
203
|
GetPlayerURL: grpc.aio.UnaryUnaryMultiCallable[
|
|
156
204
|
yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
|
|
157
205
|
yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse,
|
|
158
206
|
]
|
|
159
|
-
"""
|
|
207
|
+
"""Generates a standard player URL for watching the video.
|
|
208
|
+
The URL respects the video's access rights and can include custom player parameters.
|
|
209
|
+
For videos with signed URL access, an expiration duration can be specified.
|
|
210
|
+
"""
|
|
160
211
|
|
|
161
212
|
BatchGetPlayerURLs: grpc.aio.UnaryUnaryMultiCallable[
|
|
162
213
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
|
|
163
214
|
yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse,
|
|
164
215
|
]
|
|
165
|
-
"""
|
|
216
|
+
"""Generates multiple player URLs for a list of videos in a specific channel in a single request.
|
|
217
|
+
This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
|
|
218
|
+
"""
|
|
166
219
|
|
|
167
220
|
GetManifests: grpc.aio.UnaryUnaryMultiCallable[
|
|
168
221
|
yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
|
|
169
222
|
yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
|
|
170
223
|
]
|
|
171
|
-
"""
|
|
224
|
+
"""Retrieves the manifest URLs for a specific video.
|
|
225
|
+
Manifests are used by video players to access the video content with adaptive bitrate streaming.
|
|
226
|
+
Supports different manifest types (HLS, DASH) and configuration parameters.
|
|
227
|
+
"""
|
|
172
228
|
|
|
173
229
|
class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
174
|
-
"""Video management service.
|
|
230
|
+
"""Video management service.
|
|
231
|
+
Provides methods for creating, retrieving, updating, and deleting videos,
|
|
232
|
+
as well as managing video-related operations such as transcoding, publishing,
|
|
233
|
+
and generating playback URLs.
|
|
234
|
+
"""
|
|
175
235
|
|
|
176
236
|
@abc.abstractmethod
|
|
177
237
|
def Get(
|
|
@@ -179,7 +239,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
179
239
|
request: yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
|
|
180
240
|
context: _ServicerContext,
|
|
181
241
|
) -> typing.Union[yandex.cloud.video.v1.video_pb2.Video, collections.abc.Awaitable[yandex.cloud.video.v1.video_pb2.Video]]:
|
|
182
|
-
"""
|
|
242
|
+
"""Retrieves detailed information about a specific video by its ID.
|
|
243
|
+
Returns all video metadata, status, and related information.
|
|
244
|
+
"""
|
|
183
245
|
|
|
184
246
|
@abc.abstractmethod
|
|
185
247
|
def List(
|
|
@@ -187,7 +249,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
187
249
|
request: yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
|
|
188
250
|
context: _ServicerContext,
|
|
189
251
|
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.ListVideoResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.ListVideoResponse]]:
|
|
190
|
-
"""
|
|
252
|
+
"""Lists all videos in a specific channel with pagination support.
|
|
253
|
+
Results can be filtered and sorted using the provided parameters.
|
|
254
|
+
"""
|
|
191
255
|
|
|
192
256
|
@abc.abstractmethod
|
|
193
257
|
def BatchGet(
|
|
@@ -195,7 +259,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
195
259
|
request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
|
|
196
260
|
context: _ServicerContext,
|
|
197
261
|
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse]]:
|
|
198
|
-
"""
|
|
262
|
+
"""Retrieves multiple videos by their IDs in a specific channel in a single request.
|
|
263
|
+
This is more efficient than making multiple Get requests when retrieving several videos.
|
|
264
|
+
"""
|
|
199
265
|
|
|
200
266
|
@abc.abstractmethod
|
|
201
267
|
def Create(
|
|
@@ -203,7 +269,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
203
269
|
request: yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
|
|
204
270
|
context: _ServicerContext,
|
|
205
271
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
206
|
-
"""
|
|
272
|
+
"""Creates a new video in the specified channel.
|
|
273
|
+
The video can be created from different sources: TUS upload, direct link, or S3 storage.
|
|
274
|
+
"""
|
|
207
275
|
|
|
208
276
|
@abc.abstractmethod
|
|
209
277
|
def Update(
|
|
@@ -211,7 +279,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
211
279
|
request: yandex.cloud.video.v1.video_service_pb2.UpdateVideoRequest,
|
|
212
280
|
context: _ServicerContext,
|
|
213
281
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
214
|
-
"""
|
|
282
|
+
"""Updates an existing video's metadata and settings.
|
|
283
|
+
Only fields specified in the field_mask will be updated.
|
|
284
|
+
"""
|
|
215
285
|
|
|
216
286
|
@abc.abstractmethod
|
|
217
287
|
def Transcode(
|
|
@@ -219,7 +289,11 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
219
289
|
request: yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
|
|
220
290
|
context: _ServicerContext,
|
|
221
291
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
222
|
-
"""
|
|
292
|
+
"""Initiates or updates video transcoding with specified parameters.
|
|
293
|
+
Can be used to start transcoding for videos with auto_transcode=DISABLE,
|
|
294
|
+
or to re-process a completed video with new transcoding settings.
|
|
295
|
+
Supports additional features like subtitle processing, translation, and summarization.
|
|
296
|
+
"""
|
|
223
297
|
|
|
224
298
|
@abc.abstractmethod
|
|
225
299
|
def Delete(
|
|
@@ -227,7 +301,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
227
301
|
request: yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
|
|
228
302
|
context: _ServicerContext,
|
|
229
303
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
230
|
-
"""
|
|
304
|
+
"""Deletes a specific video by its ID."""
|
|
231
305
|
|
|
232
306
|
@abc.abstractmethod
|
|
233
307
|
def BatchDelete(
|
|
@@ -235,7 +309,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
235
309
|
request: yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
|
|
236
310
|
context: _ServicerContext,
|
|
237
311
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
238
|
-
"""
|
|
312
|
+
"""Deletes multiple videos in a specific channel in a single request.
|
|
313
|
+
This is more efficient than making multiple Delete requests when removing several videos.
|
|
314
|
+
"""
|
|
239
315
|
|
|
240
316
|
@abc.abstractmethod
|
|
241
317
|
def PerformAction(
|
|
@@ -243,7 +319,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
243
319
|
request: yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
|
|
244
320
|
context: _ServicerContext,
|
|
245
321
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
246
|
-
"""
|
|
322
|
+
"""Performs a specific action on a video, such as publishing or unpublishing."""
|
|
247
323
|
|
|
248
324
|
@abc.abstractmethod
|
|
249
325
|
def GetPlayerURL(
|
|
@@ -251,7 +327,10 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
251
327
|
request: yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
|
|
252
328
|
context: _ServicerContext,
|
|
253
329
|
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse]]:
|
|
254
|
-
"""
|
|
330
|
+
"""Generates a standard player URL for watching the video.
|
|
331
|
+
The URL respects the video's access rights and can include custom player parameters.
|
|
332
|
+
For videos with signed URL access, an expiration duration can be specified.
|
|
333
|
+
"""
|
|
255
334
|
|
|
256
335
|
@abc.abstractmethod
|
|
257
336
|
def BatchGetPlayerURLs(
|
|
@@ -259,7 +338,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
259
338
|
request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
|
|
260
339
|
context: _ServicerContext,
|
|
261
340
|
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse]]:
|
|
262
|
-
"""
|
|
341
|
+
"""Generates multiple player URLs for a list of videos in a specific channel in a single request.
|
|
342
|
+
This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
|
|
343
|
+
"""
|
|
263
344
|
|
|
264
345
|
@abc.abstractmethod
|
|
265
346
|
def GetManifests(
|
|
@@ -267,6 +348,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
267
348
|
request: yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
|
|
268
349
|
context: _ServicerContext,
|
|
269
350
|
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse]]:
|
|
270
|
-
"""
|
|
351
|
+
"""Retrieves the manifest URLs for a specific video.
|
|
352
|
+
Manifests are used by video players to access the video content with adaptive bitrate streaming.
|
|
353
|
+
Supports different manifest types (HLS, DASH) and configuration parameters.
|
|
354
|
+
"""
|
|
271
355
|
|
|
272
356
|
def add_VideoServiceServicer_to_server(servicer: VideoServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/ytsaurus/v1/package_options.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/ytsaurus/v1/package_options.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/ytsaurus/v1/package_options.proto\x12\x18yandex.cloud.ytsaurus.v1BGZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/ytsaurus/v1;ytsaurusb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ytsaurus.v1.package_options_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'ZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/ytsaurus/v1;ytsaurus'
|
|
35
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
yandexcloud/__init__.py
CHANGED
|
@@ -95,6 +95,7 @@ class Dataproc:
|
|
|
95
95
|
initialization_actions=None,
|
|
96
96
|
oslogin_enabled=False,
|
|
97
97
|
labels=None,
|
|
98
|
+
autoscaling_service_account_id=None,
|
|
98
99
|
):
|
|
99
100
|
"""
|
|
100
101
|
Create Yandex.Cloud Data Proc cluster.
|
|
@@ -190,6 +191,8 @@ class Dataproc:
|
|
|
190
191
|
:type oslogin_enabled: bool
|
|
191
192
|
:param labels: Cluster labels as key:value pairs. No more than 64 per resource.
|
|
192
193
|
:type labels: Dict[str, str]
|
|
194
|
+
:param autoscaling_service_account_id: Service account to be used by the Instance Groups service.
|
|
195
|
+
:type autoscaling_service_account_id: str
|
|
193
196
|
|
|
194
197
|
:return: Cluster ID
|
|
195
198
|
:rtype: str
|
|
@@ -312,6 +315,7 @@ class Dataproc:
|
|
|
312
315
|
security_group_ids=security_group_ids,
|
|
313
316
|
log_group_id=log_group_id,
|
|
314
317
|
labels=labels,
|
|
318
|
+
autoscaling_service_account_id=autoscaling_service_account_id,
|
|
315
319
|
)
|
|
316
320
|
result = self.sdk.create_operation_and_get_result(
|
|
317
321
|
request,
|