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
|
@@ -103,6 +103,46 @@ class ListEpisodesResponse(google.protobuf.message.Message):
|
|
|
103
103
|
|
|
104
104
|
global___ListEpisodesResponse = ListEpisodesResponse
|
|
105
105
|
|
|
106
|
+
@typing.final
|
|
107
|
+
class BatchGetEpisodesRequest(google.protobuf.message.Message):
|
|
108
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
109
|
+
|
|
110
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
111
|
+
EPISODE_IDS_FIELD_NUMBER: builtins.int
|
|
112
|
+
channel_id: builtins.str
|
|
113
|
+
"""ID of the channel."""
|
|
114
|
+
@property
|
|
115
|
+
def episode_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
116
|
+
"""List of requested episode IDs."""
|
|
117
|
+
|
|
118
|
+
def __init__(
|
|
119
|
+
self,
|
|
120
|
+
*,
|
|
121
|
+
channel_id: builtins.str = ...,
|
|
122
|
+
episode_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
123
|
+
) -> None: ...
|
|
124
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "episode_ids", b"episode_ids"]) -> None: ...
|
|
125
|
+
|
|
126
|
+
global___BatchGetEpisodesRequest = BatchGetEpisodesRequest
|
|
127
|
+
|
|
128
|
+
@typing.final
|
|
129
|
+
class BatchGetEpisodesResponse(google.protobuf.message.Message):
|
|
130
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
131
|
+
|
|
132
|
+
EPISODES_FIELD_NUMBER: builtins.int
|
|
133
|
+
@property
|
|
134
|
+
def episodes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.episode_pb2.Episode]:
|
|
135
|
+
"""List of episodes for specific channel."""
|
|
136
|
+
|
|
137
|
+
def __init__(
|
|
138
|
+
self,
|
|
139
|
+
*,
|
|
140
|
+
episodes: collections.abc.Iterable[yandex.cloud.video.v1.episode_pb2.Episode] | None = ...,
|
|
141
|
+
) -> None: ...
|
|
142
|
+
def ClearField(self, field_name: typing.Literal["episodes", b"episodes"]) -> None: ...
|
|
143
|
+
|
|
144
|
+
global___BatchGetEpisodesResponse = BatchGetEpisodesResponse
|
|
145
|
+
|
|
106
146
|
@typing.final
|
|
107
147
|
class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
108
148
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -117,6 +157,7 @@ class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
|
117
157
|
DVR_SECONDS_FIELD_NUMBER: builtins.int
|
|
118
158
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
119
159
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
160
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
120
161
|
stream_id: builtins.str
|
|
121
162
|
"""ID of the stream."""
|
|
122
163
|
line_id: builtins.str
|
|
@@ -150,6 +191,10 @@ class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
|
150
191
|
def auth_system_access(self) -> global___EpisodeAuthSystemAccessParams:
|
|
151
192
|
"""Checking access rights using the authorization system."""
|
|
152
193
|
|
|
194
|
+
@property
|
|
195
|
+
def sign_url_access(self) -> global___EpisodeSignURLAccessParams:
|
|
196
|
+
"""Checking access rights using url's signature."""
|
|
197
|
+
|
|
153
198
|
def __init__(
|
|
154
199
|
self,
|
|
155
200
|
*,
|
|
@@ -163,11 +208,12 @@ class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
|
163
208
|
dvr_seconds: builtins.int = ...,
|
|
164
209
|
public_access: global___EpisodePublicAccessParams | None = ...,
|
|
165
210
|
auth_system_access: global___EpisodeAuthSystemAccessParams | None = ...,
|
|
211
|
+
sign_url_access: global___EpisodeSignURLAccessParams | None = ...,
|
|
166
212
|
) -> None: ...
|
|
167
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "start_time", b"start_time", "stream_id", b"stream_id"]) -> builtins.bool: ...
|
|
168
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "start_time", b"start_time", "stream_id", b"stream_id", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
213
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "stream_id", b"stream_id"]) -> builtins.bool: ...
|
|
214
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "stream_id", b"stream_id", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
169
215
|
@typing.overload
|
|
170
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
216
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
171
217
|
@typing.overload
|
|
172
218
|
def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["stream_id", "line_id"] | None: ...
|
|
173
219
|
|
|
@@ -193,6 +239,16 @@ class EpisodeAuthSystemAccessParams(google.protobuf.message.Message):
|
|
|
193
239
|
|
|
194
240
|
global___EpisodeAuthSystemAccessParams = EpisodeAuthSystemAccessParams
|
|
195
241
|
|
|
242
|
+
@typing.final
|
|
243
|
+
class EpisodeSignURLAccessParams(google.protobuf.message.Message):
|
|
244
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
245
|
+
|
|
246
|
+
def __init__(
|
|
247
|
+
self,
|
|
248
|
+
) -> None: ...
|
|
249
|
+
|
|
250
|
+
global___EpisodeSignURLAccessParams = EpisodeSignURLAccessParams
|
|
251
|
+
|
|
196
252
|
@typing.final
|
|
197
253
|
class CreateEpisodeMetadata(google.protobuf.message.Message):
|
|
198
254
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -223,6 +279,7 @@ class UpdateEpisodeRequest(google.protobuf.message.Message):
|
|
|
223
279
|
DVR_SECONDS_FIELD_NUMBER: builtins.int
|
|
224
280
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
225
281
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
282
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
226
283
|
episode_id: builtins.str
|
|
227
284
|
"""ID of the episode."""
|
|
228
285
|
title: builtins.str
|
|
@@ -256,6 +313,10 @@ class UpdateEpisodeRequest(google.protobuf.message.Message):
|
|
|
256
313
|
def auth_system_access(self) -> global___EpisodeAuthSystemAccessParams:
|
|
257
314
|
"""Checking access rights using the authorization system."""
|
|
258
315
|
|
|
316
|
+
@property
|
|
317
|
+
def sign_url_access(self) -> global___EpisodeSignURLAccessParams:
|
|
318
|
+
"""Checking access rights using url's signature."""
|
|
319
|
+
|
|
259
320
|
def __init__(
|
|
260
321
|
self,
|
|
261
322
|
*,
|
|
@@ -269,10 +330,11 @@ class UpdateEpisodeRequest(google.protobuf.message.Message):
|
|
|
269
330
|
dvr_seconds: builtins.int = ...,
|
|
270
331
|
public_access: global___EpisodePublicAccessParams | None = ...,
|
|
271
332
|
auth_system_access: global___EpisodeAuthSystemAccessParams | None = ...,
|
|
333
|
+
sign_url_access: global___EpisodeSignURLAccessParams | None = ...,
|
|
272
334
|
) -> None: ...
|
|
273
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "start_time", b"start_time"]) -> builtins.bool: ...
|
|
274
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "episode_id", b"episode_id", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "start_time", b"start_time", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
275
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
335
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time"]) -> builtins.bool: ...
|
|
336
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "episode_id", b"episode_id", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
337
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
276
338
|
|
|
277
339
|
global___UpdateEpisodeRequest = UpdateEpisodeRequest
|
|
278
340
|
|
|
@@ -27,6 +27,11 @@ class EpisodeServiceStub(object):
|
|
|
27
27
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesRequest.SerializeToString,
|
|
28
28
|
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesResponse.FromString,
|
|
29
29
|
)
|
|
30
|
+
self.BatchGet = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.video.v1.EpisodeService/BatchGet',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesResponse.FromString,
|
|
34
|
+
)
|
|
30
35
|
self.Create = channel.unary_unary(
|
|
31
36
|
'/yandex.cloud.video.v1.EpisodeService/Create',
|
|
32
37
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.CreateEpisodeRequest.SerializeToString,
|
|
@@ -77,6 +82,13 @@ class EpisodeServiceServicer(object):
|
|
|
77
82
|
context.set_details('Method not implemented!')
|
|
78
83
|
raise NotImplementedError('Method not implemented!')
|
|
79
84
|
|
|
85
|
+
def BatchGet(self, request, context):
|
|
86
|
+
"""Batch get episodes for channel.
|
|
87
|
+
"""
|
|
88
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
|
+
context.set_details('Method not implemented!')
|
|
90
|
+
raise NotImplementedError('Method not implemented!')
|
|
91
|
+
|
|
80
92
|
def Create(self, request, context):
|
|
81
93
|
"""Create episode.
|
|
82
94
|
"""
|
|
@@ -132,6 +144,11 @@ def add_EpisodeServiceServicer_to_server(servicer, server):
|
|
|
132
144
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesRequest.FromString,
|
|
133
145
|
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesResponse.SerializeToString,
|
|
134
146
|
),
|
|
147
|
+
'BatchGet': grpc.unary_unary_rpc_method_handler(
|
|
148
|
+
servicer.BatchGet,
|
|
149
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesRequest.FromString,
|
|
150
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesResponse.SerializeToString,
|
|
151
|
+
),
|
|
135
152
|
'Create': grpc.unary_unary_rpc_method_handler(
|
|
136
153
|
servicer.Create,
|
|
137
154
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.CreateEpisodeRequest.FromString,
|
|
@@ -207,6 +224,23 @@ class EpisodeService(object):
|
|
|
207
224
|
options, channel_credentials,
|
|
208
225
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
209
226
|
|
|
227
|
+
@staticmethod
|
|
228
|
+
def BatchGet(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.EpisodeService/BatchGet',
|
|
239
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesRequest.SerializeToString,
|
|
240
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesResponse.FromString,
|
|
241
|
+
options, channel_credentials,
|
|
242
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
243
|
+
|
|
210
244
|
@staticmethod
|
|
211
245
|
def Create(request,
|
|
212
246
|
target,
|
|
@@ -35,6 +35,12 @@ class EpisodeServiceStub:
|
|
|
35
35
|
]
|
|
36
36
|
"""List episodes for stream or line."""
|
|
37
37
|
|
|
38
|
+
BatchGet: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
40
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse,
|
|
41
|
+
]
|
|
42
|
+
"""Batch get episodes for channel."""
|
|
43
|
+
|
|
38
44
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
39
45
|
yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
40
46
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -86,6 +92,12 @@ class EpisodeServiceAsyncStub:
|
|
|
86
92
|
]
|
|
87
93
|
"""List episodes for stream or line."""
|
|
88
94
|
|
|
95
|
+
BatchGet: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
97
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse,
|
|
98
|
+
]
|
|
99
|
+
"""Batch get episodes for channel."""
|
|
100
|
+
|
|
89
101
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
102
|
yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
91
103
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -141,6 +153,14 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
141
153
|
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse]]:
|
|
142
154
|
"""List episodes for stream or line."""
|
|
143
155
|
|
|
156
|
+
@abc.abstractmethod
|
|
157
|
+
def BatchGet(
|
|
158
|
+
self,
|
|
159
|
+
request: yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
160
|
+
context: _ServicerContext,
|
|
161
|
+
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse]]:
|
|
162
|
+
"""Batch get episodes for channel."""
|
|
163
|
+
|
|
144
164
|
@abc.abstractmethod
|
|
145
165
|
def Create(
|
|
146
166
|
self,
|
|
@@ -13,7 +13,7 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/manifest.proto\x12\x15yandex.cloud.video.v1\"\
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/manifest.proto\x12\x15yandex.cloud.video.v1\"\x9b\x01\n\x08Manifest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12:\n\x04type\x18\x02 \x01(\x0e\x32,.yandex.cloud.video.v1.Manifest.ManifestType\"F\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x41SH\x10\x01\x12\x07\n\x03HLS\x10\x02\"\x04\x08\x03\x10\x03\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
17
17
|
|
|
18
18
|
_globals = globals()
|
|
19
19
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -22,7 +22,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
22
22
|
DESCRIPTOR._options = None
|
|
23
23
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
24
24
|
_globals['_MANIFEST']._serialized_start=64
|
|
25
|
-
_globals['_MANIFEST']._serialized_end=
|
|
25
|
+
_globals['_MANIFEST']._serialized_end=219
|
|
26
26
|
_globals['_MANIFEST_MANIFESTTYPE']._serialized_start=149
|
|
27
|
-
_globals['_MANIFEST_MANIFESTTYPE']._serialized_end=
|
|
27
|
+
_globals['_MANIFEST_MANIFESTTYPE']._serialized_end=219
|
|
28
28
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -31,11 +31,7 @@ class Manifest(google.protobuf.message.Message):
|
|
|
31
31
|
DASH: Manifest._ManifestType.ValueType # 1
|
|
32
32
|
HLS: Manifest._ManifestType.ValueType # 2
|
|
33
33
|
|
|
34
|
-
class ManifestType(_ManifestType, metaclass=_ManifestTypeEnumTypeWrapper):
|
|
35
|
-
"""TODO: CLOUDAPI-336
|
|
36
|
-
TODO: reserved 3;
|
|
37
|
-
"""
|
|
38
|
-
|
|
34
|
+
class ManifestType(_ManifestType, metaclass=_ManifestTypeEnumTypeWrapper): ...
|
|
39
35
|
MANIFEST_TYPE_UNSPECIFIED: Manifest.ManifestType.ValueType # 0
|
|
40
36
|
DASH: Manifest.ManifestType.ValueType # 1
|
|
41
37
|
HLS: Manifest.ManifestType.ValueType # 2
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/video/v1/playlist.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/playlist.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe8\x01\n\x08Playlist\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\x32\n\x05items\x18\x05 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItem\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.TimestampJ\x04\x08\x06\x10\x64\"V\n\x0cPlaylistItem\x12\x12\n\x08video_id\x18\x64 \x01(\tH\x00\x12\x14\n\nepisode_id\x18\x65 \x01(\tH\x00\x12\x10\n\x08position\x18\x01 \x01(\x03\x42\x04\n\x02idJ\x04\x08\x02\x10\x64\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.playlist_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
25
|
+
_globals['_PLAYLIST']._serialized_start=97
|
|
26
|
+
_globals['_PLAYLIST']._serialized_end=329
|
|
27
|
+
_globals['_PLAYLISTITEM']._serialized_start=331
|
|
28
|
+
_globals['_PLAYLISTITEM']._serialized_end=417
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import google.protobuf.timestamp_pb2
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class Playlist(google.protobuf.message.Message):
|
|
18
|
+
"""Entity representing an ordered list of videos or episodes."""
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
|
+
|
|
22
|
+
ID_FIELD_NUMBER: builtins.int
|
|
23
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
24
|
+
TITLE_FIELD_NUMBER: builtins.int
|
|
25
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
26
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
27
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
28
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
29
|
+
id: builtins.str
|
|
30
|
+
"""ID of the playlist."""
|
|
31
|
+
channel_id: builtins.str
|
|
32
|
+
"""ID of the channel to create the playlist in."""
|
|
33
|
+
title: builtins.str
|
|
34
|
+
"""Playlist title."""
|
|
35
|
+
description: builtins.str
|
|
36
|
+
"""Playlist description."""
|
|
37
|
+
@property
|
|
38
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PlaylistItem]:
|
|
39
|
+
"""List of playlist items."""
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
43
|
+
"""Time when playlist was created."""
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
47
|
+
"""Time of last playlist update."""
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
*,
|
|
52
|
+
id: builtins.str = ...,
|
|
53
|
+
channel_id: builtins.str = ...,
|
|
54
|
+
title: builtins.str = ...,
|
|
55
|
+
description: builtins.str = ...,
|
|
56
|
+
items: collections.abc.Iterable[global___PlaylistItem] | None = ...,
|
|
57
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
58
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
59
|
+
) -> None: ...
|
|
60
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
61
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "id", b"id", "items", b"items", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
|
|
62
|
+
|
|
63
|
+
global___Playlist = Playlist
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class PlaylistItem(google.protobuf.message.Message):
|
|
67
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
68
|
+
|
|
69
|
+
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
70
|
+
EPISODE_ID_FIELD_NUMBER: builtins.int
|
|
71
|
+
POSITION_FIELD_NUMBER: builtins.int
|
|
72
|
+
video_id: builtins.str
|
|
73
|
+
"""ID of the video."""
|
|
74
|
+
episode_id: builtins.str
|
|
75
|
+
"""ID of the episode."""
|
|
76
|
+
position: builtins.int
|
|
77
|
+
"""Item position (zero-indexed)."""
|
|
78
|
+
def __init__(
|
|
79
|
+
self,
|
|
80
|
+
*,
|
|
81
|
+
video_id: builtins.str = ...,
|
|
82
|
+
episode_id: builtins.str = ...,
|
|
83
|
+
position: builtins.int = ...,
|
|
84
|
+
) -> None: ...
|
|
85
|
+
def HasField(self, field_name: typing.Literal["episode_id", b"episode_id", "id", b"id", "video_id", b"video_id"]) -> builtins.bool: ...
|
|
86
|
+
def ClearField(self, field_name: typing.Literal["episode_id", b"episode_id", "id", b"id", "position", b"position", "video_id", b"video_id"]) -> None: ...
|
|
87
|
+
def WhichOneof(self, oneof_group: typing.Literal["id", b"id"]) -> typing.Literal["video_id", "episode_id"] | None: ...
|
|
88
|
+
|
|
89
|
+
global___PlaylistItem = PlaylistItem
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/video/v1/playlist_service.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
15
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
18
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
19
|
+
from yandex.cloud.video.v1 import playlist_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_playlist__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/video/v1/playlist_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/playlist.proto\"7\n\x12GetPlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xaa\x01\n\x14ListPlaylistsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x64 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"j\n\x15ListPlaylistsResponse\x12\x32\n\tplaylists\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Playlist\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xa2\x01\n\x15\x43reatePlaylistRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x05items\x18\x04 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItemB\t\x82\xc8\x31\x05<=100\"-\n\x16\x43reatePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\"\xcd\x01\n\x15UpdatePlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12=\n\x05items\x18\x05 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItemB\t\x82\xc8\x31\x05<=100\"-\n\x16UpdatePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\":\n\x15\x44\x65letePlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65letePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\"h\n\x1b\x42\x61tchDeletePlaylistsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\'\n\x0cplaylist_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"4\n\x1c\x42\x61tchDeletePlaylistsMetadata\x12\x14\n\x0cplaylist_ids\x18\x01 \x03(\t\"}\n\x1bGetPlaylistPlayerURLRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12;\n\x06params\x18\x02 \x01(\x0b\x32+.yandex.cloud.video.v1.PlaylistPlayerParams\"F\n\x14PlaylistPlayerParams\x12\x0c\n\x04mute\x18\x01 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x02 \x01(\x08\x12\x0e\n\x06hidden\x18\x03 \x01(\x08\"@\n\x1cGetPlaylistPlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t2\x99\t\n\x0fPlaylistService\x12|\n\x03Get\x12).yandex.cloud.video.v1.GetPlaylistRequest\x1a\x1f.yandex.cloud.video.v1.Playlist\")\x82\xd3\xe4\x93\x02#\x12!/video/v1/playlists/{playlist_id}\x12~\n\x04List\x12+.yandex.cloud.video.v1.ListPlaylistsRequest\x1a,.yandex.cloud.video.v1.ListPlaylistsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/video/v1/playlists\x12\x9f\x01\n\x06\x43reate\x12,.yandex.cloud.video.v1.CreatePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\"\n\x16\x43reatePlaylistMetadata\x12\x08Playlist\x82\xd3\xe4\x93\x02\x18\"\x13/video/v1/playlists:\x01*\x12\xad\x01\n\x06Update\x12,.yandex.cloud.video.v1.UpdatePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*\"\n\x16UpdatePlaylistMetadata\x12\x08Playlist\x82\xd3\xe4\x93\x02&2!/video/v1/playlists/{playlist_id}:\x01*\x12\xb7\x01\n\x06\x44\x65lete\x12,.yandex.cloud.video.v1.DeletePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*/\n\x16\x44\x65letePlaylistMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#*!/video/v1/playlists/{playlist_id}\x12\xc9\x01\n\x0b\x42\x61tchDelete\x12\x32.yandex.cloud.video.v1.BatchDeletePlaylistsRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*5\n\x1c\x42\x61tchDeletePlaylistsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02$\"\x1f/video/v1/playlists:batchDelete:\x01*\x12\xaf\x01\n\x0cGetPlayerURL\x12\x32.yandex.cloud.video.v1.GetPlaylistPlayerURLRequest\x1a\x33.yandex.cloud.video.v1.GetPlaylistPlayerURLResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./video/v1/playlists/{playlist_id}:getPlayerURLB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.playlist_service_pb2', _globals)
|
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
|
+
DESCRIPTOR._options = None
|
|
29
|
+
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
30
|
+
_GETPLAYLISTREQUEST.fields_by_name['playlist_id']._options = None
|
|
31
|
+
_GETPLAYLISTREQUEST.fields_by_name['playlist_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
32
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['channel_id']._options = None
|
|
33
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['page_size']._options = None
|
|
35
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
36
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['page_token']._options = None
|
|
37
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
38
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['filter']._options = None
|
|
39
|
+
_LISTPLAYLISTSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
40
|
+
_CREATEPLAYLISTREQUEST.fields_by_name['channel_id']._options = None
|
|
41
|
+
_CREATEPLAYLISTREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
|
+
_CREATEPLAYLISTREQUEST.fields_by_name['title']._options = None
|
|
43
|
+
_CREATEPLAYLISTREQUEST.fields_by_name['title']._serialized_options = b'\350\3071\001'
|
|
44
|
+
_CREATEPLAYLISTREQUEST.fields_by_name['items']._options = None
|
|
45
|
+
_CREATEPLAYLISTREQUEST.fields_by_name['items']._serialized_options = b'\202\3101\005<=100'
|
|
46
|
+
_UPDATEPLAYLISTREQUEST.fields_by_name['playlist_id']._options = None
|
|
47
|
+
_UPDATEPLAYLISTREQUEST.fields_by_name['playlist_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
48
|
+
_UPDATEPLAYLISTREQUEST.fields_by_name['items']._options = None
|
|
49
|
+
_UPDATEPLAYLISTREQUEST.fields_by_name['items']._serialized_options = b'\202\3101\005<=100'
|
|
50
|
+
_DELETEPLAYLISTREQUEST.fields_by_name['playlist_id']._options = None
|
|
51
|
+
_DELETEPLAYLISTREQUEST.fields_by_name['playlist_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
52
|
+
_BATCHDELETEPLAYLISTSREQUEST.fields_by_name['channel_id']._options = None
|
|
53
|
+
_BATCHDELETEPLAYLISTSREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
54
|
+
_BATCHDELETEPLAYLISTSREQUEST.fields_by_name['playlist_ids']._options = None
|
|
55
|
+
_BATCHDELETEPLAYLISTSREQUEST.fields_by_name['playlist_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
56
|
+
_GETPLAYLISTPLAYERURLREQUEST.fields_by_name['playlist_id']._options = None
|
|
57
|
+
_GETPLAYLISTPLAYERURLREQUEST.fields_by_name['playlist_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
58
|
+
_PLAYLISTSERVICE.methods_by_name['Get']._options = None
|
|
59
|
+
_PLAYLISTSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002#\022!/video/v1/playlists/{playlist_id}'
|
|
60
|
+
_PLAYLISTSERVICE.methods_by_name['List']._options = None
|
|
61
|
+
_PLAYLISTSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\025\022\023/video/v1/playlists'
|
|
62
|
+
_PLAYLISTSERVICE.methods_by_name['Create']._options = None
|
|
63
|
+
_PLAYLISTSERVICE.methods_by_name['Create']._serialized_options = b'\262\322*\"\n\026CreatePlaylistMetadata\022\010Playlist\202\323\344\223\002\030\"\023/video/v1/playlists:\001*'
|
|
64
|
+
_PLAYLISTSERVICE.methods_by_name['Update']._options = None
|
|
65
|
+
_PLAYLISTSERVICE.methods_by_name['Update']._serialized_options = b'\262\322*\"\n\026UpdatePlaylistMetadata\022\010Playlist\202\323\344\223\002&2!/video/v1/playlists/{playlist_id}:\001*'
|
|
66
|
+
_PLAYLISTSERVICE.methods_by_name['Delete']._options = None
|
|
67
|
+
_PLAYLISTSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*/\n\026DeletePlaylistMetadata\022\025google.protobuf.Empty\202\323\344\223\002#*!/video/v1/playlists/{playlist_id}'
|
|
68
|
+
_PLAYLISTSERVICE.methods_by_name['BatchDelete']._options = None
|
|
69
|
+
_PLAYLISTSERVICE.methods_by_name['BatchDelete']._serialized_options = b'\262\322*5\n\034BatchDeletePlaylistsMetadata\022\025google.protobuf.Empty\202\323\344\223\002$\"\037/video/v1/playlists:batchDelete:\001*'
|
|
70
|
+
_PLAYLISTSERVICE.methods_by_name['GetPlayerURL']._options = None
|
|
71
|
+
_PLAYLISTSERVICE.methods_by_name['GetPlayerURL']._serialized_options = b'\202\323\344\223\0020\022./video/v1/playlists/{playlist_id}:getPlayerURL'
|
|
72
|
+
_globals['_GETPLAYLISTREQUEST']._serialized_start=278
|
|
73
|
+
_globals['_GETPLAYLISTREQUEST']._serialized_end=333
|
|
74
|
+
_globals['_LISTPLAYLISTSREQUEST']._serialized_start=336
|
|
75
|
+
_globals['_LISTPLAYLISTSREQUEST']._serialized_end=506
|
|
76
|
+
_globals['_LISTPLAYLISTSRESPONSE']._serialized_start=508
|
|
77
|
+
_globals['_LISTPLAYLISTSRESPONSE']._serialized_end=614
|
|
78
|
+
_globals['_CREATEPLAYLISTREQUEST']._serialized_start=617
|
|
79
|
+
_globals['_CREATEPLAYLISTREQUEST']._serialized_end=779
|
|
80
|
+
_globals['_CREATEPLAYLISTMETADATA']._serialized_start=781
|
|
81
|
+
_globals['_CREATEPLAYLISTMETADATA']._serialized_end=826
|
|
82
|
+
_globals['_UPDATEPLAYLISTREQUEST']._serialized_start=829
|
|
83
|
+
_globals['_UPDATEPLAYLISTREQUEST']._serialized_end=1034
|
|
84
|
+
_globals['_UPDATEPLAYLISTMETADATA']._serialized_start=1036
|
|
85
|
+
_globals['_UPDATEPLAYLISTMETADATA']._serialized_end=1081
|
|
86
|
+
_globals['_DELETEPLAYLISTREQUEST']._serialized_start=1083
|
|
87
|
+
_globals['_DELETEPLAYLISTREQUEST']._serialized_end=1141
|
|
88
|
+
_globals['_DELETEPLAYLISTMETADATA']._serialized_start=1143
|
|
89
|
+
_globals['_DELETEPLAYLISTMETADATA']._serialized_end=1188
|
|
90
|
+
_globals['_BATCHDELETEPLAYLISTSREQUEST']._serialized_start=1190
|
|
91
|
+
_globals['_BATCHDELETEPLAYLISTSREQUEST']._serialized_end=1294
|
|
92
|
+
_globals['_BATCHDELETEPLAYLISTSMETADATA']._serialized_start=1296
|
|
93
|
+
_globals['_BATCHDELETEPLAYLISTSMETADATA']._serialized_end=1348
|
|
94
|
+
_globals['_GETPLAYLISTPLAYERURLREQUEST']._serialized_start=1350
|
|
95
|
+
_globals['_GETPLAYLISTPLAYERURLREQUEST']._serialized_end=1475
|
|
96
|
+
_globals['_PLAYLISTPLAYERPARAMS']._serialized_start=1477
|
|
97
|
+
_globals['_PLAYLISTPLAYERPARAMS']._serialized_end=1547
|
|
98
|
+
_globals['_GETPLAYLISTPLAYERURLRESPONSE']._serialized_start=1549
|
|
99
|
+
_globals['_GETPLAYLISTPLAYERURLRESPONSE']._serialized_end=1613
|
|
100
|
+
_globals['_PLAYLISTSERVICE']._serialized_start=1616
|
|
101
|
+
_globals['_PLAYLISTSERVICE']._serialized_end=2793
|
|
102
|
+
# @@protoc_insertion_point(module_scope)
|