yandexcloud 0.350.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 +23 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +80 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +86 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +34 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- 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/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -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/loadbalancer/v1/network_load_balancer_pb2.py +26 -26
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +15 -15
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +25 -25
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +16 -16
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +132 -132
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -23
- yandex/cloud/metastore/v1/cluster_pb2.pyi +40 -63
- yandex/cloud/metastore/v1/cluster_service_pb2.py +54 -60
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +92 -125
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- 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 -26
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +26 -17
- 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 +197 -102
- 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.350.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +157 -145
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.350.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,
|
|
@@ -481,9 +531,7 @@ class VideoTranslationSettings(google.protobuf.message.Message):
|
|
|
481
531
|
track_index: builtins.int
|
|
482
532
|
"""Input audio track index (one-based)."""
|
|
483
533
|
src_lang: builtins.str
|
|
484
|
-
"""Source track language
|
|
485
|
-
* three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
|
|
486
|
-
* two-letter code according to ISO 639-1
|
|
534
|
+
"""Source track language represented as a three-letter code according to ISO 639-2/T.
|
|
487
535
|
Track language will be deduced automatically if not provided.
|
|
488
536
|
In the latter case the deduction accuracy is not guaranteed.
|
|
489
537
|
For better performance please do specify the source track language when possible.
|
|
@@ -503,10 +551,7 @@ class VideoTranslationSettings(google.protobuf.message.Message):
|
|
|
503
551
|
DST_LANG_FIELD_NUMBER: builtins.int
|
|
504
552
|
LABEL_FIELD_NUMBER: builtins.int
|
|
505
553
|
dst_lang: builtins.str
|
|
506
|
-
"""Target language
|
|
507
|
-
* three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
|
|
508
|
-
* two-letter code according to ISO 639-1
|
|
509
|
-
"""
|
|
554
|
+
"""Target language represented as a three-letter code according to ISO 639-2/T."""
|
|
510
555
|
label: builtins.str
|
|
511
556
|
"""Track label to be displayed on the screen during video playback."""
|
|
512
557
|
def __init__(
|
|
@@ -524,10 +569,7 @@ class VideoTranslationSettings(google.protobuf.message.Message):
|
|
|
524
569
|
DST_LANG_FIELD_NUMBER: builtins.int
|
|
525
570
|
LABEL_FIELD_NUMBER: builtins.int
|
|
526
571
|
dst_lang: builtins.str
|
|
527
|
-
"""Target language
|
|
528
|
-
* three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
|
|
529
|
-
* two-letter code according to ISO 639-1
|
|
530
|
-
"""
|
|
572
|
+
"""Target language represented as a three-letter code according to ISO 639-2/T."""
|
|
531
573
|
label: builtins.str
|
|
532
574
|
"""Track label to be displayed on the screen during video playback."""
|
|
533
575
|
def __init__(
|
|
@@ -582,7 +624,7 @@ class VideoSummarizationSettings(google.protobuf.message.Message):
|
|
|
582
624
|
track_index: builtins.int
|
|
583
625
|
"""Input audio track index (one-based)."""
|
|
584
626
|
src_lang: builtins.str
|
|
585
|
-
"""Source track language
|
|
627
|
+
"""Source track language represented as a three-letter code according to ISO 639-2/T.
|
|
586
628
|
It will be deduced automatically if not provided.
|
|
587
629
|
In the latter case the deduction accuracy is not guaranteed.
|
|
588
630
|
For better performance please do specify the source track language when possible.
|
|
@@ -639,7 +681,7 @@ class DeleteVideoRequest(google.protobuf.message.Message):
|
|
|
639
681
|
|
|
640
682
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
641
683
|
video_id: builtins.str
|
|
642
|
-
"""ID of the video."""
|
|
684
|
+
"""ID of the video to delete."""
|
|
643
685
|
def __init__(
|
|
644
686
|
self,
|
|
645
687
|
*,
|
|
@@ -655,7 +697,9 @@ class DeleteVideoMetadata(google.protobuf.message.Message):
|
|
|
655
697
|
|
|
656
698
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
657
699
|
video_id: builtins.str
|
|
658
|
-
"""ID of the video.
|
|
700
|
+
"""ID of the video.
|
|
701
|
+
This identifier can be used to track the video deletion operation.
|
|
702
|
+
"""
|
|
659
703
|
def __init__(
|
|
660
704
|
self,
|
|
661
705
|
*,
|
|
@@ -672,10 +716,10 @@ class BatchDeleteVideosRequest(google.protobuf.message.Message):
|
|
|
672
716
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
673
717
|
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
674
718
|
channel_id: builtins.str
|
|
675
|
-
"""ID of the channel."""
|
|
719
|
+
"""ID of the channel containing the videos to delete."""
|
|
676
720
|
@property
|
|
677
721
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
678
|
-
"""List of video IDs."""
|
|
722
|
+
"""List of video IDs to delete."""
|
|
679
723
|
|
|
680
724
|
def __init__(
|
|
681
725
|
self,
|
|
@@ -694,7 +738,10 @@ class BatchDeleteVideosMetadata(google.protobuf.message.Message):
|
|
|
694
738
|
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
695
739
|
@property
|
|
696
740
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
697
|
-
"""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
|
+
"""
|
|
698
745
|
|
|
699
746
|
def __init__(
|
|
700
747
|
self,
|
|
@@ -713,11 +760,19 @@ class PerformVideoActionRequest(google.protobuf.message.Message):
|
|
|
713
760
|
PUBLISH_FIELD_NUMBER: builtins.int
|
|
714
761
|
UNPUBLISH_FIELD_NUMBER: builtins.int
|
|
715
762
|
video_id: builtins.str
|
|
716
|
-
"""ID of the video."""
|
|
763
|
+
"""ID of the video on which to perform the action."""
|
|
717
764
|
@property
|
|
718
|
-
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
|
+
|
|
719
770
|
@property
|
|
720
|
-
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
|
+
|
|
721
776
|
def __init__(
|
|
722
777
|
self,
|
|
723
778
|
*,
|
|
@@ -733,6 +788,8 @@ global___PerformVideoActionRequest = PerformVideoActionRequest
|
|
|
733
788
|
|
|
734
789
|
@typing.final
|
|
735
790
|
class PublishVideoAction(google.protobuf.message.Message):
|
|
791
|
+
"""Parameters for the publish action."""
|
|
792
|
+
|
|
736
793
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
737
794
|
|
|
738
795
|
def __init__(
|
|
@@ -743,6 +800,8 @@ global___PublishVideoAction = PublishVideoAction
|
|
|
743
800
|
|
|
744
801
|
@typing.final
|
|
745
802
|
class UnpublishVideoAction(google.protobuf.message.Message):
|
|
803
|
+
"""Parameters for the unpublish action."""
|
|
804
|
+
|
|
746
805
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
747
806
|
|
|
748
807
|
def __init__(
|
|
@@ -757,7 +816,10 @@ class PerformVideoActionMetadata(google.protobuf.message.Message):
|
|
|
757
816
|
|
|
758
817
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
759
818
|
video_id: builtins.str
|
|
760
|
-
"""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
|
+
"""
|
|
761
823
|
def __init__(
|
|
762
824
|
self,
|
|
763
825
|
*,
|
|
@@ -775,12 +837,18 @@ class GetVideoPlayerURLRequest(google.protobuf.message.Message):
|
|
|
775
837
|
PARAMS_FIELD_NUMBER: builtins.int
|
|
776
838
|
SIGNED_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int
|
|
777
839
|
video_id: builtins.str
|
|
778
|
-
"""ID of the video."""
|
|
840
|
+
"""ID of the video for which to generate a player URL."""
|
|
779
841
|
@property
|
|
780
|
-
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
|
+
|
|
781
847
|
@property
|
|
782
848
|
def signed_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
783
|
-
"""
|
|
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
|
+
"""
|
|
784
852
|
|
|
785
853
|
def __init__(
|
|
786
854
|
self,
|
|
@@ -802,11 +870,17 @@ class VideoPlayerParams(google.protobuf.message.Message):
|
|
|
802
870
|
AUTOPLAY_FIELD_NUMBER: builtins.int
|
|
803
871
|
HIDDEN_FIELD_NUMBER: builtins.int
|
|
804
872
|
mute: builtins.bool
|
|
805
|
-
"""If true,
|
|
873
|
+
"""If true, the player will start with audio muted.
|
|
874
|
+
Users can unmute the audio manually after playback starts.
|
|
875
|
+
"""
|
|
806
876
|
autoplay: builtins.bool
|
|
807
|
-
"""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
|
+
"""
|
|
808
880
|
hidden: builtins.bool
|
|
809
|
-
"""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
|
+
"""
|
|
810
884
|
def __init__(
|
|
811
885
|
self,
|
|
812
886
|
*,
|
|
@@ -825,9 +899,14 @@ class GetVideoPlayerURLResponse(google.protobuf.message.Message):
|
|
|
825
899
|
PLAYER_URL_FIELD_NUMBER: builtins.int
|
|
826
900
|
HTML_FIELD_NUMBER: builtins.int
|
|
827
901
|
player_url: builtins.str
|
|
828
|
-
"""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
|
+
"""
|
|
829
906
|
html: builtins.str
|
|
830
|
-
"""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
|
+
"""
|
|
831
910
|
def __init__(
|
|
832
911
|
self,
|
|
833
912
|
*,
|
|
@@ -847,16 +926,24 @@ class BatchGetVideoPlayerURLsRequest(google.protobuf.message.Message):
|
|
|
847
926
|
PARAMS_FIELD_NUMBER: builtins.int
|
|
848
927
|
SIGNED_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int
|
|
849
928
|
channel_id: builtins.str
|
|
850
|
-
"""ID of the channel."""
|
|
929
|
+
"""ID of the channel containing the videos for which to generate player URLs."""
|
|
851
930
|
@property
|
|
852
931
|
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
853
|
-
"""List of
|
|
932
|
+
"""List of video IDs for which to generate player URLs."""
|
|
854
933
|
|
|
855
934
|
@property
|
|
856
|
-
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
|
+
|
|
857
941
|
@property
|
|
858
942
|
def signed_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
859
|
-
"""
|
|
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
|
+
"""
|
|
860
947
|
|
|
861
948
|
def __init__(
|
|
862
949
|
self,
|
|
@@ -877,7 +964,11 @@ class BatchGetVideoPlayerURLsResponse(google.protobuf.message.Message):
|
|
|
877
964
|
|
|
878
965
|
PLAYER_URLS_FIELD_NUMBER: builtins.int
|
|
879
966
|
@property
|
|
880
|
-
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
|
+
|
|
881
972
|
def __init__(
|
|
882
973
|
self,
|
|
883
974
|
*,
|
|
@@ -893,7 +984,7 @@ class GetVideoManifestsRequest(google.protobuf.message.Message):
|
|
|
893
984
|
|
|
894
985
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
895
986
|
video_id: builtins.str
|
|
896
|
-
"""ID of the video."""
|
|
987
|
+
"""ID of the video for which to retrieve manifest URLs."""
|
|
897
988
|
def __init__(
|
|
898
989
|
self,
|
|
899
990
|
*,
|
|
@@ -909,7 +1000,11 @@ class GetVideoManifestsResponse(google.protobuf.message.Message):
|
|
|
909
1000
|
|
|
910
1001
|
MANIFESTS_FIELD_NUMBER: builtins.int
|
|
911
1002
|
@property
|
|
912
|
-
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
|
+
|
|
913
1008
|
def __init__(
|
|
914
1009
|
self,
|
|
915
1010
|
*,
|