yandexcloud 0.350.0__py3-none-any.whl → 0.352.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +23 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +80 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +86 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +34 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -26
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +15 -15
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +25 -25
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +16 -16
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +132 -132
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -23
- yandex/cloud/metastore/v1/cluster_pb2.pyi +40 -63
- yandex/cloud/metastore/v1/cluster_service_pb2.py +54 -60
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +92 -125
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -26
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +26 -17
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +197 -102
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +157 -145
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/top_level.txt +0 -0
|
@@ -19,7 +19,7 @@ class GetSubtitleRequest(google.protobuf.message.Message):
|
|
|
19
19
|
|
|
20
20
|
SUBTITLE_ID_FIELD_NUMBER: builtins.int
|
|
21
21
|
subtitle_id: builtins.str
|
|
22
|
-
"""ID of the subtitle."""
|
|
22
|
+
"""ID of the subtitle to retrieve."""
|
|
23
23
|
def __init__(
|
|
24
24
|
self,
|
|
25
25
|
*,
|
|
@@ -37,13 +37,13 @@ class ListSubtitlesRequest(google.protobuf.message.Message):
|
|
|
37
37
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
38
38
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
39
39
|
page_size: builtins.int
|
|
40
|
-
"""The maximum number of
|
|
41
|
-
Default value: 100.
|
|
42
|
-
"""
|
|
40
|
+
"""The maximum number of subtitles to return per page."""
|
|
43
41
|
page_token: builtins.str
|
|
44
|
-
"""Page token for
|
|
42
|
+
"""Page token for retrieving the next page of results.
|
|
43
|
+
This token is obtained from the next_page_token field in the previous ListSubtitlesResponse.
|
|
44
|
+
"""
|
|
45
45
|
video_id: builtins.str
|
|
46
|
-
"""ID of the video."""
|
|
46
|
+
"""ID of the video containing the subtitles to list."""
|
|
47
47
|
def __init__(
|
|
48
48
|
self,
|
|
49
49
|
*,
|
|
@@ -64,9 +64,15 @@ class ListSubtitlesResponse(google.protobuf.message.Message):
|
|
|
64
64
|
SUBTITLES_FIELD_NUMBER: builtins.int
|
|
65
65
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
66
66
|
next_page_token: builtins.str
|
|
67
|
-
"""Token for
|
|
67
|
+
"""Token for retrieving the next page of results.
|
|
68
|
+
Empty if there are no more results available.
|
|
69
|
+
"""
|
|
68
70
|
@property
|
|
69
|
-
def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.subtitle_pb2.Subtitle]:
|
|
71
|
+
def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.subtitle_pb2.Subtitle]:
|
|
72
|
+
"""List of subtitles matching the request criteria.
|
|
73
|
+
May be empty if no subtitles match the criteria or if the video has no subtitles.
|
|
74
|
+
"""
|
|
75
|
+
|
|
70
76
|
def __init__(
|
|
71
77
|
self,
|
|
72
78
|
*,
|
|
@@ -86,10 +92,7 @@ class CreateSubtitleRequest(google.protobuf.message.Message):
|
|
|
86
92
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
87
93
|
UPLOAD_FIELD_NUMBER: builtins.int
|
|
88
94
|
language: builtins.str
|
|
89
|
-
"""Subtitle language
|
|
90
|
-
* three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
|
|
91
|
-
* two-letter code according to ISO 639-1
|
|
92
|
-
"""
|
|
95
|
+
"""Subtitle language represented as a three-letter code according to ISO 639-2/T."""
|
|
93
96
|
label: builtins.str
|
|
94
97
|
"""Contains the subtitle label (or title) that will be displayed on screen during video playback.
|
|
95
98
|
Should provide a concise and accurate representation of the spoken content.
|
|
@@ -124,6 +127,7 @@ class SubtitleUploadParams(google.protobuf.message.Message):
|
|
|
124
127
|
|
|
125
128
|
FILENAME_FIELD_NUMBER: builtins.int
|
|
126
129
|
filename: builtins.str
|
|
130
|
+
"""Original filename of the subtitle file being uploaded."""
|
|
127
131
|
def __init__(
|
|
128
132
|
self,
|
|
129
133
|
*,
|
|
@@ -139,7 +143,7 @@ class CreateSubtitleMetadata(google.protobuf.message.Message):
|
|
|
139
143
|
|
|
140
144
|
SUBTITLE_ID_FIELD_NUMBER: builtins.int
|
|
141
145
|
subtitle_id: builtins.str
|
|
142
|
-
"""ID of the subtitle."""
|
|
146
|
+
"""ID of the subtitle being created."""
|
|
143
147
|
def __init__(
|
|
144
148
|
self,
|
|
145
149
|
*,
|
|
@@ -155,7 +159,7 @@ class GenerateSubtitleUploadURLRequest(google.protobuf.message.Message):
|
|
|
155
159
|
|
|
156
160
|
SUBTITLE_ID_FIELD_NUMBER: builtins.int
|
|
157
161
|
subtitle_id: builtins.str
|
|
158
|
-
"""ID of the subtitle."""
|
|
162
|
+
"""ID of the subtitle for which to generate an upload URL."""
|
|
159
163
|
def __init__(
|
|
160
164
|
self,
|
|
161
165
|
*,
|
|
@@ -171,7 +175,10 @@ class GenerateSubtitleUploadURLResponse(google.protobuf.message.Message):
|
|
|
171
175
|
|
|
172
176
|
UPLOAD_URL_FIELD_NUMBER: builtins.int
|
|
173
177
|
upload_url: builtins.str
|
|
174
|
-
"""
|
|
178
|
+
"""Pre-signed URL for uploading the subtitle file.
|
|
179
|
+
This URL can be used with an HTTP PUT request to upload the subtitle file.
|
|
180
|
+
The URL has a limited validity period and will expire after a certain time.
|
|
181
|
+
"""
|
|
175
182
|
def __init__(
|
|
176
183
|
self,
|
|
177
184
|
*,
|
|
@@ -187,7 +194,7 @@ class DeleteSubtitleRequest(google.protobuf.message.Message):
|
|
|
187
194
|
|
|
188
195
|
SUBTITLE_ID_FIELD_NUMBER: builtins.int
|
|
189
196
|
subtitle_id: builtins.str
|
|
190
|
-
"""ID of the subtitle."""
|
|
197
|
+
"""ID of the subtitle to delete."""
|
|
191
198
|
def __init__(
|
|
192
199
|
self,
|
|
193
200
|
*,
|
|
@@ -203,7 +210,9 @@ class DeleteSubtitleMetadata(google.protobuf.message.Message):
|
|
|
203
210
|
|
|
204
211
|
SUBTITLE_ID_FIELD_NUMBER: builtins.int
|
|
205
212
|
subtitle_id: builtins.str
|
|
206
|
-
"""ID of the subtitle.
|
|
213
|
+
"""ID of the subtitle being deleted.
|
|
214
|
+
This identifier can be used to track the subtitle deletion operation.
|
|
215
|
+
"""
|
|
207
216
|
def __init__(
|
|
208
217
|
self,
|
|
209
218
|
*,
|
|
@@ -29,6 +29,8 @@ if _version_not_supported:
|
|
|
29
29
|
|
|
30
30
|
class SubtitleServiceStub(object):
|
|
31
31
|
"""Subtitle management service.
|
|
32
|
+
Provides methods for creating, retrieving, updating, and deleting subtitles,
|
|
33
|
+
which provide text translations or transcriptions of video content in various languages.
|
|
32
34
|
"""
|
|
33
35
|
|
|
34
36
|
def __init__(self, channel):
|
|
@@ -66,38 +68,47 @@ class SubtitleServiceStub(object):
|
|
|
66
68
|
|
|
67
69
|
class SubtitleServiceServicer(object):
|
|
68
70
|
"""Subtitle management service.
|
|
71
|
+
Provides methods for creating, retrieving, updating, and deleting subtitles,
|
|
72
|
+
which provide text translations or transcriptions of video content in various languages.
|
|
69
73
|
"""
|
|
70
74
|
|
|
71
75
|
def Get(self, request, context):
|
|
72
|
-
"""
|
|
76
|
+
"""Retrieves detailed information about a specific subtitle by its ID.
|
|
77
|
+
Returns all subtitle metadata and related information.
|
|
73
78
|
"""
|
|
74
79
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
75
80
|
context.set_details('Method not implemented!')
|
|
76
81
|
raise NotImplementedError('Method not implemented!')
|
|
77
82
|
|
|
78
83
|
def List(self, request, context):
|
|
79
|
-
"""
|
|
84
|
+
"""Lists all subtitles associated with a specific video with pagination support.
|
|
85
|
+
Results can be filtered and sorted using the provided parameters.
|
|
80
86
|
"""
|
|
81
87
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
82
88
|
context.set_details('Method not implemented!')
|
|
83
89
|
raise NotImplementedError('Method not implemented!')
|
|
84
90
|
|
|
85
91
|
def Create(self, request, context):
|
|
86
|
-
"""
|
|
92
|
+
"""Creates a new subtitle record for a specific video.
|
|
93
|
+
This method only creates the metadata record; the actual subtitle file must be uploaded
|
|
94
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
87
95
|
"""
|
|
88
96
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
97
|
context.set_details('Method not implemented!')
|
|
90
98
|
raise NotImplementedError('Method not implemented!')
|
|
91
99
|
|
|
92
100
|
def GenerateUploadURL(self, request, context):
|
|
93
|
-
"""
|
|
101
|
+
"""Generates a URL for uploading a subtitle file to an existing subtitle record.
|
|
102
|
+
This URL can be used to upload the actual subtitle file using an HTTP PUT request.
|
|
103
|
+
The URL is pre-signed and has a limited validity period.
|
|
94
104
|
"""
|
|
95
105
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
106
|
context.set_details('Method not implemented!')
|
|
97
107
|
raise NotImplementedError('Method not implemented!')
|
|
98
108
|
|
|
99
109
|
def Delete(self, request, context):
|
|
100
|
-
"""
|
|
110
|
+
"""Deletes a specific subtitle by its ID.
|
|
111
|
+
This removes both the metadata record and the associated subtitle file.
|
|
101
112
|
"""
|
|
102
113
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
103
114
|
context.set_details('Method not implemented!')
|
|
@@ -141,6 +152,8 @@ def add_SubtitleServiceServicer_to_server(servicer, server):
|
|
|
141
152
|
# This class is part of an EXPERIMENTAL API.
|
|
142
153
|
class SubtitleService(object):
|
|
143
154
|
"""Subtitle management service.
|
|
155
|
+
Provides methods for creating, retrieving, updating, and deleting subtitles,
|
|
156
|
+
which provide text translations or transcriptions of video content in various languages.
|
|
144
157
|
"""
|
|
145
158
|
|
|
146
159
|
@staticmethod
|
|
@@ -20,74 +20,107 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class SubtitleServiceStub:
|
|
23
|
-
"""Subtitle management service.
|
|
23
|
+
"""Subtitle management service.
|
|
24
|
+
Provides methods for creating, retrieving, updating, and deleting subtitles,
|
|
25
|
+
which provide text translations or transcriptions of video content in various languages.
|
|
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.subtitle_service_pb2.GetSubtitleRequest,
|
|
28
31
|
yandex.cloud.video.v1.subtitle_pb2.Subtitle,
|
|
29
32
|
]
|
|
30
|
-
"""
|
|
33
|
+
"""Retrieves detailed information about a specific subtitle by its ID.
|
|
34
|
+
Returns all subtitle metadata and related information.
|
|
35
|
+
"""
|
|
31
36
|
|
|
32
37
|
List: grpc.UnaryUnaryMultiCallable[
|
|
33
38
|
yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
|
|
34
39
|
yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse,
|
|
35
40
|
]
|
|
36
|
-
"""
|
|
41
|
+
"""Lists all subtitles associated with a specific video with pagination support.
|
|
42
|
+
Results can be filtered and sorted using the provided parameters.
|
|
43
|
+
"""
|
|
37
44
|
|
|
38
45
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
39
46
|
yandex.cloud.video.v1.subtitle_service_pb2.CreateSubtitleRequest,
|
|
40
47
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
41
48
|
]
|
|
42
|
-
"""
|
|
49
|
+
"""Creates a new subtitle record for a specific video.
|
|
50
|
+
This method only creates the metadata record; the actual subtitle file must be uploaded
|
|
51
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
52
|
+
"""
|
|
43
53
|
|
|
44
54
|
GenerateUploadURL: grpc.UnaryUnaryMultiCallable[
|
|
45
55
|
yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLRequest,
|
|
46
56
|
yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse,
|
|
47
57
|
]
|
|
48
|
-
"""
|
|
58
|
+
"""Generates a URL for uploading a subtitle file to an existing subtitle record.
|
|
59
|
+
This URL can be used to upload the actual subtitle file using an HTTP PUT request.
|
|
60
|
+
The URL is pre-signed and has a limited validity period.
|
|
61
|
+
"""
|
|
49
62
|
|
|
50
63
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
51
64
|
yandex.cloud.video.v1.subtitle_service_pb2.DeleteSubtitleRequest,
|
|
52
65
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
66
|
]
|
|
54
|
-
"""
|
|
67
|
+
"""Deletes a specific subtitle by its ID.
|
|
68
|
+
This removes both the metadata record and the associated subtitle file.
|
|
69
|
+
"""
|
|
55
70
|
|
|
56
71
|
class SubtitleServiceAsyncStub:
|
|
57
|
-
"""Subtitle management service.
|
|
72
|
+
"""Subtitle management service.
|
|
73
|
+
Provides methods for creating, retrieving, updating, and deleting subtitles,
|
|
74
|
+
which provide text translations or transcriptions of video content in various languages.
|
|
75
|
+
"""
|
|
58
76
|
|
|
59
77
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
60
78
|
yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
|
|
61
79
|
yandex.cloud.video.v1.subtitle_pb2.Subtitle,
|
|
62
80
|
]
|
|
63
|
-
"""
|
|
81
|
+
"""Retrieves detailed information about a specific subtitle by its ID.
|
|
82
|
+
Returns all subtitle metadata and related information.
|
|
83
|
+
"""
|
|
64
84
|
|
|
65
85
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
66
86
|
yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
|
|
67
87
|
yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse,
|
|
68
88
|
]
|
|
69
|
-
"""
|
|
89
|
+
"""Lists all subtitles associated with a specific video with pagination support.
|
|
90
|
+
Results can be filtered and sorted using the provided parameters.
|
|
91
|
+
"""
|
|
70
92
|
|
|
71
93
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
94
|
yandex.cloud.video.v1.subtitle_service_pb2.CreateSubtitleRequest,
|
|
73
95
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
74
96
|
]
|
|
75
|
-
"""
|
|
97
|
+
"""Creates a new subtitle record for a specific video.
|
|
98
|
+
This method only creates the metadata record; the actual subtitle file must be uploaded
|
|
99
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
100
|
+
"""
|
|
76
101
|
|
|
77
102
|
GenerateUploadURL: grpc.aio.UnaryUnaryMultiCallable[
|
|
78
103
|
yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLRequest,
|
|
79
104
|
yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse,
|
|
80
105
|
]
|
|
81
|
-
"""
|
|
106
|
+
"""Generates a URL for uploading a subtitle file to an existing subtitle record.
|
|
107
|
+
This URL can be used to upload the actual subtitle file using an HTTP PUT request.
|
|
108
|
+
The URL is pre-signed and has a limited validity period.
|
|
109
|
+
"""
|
|
82
110
|
|
|
83
111
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
84
112
|
yandex.cloud.video.v1.subtitle_service_pb2.DeleteSubtitleRequest,
|
|
85
113
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
86
114
|
]
|
|
87
|
-
"""
|
|
115
|
+
"""Deletes a specific subtitle by its ID.
|
|
116
|
+
This removes both the metadata record and the associated subtitle file.
|
|
117
|
+
"""
|
|
88
118
|
|
|
89
119
|
class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
90
|
-
"""Subtitle management service.
|
|
120
|
+
"""Subtitle management service.
|
|
121
|
+
Provides methods for creating, retrieving, updating, and deleting subtitles,
|
|
122
|
+
which provide text translations or transcriptions of video content in various languages.
|
|
123
|
+
"""
|
|
91
124
|
|
|
92
125
|
@abc.abstractmethod
|
|
93
126
|
def Get(
|
|
@@ -95,7 +128,9 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
|
95
128
|
request: yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
|
|
96
129
|
context: _ServicerContext,
|
|
97
130
|
) -> typing.Union[yandex.cloud.video.v1.subtitle_pb2.Subtitle, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_pb2.Subtitle]]:
|
|
98
|
-
"""
|
|
131
|
+
"""Retrieves detailed information about a specific subtitle by its ID.
|
|
132
|
+
Returns all subtitle metadata and related information.
|
|
133
|
+
"""
|
|
99
134
|
|
|
100
135
|
@abc.abstractmethod
|
|
101
136
|
def List(
|
|
@@ -103,7 +138,9 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
|
103
138
|
request: yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
|
|
104
139
|
context: _ServicerContext,
|
|
105
140
|
) -> typing.Union[yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse]]:
|
|
106
|
-
"""
|
|
141
|
+
"""Lists all subtitles associated with a specific video with pagination support.
|
|
142
|
+
Results can be filtered and sorted using the provided parameters.
|
|
143
|
+
"""
|
|
107
144
|
|
|
108
145
|
@abc.abstractmethod
|
|
109
146
|
def Create(
|
|
@@ -111,7 +148,10 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
|
111
148
|
request: yandex.cloud.video.v1.subtitle_service_pb2.CreateSubtitleRequest,
|
|
112
149
|
context: _ServicerContext,
|
|
113
150
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
114
|
-
"""
|
|
151
|
+
"""Creates a new subtitle record for a specific video.
|
|
152
|
+
This method only creates the metadata record; the actual subtitle file must be uploaded
|
|
153
|
+
using the URL obtained from the GenerateUploadURL method.
|
|
154
|
+
"""
|
|
115
155
|
|
|
116
156
|
@abc.abstractmethod
|
|
117
157
|
def GenerateUploadURL(
|
|
@@ -119,7 +159,10 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
|
119
159
|
request: yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLRequest,
|
|
120
160
|
context: _ServicerContext,
|
|
121
161
|
) -> typing.Union[yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse]]:
|
|
122
|
-
"""
|
|
162
|
+
"""Generates a URL for uploading a subtitle file to an existing subtitle record.
|
|
163
|
+
This URL can be used to upload the actual subtitle file using an HTTP PUT request.
|
|
164
|
+
The URL is pre-signed and has a limited validity period.
|
|
165
|
+
"""
|
|
123
166
|
|
|
124
167
|
@abc.abstractmethod
|
|
125
168
|
def Delete(
|
|
@@ -127,6 +170,8 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
|
|
|
127
170
|
request: yandex.cloud.video.v1.subtitle_service_pb2.DeleteSubtitleRequest,
|
|
128
171
|
context: _ServicerContext,
|
|
129
172
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
130
|
-
"""
|
|
173
|
+
"""Deletes a specific subtitle by its ID.
|
|
174
|
+
This removes both the metadata record and the associated subtitle file.
|
|
175
|
+
"""
|
|
131
176
|
|
|
132
177
|
def add_SubtitleServiceServicer_to_server(servicer: SubtitleServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/video/v1/thumbnail.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/video/v1/thumbnail.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x01\n\tThumbnail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x15\n\nepisode_id\x18\xeb\x07 \x01(\tH\x00\x12\x13\n\x08video_id\x18\xec\x07 \x01(\tH\x00\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0b\n\tparent_idJ\x04\x08\x03\x10\x64J\x05\x08\x65\x10\xeb\x07\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,6 +33,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.thumb
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
36
|
-
_globals['_THUMBNAIL']._serialized_start=
|
|
37
|
-
_globals['_THUMBNAIL']._serialized_end=
|
|
36
|
+
_globals['_THUMBNAIL']._serialized_start=98
|
|
37
|
+
_globals['_THUMBNAIL']._serialized_end=259
|
|
38
38
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,27 +13,40 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
13
13
|
|
|
14
14
|
@typing.final
|
|
15
15
|
class Thumbnail(google.protobuf.message.Message):
|
|
16
|
+
"""Entity representing an image used as a visual representation for various content entities.
|
|
17
|
+
Thumbnails provide preview images for channels, streams, episodes, videos, and stream lines.
|
|
18
|
+
"""
|
|
19
|
+
|
|
16
20
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17
21
|
|
|
18
22
|
ID_FIELD_NUMBER: builtins.int
|
|
19
23
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
24
|
+
EPISODE_ID_FIELD_NUMBER: builtins.int
|
|
25
|
+
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
20
26
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
21
27
|
id: builtins.str
|
|
22
|
-
"""
|
|
28
|
+
"""Unique identifier of the thumbnail."""
|
|
23
29
|
channel_id: builtins.str
|
|
24
|
-
"""
|
|
30
|
+
"""Identifier of the channel where the thumbnail is created and managed."""
|
|
31
|
+
episode_id: builtins.str
|
|
32
|
+
"""ID of the episode which the thumbnail is associated with."""
|
|
33
|
+
video_id: builtins.str
|
|
34
|
+
"""ID of the video which the thumbnail is associated with."""
|
|
25
35
|
@property
|
|
26
36
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
27
|
-
"""
|
|
37
|
+
"""Timestamp when the thumbnail was initially created in the system."""
|
|
28
38
|
|
|
29
39
|
def __init__(
|
|
30
40
|
self,
|
|
31
41
|
*,
|
|
32
42
|
id: builtins.str = ...,
|
|
33
43
|
channel_id: builtins.str = ...,
|
|
44
|
+
episode_id: builtins.str = ...,
|
|
45
|
+
video_id: builtins.str = ...,
|
|
34
46
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
35
47
|
) -> None: ...
|
|
36
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
37
|
-
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "id", b"id"]) -> None: ...
|
|
48
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "episode_id", b"episode_id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> builtins.bool: ...
|
|
49
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "episode_id", b"episode_id", "id", b"id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> None: ...
|
|
50
|
+
def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["episode_id", "video_id"] | None: ...
|
|
38
51
|
|
|
39
52
|
global___Thumbnail = Thumbnail
|
|
@@ -29,7 +29,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
29
29
|
from yandex.cloud.video.v1 import thumbnail_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xcd\x01\n\x14ListThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1f\n\nepisode_id\x18\xeb\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\x08video_id\x18\xec\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000B\x0b\n\tparent_idJ\x04\x08\x02\x10\x64J\x05\x08\x66\x10\xeb\x07\"l\n\x15ListThumbnailResponse\x12\x34\n\nthumbnails\x18\x01 \x03(\x0b\x32 .yandex.cloud.video.v1.Thumbnail\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\x8a\x01\n\x16\x43reateThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1f\n\nepisode_id\x18\xeb\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\x08video_id\x18\xec\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x42\x0b\n\tparent_idJ\x05\x08\x02\x10\xeb\x07\"/\n\x17\x43reateThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\"n\n BatchGenerateDownloadURLsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12(\n\rthumbnail_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"g\n!BatchGenerateDownloadURLsResponse\x12\x42\n\rdownload_urls\x18\x01 \x03(\x0b\x32+.yandex.cloud.video.v1.ThumbnailDownloadURL\"\xe0\x02\n\x14ThumbnailDownloadURL\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\x12\x14\n\x0coriginal_url\x18\x02 \x01(\t\x12J\n\x0bscaled_urls\x18\x03 \x03(\x0b\x32\x35.yandex.cloud.video.v1.ThumbnailDownloadURL.ScaledURL\x1a\x8e\x01\n\tScaledURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tmax_width\x18\x02 \x01(\x03\x12\x12\n\nmax_height\x18\x03 \x01(\x03\x12M\n\x0cimage_format\x18\x04 \x01(\x0e\x32\x37.yandex.cloud.video.v1.ThumbnailDownloadURL.ImageFormat\"?\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JPEG\x10\x01\x12\x08\n\x04WEBP\x10\x02\"G\n!GenerateThumbnailUploadURLRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"8\n\"GenerateThumbnailUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\"<\n\x16\x44\x65leteThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"/\n\x17\x44\x65leteThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t2\x93\x08\n\x10ThumbnailService\x12\x80\x01\n\x03Get\x12*.yandex.cloud.video.v1.GetThumbnailRequest\x1a .yandex.cloud.video.v1.Thumbnail\"+\x82\xd3\xe4\x93\x02%\x12#/video/v1/thumbnails/{thumbnail_id}\x12\x7f\n\x04List\x12+.yandex.cloud.video.v1.ListThumbnailRequest\x1a,.yandex.cloud.video.v1.ListThumbnailResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/video/v1/thumbnails\x12\xa3\x01\n\x06\x43reate\x12-.yandex.cloud.video.v1.CreateThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*$\n\x17\x43reateThumbnailMetadata\x12\tThumbnail\x82\xd3\xe4\x93\x02\x19\"\x14/video/v1/thumbnails:\x01*\x12\xc9\x01\n\x19\x42\x61tchGenerateDownloadURLs\x12\x37.yandex.cloud.video.v1.BatchGenerateDownloadURLsRequest\x1a\x38.yandex.cloud.video.v1.BatchGenerateDownloadURLsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./video/v1/thumbnails:batchGenerateDownloadURLs:\x01*\x12\xca\x01\n\x11GenerateUploadURL\x12\x38.yandex.cloud.video.v1.GenerateThumbnailUploadURLRequest\x1a\x39.yandex.cloud.video.v1.GenerateThumbnailUploadURLResponse\"@\x82\xd3\xe4\x93\x02:\"5/video/v1/thumbnails/{thumbnail_id}:generateUploadURL:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12-.yandex.cloud.video.v1.DeleteThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x17\x44\x65leteThumbnailMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/video/v1/thumbnails/{thumbnail_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -41,14 +41,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_GETTHUMBNAILREQUEST'].fields_by_name['thumbnail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
42
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
43
43
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\004<=50'
|
|
44
|
+
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['episode_id']._loaded_options = None
|
|
45
|
+
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['episode_id']._serialized_options = b'\212\3101\004<=50'
|
|
46
|
+
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['video_id']._loaded_options = None
|
|
47
|
+
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
|
|
44
48
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
45
49
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
46
50
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
47
51
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
|
|
48
52
|
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
49
|
-
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\
|
|
53
|
+
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\004<=50'
|
|
54
|
+
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['episode_id']._loaded_options = None
|
|
55
|
+
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['episode_id']._serialized_options = b'\212\3101\004<=50'
|
|
56
|
+
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['video_id']._loaded_options = None
|
|
57
|
+
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
|
|
50
58
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
51
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\
|
|
59
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
52
60
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._loaded_options = None
|
|
53
61
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
54
62
|
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST'].fields_by_name['thumbnail_id']._loaded_options = None
|
|
@@ -69,32 +77,32 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
69
77
|
_globals['_THUMBNAILSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*0\n\027DeleteThumbnailMetadata\022\025google.protobuf.Empty\202\323\344\223\002%*#/video/v1/thumbnails/{thumbnail_id}'
|
|
70
78
|
_globals['_GETTHUMBNAILREQUEST']._serialized_start=246
|
|
71
79
|
_globals['_GETTHUMBNAILREQUEST']._serialized_end=303
|
|
72
|
-
_globals['_LISTTHUMBNAILREQUEST']._serialized_start=
|
|
73
|
-
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=
|
|
74
|
-
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=
|
|
75
|
-
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=
|
|
76
|
-
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=
|
|
77
|
-
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=
|
|
78
|
-
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=
|
|
79
|
-
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=
|
|
80
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=
|
|
81
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=
|
|
82
|
-
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=
|
|
83
|
-
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=
|
|
84
|
-
_globals['_THUMBNAILDOWNLOADURL']._serialized_start=
|
|
85
|
-
_globals['_THUMBNAILDOWNLOADURL']._serialized_end=
|
|
86
|
-
_globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_start=
|
|
87
|
-
_globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_end=
|
|
88
|
-
_globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_start=
|
|
89
|
-
_globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_end=
|
|
90
|
-
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_start=
|
|
91
|
-
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_end=
|
|
92
|
-
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_start=
|
|
93
|
-
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_end=
|
|
94
|
-
_globals['_DELETETHUMBNAILREQUEST']._serialized_start=
|
|
95
|
-
_globals['_DELETETHUMBNAILREQUEST']._serialized_end=
|
|
96
|
-
_globals['_DELETETHUMBNAILMETADATA']._serialized_start=
|
|
97
|
-
_globals['_DELETETHUMBNAILMETADATA']._serialized_end=
|
|
98
|
-
_globals['_THUMBNAILSERVICE']._serialized_start=
|
|
99
|
-
_globals['_THUMBNAILSERVICE']._serialized_end=
|
|
80
|
+
_globals['_LISTTHUMBNAILREQUEST']._serialized_start=306
|
|
81
|
+
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=511
|
|
82
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=513
|
|
83
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=621
|
|
84
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=624
|
|
85
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=762
|
|
86
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=764
|
|
87
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=811
|
|
88
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=813
|
|
89
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=923
|
|
90
|
+
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=925
|
|
91
|
+
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=1028
|
|
92
|
+
_globals['_THUMBNAILDOWNLOADURL']._serialized_start=1031
|
|
93
|
+
_globals['_THUMBNAILDOWNLOADURL']._serialized_end=1383
|
|
94
|
+
_globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_start=1176
|
|
95
|
+
_globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_end=1318
|
|
96
|
+
_globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_start=1320
|
|
97
|
+
_globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_end=1383
|
|
98
|
+
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_start=1385
|
|
99
|
+
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_end=1456
|
|
100
|
+
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_start=1458
|
|
101
|
+
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_end=1514
|
|
102
|
+
_globals['_DELETETHUMBNAILREQUEST']._serialized_start=1516
|
|
103
|
+
_globals['_DELETETHUMBNAILREQUEST']._serialized_end=1576
|
|
104
|
+
_globals['_DELETETHUMBNAILMETADATA']._serialized_start=1578
|
|
105
|
+
_globals['_DELETETHUMBNAILMETADATA']._serialized_end=1625
|
|
106
|
+
_globals['_THUMBNAILSERVICE']._serialized_start=1628
|
|
107
|
+
_globals['_THUMBNAILSERVICE']._serialized_end=2671
|
|
100
108
|
# @@protoc_insertion_point(module_scope)
|