yandexcloud 0.336.0__py3-none-any.whl → 0.337.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/assistants/v1/runs/run_service_pb2.py +11 -3
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
- yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
- yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
- yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
- yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
- yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
- yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
- yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/mdb/spqr/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
- yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
- yandex/cloud/storage/v1/s3api_pb2.py +7 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
- yandex/cloud/video/v1/channel_pb2.py +16 -11
- yandex/cloud/video/v1/channel_pb2.pyi +32 -2
- yandex/cloud/video/v1/channel_service_pb2.py +34 -30
- yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/episode_pb2.pyi +5 -4
- yandex/cloud/video/v1/episode_service_pb2.py +56 -52
- yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
- yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_line_pb2.py +16 -24
- yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
- yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_pb2.py +12 -11
- yandex/cloud/video/v1/stream_pb2.pyi +19 -6
- yandex/cloud/video/v1/stream_service_pb2.py +54 -49
- yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
- yandex/cloud/video/v1/subtitle_pb2.py +6 -4
- yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
- yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/video_pb2.py +24 -18
- yandex/cloud/video/v1/video_pb2.pyi +130 -38
- yandex/cloud/video/v1/video_service_pb2.py +114 -66
- yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
- yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
- yandex/cloud/ydb/v1/database_pb2.py +46 -46
- yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
- yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
- yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +177 -99
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/top_level.txt +0 -0
|
@@ -7,10 +7,17 @@ import builtins
|
|
|
7
7
|
import collections.abc
|
|
8
8
|
import google.protobuf.descriptor
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
10
11
|
import google.protobuf.message
|
|
12
|
+
import sys
|
|
11
13
|
import typing
|
|
12
14
|
import yandex.cloud.video.v1.thumbnail_pb2
|
|
13
15
|
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
14
21
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
22
|
|
|
16
23
|
@typing.final
|
|
@@ -39,7 +46,9 @@ class ListThumbnailRequest(google.protobuf.message.Message):
|
|
|
39
46
|
channel_id: builtins.str
|
|
40
47
|
"""ID of the channel."""
|
|
41
48
|
page_size: builtins.int
|
|
42
|
-
"""The maximum number of the results per page to return.
|
|
49
|
+
"""The maximum number of the results per page to return.
|
|
50
|
+
Default value: 100.
|
|
51
|
+
"""
|
|
43
52
|
page_token: builtins.str
|
|
44
53
|
"""Page token for getting the next page of the result."""
|
|
45
54
|
def __init__(
|
|
@@ -151,19 +160,72 @@ global___BatchGenerateDownloadURLsResponse = BatchGenerateDownloadURLsResponse
|
|
|
151
160
|
class ThumbnailDownloadURL(google.protobuf.message.Message):
|
|
152
161
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
153
162
|
|
|
163
|
+
class _ImageFormat:
|
|
164
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
165
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
166
|
+
|
|
167
|
+
class _ImageFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ThumbnailDownloadURL._ImageFormat.ValueType], builtins.type):
|
|
168
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
169
|
+
IMAGE_FORMAT_UNSPECIFIED: ThumbnailDownloadURL._ImageFormat.ValueType # 0
|
|
170
|
+
"""Image format unspecified."""
|
|
171
|
+
JPEG: ThumbnailDownloadURL._ImageFormat.ValueType # 1
|
|
172
|
+
"""JPEG image format."""
|
|
173
|
+
WEBP: ThumbnailDownloadURL._ImageFormat.ValueType # 2
|
|
174
|
+
"""WebP image format."""
|
|
175
|
+
|
|
176
|
+
class ImageFormat(_ImageFormat, metaclass=_ImageFormatEnumTypeWrapper): ...
|
|
177
|
+
IMAGE_FORMAT_UNSPECIFIED: ThumbnailDownloadURL.ImageFormat.ValueType # 0
|
|
178
|
+
"""Image format unspecified."""
|
|
179
|
+
JPEG: ThumbnailDownloadURL.ImageFormat.ValueType # 1
|
|
180
|
+
"""JPEG image format."""
|
|
181
|
+
WEBP: ThumbnailDownloadURL.ImageFormat.ValueType # 2
|
|
182
|
+
"""WebP image format."""
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class ScaledURL(google.protobuf.message.Message):
|
|
186
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
187
|
+
|
|
188
|
+
URL_FIELD_NUMBER: builtins.int
|
|
189
|
+
MAX_WIDTH_FIELD_NUMBER: builtins.int
|
|
190
|
+
MAX_HEIGHT_FIELD_NUMBER: builtins.int
|
|
191
|
+
IMAGE_FORMAT_FIELD_NUMBER: builtins.int
|
|
192
|
+
url: builtins.str
|
|
193
|
+
"""Download url."""
|
|
194
|
+
max_width: builtins.int
|
|
195
|
+
"""Maximum width of the rectangle to inscribe the thumbnail into."""
|
|
196
|
+
max_height: builtins.int
|
|
197
|
+
"""Maximum height of the rectangle to inscribe the thumbnail into."""
|
|
198
|
+
image_format: global___ThumbnailDownloadURL.ImageFormat.ValueType
|
|
199
|
+
"""Image format."""
|
|
200
|
+
def __init__(
|
|
201
|
+
self,
|
|
202
|
+
*,
|
|
203
|
+
url: builtins.str = ...,
|
|
204
|
+
max_width: builtins.int = ...,
|
|
205
|
+
max_height: builtins.int = ...,
|
|
206
|
+
image_format: global___ThumbnailDownloadURL.ImageFormat.ValueType = ...,
|
|
207
|
+
) -> None: ...
|
|
208
|
+
def ClearField(self, field_name: typing.Literal["image_format", b"image_format", "max_height", b"max_height", "max_width", b"max_width", "url", b"url"]) -> None: ...
|
|
209
|
+
|
|
154
210
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
155
|
-
|
|
211
|
+
ORIGINAL_URL_FIELD_NUMBER: builtins.int
|
|
212
|
+
SCALED_URLS_FIELD_NUMBER: builtins.int
|
|
156
213
|
thumbnail_id: builtins.str
|
|
157
214
|
"""ID of the thumbnail."""
|
|
158
|
-
|
|
159
|
-
"""
|
|
215
|
+
original_url: builtins.str
|
|
216
|
+
"""Original download url."""
|
|
217
|
+
@property
|
|
218
|
+
def scaled_urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ThumbnailDownloadURL.ScaledURL]:
|
|
219
|
+
"""List of download urls, one per each available image size."""
|
|
220
|
+
|
|
160
221
|
def __init__(
|
|
161
222
|
self,
|
|
162
223
|
*,
|
|
163
224
|
thumbnail_id: builtins.str = ...,
|
|
164
|
-
|
|
225
|
+
original_url: builtins.str = ...,
|
|
226
|
+
scaled_urls: collections.abc.Iterable[global___ThumbnailDownloadURL.ScaledURL] | None = ...,
|
|
165
227
|
) -> None: ...
|
|
166
|
-
def ClearField(self, field_name: typing.Literal["
|
|
228
|
+
def ClearField(self, field_name: typing.Literal["original_url", b"original_url", "scaled_urls", b"scaled_urls", "thumbnail_id", b"thumbnail_id"]) -> None: ...
|
|
167
229
|
|
|
168
230
|
global___ThumbnailDownloadURL = ThumbnailDownloadURL
|
|
169
231
|
|
|
@@ -74,7 +74,7 @@ class ThumbnailServiceServicer(object):
|
|
|
74
74
|
"""
|
|
75
75
|
|
|
76
76
|
def Get(self, request, context):
|
|
77
|
-
"""
|
|
77
|
+
"""Get the specific thumbnail.
|
|
78
78
|
"""
|
|
79
79
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
80
|
context.set_details('Method not implemented!')
|
|
@@ -95,14 +95,14 @@ class ThumbnailServiceServicer(object):
|
|
|
95
95
|
raise NotImplementedError('Method not implemented!')
|
|
96
96
|
|
|
97
97
|
def BatchGenerateDownloadURLs(self, request, context):
|
|
98
|
-
"""Generate urls for
|
|
98
|
+
"""Generate urls for downloading images.
|
|
99
99
|
"""
|
|
100
100
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
101
|
context.set_details('Method not implemented!')
|
|
102
102
|
raise NotImplementedError('Method not implemented!')
|
|
103
103
|
|
|
104
104
|
def GenerateUploadURL(self, request, context):
|
|
105
|
-
"""Generate url for
|
|
105
|
+
"""Generate url for uploading an image.
|
|
106
106
|
"""
|
|
107
107
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
108
|
context.set_details('Method not implemented!')
|
|
@@ -27,7 +27,7 @@ class ThumbnailServiceStub:
|
|
|
27
27
|
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
28
28
|
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
29
29
|
]
|
|
30
|
-
"""
|
|
30
|
+
"""Get the specific thumbnail."""
|
|
31
31
|
|
|
32
32
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
33
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
@@ -45,13 +45,13 @@ class ThumbnailServiceStub:
|
|
|
45
45
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
46
46
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse,
|
|
47
47
|
]
|
|
48
|
-
"""Generate urls for
|
|
48
|
+
"""Generate urls for downloading images."""
|
|
49
49
|
|
|
50
50
|
GenerateUploadURL: grpc.UnaryUnaryMultiCallable[
|
|
51
51
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
52
52
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse,
|
|
53
53
|
]
|
|
54
|
-
"""Generate url for
|
|
54
|
+
"""Generate url for uploading an image."""
|
|
55
55
|
|
|
56
56
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
57
57
|
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
@@ -66,7 +66,7 @@ class ThumbnailServiceAsyncStub:
|
|
|
66
66
|
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
67
67
|
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
68
68
|
]
|
|
69
|
-
"""
|
|
69
|
+
"""Get the specific thumbnail."""
|
|
70
70
|
|
|
71
71
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
72
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
@@ -84,13 +84,13 @@ class ThumbnailServiceAsyncStub:
|
|
|
84
84
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
85
85
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse,
|
|
86
86
|
]
|
|
87
|
-
"""Generate urls for
|
|
87
|
+
"""Generate urls for downloading images."""
|
|
88
88
|
|
|
89
89
|
GenerateUploadURL: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
90
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
91
91
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse,
|
|
92
92
|
]
|
|
93
|
-
"""Generate url for
|
|
93
|
+
"""Generate url for uploading an image."""
|
|
94
94
|
|
|
95
95
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
96
|
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
@@ -107,7 +107,7 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
107
107
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
108
108
|
context: _ServicerContext,
|
|
109
109
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail]]:
|
|
110
|
-
"""
|
|
110
|
+
"""Get the specific thumbnail."""
|
|
111
111
|
|
|
112
112
|
@abc.abstractmethod
|
|
113
113
|
def List(
|
|
@@ -131,7 +131,7 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
131
131
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
132
132
|
context: _ServicerContext,
|
|
133
133
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse]]:
|
|
134
|
-
"""Generate urls for
|
|
134
|
+
"""Generate urls for downloading images."""
|
|
135
135
|
|
|
136
136
|
@abc.abstractmethod
|
|
137
137
|
def GenerateUploadURL(
|
|
@@ -139,7 +139,7 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
139
139
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
140
140
|
context: _ServicerContext,
|
|
141
141
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse]]:
|
|
142
|
-
"""Generate url for
|
|
142
|
+
"""Generate url for uploading an image."""
|
|
143
143
|
|
|
144
144
|
@abc.abstractmethod
|
|
145
145
|
def Delete(
|
|
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
27
27
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/video/v1/video.proto\x12\x15yandex.cloud.video.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/video/v1/video.proto\x12\x15yandex.cloud.video.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xb0\t\n\x05Video\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x05 \x01(\t\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.yandex.cloud.video.v1.Video.VideoStatus\x12\x15\n\rerror_message\x18\x12 \x01(\t\x12H\n\x11visibility_status\x18\t \x01(\x0e\x32-.yandex.cloud.video.v1.Video.VisibilityStatus\x12+\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0e\x61uto_transcode\x18\x0b \x01(\x0e\x32$.yandex.cloud.video.v1.AutoTranscode\x12-\n\tenable_ad\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x14\n\x0csubtitle_ids\x18\x0c \x03(\t\x12\x36\n\x08\x66\x65\x61tures\x18\r \x01(\x0b\x32$.yandex.cloud.video.v1.VideoFeatures\x12\x37\n\x04tusd\x18\xe8\x07 \x01(\x0b\x32&.yandex.cloud.video.v1.VideoTUSDSourceH\x00\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessRightsH\x01\x12K\n\x0fsign_url_access\x18\xd3\x0f \x01(\x0b\x32/.yandex.cloud.video.v1.VideoSignURLAccessRightsH\x01\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x06labels\x18\xc8\x01 \x03(\x0b\x32(.yandex.cloud.video.v1.Video.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x7f\n\x0bVideoStatus\x12\x1c\n\x18VIDEO_STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eWAIT_UPLOADING\x10\x01\x12\x0c\n\x08UPLOADED\x10\x02\x12\x0e\n\nPROCESSING\x10\x04\x12\t\n\x05READY\x10\x05\x12\t\n\x05\x45RROR\x10\x07\"\x04\x08\x03\x10\x03\"\x04\x08\x06\x10\x06\"U\n\x10VisibilityStatus\x12!\n\x1dVISIBILITY_STATUS_UNSPECIFIED\x10\x00\x12\r\n\tPUBLISHED\x10\x01\x12\x0f\n\x0bUNPUBLISHED\x10\x02\x42\x08\n\x06sourceB\x0f\n\raccess_rightsJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x06\x08\xd2\x0f\x10\xd3\x0fJ\x04\x08\x07\x10\x08J\x04\x08\n\x10\x0bJ\x04\x08\x0e\x10\x11J\x04\x08\x13\x10\x64J\x05\x08\x66\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xd0\x0f\"1\n\x0fVideoTUSDSource\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tfile_size\x18\x02 \x01(\x03\"\x19\n\x17VideoPublicAccessRights\"\x1a\n\x18VideoSignURLAccessRights\"\x9a\x03\n\rVideoFeatures\x12=\n\x07summary\x18\x01 \x01(\x0b\x32,.yandex.cloud.video.v1.VideoFeatures.Summary\x1a\xdc\x01\n\x07Summary\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.yandex.cloud.video.v1.VideoFeatures.FeatureResult\x12\x45\n\x04urls\x18\x03 \x03(\x0b\x32\x37.yandex.cloud.video.v1.VideoFeatures.Summary.SummaryURL\x1a@\n\nSummaryURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x0btrack_index\x18\x02 \x01(\x03\x12\x10\n\x08src_lang\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03\"k\n\rFeatureResult\x12\x1e\n\x1a\x46\x45\x41TURE_RESULT_UNSPECIFIED\x10\x00\x12\x11\n\rNOT_REQUESTED\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04*H\n\rAutoTranscode\x12\x1e\n\x1a\x41UTO_TRANSCODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45NABLE\x10\x01\x12\x0b\n\x07\x44ISABLE\x10\x02\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,22 +37,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
38
38
|
_globals['_VIDEO_LABELSENTRY']._loaded_options = None
|
|
39
39
|
_globals['_VIDEO_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
-
_globals['_AUTOTRANSCODE']._serialized_start=
|
|
41
|
-
_globals['_AUTOTRANSCODE']._serialized_end=
|
|
40
|
+
_globals['_AUTOTRANSCODE']._serialized_start=1879
|
|
41
|
+
_globals['_AUTOTRANSCODE']._serialized_end=1951
|
|
42
42
|
_globals['_VIDEO']._serialized_start=158
|
|
43
|
-
_globals['_VIDEO']._serialized_end=
|
|
44
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_start=
|
|
45
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_end=
|
|
46
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=
|
|
47
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=
|
|
48
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=
|
|
49
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=
|
|
50
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_start=
|
|
51
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_end=
|
|
52
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=
|
|
53
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
43
|
+
_globals['_VIDEO']._serialized_end=1358
|
|
44
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_start=1007
|
|
45
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_end=1052
|
|
46
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=1054
|
|
47
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=1181
|
|
48
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=1183
|
|
49
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=1268
|
|
50
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_start=1360
|
|
51
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_end=1409
|
|
52
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=1411
|
|
53
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=1436
|
|
54
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_start=1438
|
|
55
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_end=1464
|
|
56
|
+
_globals['_VIDEOFEATURES']._serialized_start=1467
|
|
57
|
+
_globals['_VIDEOFEATURES']._serialized_end=1877
|
|
58
|
+
_globals['_VIDEOFEATURES_SUMMARY']._serialized_start=1548
|
|
59
|
+
_globals['_VIDEOFEATURES_SUMMARY']._serialized_end=1768
|
|
60
|
+
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_start=1698
|
|
61
|
+
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_end=1762
|
|
62
|
+
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_start=1770
|
|
63
|
+
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_end=1877
|
|
58
64
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -58,25 +58,29 @@ class Video(google.protobuf.message.Message):
|
|
|
58
58
|
VIDEO_STATUS_UNSPECIFIED: Video._VideoStatus.ValueType # 0
|
|
59
59
|
"""Video status unspecified."""
|
|
60
60
|
WAIT_UPLOADING: Video._VideoStatus.ValueType # 1
|
|
61
|
-
"""Waiting for the
|
|
61
|
+
"""Waiting for all the bytes to be loaded."""
|
|
62
|
+
UPLOADED: Video._VideoStatus.ValueType # 2
|
|
63
|
+
"""Fully uploaded, ready to be transcoded."""
|
|
62
64
|
PROCESSING: Video._VideoStatus.ValueType # 4
|
|
63
|
-
"""Video
|
|
65
|
+
"""Video is being processed."""
|
|
64
66
|
READY: Video._VideoStatus.ValueType # 5
|
|
65
|
-
"""
|
|
67
|
+
"""Successfully processed and ready for use."""
|
|
66
68
|
ERROR: Video._VideoStatus.ValueType # 7
|
|
67
|
-
"""
|
|
69
|
+
"""Video processing has failed."""
|
|
68
70
|
|
|
69
71
|
class VideoStatus(_VideoStatus, metaclass=_VideoStatusEnumTypeWrapper): ...
|
|
70
72
|
VIDEO_STATUS_UNSPECIFIED: Video.VideoStatus.ValueType # 0
|
|
71
73
|
"""Video status unspecified."""
|
|
72
74
|
WAIT_UPLOADING: Video.VideoStatus.ValueType # 1
|
|
73
|
-
"""Waiting for the
|
|
75
|
+
"""Waiting for all the bytes to be loaded."""
|
|
76
|
+
UPLOADED: Video.VideoStatus.ValueType # 2
|
|
77
|
+
"""Fully uploaded, ready to be transcoded."""
|
|
74
78
|
PROCESSING: Video.VideoStatus.ValueType # 4
|
|
75
|
-
"""Video
|
|
79
|
+
"""Video is being processed."""
|
|
76
80
|
READY: Video.VideoStatus.ValueType # 5
|
|
77
|
-
"""
|
|
81
|
+
"""Successfully processed and ready for use."""
|
|
78
82
|
ERROR: Video.VideoStatus.ValueType # 7
|
|
79
|
-
"""
|
|
83
|
+
"""Video processing has failed."""
|
|
80
84
|
|
|
81
85
|
class _VisibilityStatus:
|
|
82
86
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -87,17 +91,17 @@ class Video(google.protobuf.message.Message):
|
|
|
87
91
|
VISIBILITY_STATUS_UNSPECIFIED: Video._VisibilityStatus.ValueType # 0
|
|
88
92
|
"""Visibility status unspecified."""
|
|
89
93
|
PUBLISHED: Video._VisibilityStatus.ValueType # 1
|
|
90
|
-
"""Video
|
|
94
|
+
"""Video published and available for public viewing."""
|
|
91
95
|
UNPUBLISHED: Video._VisibilityStatus.ValueType # 2
|
|
92
|
-
"""Video
|
|
96
|
+
"""Video unpublished, available only to administrators."""
|
|
93
97
|
|
|
94
98
|
class VisibilityStatus(_VisibilityStatus, metaclass=_VisibilityStatusEnumTypeWrapper): ...
|
|
95
99
|
VISIBILITY_STATUS_UNSPECIFIED: Video.VisibilityStatus.ValueType # 0
|
|
96
100
|
"""Visibility status unspecified."""
|
|
97
101
|
PUBLISHED: Video.VisibilityStatus.ValueType # 1
|
|
98
|
-
"""Video
|
|
102
|
+
"""Video published and available for public viewing."""
|
|
99
103
|
UNPUBLISHED: Video.VisibilityStatus.ValueType # 2
|
|
100
|
-
"""Video
|
|
104
|
+
"""Video unpublished, available only to administrators."""
|
|
101
105
|
|
|
102
106
|
@typing.final
|
|
103
107
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -121,14 +125,15 @@ class Video(google.protobuf.message.Message):
|
|
|
121
125
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
122
126
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
123
127
|
STATUS_FIELD_NUMBER: builtins.int
|
|
124
|
-
|
|
128
|
+
ERROR_MESSAGE_FIELD_NUMBER: builtins.int
|
|
125
129
|
VISIBILITY_STATUS_FIELD_NUMBER: builtins.int
|
|
130
|
+
DURATION_FIELD_NUMBER: builtins.int
|
|
126
131
|
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
127
132
|
ENABLE_AD_FIELD_NUMBER: builtins.int
|
|
128
133
|
SUBTITLE_IDS_FIELD_NUMBER: builtins.int
|
|
134
|
+
FEATURES_FIELD_NUMBER: builtins.int
|
|
129
135
|
TUSD_FIELD_NUMBER: builtins.int
|
|
130
136
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
131
|
-
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
132
137
|
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
133
138
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
134
139
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
@@ -138,19 +143,21 @@ class Video(google.protobuf.message.Message):
|
|
|
138
143
|
channel_id: builtins.str
|
|
139
144
|
"""ID of the channel where the video was created."""
|
|
140
145
|
title: builtins.str
|
|
141
|
-
"""Video title."""
|
|
146
|
+
"""Video title displayed to users."""
|
|
142
147
|
description: builtins.str
|
|
143
|
-
"""
|
|
148
|
+
"""Detailed description of the video."""
|
|
144
149
|
thumbnail_id: builtins.str
|
|
145
|
-
"""ID of the thumbnail."""
|
|
150
|
+
"""ID of the video's thumbnail image."""
|
|
146
151
|
status: global___Video.VideoStatus.ValueType
|
|
147
152
|
"""Video status."""
|
|
153
|
+
error_message: builtins.str
|
|
154
|
+
"""Error message describing the reason for video processing failure, if any."""
|
|
148
155
|
visibility_status: global___Video.VisibilityStatus.ValueType
|
|
149
|
-
"""
|
|
156
|
+
"""Visibility status of the video."""
|
|
150
157
|
auto_transcode: global___AutoTranscode.ValueType
|
|
151
|
-
"""Auto
|
|
152
|
-
|
|
153
|
-
|
|
158
|
+
"""Auto-transcoding setting.
|
|
159
|
+
Set ENABLE to automatically initiate transcoding after upload,
|
|
160
|
+
or DISABLE for manual initiation via the Transcode() method.
|
|
154
161
|
"""
|
|
155
162
|
@property
|
|
156
163
|
def duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
@@ -160,12 +167,16 @@ class Video(google.protobuf.message.Message):
|
|
|
160
167
|
def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
161
168
|
"""Enable advertisement for this video.
|
|
162
169
|
Default: true.
|
|
163
|
-
|
|
170
|
+
Set explicitly to false to disable advertisements for a specific video.
|
|
164
171
|
"""
|
|
165
172
|
|
|
166
173
|
@property
|
|
167
174
|
def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
168
|
-
"""
|
|
175
|
+
"""List of IDs defining the active subtitles for the video."""
|
|
176
|
+
|
|
177
|
+
@property
|
|
178
|
+
def features(self) -> global___VideoFeatures:
|
|
179
|
+
"""Additional video processing features and their results."""
|
|
169
180
|
|
|
170
181
|
@property
|
|
171
182
|
def tusd(self) -> global___VideoTUSDSource:
|
|
@@ -173,11 +184,9 @@ class Video(google.protobuf.message.Message):
|
|
|
173
184
|
|
|
174
185
|
@property
|
|
175
186
|
def public_access(self) -> global___VideoPublicAccessRights:
|
|
176
|
-
"""
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
def auth_system_access(self) -> global___VideoAuthSystemAccessRights:
|
|
180
|
-
"""Checking access rights using the authorization system."""
|
|
187
|
+
"""Publicly accessible video available for viewing by anyone with the direct link.
|
|
188
|
+
No additional authorization or access control is applied.
|
|
189
|
+
"""
|
|
181
190
|
|
|
182
191
|
@property
|
|
183
192
|
def sign_url_access(self) -> global___VideoSignURLAccessRights:
|
|
@@ -204,23 +213,24 @@ class Video(google.protobuf.message.Message):
|
|
|
204
213
|
description: builtins.str = ...,
|
|
205
214
|
thumbnail_id: builtins.str = ...,
|
|
206
215
|
status: global___Video.VideoStatus.ValueType = ...,
|
|
207
|
-
|
|
216
|
+
error_message: builtins.str = ...,
|
|
208
217
|
visibility_status: global___Video.VisibilityStatus.ValueType = ...,
|
|
218
|
+
duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
209
219
|
auto_transcode: global___AutoTranscode.ValueType = ...,
|
|
210
220
|
enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
211
221
|
subtitle_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
222
|
+
features: global___VideoFeatures | None = ...,
|
|
212
223
|
tusd: global___VideoTUSDSource | None = ...,
|
|
213
224
|
public_access: global___VideoPublicAccessRights | None = ...,
|
|
214
|
-
auth_system_access: global___VideoAuthSystemAccessRights | None = ...,
|
|
215
225
|
sign_url_access: global___VideoSignURLAccessRights | None = ...,
|
|
216
226
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
217
227
|
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
218
228
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
219
229
|
) -> None: ...
|
|
220
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "
|
|
221
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "
|
|
230
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "created_at", b"created_at", "duration", b"duration", "enable_ad", b"enable_ad", "features", b"features", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
231
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "duration", b"duration", "enable_ad", b"enable_ad", "error_message", b"error_message", "features", b"features", "id", b"id", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "status", b"status", "subtitle_ids", b"subtitle_ids", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
222
232
|
@typing.overload
|
|
223
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "
|
|
233
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "sign_url_access"] | None: ...
|
|
224
234
|
@typing.overload
|
|
225
235
|
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["tusd"] | None: ...
|
|
226
236
|
|
|
@@ -228,17 +238,23 @@ global___Video = Video
|
|
|
228
238
|
|
|
229
239
|
@typing.final
|
|
230
240
|
class VideoTUSDSource(google.protobuf.message.Message):
|
|
241
|
+
"""Video upload source via tus protocol."""
|
|
242
|
+
|
|
231
243
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
232
244
|
|
|
233
245
|
URL_FIELD_NUMBER: builtins.int
|
|
246
|
+
FILE_SIZE_FIELD_NUMBER: builtins.int
|
|
234
247
|
url: builtins.str
|
|
235
248
|
"""URL for uploading video via the tus protocol."""
|
|
249
|
+
file_size: builtins.int
|
|
250
|
+
"""Size of the uploaded file, in bytes."""
|
|
236
251
|
def __init__(
|
|
237
252
|
self,
|
|
238
253
|
*,
|
|
239
254
|
url: builtins.str = ...,
|
|
255
|
+
file_size: builtins.int = ...,
|
|
240
256
|
) -> None: ...
|
|
241
|
-
def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
|
|
257
|
+
def ClearField(self, field_name: typing.Literal["file_size", b"file_size", "url", b"url"]) -> None: ...
|
|
242
258
|
|
|
243
259
|
global___VideoTUSDSource = VideoTUSDSource
|
|
244
260
|
|
|
@@ -253,21 +269,97 @@ class VideoPublicAccessRights(google.protobuf.message.Message):
|
|
|
253
269
|
global___VideoPublicAccessRights = VideoPublicAccessRights
|
|
254
270
|
|
|
255
271
|
@typing.final
|
|
256
|
-
class
|
|
272
|
+
class VideoSignURLAccessRights(google.protobuf.message.Message):
|
|
257
273
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
258
274
|
|
|
259
275
|
def __init__(
|
|
260
276
|
self,
|
|
261
277
|
) -> None: ...
|
|
262
278
|
|
|
263
|
-
|
|
279
|
+
global___VideoSignURLAccessRights = VideoSignURLAccessRights
|
|
264
280
|
|
|
265
281
|
@typing.final
|
|
266
|
-
class
|
|
282
|
+
class VideoFeatures(google.protobuf.message.Message):
|
|
267
283
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
268
284
|
|
|
285
|
+
class _FeatureResult:
|
|
286
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
287
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
288
|
+
|
|
289
|
+
class _FeatureResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[VideoFeatures._FeatureResult.ValueType], builtins.type):
|
|
290
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
291
|
+
FEATURE_RESULT_UNSPECIFIED: VideoFeatures._FeatureResult.ValueType # 0
|
|
292
|
+
NOT_REQUESTED: VideoFeatures._FeatureResult.ValueType # 1
|
|
293
|
+
"""Feature has not been requested."""
|
|
294
|
+
PROCESSING: VideoFeatures._FeatureResult.ValueType # 2
|
|
295
|
+
"""Feature is being processed."""
|
|
296
|
+
SUCCESS: VideoFeatures._FeatureResult.ValueType # 3
|
|
297
|
+
"""Feature processing completed successfully."""
|
|
298
|
+
FAILED: VideoFeatures._FeatureResult.ValueType # 4
|
|
299
|
+
"""Feature processing has failed."""
|
|
300
|
+
|
|
301
|
+
class FeatureResult(_FeatureResult, metaclass=_FeatureResultEnumTypeWrapper): ...
|
|
302
|
+
FEATURE_RESULT_UNSPECIFIED: VideoFeatures.FeatureResult.ValueType # 0
|
|
303
|
+
NOT_REQUESTED: VideoFeatures.FeatureResult.ValueType # 1
|
|
304
|
+
"""Feature has not been requested."""
|
|
305
|
+
PROCESSING: VideoFeatures.FeatureResult.ValueType # 2
|
|
306
|
+
"""Feature is being processed."""
|
|
307
|
+
SUCCESS: VideoFeatures.FeatureResult.ValueType # 3
|
|
308
|
+
"""Feature processing completed successfully."""
|
|
309
|
+
FAILED: VideoFeatures.FeatureResult.ValueType # 4
|
|
310
|
+
"""Feature processing has failed."""
|
|
311
|
+
|
|
312
|
+
@typing.final
|
|
313
|
+
class Summary(google.protobuf.message.Message):
|
|
314
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
315
|
+
|
|
316
|
+
@typing.final
|
|
317
|
+
class SummaryURL(google.protobuf.message.Message):
|
|
318
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
319
|
+
|
|
320
|
+
URL_FIELD_NUMBER: builtins.int
|
|
321
|
+
TRACK_INDEX_FIELD_NUMBER: builtins.int
|
|
322
|
+
SRC_LANG_FIELD_NUMBER: builtins.int
|
|
323
|
+
url: builtins.str
|
|
324
|
+
track_index: builtins.int
|
|
325
|
+
"""Input audio track index (one-based)."""
|
|
326
|
+
src_lang: builtins.str
|
|
327
|
+
"""Source track language (three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3).
|
|
328
|
+
Either provided in transcoding settings earlier or automatically deduced.
|
|
329
|
+
"""
|
|
330
|
+
def __init__(
|
|
331
|
+
self,
|
|
332
|
+
*,
|
|
333
|
+
url: builtins.str = ...,
|
|
334
|
+
track_index: builtins.int = ...,
|
|
335
|
+
src_lang: builtins.str = ...,
|
|
336
|
+
) -> None: ...
|
|
337
|
+
def ClearField(self, field_name: typing.Literal["src_lang", b"src_lang", "track_index", b"track_index", "url", b"url"]) -> None: ...
|
|
338
|
+
|
|
339
|
+
RESULT_FIELD_NUMBER: builtins.int
|
|
340
|
+
URLS_FIELD_NUMBER: builtins.int
|
|
341
|
+
result: global___VideoFeatures.FeatureResult.ValueType
|
|
342
|
+
@property
|
|
343
|
+
def urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoFeatures.Summary.SummaryURL]: ...
|
|
344
|
+
def __init__(
|
|
345
|
+
self,
|
|
346
|
+
*,
|
|
347
|
+
result: global___VideoFeatures.FeatureResult.ValueType = ...,
|
|
348
|
+
urls: collections.abc.Iterable[global___VideoFeatures.Summary.SummaryURL] | None = ...,
|
|
349
|
+
) -> None: ...
|
|
350
|
+
def ClearField(self, field_name: typing.Literal["result", b"result", "urls", b"urls"]) -> None: ...
|
|
351
|
+
|
|
352
|
+
SUMMARY_FIELD_NUMBER: builtins.int
|
|
353
|
+
@property
|
|
354
|
+
def summary(self) -> global___VideoFeatures.Summary:
|
|
355
|
+
"""Summarization result."""
|
|
356
|
+
|
|
269
357
|
def __init__(
|
|
270
358
|
self,
|
|
359
|
+
*,
|
|
360
|
+
summary: global___VideoFeatures.Summary | None = ...,
|
|
271
361
|
) -> None: ...
|
|
362
|
+
def HasField(self, field_name: typing.Literal["summary", b"summary"]) -> builtins.bool: ...
|
|
363
|
+
def ClearField(self, field_name: typing.Literal["summary", b"summary"]) -> None: ...
|
|
272
364
|
|
|
273
|
-
|
|
365
|
+
global___VideoFeatures = VideoFeatures
|