yandexcloud 0.323.0__py3-none-any.whl → 0.325.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.
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +27 -27
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +18 -6
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +26 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
- yandex/cloud/backup/v1/backup_service_pb2.py +42 -41
- yandex/cloud/backup/v1/backup_service_pb2.pyi +6 -1
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/billing/v1/customer_service_pb2.pyi +5 -4
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudregistry/__init__.py +0 -0
- yandex/cloud/cloudregistry/v1/__init__.py +0 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2.py +31 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +112 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.py +45 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +59 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +108 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +81 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2.py +37 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2.pyi +95 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +41 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +181 -0
- yandex/cloud/cloudregistry/v1/registry_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/registry_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +157 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.pyi +504 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +451 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +291 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +8 -10
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +2 -28
- yandex/cloud/compute/v1/instance_service_pb2_grpc.py +1 -1
- yandex/cloud/compute/v1/instance_service_pb2_grpc.pyi +3 -3
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/lockbox/v1/secret_service_pb2.py +56 -55
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +13 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +55 -45
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +40 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +34 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +47 -43
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +109 -105
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +68 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +68 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +168 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.pyi +1130 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +168 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.pyi +1122 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +167 -103
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -94,6 +94,46 @@ class ListVideoResponse(google.protobuf.message.Message):
|
|
|
94
94
|
|
|
95
95
|
global___ListVideoResponse = ListVideoResponse
|
|
96
96
|
|
|
97
|
+
@typing.final
|
|
98
|
+
class BatchGetVideosRequest(google.protobuf.message.Message):
|
|
99
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
100
|
+
|
|
101
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
102
|
+
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
103
|
+
channel_id: builtins.str
|
|
104
|
+
"""ID of the channel."""
|
|
105
|
+
@property
|
|
106
|
+
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
107
|
+
"""List of requested video IDs."""
|
|
108
|
+
|
|
109
|
+
def __init__(
|
|
110
|
+
self,
|
|
111
|
+
*,
|
|
112
|
+
channel_id: builtins.str = ...,
|
|
113
|
+
video_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
114
|
+
) -> None: ...
|
|
115
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "video_ids", b"video_ids"]) -> None: ...
|
|
116
|
+
|
|
117
|
+
global___BatchGetVideosRequest = BatchGetVideosRequest
|
|
118
|
+
|
|
119
|
+
@typing.final
|
|
120
|
+
class BatchGetVideosResponse(google.protobuf.message.Message):
|
|
121
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
122
|
+
|
|
123
|
+
VIDEOS_FIELD_NUMBER: builtins.int
|
|
124
|
+
@property
|
|
125
|
+
def videos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.video_pb2.Video]:
|
|
126
|
+
"""List of videos for channel."""
|
|
127
|
+
|
|
128
|
+
def __init__(
|
|
129
|
+
self,
|
|
130
|
+
*,
|
|
131
|
+
videos: collections.abc.Iterable[yandex.cloud.video.v1.video_pb2.Video] | None = ...,
|
|
132
|
+
) -> None: ...
|
|
133
|
+
def ClearField(self, field_name: typing.Literal["videos", b"videos"]) -> None: ...
|
|
134
|
+
|
|
135
|
+
global___BatchGetVideosResponse = BatchGetVideosResponse
|
|
136
|
+
|
|
97
137
|
@typing.final
|
|
98
138
|
class CreateVideoRequest(google.protobuf.message.Message):
|
|
99
139
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -118,10 +158,12 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
118
158
|
TITLE_FIELD_NUMBER: builtins.int
|
|
119
159
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
120
160
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
161
|
+
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
121
162
|
LABELS_FIELD_NUMBER: builtins.int
|
|
122
163
|
TUSD_FIELD_NUMBER: builtins.int
|
|
123
164
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
124
165
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
166
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
125
167
|
channel_id: builtins.str
|
|
126
168
|
"""ID of the channel."""
|
|
127
169
|
title: builtins.str
|
|
@@ -130,6 +172,8 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
130
172
|
"""Video description."""
|
|
131
173
|
thumbnail_id: builtins.str
|
|
132
174
|
"""ID of the thumbnail."""
|
|
175
|
+
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType
|
|
176
|
+
"""Auto start transcoding."""
|
|
133
177
|
@property
|
|
134
178
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
135
179
|
"""Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
|
|
@@ -146,6 +190,10 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
146
190
|
def auth_system_access(self) -> global___VideoAuthSystemAccessParams:
|
|
147
191
|
"""Checking access rights using the authorization system."""
|
|
148
192
|
|
|
193
|
+
@property
|
|
194
|
+
def sign_url_access(self) -> global___VideoSignURLAccessParams:
|
|
195
|
+
"""Checking access rights using url's signature."""
|
|
196
|
+
|
|
149
197
|
def __init__(
|
|
150
198
|
self,
|
|
151
199
|
*,
|
|
@@ -153,15 +201,17 @@ class CreateVideoRequest(google.protobuf.message.Message):
|
|
|
153
201
|
title: builtins.str = ...,
|
|
154
202
|
description: builtins.str = ...,
|
|
155
203
|
thumbnail_id: builtins.str = ...,
|
|
204
|
+
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType = ...,
|
|
156
205
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
157
206
|
tusd: global___VideoTUSDParams | None = ...,
|
|
158
207
|
public_access: global___VideoPublicAccessParams | None = ...,
|
|
159
208
|
auth_system_access: global___VideoAuthSystemAccessParams | None = ...,
|
|
209
|
+
sign_url_access: global___VideoSignURLAccessParams | None = ...,
|
|
160
210
|
) -> None: ...
|
|
161
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "public_access", b"public_access", "source", b"source", "tusd", b"tusd"]) -> builtins.bool: ...
|
|
162
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "channel_id", b"channel_id", "description", b"description", "labels", b"labels", "public_access", b"public_access", "source", b"source", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd"]) -> None: ...
|
|
211
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd"]) -> builtins.bool: ...
|
|
212
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "description", b"description", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd"]) -> None: ...
|
|
163
213
|
@typing.overload
|
|
164
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
214
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
165
215
|
@typing.overload
|
|
166
216
|
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["tusd"] | None: ...
|
|
167
217
|
|
|
@@ -207,6 +257,16 @@ class VideoAuthSystemAccessParams(google.protobuf.message.Message):
|
|
|
207
257
|
|
|
208
258
|
global___VideoAuthSystemAccessParams = VideoAuthSystemAccessParams
|
|
209
259
|
|
|
260
|
+
@typing.final
|
|
261
|
+
class VideoSignURLAccessParams(google.protobuf.message.Message):
|
|
262
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
263
|
+
|
|
264
|
+
def __init__(
|
|
265
|
+
self,
|
|
266
|
+
) -> None: ...
|
|
267
|
+
|
|
268
|
+
global___VideoSignURLAccessParams = VideoSignURLAccessParams
|
|
269
|
+
|
|
210
270
|
@typing.final
|
|
211
271
|
class CreateVideoMetadata(google.protobuf.message.Message):
|
|
212
272
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -248,9 +308,11 @@ class UpdateVideoRequest(google.protobuf.message.Message):
|
|
|
248
308
|
TITLE_FIELD_NUMBER: builtins.int
|
|
249
309
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
250
310
|
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
311
|
+
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
251
312
|
LABELS_FIELD_NUMBER: builtins.int
|
|
252
313
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
253
314
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
315
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
254
316
|
video_id: builtins.str
|
|
255
317
|
"""ID of the video."""
|
|
256
318
|
title: builtins.str
|
|
@@ -259,6 +321,8 @@ class UpdateVideoRequest(google.protobuf.message.Message):
|
|
|
259
321
|
"""Video description."""
|
|
260
322
|
thumbnail_id: builtins.str
|
|
261
323
|
"""ID of the thumbnail."""
|
|
324
|
+
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType
|
|
325
|
+
"""Auto start transcoding."""
|
|
262
326
|
@property
|
|
263
327
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
264
328
|
"""Field mask that specifies which fields of the video are going to be updated."""
|
|
@@ -271,6 +335,8 @@ class UpdateVideoRequest(google.protobuf.message.Message):
|
|
|
271
335
|
def public_access(self) -> global___VideoPublicAccessParams: ...
|
|
272
336
|
@property
|
|
273
337
|
def auth_system_access(self) -> global___VideoAuthSystemAccessParams: ...
|
|
338
|
+
@property
|
|
339
|
+
def sign_url_access(self) -> global___VideoSignURLAccessParams: ...
|
|
274
340
|
def __init__(
|
|
275
341
|
self,
|
|
276
342
|
*,
|
|
@@ -279,13 +345,15 @@ class UpdateVideoRequest(google.protobuf.message.Message):
|
|
|
279
345
|
title: builtins.str = ...,
|
|
280
346
|
description: builtins.str = ...,
|
|
281
347
|
thumbnail_id: builtins.str = ...,
|
|
348
|
+
auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType = ...,
|
|
282
349
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
283
350
|
public_access: global___VideoPublicAccessParams | None = ...,
|
|
284
351
|
auth_system_access: global___VideoAuthSystemAccessParams | None = ...,
|
|
352
|
+
sign_url_access: global___VideoSignURLAccessParams | None = ...,
|
|
285
353
|
) -> None: ...
|
|
286
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "public_access", b"public_access"]) -> builtins.bool: ...
|
|
287
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "public_access", b"public_access", "thumbnail_id", b"thumbnail_id", "title", b"title", "video_id", b"video_id"]) -> None: ...
|
|
288
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
354
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "public_access", b"public_access", "sign_url_access", b"sign_url_access"]) -> builtins.bool: ...
|
|
355
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "auto_transcode", b"auto_transcode", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "thumbnail_id", b"thumbnail_id", "title", b"title", "video_id", b"video_id"]) -> None: ...
|
|
356
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
289
357
|
|
|
290
358
|
global___UpdateVideoRequest = UpdateVideoRequest
|
|
291
359
|
|
|
@@ -305,6 +373,53 @@ class UpdateVideoMetadata(google.protobuf.message.Message):
|
|
|
305
373
|
|
|
306
374
|
global___UpdateVideoMetadata = UpdateVideoMetadata
|
|
307
375
|
|
|
376
|
+
@typing.final
|
|
377
|
+
class TranscodeVideoRequest(google.protobuf.message.Message):
|
|
378
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
379
|
+
|
|
380
|
+
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
381
|
+
FIELD_MASK_FIELD_NUMBER: builtins.int
|
|
382
|
+
SUBTITLE_IDS_FIELD_NUMBER: builtins.int
|
|
383
|
+
video_id: builtins.str
|
|
384
|
+
"""ID of the video."""
|
|
385
|
+
@property
|
|
386
|
+
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
387
|
+
"""Field mask that specifies which transcoding specific fields of the video
|
|
388
|
+
are going to be updated.
|
|
389
|
+
"""
|
|
390
|
+
|
|
391
|
+
@property
|
|
392
|
+
def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
393
|
+
"""IDs of active video subtitles."""
|
|
394
|
+
|
|
395
|
+
def __init__(
|
|
396
|
+
self,
|
|
397
|
+
*,
|
|
398
|
+
video_id: builtins.str = ...,
|
|
399
|
+
field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
400
|
+
subtitle_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
401
|
+
) -> None: ...
|
|
402
|
+
def HasField(self, field_name: typing.Literal["field_mask", b"field_mask"]) -> builtins.bool: ...
|
|
403
|
+
def ClearField(self, field_name: typing.Literal["field_mask", b"field_mask", "subtitle_ids", b"subtitle_ids", "video_id", b"video_id"]) -> None: ...
|
|
404
|
+
|
|
405
|
+
global___TranscodeVideoRequest = TranscodeVideoRequest
|
|
406
|
+
|
|
407
|
+
@typing.final
|
|
408
|
+
class TranscodeVideoMetadata(google.protobuf.message.Message):
|
|
409
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
410
|
+
|
|
411
|
+
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
412
|
+
video_id: builtins.str
|
|
413
|
+
"""ID of the video."""
|
|
414
|
+
def __init__(
|
|
415
|
+
self,
|
|
416
|
+
*,
|
|
417
|
+
video_id: builtins.str = ...,
|
|
418
|
+
) -> None: ...
|
|
419
|
+
def ClearField(self, field_name: typing.Literal["video_id", b"video_id"]) -> None: ...
|
|
420
|
+
|
|
421
|
+
global___TranscodeVideoMetadata = TranscodeVideoMetadata
|
|
422
|
+
|
|
308
423
|
@typing.final
|
|
309
424
|
class DeleteVideoRequest(google.protobuf.message.Message):
|
|
310
425
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -337,6 +452,46 @@ class DeleteVideoMetadata(google.protobuf.message.Message):
|
|
|
337
452
|
|
|
338
453
|
global___DeleteVideoMetadata = DeleteVideoMetadata
|
|
339
454
|
|
|
455
|
+
@typing.final
|
|
456
|
+
class BatchDeleteVideosRequest(google.protobuf.message.Message):
|
|
457
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
458
|
+
|
|
459
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
460
|
+
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
461
|
+
channel_id: builtins.str
|
|
462
|
+
"""ID of the channel."""
|
|
463
|
+
@property
|
|
464
|
+
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
465
|
+
"""List of video IDs."""
|
|
466
|
+
|
|
467
|
+
def __init__(
|
|
468
|
+
self,
|
|
469
|
+
*,
|
|
470
|
+
channel_id: builtins.str = ...,
|
|
471
|
+
video_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
472
|
+
) -> None: ...
|
|
473
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "video_ids", b"video_ids"]) -> None: ...
|
|
474
|
+
|
|
475
|
+
global___BatchDeleteVideosRequest = BatchDeleteVideosRequest
|
|
476
|
+
|
|
477
|
+
@typing.final
|
|
478
|
+
class BatchDeleteVideosMetadata(google.protobuf.message.Message):
|
|
479
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
480
|
+
|
|
481
|
+
VIDEO_IDS_FIELD_NUMBER: builtins.int
|
|
482
|
+
@property
|
|
483
|
+
def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
484
|
+
"""List of video IDs."""
|
|
485
|
+
|
|
486
|
+
def __init__(
|
|
487
|
+
self,
|
|
488
|
+
*,
|
|
489
|
+
video_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
490
|
+
) -> None: ...
|
|
491
|
+
def ClearField(self, field_name: typing.Literal["video_ids", b"video_ids"]) -> None: ...
|
|
492
|
+
|
|
493
|
+
global___BatchDeleteVideosMetadata = BatchDeleteVideosMetadata
|
|
494
|
+
|
|
340
495
|
@typing.final
|
|
341
496
|
class PerformVideoActionRequest(google.protobuf.message.Message):
|
|
342
497
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -27,6 +27,11 @@ class VideoServiceStub(object):
|
|
|
27
27
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.ListVideoRequest.SerializeToString,
|
|
28
28
|
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.ListVideoResponse.FromString,
|
|
29
29
|
)
|
|
30
|
+
self.BatchGet = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.video.v1.VideoService/BatchGet',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideosRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideosResponse.FromString,
|
|
34
|
+
)
|
|
30
35
|
self.Create = channel.unary_unary(
|
|
31
36
|
'/yandex.cloud.video.v1.VideoService/Create',
|
|
32
37
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.CreateVideoRequest.SerializeToString,
|
|
@@ -37,11 +42,21 @@ class VideoServiceStub(object):
|
|
|
37
42
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.UpdateVideoRequest.SerializeToString,
|
|
38
43
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
39
44
|
)
|
|
45
|
+
self.Transcode = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.video.v1.VideoService/Transcode',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.TranscodeVideoRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
49
|
+
)
|
|
40
50
|
self.Delete = channel.unary_unary(
|
|
41
51
|
'/yandex.cloud.video.v1.VideoService/Delete',
|
|
42
52
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.DeleteVideoRequest.SerializeToString,
|
|
43
53
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
54
|
)
|
|
55
|
+
self.BatchDelete = channel.unary_unary(
|
|
56
|
+
'/yandex.cloud.video.v1.VideoService/BatchDelete',
|
|
57
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchDeleteVideosRequest.SerializeToString,
|
|
58
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
59
|
+
)
|
|
45
60
|
self.PerformAction = channel.unary_unary(
|
|
46
61
|
'/yandex.cloud.video.v1.VideoService/PerformAction',
|
|
47
62
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.PerformVideoActionRequest.SerializeToString,
|
|
@@ -77,6 +92,13 @@ class VideoServiceServicer(object):
|
|
|
77
92
|
context.set_details('Method not implemented!')
|
|
78
93
|
raise NotImplementedError('Method not implemented!')
|
|
79
94
|
|
|
95
|
+
def BatchGet(self, request, context):
|
|
96
|
+
"""Batch get video in specific channel.
|
|
97
|
+
"""
|
|
98
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
99
|
+
context.set_details('Method not implemented!')
|
|
100
|
+
raise NotImplementedError('Method not implemented!')
|
|
101
|
+
|
|
80
102
|
def Create(self, request, context):
|
|
81
103
|
"""Create video.
|
|
82
104
|
"""
|
|
@@ -91,6 +113,13 @@ class VideoServiceServicer(object):
|
|
|
91
113
|
context.set_details('Method not implemented!')
|
|
92
114
|
raise NotImplementedError('Method not implemented!')
|
|
93
115
|
|
|
116
|
+
def Transcode(self, request, context):
|
|
117
|
+
"""Transcode video.
|
|
118
|
+
"""
|
|
119
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
120
|
+
context.set_details('Method not implemented!')
|
|
121
|
+
raise NotImplementedError('Method not implemented!')
|
|
122
|
+
|
|
94
123
|
def Delete(self, request, context):
|
|
95
124
|
"""Delete video.
|
|
96
125
|
"""
|
|
@@ -98,6 +127,13 @@ class VideoServiceServicer(object):
|
|
|
98
127
|
context.set_details('Method not implemented!')
|
|
99
128
|
raise NotImplementedError('Method not implemented!')
|
|
100
129
|
|
|
130
|
+
def BatchDelete(self, request, context):
|
|
131
|
+
"""Batch delete video.
|
|
132
|
+
"""
|
|
133
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
134
|
+
context.set_details('Method not implemented!')
|
|
135
|
+
raise NotImplementedError('Method not implemented!')
|
|
136
|
+
|
|
101
137
|
def PerformAction(self, request, context):
|
|
102
138
|
"""Perform an action on the episode.
|
|
103
139
|
"""
|
|
@@ -132,6 +168,11 @@ def add_VideoServiceServicer_to_server(servicer, server):
|
|
|
132
168
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.ListVideoRequest.FromString,
|
|
133
169
|
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.ListVideoResponse.SerializeToString,
|
|
134
170
|
),
|
|
171
|
+
'BatchGet': grpc.unary_unary_rpc_method_handler(
|
|
172
|
+
servicer.BatchGet,
|
|
173
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideosRequest.FromString,
|
|
174
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideosResponse.SerializeToString,
|
|
175
|
+
),
|
|
135
176
|
'Create': grpc.unary_unary_rpc_method_handler(
|
|
136
177
|
servicer.Create,
|
|
137
178
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.CreateVideoRequest.FromString,
|
|
@@ -142,11 +183,21 @@ def add_VideoServiceServicer_to_server(servicer, server):
|
|
|
142
183
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.UpdateVideoRequest.FromString,
|
|
143
184
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
144
185
|
),
|
|
186
|
+
'Transcode': grpc.unary_unary_rpc_method_handler(
|
|
187
|
+
servicer.Transcode,
|
|
188
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.TranscodeVideoRequest.FromString,
|
|
189
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
190
|
+
),
|
|
145
191
|
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
146
192
|
servicer.Delete,
|
|
147
193
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.DeleteVideoRequest.FromString,
|
|
148
194
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
149
195
|
),
|
|
196
|
+
'BatchDelete': grpc.unary_unary_rpc_method_handler(
|
|
197
|
+
servicer.BatchDelete,
|
|
198
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchDeleteVideosRequest.FromString,
|
|
199
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
200
|
+
),
|
|
150
201
|
'PerformAction': grpc.unary_unary_rpc_method_handler(
|
|
151
202
|
servicer.PerformAction,
|
|
152
203
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.PerformVideoActionRequest.FromString,
|
|
@@ -207,6 +258,23 @@ class VideoService(object):
|
|
|
207
258
|
options, channel_credentials,
|
|
208
259
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
209
260
|
|
|
261
|
+
@staticmethod
|
|
262
|
+
def BatchGet(request,
|
|
263
|
+
target,
|
|
264
|
+
options=(),
|
|
265
|
+
channel_credentials=None,
|
|
266
|
+
call_credentials=None,
|
|
267
|
+
insecure=False,
|
|
268
|
+
compression=None,
|
|
269
|
+
wait_for_ready=None,
|
|
270
|
+
timeout=None,
|
|
271
|
+
metadata=None):
|
|
272
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.VideoService/BatchGet',
|
|
273
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideosRequest.SerializeToString,
|
|
274
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideosResponse.FromString,
|
|
275
|
+
options, channel_credentials,
|
|
276
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
277
|
+
|
|
210
278
|
@staticmethod
|
|
211
279
|
def Create(request,
|
|
212
280
|
target,
|
|
@@ -241,6 +309,23 @@ class VideoService(object):
|
|
|
241
309
|
options, channel_credentials,
|
|
242
310
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
243
311
|
|
|
312
|
+
@staticmethod
|
|
313
|
+
def Transcode(request,
|
|
314
|
+
target,
|
|
315
|
+
options=(),
|
|
316
|
+
channel_credentials=None,
|
|
317
|
+
call_credentials=None,
|
|
318
|
+
insecure=False,
|
|
319
|
+
compression=None,
|
|
320
|
+
wait_for_ready=None,
|
|
321
|
+
timeout=None,
|
|
322
|
+
metadata=None):
|
|
323
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.VideoService/Transcode',
|
|
324
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.TranscodeVideoRequest.SerializeToString,
|
|
325
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
326
|
+
options, channel_credentials,
|
|
327
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
328
|
+
|
|
244
329
|
@staticmethod
|
|
245
330
|
def Delete(request,
|
|
246
331
|
target,
|
|
@@ -258,6 +343,23 @@ class VideoService(object):
|
|
|
258
343
|
options, channel_credentials,
|
|
259
344
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
260
345
|
|
|
346
|
+
@staticmethod
|
|
347
|
+
def BatchDelete(request,
|
|
348
|
+
target,
|
|
349
|
+
options=(),
|
|
350
|
+
channel_credentials=None,
|
|
351
|
+
call_credentials=None,
|
|
352
|
+
insecure=False,
|
|
353
|
+
compression=None,
|
|
354
|
+
wait_for_ready=None,
|
|
355
|
+
timeout=None,
|
|
356
|
+
metadata=None):
|
|
357
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.VideoService/BatchDelete',
|
|
358
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchDeleteVideosRequest.SerializeToString,
|
|
359
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
360
|
+
options, channel_credentials,
|
|
361
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
362
|
+
|
|
261
363
|
@staticmethod
|
|
262
364
|
def PerformAction(request,
|
|
263
365
|
target,
|
|
@@ -35,6 +35,12 @@ class VideoServiceStub:
|
|
|
35
35
|
]
|
|
36
36
|
"""List videos for channel."""
|
|
37
37
|
|
|
38
|
+
BatchGet: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
|
|
40
|
+
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
|
|
41
|
+
]
|
|
42
|
+
"""Batch get video in specific channel."""
|
|
43
|
+
|
|
38
44
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
39
45
|
yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
|
|
40
46
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -47,12 +53,24 @@ class VideoServiceStub:
|
|
|
47
53
|
]
|
|
48
54
|
"""Update video."""
|
|
49
55
|
|
|
56
|
+
Transcode: grpc.UnaryUnaryMultiCallable[
|
|
57
|
+
yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
|
|
58
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
|
+
]
|
|
60
|
+
"""Transcode video."""
|
|
61
|
+
|
|
50
62
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
51
63
|
yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
|
|
52
64
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
65
|
]
|
|
54
66
|
"""Delete video."""
|
|
55
67
|
|
|
68
|
+
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
69
|
+
yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
|
|
70
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
71
|
+
]
|
|
72
|
+
"""Batch delete video."""
|
|
73
|
+
|
|
56
74
|
PerformAction: grpc.UnaryUnaryMultiCallable[
|
|
57
75
|
yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
|
|
58
76
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -86,6 +104,12 @@ class VideoServiceAsyncStub:
|
|
|
86
104
|
]
|
|
87
105
|
"""List videos for channel."""
|
|
88
106
|
|
|
107
|
+
BatchGet: grpc.aio.UnaryUnaryMultiCallable[
|
|
108
|
+
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
|
|
109
|
+
yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
|
|
110
|
+
]
|
|
111
|
+
"""Batch get video in specific channel."""
|
|
112
|
+
|
|
89
113
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
114
|
yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
|
|
91
115
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -98,12 +122,24 @@ class VideoServiceAsyncStub:
|
|
|
98
122
|
]
|
|
99
123
|
"""Update video."""
|
|
100
124
|
|
|
125
|
+
Transcode: grpc.aio.UnaryUnaryMultiCallable[
|
|
126
|
+
yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
|
|
127
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
128
|
+
]
|
|
129
|
+
"""Transcode video."""
|
|
130
|
+
|
|
101
131
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
102
132
|
yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
|
|
103
133
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
104
134
|
]
|
|
105
135
|
"""Delete video."""
|
|
106
136
|
|
|
137
|
+
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
138
|
+
yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
|
|
139
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
140
|
+
]
|
|
141
|
+
"""Batch delete video."""
|
|
142
|
+
|
|
107
143
|
PerformAction: grpc.aio.UnaryUnaryMultiCallable[
|
|
108
144
|
yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
|
|
109
145
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -141,6 +177,14 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
141
177
|
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.ListVideoResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.ListVideoResponse]]:
|
|
142
178
|
"""List videos for channel."""
|
|
143
179
|
|
|
180
|
+
@abc.abstractmethod
|
|
181
|
+
def BatchGet(
|
|
182
|
+
self,
|
|
183
|
+
request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
|
|
184
|
+
context: _ServicerContext,
|
|
185
|
+
) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse]]:
|
|
186
|
+
"""Batch get video in specific channel."""
|
|
187
|
+
|
|
144
188
|
@abc.abstractmethod
|
|
145
189
|
def Create(
|
|
146
190
|
self,
|
|
@@ -157,6 +201,14 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
157
201
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
158
202
|
"""Update video."""
|
|
159
203
|
|
|
204
|
+
@abc.abstractmethod
|
|
205
|
+
def Transcode(
|
|
206
|
+
self,
|
|
207
|
+
request: yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
|
|
208
|
+
context: _ServicerContext,
|
|
209
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
210
|
+
"""Transcode video."""
|
|
211
|
+
|
|
160
212
|
@abc.abstractmethod
|
|
161
213
|
def Delete(
|
|
162
214
|
self,
|
|
@@ -165,6 +217,14 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
|
|
|
165
217
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
166
218
|
"""Delete video."""
|
|
167
219
|
|
|
220
|
+
@abc.abstractmethod
|
|
221
|
+
def BatchDelete(
|
|
222
|
+
self,
|
|
223
|
+
request: yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
|
|
224
|
+
context: _ServicerContext,
|
|
225
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
226
|
+
"""Batch delete video."""
|
|
227
|
+
|
|
168
228
|
@abc.abstractmethod
|
|
169
229
|
def PerformAction(
|
|
170
230
|
self,
|