yandexcloud 0.351.0__py3-none-any.whl → 0.353.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/connectionmanager/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
- yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
- yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
- yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +163 -97
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
|
@@ -26,7 +26,9 @@ class GetThumbnailRequest(google.protobuf.message.Message):
|
|
|
26
26
|
|
|
27
27
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
28
28
|
thumbnail_id: builtins.str
|
|
29
|
-
"""ID of the thumbnail.
|
|
29
|
+
"""ID of the thumbnail to retrieve.
|
|
30
|
+
Must be a valid thumbnail identifier string.
|
|
31
|
+
"""
|
|
30
32
|
def __init__(
|
|
31
33
|
self,
|
|
32
34
|
*,
|
|
@@ -41,24 +43,34 @@ class ListThumbnailRequest(google.protobuf.message.Message):
|
|
|
41
43
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
42
44
|
|
|
43
45
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
46
|
+
EPISODE_ID_FIELD_NUMBER: builtins.int
|
|
47
|
+
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
44
48
|
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
45
49
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
46
50
|
channel_id: builtins.str
|
|
47
|
-
"""ID of the channel."""
|
|
51
|
+
"""[Deprecated] ID of the channel."""
|
|
52
|
+
episode_id: builtins.str
|
|
53
|
+
"""ID of the episode containing the thumbnails to list."""
|
|
54
|
+
video_id: builtins.str
|
|
55
|
+
"""ID of the video containing the thumbnails to list."""
|
|
48
56
|
page_size: builtins.int
|
|
49
|
-
"""The maximum number of
|
|
50
|
-
Default value: 100.
|
|
51
|
-
"""
|
|
57
|
+
"""The maximum number of thumbnails to return per page."""
|
|
52
58
|
page_token: builtins.str
|
|
53
|
-
"""Page token for
|
|
59
|
+
"""Page token for retrieving the next page of results.
|
|
60
|
+
This token is obtained from the next_page_token field in the previous ListThumbnailResponse.
|
|
61
|
+
"""
|
|
54
62
|
def __init__(
|
|
55
63
|
self,
|
|
56
64
|
*,
|
|
57
65
|
channel_id: builtins.str = ...,
|
|
66
|
+
episode_id: builtins.str = ...,
|
|
67
|
+
video_id: builtins.str = ...,
|
|
58
68
|
page_size: builtins.int = ...,
|
|
59
69
|
page_token: builtins.str = ...,
|
|
60
70
|
) -> None: ...
|
|
61
|
-
def
|
|
71
|
+
def HasField(self, field_name: typing.Literal["episode_id", b"episode_id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> builtins.bool: ...
|
|
72
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "episode_id", b"episode_id", "page_size", b"page_size", "page_token", b"page_token", "parent_id", b"parent_id", "video_id", b"video_id"]) -> None: ...
|
|
73
|
+
def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["episode_id", "video_id"] | None: ...
|
|
62
74
|
|
|
63
75
|
global___ListThumbnailRequest = ListThumbnailRequest
|
|
64
76
|
|
|
@@ -69,10 +81,14 @@ class ListThumbnailResponse(google.protobuf.message.Message):
|
|
|
69
81
|
THUMBNAILS_FIELD_NUMBER: builtins.int
|
|
70
82
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
71
83
|
next_page_token: builtins.str
|
|
72
|
-
"""Token for
|
|
84
|
+
"""Token for retrieving the next page of results.
|
|
85
|
+
Empty if there are no more results available.
|
|
86
|
+
"""
|
|
73
87
|
@property
|
|
74
88
|
def thumbnails(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail]:
|
|
75
|
-
"""List of thumbnails.
|
|
89
|
+
"""List of thumbnails matching the request criteria.
|
|
90
|
+
May be empty if no thumbnails match the criteria or if the parent resource has no thumbnails.
|
|
91
|
+
"""
|
|
76
92
|
|
|
77
93
|
def __init__(
|
|
78
94
|
self,
|
|
@@ -89,14 +105,24 @@ class CreateThumbnailRequest(google.protobuf.message.Message):
|
|
|
89
105
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
90
106
|
|
|
91
107
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
108
|
+
EPISODE_ID_FIELD_NUMBER: builtins.int
|
|
109
|
+
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
92
110
|
channel_id: builtins.str
|
|
93
|
-
"""ID of the channel."""
|
|
111
|
+
"""[Deprecated] ID of the channel."""
|
|
112
|
+
episode_id: builtins.str
|
|
113
|
+
"""ID of the episode to associate the thumbnail with."""
|
|
114
|
+
video_id: builtins.str
|
|
115
|
+
"""ID of the video to associate the thumbnail with."""
|
|
94
116
|
def __init__(
|
|
95
117
|
self,
|
|
96
118
|
*,
|
|
97
119
|
channel_id: builtins.str = ...,
|
|
120
|
+
episode_id: builtins.str = ...,
|
|
121
|
+
video_id: builtins.str = ...,
|
|
98
122
|
) -> None: ...
|
|
99
|
-
def
|
|
123
|
+
def HasField(self, field_name: typing.Literal["episode_id", b"episode_id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> builtins.bool: ...
|
|
124
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "episode_id", b"episode_id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> None: ...
|
|
125
|
+
def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["episode_id", "video_id"] | None: ...
|
|
100
126
|
|
|
101
127
|
global___CreateThumbnailRequest = CreateThumbnailRequest
|
|
102
128
|
|
|
@@ -106,7 +132,7 @@ class CreateThumbnailMetadata(google.protobuf.message.Message):
|
|
|
106
132
|
|
|
107
133
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
108
134
|
thumbnail_id: builtins.str
|
|
109
|
-
"""ID of the thumbnail."""
|
|
135
|
+
"""ID of the thumbnail being created."""
|
|
110
136
|
def __init__(
|
|
111
137
|
self,
|
|
112
138
|
*,
|
|
@@ -123,10 +149,10 @@ class BatchGenerateDownloadURLsRequest(google.protobuf.message.Message):
|
|
|
123
149
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
124
150
|
THUMBNAIL_IDS_FIELD_NUMBER: builtins.int
|
|
125
151
|
channel_id: builtins.str
|
|
126
|
-
"""ID of the channel."""
|
|
152
|
+
"""ID of the channel containing the thumbnails."""
|
|
127
153
|
@property
|
|
128
154
|
def thumbnail_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
129
|
-
"""List of
|
|
155
|
+
"""List of thumbnail IDs for which to generate download URLs."""
|
|
130
156
|
|
|
131
157
|
def __init__(
|
|
132
158
|
self,
|
|
@@ -145,7 +171,9 @@ class BatchGenerateDownloadURLsResponse(google.protobuf.message.Message):
|
|
|
145
171
|
DOWNLOAD_URLS_FIELD_NUMBER: builtins.int
|
|
146
172
|
@property
|
|
147
173
|
def download_urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ThumbnailDownloadURL]:
|
|
148
|
-
"""List of download
|
|
174
|
+
"""List of download URLs for the requested thumbnails.
|
|
175
|
+
Each entry contains URLs for both the original image and various scaled versions.
|
|
176
|
+
"""
|
|
149
177
|
|
|
150
178
|
def __init__(
|
|
151
179
|
self,
|
|
@@ -167,22 +195,38 @@ class ThumbnailDownloadURL(google.protobuf.message.Message):
|
|
|
167
195
|
class _ImageFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ThumbnailDownloadURL._ImageFormat.ValueType], builtins.type):
|
|
168
196
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
169
197
|
IMAGE_FORMAT_UNSPECIFIED: ThumbnailDownloadURL._ImageFormat.ValueType # 0
|
|
170
|
-
"""
|
|
198
|
+
"""The image format is not specified."""
|
|
171
199
|
JPEG: ThumbnailDownloadURL._ImageFormat.ValueType # 1
|
|
172
|
-
"""JPEG image format.
|
|
200
|
+
"""JPEG image format.
|
|
201
|
+
Provides good compression with some quality loss.
|
|
202
|
+
Widely supported across all platforms and browsers.
|
|
203
|
+
"""
|
|
173
204
|
WEBP: ThumbnailDownloadURL._ImageFormat.ValueType # 2
|
|
174
|
-
"""WebP image format.
|
|
205
|
+
"""WebP image format.
|
|
206
|
+
Provides better compression than JPEG with similar quality.
|
|
207
|
+
May not be supported on all platforms and older browsers.
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
class ImageFormat(_ImageFormat, metaclass=_ImageFormatEnumTypeWrapper):
|
|
211
|
+
"""Image format of a thumbnail."""
|
|
175
212
|
|
|
176
|
-
class ImageFormat(_ImageFormat, metaclass=_ImageFormatEnumTypeWrapper): ...
|
|
177
213
|
IMAGE_FORMAT_UNSPECIFIED: ThumbnailDownloadURL.ImageFormat.ValueType # 0
|
|
178
|
-
"""
|
|
214
|
+
"""The image format is not specified."""
|
|
179
215
|
JPEG: ThumbnailDownloadURL.ImageFormat.ValueType # 1
|
|
180
|
-
"""JPEG image format.
|
|
216
|
+
"""JPEG image format.
|
|
217
|
+
Provides good compression with some quality loss.
|
|
218
|
+
Widely supported across all platforms and browsers.
|
|
219
|
+
"""
|
|
181
220
|
WEBP: ThumbnailDownloadURL.ImageFormat.ValueType # 2
|
|
182
|
-
"""WebP image format.
|
|
221
|
+
"""WebP image format.
|
|
222
|
+
Provides better compression than JPEG with similar quality.
|
|
223
|
+
May not be supported on all platforms and older browsers.
|
|
224
|
+
"""
|
|
183
225
|
|
|
184
226
|
@typing.final
|
|
185
227
|
class ScaledURL(google.protobuf.message.Message):
|
|
228
|
+
"""Represents a URL for a specific scaled version of a thumbnail image."""
|
|
229
|
+
|
|
186
230
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
187
231
|
|
|
188
232
|
URL_FIELD_NUMBER: builtins.int
|
|
@@ -190,13 +234,19 @@ class ThumbnailDownloadURL(google.protobuf.message.Message):
|
|
|
190
234
|
MAX_HEIGHT_FIELD_NUMBER: builtins.int
|
|
191
235
|
IMAGE_FORMAT_FIELD_NUMBER: builtins.int
|
|
192
236
|
url: builtins.str
|
|
193
|
-
"""
|
|
237
|
+
"""URL for downloading this scaled version of the thumbnail."""
|
|
194
238
|
max_width: builtins.int
|
|
195
|
-
"""Maximum width
|
|
239
|
+
"""Maximum width in pixels of the scaled image.
|
|
240
|
+
The actual width may be smaller to maintain the aspect ratio.
|
|
241
|
+
"""
|
|
196
242
|
max_height: builtins.int
|
|
197
|
-
"""Maximum height
|
|
243
|
+
"""Maximum height in pixels of the scaled image.
|
|
244
|
+
The actual height may be smaller to maintain the aspect ratio.
|
|
245
|
+
"""
|
|
198
246
|
image_format: global___ThumbnailDownloadURL.ImageFormat.ValueType
|
|
199
|
-
"""
|
|
247
|
+
"""Format of the scaled image (JPEG, WebP, etc.).
|
|
248
|
+
Different formats offer different trade-offs between quality and file size.
|
|
249
|
+
"""
|
|
200
250
|
def __init__(
|
|
201
251
|
self,
|
|
202
252
|
*,
|
|
@@ -211,12 +261,16 @@ class ThumbnailDownloadURL(google.protobuf.message.Message):
|
|
|
211
261
|
ORIGINAL_URL_FIELD_NUMBER: builtins.int
|
|
212
262
|
SCALED_URLS_FIELD_NUMBER: builtins.int
|
|
213
263
|
thumbnail_id: builtins.str
|
|
214
|
-
"""ID of the thumbnail."""
|
|
264
|
+
"""ID of the thumbnail for which download URLs are provided."""
|
|
215
265
|
original_url: builtins.str
|
|
216
|
-
"""
|
|
266
|
+
"""URL for downloading the original, unmodified thumbnail image.
|
|
267
|
+
This provides access to the image at its original resolution and format.
|
|
268
|
+
"""
|
|
217
269
|
@property
|
|
218
270
|
def scaled_urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ThumbnailDownloadURL.ScaledURL]:
|
|
219
|
-
"""List of
|
|
271
|
+
"""List of URLs for downloading scaled versions of the thumbnail.
|
|
272
|
+
Different scaled versions are optimized for different display sizes and purposes.
|
|
273
|
+
"""
|
|
220
274
|
|
|
221
275
|
def __init__(
|
|
222
276
|
self,
|
|
@@ -235,7 +289,9 @@ class GenerateThumbnailUploadURLRequest(google.protobuf.message.Message):
|
|
|
235
289
|
|
|
236
290
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
237
291
|
thumbnail_id: builtins.str
|
|
238
|
-
"""ID of the thumbnail.
|
|
292
|
+
"""ID of the thumbnail for which to generate an upload URL.
|
|
293
|
+
The thumbnail record must already exist, typically created using the Create method.
|
|
294
|
+
"""
|
|
239
295
|
def __init__(
|
|
240
296
|
self,
|
|
241
297
|
*,
|
|
@@ -251,7 +307,10 @@ class GenerateThumbnailUploadURLResponse(google.protobuf.message.Message):
|
|
|
251
307
|
|
|
252
308
|
UPLOAD_URL_FIELD_NUMBER: builtins.int
|
|
253
309
|
upload_url: builtins.str
|
|
254
|
-
"""
|
|
310
|
+
"""Pre-signed URL for uploading the thumbnail image.
|
|
311
|
+
This URL can be used with an HTTP PUT request to upload the image file.
|
|
312
|
+
The URL has a limited validity period and will expire after a certain time.
|
|
313
|
+
"""
|
|
255
314
|
def __init__(
|
|
256
315
|
self,
|
|
257
316
|
*,
|
|
@@ -267,7 +326,7 @@ class DeleteThumbnailRequest(google.protobuf.message.Message):
|
|
|
267
326
|
|
|
268
327
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
269
328
|
thumbnail_id: builtins.str
|
|
270
|
-
"""ID of the thumbnail."""
|
|
329
|
+
"""ID of the thumbnail to delete."""
|
|
271
330
|
def __init__(
|
|
272
331
|
self,
|
|
273
332
|
*,
|
|
@@ -283,7 +342,9 @@ class DeleteThumbnailMetadata(google.protobuf.message.Message):
|
|
|
283
342
|
|
|
284
343
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
285
344
|
thumbnail_id: builtins.str
|
|
286
|
-
"""ID of the thumbnail.
|
|
345
|
+
"""ID of the thumbnail being deleted.
|
|
346
|
+
This identifier can be used to track the thumbnail deletion operation.
|
|
347
|
+
"""
|
|
287
348
|
def __init__(
|
|
288
349
|
self,
|
|
289
350
|
*,
|
|
@@ -29,6 +29,8 @@ if _version_not_supported:
|
|
|
29
29
|
|
|
30
30
|
class ThumbnailServiceStub(object):
|
|
31
31
|
"""Thumbnail management service.
|
|
32
|
+
Provides methods for creating, retrieving, and managing thumbnail images
|
|
33
|
+
that can be associated with various resources such as videos, streams, episodes, and channels.
|
|
32
34
|
"""
|
|
33
35
|
|
|
34
36
|
def __init__(self, channel):
|
|
@@ -71,45 +73,56 @@ class ThumbnailServiceStub(object):
|
|
|
71
73
|
|
|
72
74
|
class ThumbnailServiceServicer(object):
|
|
73
75
|
"""Thumbnail management service.
|
|
76
|
+
Provides methods for creating, retrieving, and managing thumbnail images
|
|
77
|
+
that can be associated with various resources such as videos, streams, episodes, and channels.
|
|
74
78
|
"""
|
|
75
79
|
|
|
76
80
|
def Get(self, request, context):
|
|
77
|
-
"""
|
|
81
|
+
"""Retrieves detailed information about a specific thumbnail by its ID.
|
|
82
|
+
Returns all thumbnail metadata and related information.
|
|
78
83
|
"""
|
|
79
84
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
85
|
context.set_details('Method not implemented!')
|
|
81
86
|
raise NotImplementedError('Method not implemented!')
|
|
82
87
|
|
|
83
88
|
def List(self, request, context):
|
|
84
|
-
"""
|
|
89
|
+
"""Lists all thumbnails associated with a specific resource (channel, stream, video, etc.)
|
|
90
|
+
with pagination support.
|
|
85
91
|
"""
|
|
86
92
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
93
|
context.set_details('Method not implemented!')
|
|
88
94
|
raise NotImplementedError('Method not implemented!')
|
|
89
95
|
|
|
90
96
|
def Create(self, request, context):
|
|
91
|
-
"""
|
|
97
|
+
"""Creates a new thumbnail record for a specific resource.
|
|
98
|
+
This method only creates the metadata record; the actual image must be uploaded
|
|
99
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
92
100
|
"""
|
|
93
101
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
102
|
context.set_details('Method not implemented!')
|
|
95
103
|
raise NotImplementedError('Method not implemented!')
|
|
96
104
|
|
|
97
105
|
def BatchGenerateDownloadURLs(self, request, context):
|
|
98
|
-
"""
|
|
106
|
+
"""Generates download URLs for multiple thumbnails in a single request.
|
|
107
|
+
The response includes URLs for both original and scaled versions of each thumbnail.
|
|
108
|
+
This is useful for efficiently retrieving multiple thumbnails at once.
|
|
99
109
|
"""
|
|
100
110
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
111
|
context.set_details('Method not implemented!')
|
|
102
112
|
raise NotImplementedError('Method not implemented!')
|
|
103
113
|
|
|
104
114
|
def GenerateUploadURL(self, request, context):
|
|
105
|
-
"""
|
|
115
|
+
"""Generates a URL for uploading an image to an existing thumbnail record.
|
|
116
|
+
This URL can be used to upload the actual image file using an HTTP PUT request.
|
|
117
|
+
The URL is pre-signed and has a limited validity period.
|
|
106
118
|
"""
|
|
107
119
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
120
|
context.set_details('Method not implemented!')
|
|
109
121
|
raise NotImplementedError('Method not implemented!')
|
|
110
122
|
|
|
111
123
|
def Delete(self, request, context):
|
|
112
|
-
"""
|
|
124
|
+
"""Deletes a specific thumbnail by its ID.
|
|
125
|
+
This removes both the metadata record and the associated image file.
|
|
113
126
|
"""
|
|
114
127
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
115
128
|
context.set_details('Method not implemented!')
|
|
@@ -158,6 +171,8 @@ def add_ThumbnailServiceServicer_to_server(servicer, server):
|
|
|
158
171
|
# This class is part of an EXPERIMENTAL API.
|
|
159
172
|
class ThumbnailService(object):
|
|
160
173
|
"""Thumbnail management service.
|
|
174
|
+
Provides methods for creating, retrieving, and managing thumbnail images
|
|
175
|
+
that can be associated with various resources such as videos, streams, episodes, and channels.
|
|
161
176
|
"""
|
|
162
177
|
|
|
163
178
|
@staticmethod
|
|
@@ -20,86 +20,125 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class ThumbnailServiceStub:
|
|
23
|
-
"""Thumbnail management service.
|
|
23
|
+
"""Thumbnail management service.
|
|
24
|
+
Provides methods for creating, retrieving, and managing thumbnail images
|
|
25
|
+
that can be associated with various resources such as videos, streams, episodes, and channels.
|
|
26
|
+
"""
|
|
24
27
|
|
|
25
28
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
29
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
30
|
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
28
31
|
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
29
32
|
]
|
|
30
|
-
"""
|
|
33
|
+
"""Retrieves detailed information about a specific thumbnail by its ID.
|
|
34
|
+
Returns all thumbnail metadata and related information.
|
|
35
|
+
"""
|
|
31
36
|
|
|
32
37
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
38
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
34
39
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailResponse,
|
|
35
40
|
]
|
|
36
|
-
"""
|
|
41
|
+
"""Lists all thumbnails associated with a specific resource (channel, stream, video, etc.)
|
|
42
|
+
with pagination support.
|
|
43
|
+
"""
|
|
37
44
|
|
|
38
45
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
39
46
|
yandex.cloud.video.v1.thumbnail_service_pb2.CreateThumbnailRequest,
|
|
40
47
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
41
48
|
]
|
|
42
|
-
"""
|
|
49
|
+
"""Creates a new thumbnail record for a specific resource.
|
|
50
|
+
This method only creates the metadata record; the actual image must be uploaded
|
|
51
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
52
|
+
"""
|
|
43
53
|
|
|
44
54
|
BatchGenerateDownloadURLs: grpc.UnaryUnaryMultiCallable[
|
|
45
55
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
46
56
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse,
|
|
47
57
|
]
|
|
48
|
-
"""
|
|
58
|
+
"""Generates download URLs for multiple thumbnails in a single request.
|
|
59
|
+
The response includes URLs for both original and scaled versions of each thumbnail.
|
|
60
|
+
This is useful for efficiently retrieving multiple thumbnails at once.
|
|
61
|
+
"""
|
|
49
62
|
|
|
50
63
|
GenerateUploadURL: grpc.UnaryUnaryMultiCallable[
|
|
51
64
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
52
65
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse,
|
|
53
66
|
]
|
|
54
|
-
"""
|
|
67
|
+
"""Generates a URL for uploading an image to an existing thumbnail record.
|
|
68
|
+
This URL can be used to upload the actual image file using an HTTP PUT request.
|
|
69
|
+
The URL is pre-signed and has a limited validity period.
|
|
70
|
+
"""
|
|
55
71
|
|
|
56
72
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
57
73
|
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
58
74
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
75
|
]
|
|
60
|
-
"""
|
|
76
|
+
"""Deletes a specific thumbnail by its ID.
|
|
77
|
+
This removes both the metadata record and the associated image file.
|
|
78
|
+
"""
|
|
61
79
|
|
|
62
80
|
class ThumbnailServiceAsyncStub:
|
|
63
|
-
"""Thumbnail management service.
|
|
81
|
+
"""Thumbnail management service.
|
|
82
|
+
Provides methods for creating, retrieving, and managing thumbnail images
|
|
83
|
+
that can be associated with various resources such as videos, streams, episodes, and channels.
|
|
84
|
+
"""
|
|
64
85
|
|
|
65
86
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
66
87
|
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
67
88
|
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
68
89
|
]
|
|
69
|
-
"""
|
|
90
|
+
"""Retrieves detailed information about a specific thumbnail by its ID.
|
|
91
|
+
Returns all thumbnail metadata and related information.
|
|
92
|
+
"""
|
|
70
93
|
|
|
71
94
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
95
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
73
96
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailResponse,
|
|
74
97
|
]
|
|
75
|
-
"""
|
|
98
|
+
"""Lists all thumbnails associated with a specific resource (channel, stream, video, etc.)
|
|
99
|
+
with pagination support.
|
|
100
|
+
"""
|
|
76
101
|
|
|
77
102
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
78
103
|
yandex.cloud.video.v1.thumbnail_service_pb2.CreateThumbnailRequest,
|
|
79
104
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
80
105
|
]
|
|
81
|
-
"""
|
|
106
|
+
"""Creates a new thumbnail record for a specific resource.
|
|
107
|
+
This method only creates the metadata record; the actual image must be uploaded
|
|
108
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
109
|
+
"""
|
|
82
110
|
|
|
83
111
|
BatchGenerateDownloadURLs: grpc.aio.UnaryUnaryMultiCallable[
|
|
84
112
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
85
113
|
yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse,
|
|
86
114
|
]
|
|
87
|
-
"""
|
|
115
|
+
"""Generates download URLs for multiple thumbnails in a single request.
|
|
116
|
+
The response includes URLs for both original and scaled versions of each thumbnail.
|
|
117
|
+
This is useful for efficiently retrieving multiple thumbnails at once.
|
|
118
|
+
"""
|
|
88
119
|
|
|
89
120
|
GenerateUploadURL: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
121
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
91
122
|
yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse,
|
|
92
123
|
]
|
|
93
|
-
"""
|
|
124
|
+
"""Generates a URL for uploading an image to an existing thumbnail record.
|
|
125
|
+
This URL can be used to upload the actual image file using an HTTP PUT request.
|
|
126
|
+
The URL is pre-signed and has a limited validity period.
|
|
127
|
+
"""
|
|
94
128
|
|
|
95
129
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
130
|
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
97
131
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
98
132
|
]
|
|
99
|
-
"""
|
|
133
|
+
"""Deletes a specific thumbnail by its ID.
|
|
134
|
+
This removes both the metadata record and the associated image file.
|
|
135
|
+
"""
|
|
100
136
|
|
|
101
137
|
class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
102
|
-
"""Thumbnail management service.
|
|
138
|
+
"""Thumbnail management service.
|
|
139
|
+
Provides methods for creating, retrieving, and managing thumbnail images
|
|
140
|
+
that can be associated with various resources such as videos, streams, episodes, and channels.
|
|
141
|
+
"""
|
|
103
142
|
|
|
104
143
|
@abc.abstractmethod
|
|
105
144
|
def Get(
|
|
@@ -107,7 +146,9 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
107
146
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
108
147
|
context: _ServicerContext,
|
|
109
148
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail]]:
|
|
110
|
-
"""
|
|
149
|
+
"""Retrieves detailed information about a specific thumbnail by its ID.
|
|
150
|
+
Returns all thumbnail metadata and related information.
|
|
151
|
+
"""
|
|
111
152
|
|
|
112
153
|
@abc.abstractmethod
|
|
113
154
|
def List(
|
|
@@ -115,7 +156,9 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
115
156
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
116
157
|
context: _ServicerContext,
|
|
117
158
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailResponse]]:
|
|
118
|
-
"""
|
|
159
|
+
"""Lists all thumbnails associated with a specific resource (channel, stream, video, etc.)
|
|
160
|
+
with pagination support.
|
|
161
|
+
"""
|
|
119
162
|
|
|
120
163
|
@abc.abstractmethod
|
|
121
164
|
def Create(
|
|
@@ -123,7 +166,10 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
123
166
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.CreateThumbnailRequest,
|
|
124
167
|
context: _ServicerContext,
|
|
125
168
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
126
|
-
"""
|
|
169
|
+
"""Creates a new thumbnail record for a specific resource.
|
|
170
|
+
This method only creates the metadata record; the actual image must be uploaded
|
|
171
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
172
|
+
"""
|
|
127
173
|
|
|
128
174
|
@abc.abstractmethod
|
|
129
175
|
def BatchGenerateDownloadURLs(
|
|
@@ -131,7 +177,10 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
131
177
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsRequest,
|
|
132
178
|
context: _ServicerContext,
|
|
133
179
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.BatchGenerateDownloadURLsResponse]]:
|
|
134
|
-
"""
|
|
180
|
+
"""Generates download URLs for multiple thumbnails in a single request.
|
|
181
|
+
The response includes URLs for both original and scaled versions of each thumbnail.
|
|
182
|
+
This is useful for efficiently retrieving multiple thumbnails at once.
|
|
183
|
+
"""
|
|
135
184
|
|
|
136
185
|
@abc.abstractmethod
|
|
137
186
|
def GenerateUploadURL(
|
|
@@ -139,7 +188,10 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
139
188
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLRequest,
|
|
140
189
|
context: _ServicerContext,
|
|
141
190
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse]]:
|
|
142
|
-
"""
|
|
191
|
+
"""Generates a URL for uploading an image to an existing thumbnail record.
|
|
192
|
+
This URL can be used to upload the actual image file using an HTTP PUT request.
|
|
193
|
+
The URL is pre-signed and has a limited validity period.
|
|
194
|
+
"""
|
|
143
195
|
|
|
144
196
|
@abc.abstractmethod
|
|
145
197
|
def Delete(
|
|
@@ -147,6 +199,8 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
147
199
|
request: yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
148
200
|
context: _ServicerContext,
|
|
149
201
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
150
|
-
"""
|
|
202
|
+
"""Deletes a specific thumbnail by its ID.
|
|
203
|
+
This removes both the metadata record and the associated image file.
|
|
204
|
+
"""
|
|
151
205
|
|
|
152
206
|
def add_ThumbnailServiceServicer_to_server(servicer: ThumbnailServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -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\"\xc9\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\x17\n\x0fstyle_preset_id\x18\x10 \x01(\t\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\x04\x08\n\x10\x0bJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x06\x08\xd2\x0f\x10\xd3\x0fJ\x04\x08\x07\x10\x08J\x04\x08\x0e\x10\x10J\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,28 +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=1904
|
|
41
|
+
_globals['_AUTOTRANSCODE']._serialized_end=1976
|
|
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['_VIDEOSIGNURLACCESSRIGHTS']._serialized_start=
|
|
55
|
-
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_end=
|
|
56
|
-
_globals['_VIDEOFEATURES']._serialized_start=
|
|
57
|
-
_globals['_VIDEOFEATURES']._serialized_end=
|
|
58
|
-
_globals['_VIDEOFEATURES_SUMMARY']._serialized_start=
|
|
59
|
-
_globals['_VIDEOFEATURES_SUMMARY']._serialized_end=
|
|
60
|
-
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_start=
|
|
61
|
-
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_end=
|
|
62
|
-
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_start=
|
|
63
|
-
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_end=
|
|
43
|
+
_globals['_VIDEO']._serialized_end=1383
|
|
44
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_start=1032
|
|
45
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_end=1077
|
|
46
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=1079
|
|
47
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=1206
|
|
48
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=1208
|
|
49
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=1293
|
|
50
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_start=1385
|
|
51
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_end=1434
|
|
52
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=1436
|
|
53
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=1461
|
|
54
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_start=1463
|
|
55
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_end=1489
|
|
56
|
+
_globals['_VIDEOFEATURES']._serialized_start=1492
|
|
57
|
+
_globals['_VIDEOFEATURES']._serialized_end=1902
|
|
58
|
+
_globals['_VIDEOFEATURES_SUMMARY']._serialized_start=1573
|
|
59
|
+
_globals['_VIDEOFEATURES_SUMMARY']._serialized_end=1793
|
|
60
|
+
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_start=1723
|
|
61
|
+
_globals['_VIDEOFEATURES_SUMMARY_SUMMARYURL']._serialized_end=1787
|
|
62
|
+
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_start=1795
|
|
63
|
+
_globals['_VIDEOFEATURES_FEATURERESULT']._serialized_end=1902
|
|
64
64
|
# @@protoc_insertion_point(module_scope)
|