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
|
@@ -23,7 +23,7 @@ class GetVideoRequest(google.protobuf.message.Message):
|
|
|
23
23
|
|
|
24
24
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
25
25
|
video_id: builtins.str
|
|
26
|
-
"""ID of the video."""
|
|
26
|
+
"""ID of the video to retrieve."""
|
|
27
27
|
def __init__(
|
|
28
28
|
self,
|
|
29
29
|
*,
|
|
@@ -43,32 +43,34 @@ class ListVideoRequest(google.protobuf.message.Message):
|
|
|
43
43
|
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
44
44
|
FILTER_FIELD_NUMBER: builtins.int
|
|
45
45
|
channel_id: builtins.str
|
|
46
|
-
"""ID of the channel."""
|
|
46
|
+
"""ID of the channel containing the videos to list."""
|
|
47
47
|
page_size: builtins.int
|
|
48
|
-
"""The maximum number of
|
|
49
|
-
Default value: 100.
|
|
50
|
-
"""
|
|
48
|
+
"""The maximum number of videos to return per page."""
|
|
51
49
|
page_token: builtins.str
|
|
52
|
-
"""Page token for
|
|
50
|
+
"""Page token for retrieving the next page of results.
|
|
51
|
+
This token is obtained from the next_page_token field in the previous ListVideoResponse.
|
|
52
|
+
"""
|
|
53
53
|
order_by: builtins.str
|
|
54
|
-
"""
|
|
55
|
-
|
|
54
|
+
"""Specifies the ordering of results.
|
|
55
|
+
Format is "<field> <order>" (e.g., "createdAt desc").
|
|
56
56
|
Default: "id asc".
|
|
57
|
-
|
|
58
|
-
Both snake_case and camelCase are supported
|
|
57
|
+
Supported fields: ["id", "title", "createdAt", "updatedAt"].
|
|
58
|
+
Both snake_case and camelCase field names are supported.
|
|
59
59
|
"""
|
|
60
60
|
filter: builtins.str
|
|
61
|
-
"""Filter expression
|
|
62
|
-
Expressions
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
"""Filter expression to narrow down the list of returned videos.
|
|
62
|
+
Expressions consist of terms connected by logical operators.
|
|
63
|
+
Values containing spaces or quotes must be enclosed in quotes (`'` or `"`)
|
|
64
|
+
with inner quotes being backslash-escaped.
|
|
65
|
+
|
|
65
66
|
Supported logical operators: ["AND", "OR"].
|
|
66
|
-
Supported
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Example: `
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
|
|
68
|
+
Parentheses can be used to group logical expressions.
|
|
69
|
+
|
|
70
|
+
Example: `title:'sample' AND (status='READY' OR visibilityStatus='PUBLISHED')`
|
|
71
|
+
|
|
72
|
+
Filterable fields: ["id", "title", "status", "visibilityStatus"].
|
|
73
|
+
Both snake_case and camelCase field names are supported.
|
|
72
74
|
"""
|
|
73
75
|
def __init__(
|
|
74
76
|
self,
|
|
@@ -90,9 +92,15 @@ class ListVideoResponse(google.protobuf.message.Message):
|
|
|
90
92
|
VIDEOS_FIELD_NUMBER: builtins.int
|
|
91
93
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
92
94
|
next_page_token: builtins.str
|
|
93
|
-
"""Token for
|
|
95
|
+
"""Token for retrieving the next page of results.
|
|
96
|
+
Empty if there are no more results available.
|
|
97
|
+
"""
|
|
94
98
|
@property
|
|
95
|
-
def videos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.video_pb2.Video]:
|
|
99
|
+
def videos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.video_pb2.Video]:
|
|
100
|
+
"""List of videos matching the request criteria.
|
|
101
|
+
May be empty if no videos match the criteria or if the channel is empty.
|
|
102
|
+
"""
|
|
103
|
+
|
|
96
104
|
def __init__(
|
|
97
105
|
self,
|
|
98
106
|
*,
|
|
@@ -110,10 +118,10 @@ class BatchGetVideosRequest(google.protobuf.message.Message):
|
|
|
110
118
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
111
119
|
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
112
120
|
channel_id: builtins.str
|
|
113
|
-
"""ID of the channel."""
|
|
121
|
+
"""ID of the channel containing the videos to retrieve."""
|
|
114
122
|
@property
|
|
115
123
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
116
|
-
"""List of
|
|
124
|
+
"""List of video IDs to retrieve."""
|
|
117
125
|
|
|
118
126
|
def __init__(
|
|
119
127
|
self,
|
|
@@ -132,7 +140,7 @@ class BatchGetVideosResponse(google.protobuf.message.Message):
|
|
|
132
140
|
VIDEOS_FIELD_NUMBER: builtins.int
|
|
133
141
|
@property
|
|
134
142
|
def videos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.video_pb2.Video]:
|
|
135
|
-
"""List of videos
|
|
143
|
+
"""List of videos matching the requested IDs."""
|
|
136
144
|
|
|
137
145
|
def __init__(
|
|
138
146
|
self,
|
|
@@ -168,6 +176,7 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
168
176
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
169
177
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
170
178
|
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
179
|
+
STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
|
|
171
180
|
AUTO_PUBLISH_FIELD_NUMBER: builtins.int
|
|
172
181
|
ENABLE_AD_FIELD_NUMBER: builtins.int
|
|
173
182
|
LABELS_FIELD_NUMBER: builtins.int
|
|
@@ -175,45 +184,61 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
175
184
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
176
185
|
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
177
186
|
channel_id: builtins.str
|
|
178
|
-
"""ID of the channel."""
|
|
187
|
+
"""ID of the channel where the video will be created."""
|
|
179
188
|
title: builtins.str
|
|
180
|
-
"""
|
|
189
|
+
"""Title of the video to be displayed in interfaces and players."""
|
|
181
190
|
description: builtins.str
|
|
182
|
-
"""
|
|
191
|
+
"""Detailed description of the video content and context.
|
|
192
|
+
Optional field that can provide additional information about the video.
|
|
193
|
+
"""
|
|
183
194
|
thumbnail_id: builtins.str
|
|
184
|
-
"""ID of the thumbnail.
|
|
195
|
+
"""ID of the thumbnail image to be used for the video.
|
|
196
|
+
If not provided, a thumbnail may be automatically generated during transcoding.
|
|
197
|
+
"""
|
|
185
198
|
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType
|
|
186
|
-
"""
|
|
199
|
+
"""Controls whether transcoding starts automatically after upload.
|
|
200
|
+
Set to ENABLE to automatically initiate transcoding after upload,
|
|
201
|
+
or DISABLE for manual initiation via the Transcode() method.
|
|
202
|
+
"""
|
|
203
|
+
style_preset_id: builtins.str
|
|
204
|
+
"""ID of the style preset to apply to the video during processing.
|
|
205
|
+
Style presets define visual appearance settings for the video player.
|
|
206
|
+
"""
|
|
187
207
|
@property
|
|
188
208
|
def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
189
|
-
"""
|
|
190
|
-
|
|
209
|
+
"""Controls whether the video is automatically published after transcoding.
|
|
210
|
+
When set to true, the video's visibility status will be set to PUBLISHED
|
|
211
|
+
once transcoding is complete, making it available for watching.
|
|
191
212
|
"""
|
|
192
213
|
|
|
193
214
|
@property
|
|
194
215
|
def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
195
|
-
"""
|
|
196
|
-
Default: true
|
|
197
|
-
Set explicitly to false to disable advertisements for
|
|
216
|
+
"""Controls the ability to display advertisements for this video.
|
|
217
|
+
Default: true
|
|
218
|
+
Set explicitly to false to disable advertisements for this specific video.
|
|
198
219
|
"""
|
|
199
220
|
|
|
200
221
|
@property
|
|
201
222
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
202
|
-
"""Custom labels as
|
|
223
|
+
"""Custom user-defined labels as `key:value` pairs.
|
|
224
|
+
Maximum 64 labels per video.
|
|
225
|
+
Keys must be lowercase alphanumeric strings with optional hyphens/underscores.
|
|
226
|
+
Values can contain alphanumeric characters and various symbols.
|
|
227
|
+
"""
|
|
203
228
|
|
|
204
229
|
@property
|
|
205
230
|
def tusd(self) -> global___VideoTUSDParams:
|
|
206
|
-
"""Upload video using the
|
|
231
|
+
"""Upload video using the TUS (Tus Resumable Upload Protocol) protocol.
|
|
232
|
+
This is a push-based upload method where the client pushes data to the server.
|
|
233
|
+
"""
|
|
207
234
|
|
|
208
235
|
@property
|
|
209
236
|
def public_access(self) -> global___VideoPublicAccessParams:
|
|
210
|
-
"""
|
|
211
|
-
No additional authorization or access control is applied.
|
|
212
|
-
"""
|
|
237
|
+
"""Video is publicly available."""
|
|
213
238
|
|
|
214
239
|
@property
|
|
215
240
|
def sign_url_access(self) -> global___VideoSignURLAccessParams:
|
|
216
|
-
"""
|
|
241
|
+
"""Access to the video is restricted by temporarily signed links."""
|
|
217
242
|
|
|
218
243
|
def __init__(
|
|
219
244
|
self,
|
|
@@ -223,6 +248,7 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
223
248
|
description: builtins.str = ...,
|
|
224
249
|
thumbnail_id: builtins.str = ...,
|
|
225
250
|
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType = ...,
|
|
251
|
+
style_preset_id: builtins.str = ...,
|
|
226
252
|
auto_publish: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
227
253
|
enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
228
254
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
@@ -231,7 +257,7 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
231
257
|
sign_url_access: global___VideoSignURLAccessParams | None = ...,
|
|
232
258
|
) -> None: ...
|
|
233
259
|
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_publish", b"auto_publish", "enable_ad", b"enable_ad", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd"]) -> builtins.bool: ...
|
|
234
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_publish", b"auto_publish", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "description", b"description", "enable_ad", b"enable_ad", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd"]) -> None: ...
|
|
260
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_publish", b"auto_publish", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "description", b"description", "enable_ad", b"enable_ad", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "style_preset_id", b"style_preset_id", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd"]) -> None: ...
|
|
235
261
|
@typing.overload
|
|
236
262
|
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "sign_url_access"] | None: ...
|
|
237
263
|
@typing.overload
|
|
@@ -246,9 +272,11 @@ class VideoTUSDParams(google.protobuf.message.Message):
|
|
|
246
272
|
FILE_SIZE_FIELD_NUMBER: builtins.int
|
|
247
273
|
FILE_NAME_FIELD_NUMBER: builtins.int
|
|
248
274
|
file_size: builtins.int
|
|
249
|
-
"""
|
|
275
|
+
"""Total size of the file to be uploaded, in bytes."""
|
|
250
276
|
file_name: builtins.str
|
|
251
|
-
"""
|
|
277
|
+
"""Original name of the file being uploaded.
|
|
278
|
+
This is used for reference and does not affect the upload process.
|
|
279
|
+
"""
|
|
252
280
|
def __init__(
|
|
253
281
|
self,
|
|
254
282
|
*,
|
|
@@ -261,6 +289,8 @@ global___VideoTUSDParams = VideoTUSDParams
|
|
|
261
289
|
|
|
262
290
|
@typing.final
|
|
263
291
|
class VideoPublicAccessParams(google.protobuf.message.Message):
|
|
292
|
+
"""Parameters for video public access rights."""
|
|
293
|
+
|
|
264
294
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
265
295
|
|
|
266
296
|
def __init__(
|
|
@@ -271,6 +301,8 @@ global___VideoPublicAccessParams = VideoPublicAccessParams
|
|
|
271
301
|
|
|
272
302
|
@typing.final
|
|
273
303
|
class VideoSignURLAccessParams(google.protobuf.message.Message):
|
|
304
|
+
"""Parameters for video access restrictions based on temporary signed links."""
|
|
305
|
+
|
|
274
306
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
275
307
|
|
|
276
308
|
def __init__(
|
|
@@ -285,7 +317,7 @@ class CreateVideoMetadata(google.protobuf.message.Message):
|
|
|
285
317
|
|
|
286
318
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
287
319
|
video_id: builtins.str
|
|
288
|
-
"""
|
|
320
|
+
"""Unique identifier of the video."""
|
|
289
321
|
def __init__(
|
|
290
322
|
self,
|
|
291
323
|
*,
|
|
@@ -321,44 +353,53 @@ class UpdateVideoRequest(google.protobuf.message.Message):
|
|
|
321
353
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
322
354
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
323
355
|
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
356
|
+
STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
|
|
324
357
|
ENABLE_AD_FIELD_NUMBER: builtins.int
|
|
325
358
|
LABELS_FIELD_NUMBER: builtins.int
|
|
326
359
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
327
360
|
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
328
361
|
video_id: builtins.str
|
|
329
|
-
"""ID of the video."""
|
|
362
|
+
"""ID of the video to update."""
|
|
330
363
|
title: builtins.str
|
|
331
|
-
"""
|
|
364
|
+
"""New title for the video."""
|
|
332
365
|
description: builtins.str
|
|
333
|
-
"""
|
|
366
|
+
"""New description for the video."""
|
|
334
367
|
thumbnail_id: builtins.str
|
|
335
|
-
"""ID
|
|
368
|
+
"""New thumbnail ID for the video."""
|
|
336
369
|
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType
|
|
337
|
-
"""
|
|
370
|
+
"""New auto-transcoding setting for the video.
|
|
371
|
+
Controls whether transcoding starts automatically after upload.
|
|
372
|
+
"""
|
|
373
|
+
style_preset_id: builtins.str
|
|
374
|
+
"""New style preset ID for the video."""
|
|
338
375
|
@property
|
|
339
376
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
340
|
-
"""Field mask
|
|
377
|
+
"""Field mask specifying which fields of the video should be updated.
|
|
378
|
+
Only fields specified in this mask will be modified;
|
|
379
|
+
all other fields will retain their current values.
|
|
380
|
+
This allows for partial updates.
|
|
381
|
+
"""
|
|
341
382
|
|
|
342
383
|
@property
|
|
343
384
|
def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
344
|
-
"""
|
|
345
|
-
|
|
346
|
-
Use this to disable advertisement for a specific video.
|
|
385
|
+
"""New advertisement setting for the video.
|
|
386
|
+
Set to false to disable advertisements for this specific video.
|
|
347
387
|
"""
|
|
348
388
|
|
|
349
389
|
@property
|
|
350
390
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
351
|
-
"""
|
|
391
|
+
"""New custom labels for the video as `key:value` pairs.
|
|
392
|
+
Maximum 64 labels per video.
|
|
393
|
+
If provided, replaces all existing labels.
|
|
394
|
+
"""
|
|
352
395
|
|
|
353
396
|
@property
|
|
354
397
|
def public_access(self) -> global___VideoPublicAccessParams:
|
|
355
|
-
"""
|
|
356
|
-
No additional authorization or access control is applied.
|
|
357
|
-
"""
|
|
398
|
+
"""Makes the video publicly accessible to anyone with the direct link."""
|
|
358
399
|
|
|
359
400
|
@property
|
|
360
401
|
def sign_url_access(self) -> global___VideoSignURLAccessParams:
|
|
361
|
-
"""
|
|
402
|
+
"""Restricts video access using URL signatures for secure time-limited access."""
|
|
362
403
|
|
|
363
404
|
def __init__(
|
|
364
405
|
self,
|
|
@@ -369,13 +410,14 @@ class UpdateVideoRequest(google.protobuf.message.Message):
|
|
|
369
410
|
description: builtins.str = ...,
|
|
370
411
|
thumbnail_id: builtins.str = ...,
|
|
371
412
|
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType = ...,
|
|
413
|
+
style_preset_id: builtins.str = ...,
|
|
372
414
|
enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
373
415
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
374
416
|
public_access: global___VideoPublicAccessParams | None = ...,
|
|
375
417
|
sign_url_access: global___VideoSignURLAccessParams | None = ...,
|
|
376
418
|
) -> None: ...
|
|
377
419
|
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "enable_ad", b"enable_ad", "field_mask", b"field_mask", "public_access", b"public_access", "sign_url_access", b"sign_url_access"]) -> builtins.bool: ...
|
|
378
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_transcode", b"auto_transcode", "description", b"description", "enable_ad", b"enable_ad", "field_mask", b"field_mask", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "thumbnail_id", b"thumbnail_id", "title", b"title", "video_id", b"video_id"]) -> None: ...
|
|
420
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_transcode", b"auto_transcode", "description", b"description", "enable_ad", b"enable_ad", "field_mask", b"field_mask", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "style_preset_id", b"style_preset_id", "thumbnail_id", b"thumbnail_id", "title", b"title", "video_id", b"video_id"]) -> None: ...
|
|
379
421
|
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "sign_url_access"] | None: ...
|
|
380
422
|
|
|
381
423
|
global___UpdateVideoRequest = UpdateVideoRequest
|
|
@@ -406,24 +448,32 @@ class TranscodeVideoRequest(google.protobuf.message.Message):
|
|
|
406
448
|
TRANSLATION_SETTINGS_FIELD_NUMBER: builtins.int
|
|
407
449
|
SUMMARIZATION_SETTINGS_FIELD_NUMBER: builtins.int
|
|
408
450
|
video_id: builtins.str
|
|
409
|
-
"""ID of the video."""
|
|
451
|
+
"""ID of the video to transcode."""
|
|
410
452
|
@property
|
|
411
453
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
412
|
-
"""Field mask
|
|
413
|
-
|
|
454
|
+
"""Field mask specifying which transcoding-specific fields should be updated.
|
|
455
|
+
Only fields specified in this mask will be modified;
|
|
456
|
+
all other fields will retain their current values.
|
|
457
|
+
This allows for partial updates.
|
|
414
458
|
"""
|
|
415
459
|
|
|
416
460
|
@property
|
|
417
461
|
def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
418
|
-
"""IDs of
|
|
462
|
+
"""IDs of manually uploaded subtitle files to include in the transcoding process.
|
|
463
|
+
These subtitles will be embedded in the video output.
|
|
464
|
+
"""
|
|
419
465
|
|
|
420
466
|
@property
|
|
421
467
|
def translation_settings(self) -> global___VideoTranslationSettings:
|
|
422
|
-
"""
|
|
468
|
+
"""Settings for automatic translation of audio tracks.
|
|
469
|
+
Defines source tracks and target languages for subtitle and audio translation.
|
|
470
|
+
"""
|
|
423
471
|
|
|
424
472
|
@property
|
|
425
473
|
def summarization_settings(self) -> global___VideoSummarizationSettings:
|
|
426
|
-
"""
|
|
474
|
+
"""Settings for automatic video content summarization.
|
|
475
|
+
Defines which audio tracks should be processed to generate text summaries.
|
|
476
|
+
"""
|
|
427
477
|
|
|
428
478
|
def __init__(
|
|
429
479
|
self,
|
|
@@ -631,7 +681,7 @@ class DeleteVideoRequest(google.protobuf.message.Message):
|
|
|
631
681
|
|
|
632
682
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
633
683
|
video_id: builtins.str
|
|
634
|
-
"""ID of the video."""
|
|
684
|
+
"""ID of the video to delete."""
|
|
635
685
|
def __init__(
|
|
636
686
|
self,
|
|
637
687
|
*,
|
|
@@ -647,7 +697,9 @@ class DeleteVideoMetadata(google.protobuf.message.Message):
|
|
|
647
697
|
|
|
648
698
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
649
699
|
video_id: builtins.str
|
|
650
|
-
"""ID of the video.
|
|
700
|
+
"""ID of the video.
|
|
701
|
+
This identifier can be used to track the video deletion operation.
|
|
702
|
+
"""
|
|
651
703
|
def __init__(
|
|
652
704
|
self,
|
|
653
705
|
*,
|
|
@@ -664,10 +716,10 @@ class BatchDeleteVideosRequest(google.protobuf.message.Message):
|
|
|
664
716
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
665
717
|
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
666
718
|
channel_id: builtins.str
|
|
667
|
-
"""ID of the channel."""
|
|
719
|
+
"""ID of the channel containing the videos to delete."""
|
|
668
720
|
@property
|
|
669
721
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
670
|
-
"""List of video IDs."""
|
|
722
|
+
"""List of video IDs to delete."""
|
|
671
723
|
|
|
672
724
|
def __init__(
|
|
673
725
|
self,
|
|
@@ -686,7 +738,10 @@ class BatchDeleteVideosMetadata(google.protobuf.message.Message):
|
|
|
686
738
|
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
687
739
|
@property
|
|
688
740
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
689
|
-
"""List of video IDs.
|
|
741
|
+
"""List of video IDs being deleted.
|
|
742
|
+
This list can be used to track which videos are included
|
|
743
|
+
in the batch deletion operation.
|
|
744
|
+
"""
|
|
690
745
|
|
|
691
746
|
def __init__(
|
|
692
747
|
self,
|
|
@@ -705,11 +760,19 @@ class PerformVideoActionRequest(google.protobuf.message.Message):
|
|
|
705
760
|
PUBLISH_FIELD_NUMBER: builtins.int
|
|
706
761
|
UNPUBLISH_FIELD_NUMBER: builtins.int
|
|
707
762
|
video_id: builtins.str
|
|
708
|
-
"""ID of the video."""
|
|
763
|
+
"""ID of the video on which to perform the action."""
|
|
709
764
|
@property
|
|
710
|
-
def publish(self) -> global___PublishVideoAction:
|
|
765
|
+
def publish(self) -> global___PublishVideoAction:
|
|
766
|
+
"""Publish the video, making it available for watching.
|
|
767
|
+
Changes the video's visibility status to PUBLISHED.
|
|
768
|
+
"""
|
|
769
|
+
|
|
711
770
|
@property
|
|
712
|
-
def unpublish(self) -> global___UnpublishVideoAction:
|
|
771
|
+
def unpublish(self) -> global___UnpublishVideoAction:
|
|
772
|
+
"""Unpublish the video, making it unavailable for watching.
|
|
773
|
+
Changes the video's visibility status to UNPUBLISHED.
|
|
774
|
+
"""
|
|
775
|
+
|
|
713
776
|
def __init__(
|
|
714
777
|
self,
|
|
715
778
|
*,
|
|
@@ -725,6 +788,8 @@ global___PerformVideoActionRequest = PerformVideoActionRequest
|
|
|
725
788
|
|
|
726
789
|
@typing.final
|
|
727
790
|
class PublishVideoAction(google.protobuf.message.Message):
|
|
791
|
+
"""Parameters for the publish action."""
|
|
792
|
+
|
|
728
793
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
729
794
|
|
|
730
795
|
def __init__(
|
|
@@ -735,6 +800,8 @@ global___PublishVideoAction = PublishVideoAction
|
|
|
735
800
|
|
|
736
801
|
@typing.final
|
|
737
802
|
class UnpublishVideoAction(google.protobuf.message.Message):
|
|
803
|
+
"""Parameters for the unpublish action."""
|
|
804
|
+
|
|
738
805
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
739
806
|
|
|
740
807
|
def __init__(
|
|
@@ -749,7 +816,10 @@ class PerformVideoActionMetadata(google.protobuf.message.Message):
|
|
|
749
816
|
|
|
750
817
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
751
818
|
video_id: builtins.str
|
|
752
|
-
"""ID of the video.
|
|
819
|
+
"""ID of the video on which the action is being performed.
|
|
820
|
+
This identifier can be used to track the action operation
|
|
821
|
+
and to verify that the action is being applied to the correct video.
|
|
822
|
+
"""
|
|
753
823
|
def __init__(
|
|
754
824
|
self,
|
|
755
825
|
*,
|
|
@@ -767,12 +837,18 @@ class GetVideoPlayerURLRequest(google.protobuf.message.Message):
|
|
|
767
837
|
PARAMS_FIELD_NUMBER: builtins.int
|
|
768
838
|
SIGNED_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int
|
|
769
839
|
video_id: builtins.str
|
|
770
|
-
"""ID of the video."""
|
|
840
|
+
"""ID of the video for which to generate a player URL."""
|
|
771
841
|
@property
|
|
772
|
-
def params(self) -> global___VideoPlayerParams:
|
|
842
|
+
def params(self) -> global___VideoPlayerParams:
|
|
843
|
+
"""Optional player parameters to customize the playback experience.
|
|
844
|
+
These parameters control initial player state such as mute, autoplay, and visibility of interface controls.
|
|
845
|
+
"""
|
|
846
|
+
|
|
773
847
|
@property
|
|
774
848
|
def signed_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
775
|
-
"""
|
|
849
|
+
"""For episodes with signed URL access, specifies how long the generated URL will be valid.
|
|
850
|
+
If not provided, a default expiration duration will be used.
|
|
851
|
+
"""
|
|
776
852
|
|
|
777
853
|
def __init__(
|
|
778
854
|
self,
|
|
@@ -794,11 +870,17 @@ class VideoPlayerParams(google.protobuf.message.Message):
|
|
|
794
870
|
AUTOPLAY_FIELD_NUMBER: builtins.int
|
|
795
871
|
HIDDEN_FIELD_NUMBER: builtins.int
|
|
796
872
|
mute: builtins.bool
|
|
797
|
-
"""If true,
|
|
873
|
+
"""If true, the player will start with audio muted.
|
|
874
|
+
Users can unmute the audio manually after playback starts.
|
|
875
|
+
"""
|
|
798
876
|
autoplay: builtins.bool
|
|
799
|
-
"""If true,
|
|
877
|
+
"""If true, the video will start playing automatically when the player loads.
|
|
878
|
+
This may be subject to browser autoplay policies that restrict autoplay with sound.
|
|
879
|
+
"""
|
|
800
880
|
hidden: builtins.bool
|
|
801
|
-
"""If true,
|
|
881
|
+
"""If true, the player interface controls will be hidden initially.
|
|
882
|
+
Users can typically reveal the controls by moving the mouse over the player.
|
|
883
|
+
"""
|
|
802
884
|
def __init__(
|
|
803
885
|
self,
|
|
804
886
|
*,
|
|
@@ -817,9 +899,14 @@ class GetVideoPlayerURLResponse(google.protobuf.message.Message):
|
|
|
817
899
|
PLAYER_URL_FIELD_NUMBER: builtins.int
|
|
818
900
|
HTML_FIELD_NUMBER: builtins.int
|
|
819
901
|
player_url: builtins.str
|
|
820
|
-
"""Direct
|
|
902
|
+
"""Direct URL to the video player.
|
|
903
|
+
This URL can be used to access the video in a web browser
|
|
904
|
+
or shared with users who have appropriate permissions.
|
|
905
|
+
"""
|
|
821
906
|
html: builtins.str
|
|
822
|
-
"""HTML embed code in
|
|
907
|
+
"""HTML embed code in iframe format that can be inserted into web pages.
|
|
908
|
+
This code allows the video to be embedded directly in third-party websites.
|
|
909
|
+
"""
|
|
823
910
|
def __init__(
|
|
824
911
|
self,
|
|
825
912
|
*,
|
|
@@ -839,16 +926,24 @@ class BatchGetVideoPlayerURLsRequest(google.protobuf.message.Message):
|
|
|
839
926
|
PARAMS_FIELD_NUMBER: builtins.int
|
|
840
927
|
SIGNED_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int
|
|
841
928
|
channel_id: builtins.str
|
|
842
|
-
"""ID of the channel."""
|
|
929
|
+
"""ID of the channel containing the videos for which to generate player URLs."""
|
|
843
930
|
@property
|
|
844
931
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
845
|
-
"""List of
|
|
932
|
+
"""List of video IDs for which to generate player URLs."""
|
|
846
933
|
|
|
847
934
|
@property
|
|
848
|
-
def params(self) -> global___VideoPlayerParams:
|
|
935
|
+
def params(self) -> global___VideoPlayerParams:
|
|
936
|
+
"""Optional player parameters to customize the playback experience.
|
|
937
|
+
These parameters control initial player state such as mute, autoplay, and visibility of interface controls.
|
|
938
|
+
These parameters will be applied to all generated player URLs.
|
|
939
|
+
"""
|
|
940
|
+
|
|
849
941
|
@property
|
|
850
942
|
def signed_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
851
|
-
"""
|
|
943
|
+
"""For episodes with signed URL access, specifies how long the generated URL will be valid.
|
|
944
|
+
If not provided, a default expiration duration will be used.
|
|
945
|
+
This setting applies to all videos in the batch that use sign_url_access.
|
|
946
|
+
"""
|
|
852
947
|
|
|
853
948
|
def __init__(
|
|
854
949
|
self,
|
|
@@ -869,7 +964,11 @@ class BatchGetVideoPlayerURLsResponse(google.protobuf.message.Message):
|
|
|
869
964
|
|
|
870
965
|
PLAYER_URLS_FIELD_NUMBER: builtins.int
|
|
871
966
|
@property
|
|
872
|
-
def player_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
967
|
+
def player_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
968
|
+
"""List of player URLs corresponding to the requested video IDs.
|
|
969
|
+
The order of URLs matches the order of video IDs in the request.
|
|
970
|
+
"""
|
|
971
|
+
|
|
873
972
|
def __init__(
|
|
874
973
|
self,
|
|
875
974
|
*,
|
|
@@ -885,7 +984,7 @@ class GetVideoManifestsRequest(google.protobuf.message.Message):
|
|
|
885
984
|
|
|
886
985
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
887
986
|
video_id: builtins.str
|
|
888
|
-
"""ID of the video."""
|
|
987
|
+
"""ID of the video for which to retrieve manifest URLs."""
|
|
889
988
|
def __init__(
|
|
890
989
|
self,
|
|
891
990
|
*,
|
|
@@ -901,7 +1000,11 @@ class GetVideoManifestsResponse(google.protobuf.message.Message):
|
|
|
901
1000
|
|
|
902
1001
|
MANIFESTS_FIELD_NUMBER: builtins.int
|
|
903
1002
|
@property
|
|
904
|
-
def manifests(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.manifest_pb2.Manifest]:
|
|
1003
|
+
def manifests(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.manifest_pb2.Manifest]:
|
|
1004
|
+
"""List of manifests available for the video.
|
|
1005
|
+
Different manifests may represent different streaming formats (e.g., HLS, DASH)
|
|
1006
|
+
"""
|
|
1007
|
+
|
|
905
1008
|
def __init__(
|
|
906
1009
|
self,
|
|
907
1010
|
*,
|