yandexcloud 0.335.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/cic/v1/common/lag_allocation_settings_pb2.py +4 -4
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +3 -9
- yandex/cloud/cic/v1/trunk_connection_pb2.py +5 -5
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +2 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +36 -35
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +9 -1
- yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
- yandex/cloud/iot/devices/v1/device_pb2.pyi +29 -3
- yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +56 -56
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +10 -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/lockbox/v1/secret_service_pb2.py +46 -50
- 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/clickhouse/v1/config/clickhouse_pb2.py +74 -70
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +151 -5
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -28
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +198 -10
- 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/serverless/eventrouter/v1/bus_pb2.py +17 -7
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +46 -2
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +22 -22
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +24 -3
- 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 -5
- yandex/cloud/video/v1/channel_pb2.pyi +103 -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 +26 -19
- yandex/cloud/video/v1/video_pb2.pyi +139 -37
- yandex/cloud/video/v1/video_service_pb2.py +118 -69
- yandex/cloud/video/v1/video_service_pb2.pyi +297 -39
- 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.335.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +196 -118
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.335.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(
|
|
@@ -24,9 +24,10 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
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\"\
|
|
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')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,22 +37,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
37
38
|
_globals['_VIDEO_LABELSENTRY']._loaded_options = None
|
|
38
39
|
_globals['_VIDEO_LABELSENTRY']._serialized_options = b'8\001'
|
|
39
|
-
_globals['_AUTOTRANSCODE']._serialized_start=
|
|
40
|
-
_globals['_AUTOTRANSCODE']._serialized_end=
|
|
41
|
-
_globals['_VIDEO']._serialized_start=
|
|
42
|
-
_globals['_VIDEO']._serialized_end=
|
|
43
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_start=
|
|
44
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_end=
|
|
45
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=
|
|
46
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=
|
|
47
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=
|
|
48
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=
|
|
49
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_start=
|
|
50
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_end=
|
|
51
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=
|
|
52
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
40
|
+
_globals['_AUTOTRANSCODE']._serialized_start=1879
|
|
41
|
+
_globals['_AUTOTRANSCODE']._serialized_end=1951
|
|
42
|
+
_globals['_VIDEO']._serialized_start=158
|
|
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
|
|
57
64
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -11,6 +11,7 @@ import google.protobuf.internal.containers
|
|
|
11
11
|
import google.protobuf.internal.enum_type_wrapper
|
|
12
12
|
import google.protobuf.message
|
|
13
13
|
import google.protobuf.timestamp_pb2
|
|
14
|
+
import google.protobuf.wrappers_pb2
|
|
14
15
|
import sys
|
|
15
16
|
import typing
|
|
16
17
|
|
|
@@ -57,25 +58,29 @@ class Video(google.protobuf.message.Message):
|
|
|
57
58
|
VIDEO_STATUS_UNSPECIFIED: Video._VideoStatus.ValueType # 0
|
|
58
59
|
"""Video status unspecified."""
|
|
59
60
|
WAIT_UPLOADING: Video._VideoStatus.ValueType # 1
|
|
60
|
-
"""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."""
|
|
61
64
|
PROCESSING: Video._VideoStatus.ValueType # 4
|
|
62
|
-
"""Video
|
|
65
|
+
"""Video is being processed."""
|
|
63
66
|
READY: Video._VideoStatus.ValueType # 5
|
|
64
|
-
"""
|
|
67
|
+
"""Successfully processed and ready for use."""
|
|
65
68
|
ERROR: Video._VideoStatus.ValueType # 7
|
|
66
|
-
"""
|
|
69
|
+
"""Video processing has failed."""
|
|
67
70
|
|
|
68
71
|
class VideoStatus(_VideoStatus, metaclass=_VideoStatusEnumTypeWrapper): ...
|
|
69
72
|
VIDEO_STATUS_UNSPECIFIED: Video.VideoStatus.ValueType # 0
|
|
70
73
|
"""Video status unspecified."""
|
|
71
74
|
WAIT_UPLOADING: Video.VideoStatus.ValueType # 1
|
|
72
|
-
"""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."""
|
|
73
78
|
PROCESSING: Video.VideoStatus.ValueType # 4
|
|
74
|
-
"""Video
|
|
79
|
+
"""Video is being processed."""
|
|
75
80
|
READY: Video.VideoStatus.ValueType # 5
|
|
76
|
-
"""
|
|
81
|
+
"""Successfully processed and ready for use."""
|
|
77
82
|
ERROR: Video.VideoStatus.ValueType # 7
|
|
78
|
-
"""
|
|
83
|
+
"""Video processing has failed."""
|
|
79
84
|
|
|
80
85
|
class _VisibilityStatus:
|
|
81
86
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -86,17 +91,17 @@ class Video(google.protobuf.message.Message):
|
|
|
86
91
|
VISIBILITY_STATUS_UNSPECIFIED: Video._VisibilityStatus.ValueType # 0
|
|
87
92
|
"""Visibility status unspecified."""
|
|
88
93
|
PUBLISHED: Video._VisibilityStatus.ValueType # 1
|
|
89
|
-
"""Video
|
|
94
|
+
"""Video published and available for public viewing."""
|
|
90
95
|
UNPUBLISHED: Video._VisibilityStatus.ValueType # 2
|
|
91
|
-
"""Video
|
|
96
|
+
"""Video unpublished, available only to administrators."""
|
|
92
97
|
|
|
93
98
|
class VisibilityStatus(_VisibilityStatus, metaclass=_VisibilityStatusEnumTypeWrapper): ...
|
|
94
99
|
VISIBILITY_STATUS_UNSPECIFIED: Video.VisibilityStatus.ValueType # 0
|
|
95
100
|
"""Visibility status unspecified."""
|
|
96
101
|
PUBLISHED: Video.VisibilityStatus.ValueType # 1
|
|
97
|
-
"""Video
|
|
102
|
+
"""Video published and available for public viewing."""
|
|
98
103
|
UNPUBLISHED: Video.VisibilityStatus.ValueType # 2
|
|
99
|
-
"""Video
|
|
104
|
+
"""Video unpublished, available only to administrators."""
|
|
100
105
|
|
|
101
106
|
@typing.final
|
|
102
107
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -120,13 +125,15 @@ class Video(google.protobuf.message.Message):
|
|
|
120
125
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
121
126
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
122
127
|
STATUS_FIELD_NUMBER: builtins.int
|
|
123
|
-
|
|
128
|
+
ERROR_MESSAGE_FIELD_NUMBER: builtins.int
|
|
124
129
|
VISIBILITY_STATUS_FIELD_NUMBER: builtins.int
|
|
130
|
+
DURATION_FIELD_NUMBER: builtins.int
|
|
125
131
|
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
132
|
+
ENABLE_AD_FIELD_NUMBER: builtins.int
|
|
126
133
|
SUBTITLE_IDS_FIELD_NUMBER: builtins.int
|
|
134
|
+
FEATURES_FIELD_NUMBER: builtins.int
|
|
127
135
|
TUSD_FIELD_NUMBER: builtins.int
|
|
128
136
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
129
|
-
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
130
137
|
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
131
138
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
132
139
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
@@ -136,27 +143,40 @@ class Video(google.protobuf.message.Message):
|
|
|
136
143
|
channel_id: builtins.str
|
|
137
144
|
"""ID of the channel where the video was created."""
|
|
138
145
|
title: builtins.str
|
|
139
|
-
"""Video title."""
|
|
146
|
+
"""Video title displayed to users."""
|
|
140
147
|
description: builtins.str
|
|
141
|
-
"""
|
|
148
|
+
"""Detailed description of the video."""
|
|
142
149
|
thumbnail_id: builtins.str
|
|
143
|
-
"""ID of the thumbnail."""
|
|
150
|
+
"""ID of the video's thumbnail image."""
|
|
144
151
|
status: global___Video.VideoStatus.ValueType
|
|
145
152
|
"""Video status."""
|
|
153
|
+
error_message: builtins.str
|
|
154
|
+
"""Error message describing the reason for video processing failure, if any."""
|
|
146
155
|
visibility_status: global___Video.VisibilityStatus.ValueType
|
|
147
|
-
"""
|
|
156
|
+
"""Visibility status of the video."""
|
|
148
157
|
auto_transcode: global___AutoTranscode.ValueType
|
|
149
|
-
"""Auto
|
|
150
|
-
|
|
151
|
-
|
|
158
|
+
"""Auto-transcoding setting.
|
|
159
|
+
Set ENABLE to automatically initiate transcoding after upload,
|
|
160
|
+
or DISABLE for manual initiation via the Transcode() method.
|
|
152
161
|
"""
|
|
153
162
|
@property
|
|
154
163
|
def duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
155
164
|
"""Video duration. Optional, may be empty until the transcoding result is ready."""
|
|
156
165
|
|
|
166
|
+
@property
|
|
167
|
+
def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
168
|
+
"""Enable advertisement for this video.
|
|
169
|
+
Default: true.
|
|
170
|
+
Set explicitly to false to disable advertisements for a specific video.
|
|
171
|
+
"""
|
|
172
|
+
|
|
157
173
|
@property
|
|
158
174
|
def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
159
|
-
"""
|
|
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."""
|
|
160
180
|
|
|
161
181
|
@property
|
|
162
182
|
def tusd(self) -> global___VideoTUSDSource:
|
|
@@ -164,11 +184,9 @@ class Video(google.protobuf.message.Message):
|
|
|
164
184
|
|
|
165
185
|
@property
|
|
166
186
|
def public_access(self) -> global___VideoPublicAccessRights:
|
|
167
|
-
"""
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
def auth_system_access(self) -> global___VideoAuthSystemAccessRights:
|
|
171
|
-
"""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
|
+
"""
|
|
172
190
|
|
|
173
191
|
@property
|
|
174
192
|
def sign_url_access(self) -> global___VideoSignURLAccessRights:
|
|
@@ -195,22 +213,24 @@ class Video(google.protobuf.message.Message):
|
|
|
195
213
|
description: builtins.str = ...,
|
|
196
214
|
thumbnail_id: builtins.str = ...,
|
|
197
215
|
status: global___Video.VideoStatus.ValueType = ...,
|
|
198
|
-
|
|
216
|
+
error_message: builtins.str = ...,
|
|
199
217
|
visibility_status: global___Video.VisibilityStatus.ValueType = ...,
|
|
218
|
+
duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
200
219
|
auto_transcode: global___AutoTranscode.ValueType = ...,
|
|
220
|
+
enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
201
221
|
subtitle_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
222
|
+
features: global___VideoFeatures | None = ...,
|
|
202
223
|
tusd: global___VideoTUSDSource | None = ...,
|
|
203
224
|
public_access: global___VideoPublicAccessRights | None = ...,
|
|
204
|
-
auth_system_access: global___VideoAuthSystemAccessRights | None = ...,
|
|
205
225
|
sign_url_access: global___VideoSignURLAccessRights | None = ...,
|
|
206
226
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
207
227
|
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
208
228
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
209
229
|
) -> None: ...
|
|
210
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "
|
|
211
|
-
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: ...
|
|
212
232
|
@typing.overload
|
|
213
|
-
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: ...
|
|
214
234
|
@typing.overload
|
|
215
235
|
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["tusd"] | None: ...
|
|
216
236
|
|
|
@@ -218,17 +238,23 @@ global___Video = Video
|
|
|
218
238
|
|
|
219
239
|
@typing.final
|
|
220
240
|
class VideoTUSDSource(google.protobuf.message.Message):
|
|
241
|
+
"""Video upload source via tus protocol."""
|
|
242
|
+
|
|
221
243
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
222
244
|
|
|
223
245
|
URL_FIELD_NUMBER: builtins.int
|
|
246
|
+
FILE_SIZE_FIELD_NUMBER: builtins.int
|
|
224
247
|
url: builtins.str
|
|
225
248
|
"""URL for uploading video via the tus protocol."""
|
|
249
|
+
file_size: builtins.int
|
|
250
|
+
"""Size of the uploaded file, in bytes."""
|
|
226
251
|
def __init__(
|
|
227
252
|
self,
|
|
228
253
|
*,
|
|
229
254
|
url: builtins.str = ...,
|
|
255
|
+
file_size: builtins.int = ...,
|
|
230
256
|
) -> None: ...
|
|
231
|
-
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: ...
|
|
232
258
|
|
|
233
259
|
global___VideoTUSDSource = VideoTUSDSource
|
|
234
260
|
|
|
@@ -243,21 +269,97 @@ class VideoPublicAccessRights(google.protobuf.message.Message):
|
|
|
243
269
|
global___VideoPublicAccessRights = VideoPublicAccessRights
|
|
244
270
|
|
|
245
271
|
@typing.final
|
|
246
|
-
class
|
|
272
|
+
class VideoSignURLAccessRights(google.protobuf.message.Message):
|
|
247
273
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
248
274
|
|
|
249
275
|
def __init__(
|
|
250
276
|
self,
|
|
251
277
|
) -> None: ...
|
|
252
278
|
|
|
253
|
-
|
|
279
|
+
global___VideoSignURLAccessRights = VideoSignURLAccessRights
|
|
254
280
|
|
|
255
281
|
@typing.final
|
|
256
|
-
class
|
|
282
|
+
class VideoFeatures(google.protobuf.message.Message):
|
|
257
283
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
258
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
|
+
|
|
259
357
|
def __init__(
|
|
260
358
|
self,
|
|
359
|
+
*,
|
|
360
|
+
summary: global___VideoFeatures.Summary | None = ...,
|
|
261
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: ...
|
|
262
364
|
|
|
263
|
-
|
|
365
|
+
global___VideoFeatures = VideoFeatures
|