yandexcloud 0.324.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.pyi +3 -3
- 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/policy_pb2.pyi +1 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +2 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +3 -3
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +9 -6
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +15 -9
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +42 -38
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +2 -2
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +6 -6
- 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/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.324.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +119 -93
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -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)
|
|
@@ -0,0 +1,331 @@
|
|
|
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.field_mask_pb2
|
|
10
|
+
import google.protobuf.internal.containers
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import typing
|
|
13
|
+
import yandex.cloud.video.v1.playlist_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class GetPlaylistRequest(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
playlist_id: builtins.str
|
|
23
|
+
"""ID of the playlist."""
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
*,
|
|
27
|
+
playlist_id: builtins.str = ...,
|
|
28
|
+
) -> None: ...
|
|
29
|
+
def ClearField(self, field_name: typing.Literal["playlist_id", b"playlist_id"]) -> None: ...
|
|
30
|
+
|
|
31
|
+
global___GetPlaylistRequest = GetPlaylistRequest
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class ListPlaylistsRequest(google.protobuf.message.Message):
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
36
|
+
|
|
37
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
38
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
40
|
+
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
41
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
42
|
+
channel_id: builtins.str
|
|
43
|
+
"""ID of the channel."""
|
|
44
|
+
page_size: builtins.int
|
|
45
|
+
"""The maximum number of the results per page to return."""
|
|
46
|
+
page_token: builtins.str
|
|
47
|
+
"""Page token for getting the next page of the result."""
|
|
48
|
+
order_by: builtins.str
|
|
49
|
+
"""By which column the listing should be ordered and in which direction,
|
|
50
|
+
format is "createdAt desc". "id asc" if omitted.
|
|
51
|
+
Possible fields: ["id", "title", "createdAt", "updatedAt"]
|
|
52
|
+
Both snake_case and camelCase are supported for fields.
|
|
53
|
+
"""
|
|
54
|
+
filter: builtins.str
|
|
55
|
+
"""Filter expression that filters resources listed in the response.
|
|
56
|
+
Expressions are composed of terms connected by logic operators.
|
|
57
|
+
Example: "key1=value AND key2=value"
|
|
58
|
+
Supported operators: ["AND"].
|
|
59
|
+
Supported fields: ["title"]
|
|
60
|
+
Both snake_case and camelCase are supported for fields.
|
|
61
|
+
"""
|
|
62
|
+
def __init__(
|
|
63
|
+
self,
|
|
64
|
+
*,
|
|
65
|
+
channel_id: builtins.str = ...,
|
|
66
|
+
page_size: builtins.int = ...,
|
|
67
|
+
page_token: builtins.str = ...,
|
|
68
|
+
order_by: builtins.str = ...,
|
|
69
|
+
filter: builtins.str = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "filter", b"filter", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
72
|
+
|
|
73
|
+
global___ListPlaylistsRequest = ListPlaylistsRequest
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class ListPlaylistsResponse(google.protobuf.message.Message):
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
|
|
79
|
+
PLAYLISTS_FIELD_NUMBER: builtins.int
|
|
80
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
81
|
+
next_page_token: builtins.str
|
|
82
|
+
"""Token for getting the next page."""
|
|
83
|
+
@property
|
|
84
|
+
def playlists(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.playlist_pb2.Playlist]:
|
|
85
|
+
"""List of playlists for specific channel."""
|
|
86
|
+
|
|
87
|
+
def __init__(
|
|
88
|
+
self,
|
|
89
|
+
*,
|
|
90
|
+
playlists: collections.abc.Iterable[yandex.cloud.video.v1.playlist_pb2.Playlist] | None = ...,
|
|
91
|
+
next_page_token: builtins.str = ...,
|
|
92
|
+
) -> None: ...
|
|
93
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "playlists", b"playlists"]) -> None: ...
|
|
94
|
+
|
|
95
|
+
global___ListPlaylistsResponse = ListPlaylistsResponse
|
|
96
|
+
|
|
97
|
+
@typing.final
|
|
98
|
+
class CreatePlaylistRequest(google.protobuf.message.Message):
|
|
99
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
100
|
+
|
|
101
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
102
|
+
TITLE_FIELD_NUMBER: builtins.int
|
|
103
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
104
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
105
|
+
channel_id: builtins.str
|
|
106
|
+
"""ID of the channel."""
|
|
107
|
+
title: builtins.str
|
|
108
|
+
"""Playlist title."""
|
|
109
|
+
description: builtins.str
|
|
110
|
+
"""Playlist description."""
|
|
111
|
+
@property
|
|
112
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.playlist_pb2.PlaylistItem]:
|
|
113
|
+
"""List of playlist items."""
|
|
114
|
+
|
|
115
|
+
def __init__(
|
|
116
|
+
self,
|
|
117
|
+
*,
|
|
118
|
+
channel_id: builtins.str = ...,
|
|
119
|
+
title: builtins.str = ...,
|
|
120
|
+
description: builtins.str = ...,
|
|
121
|
+
items: collections.abc.Iterable[yandex.cloud.video.v1.playlist_pb2.PlaylistItem] | None = ...,
|
|
122
|
+
) -> None: ...
|
|
123
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "description", b"description", "items", b"items", "title", b"title"]) -> None: ...
|
|
124
|
+
|
|
125
|
+
global___CreatePlaylistRequest = CreatePlaylistRequest
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class CreatePlaylistMetadata(google.protobuf.message.Message):
|
|
129
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
130
|
+
|
|
131
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
132
|
+
playlist_id: builtins.str
|
|
133
|
+
"""ID of the playlist."""
|
|
134
|
+
def __init__(
|
|
135
|
+
self,
|
|
136
|
+
*,
|
|
137
|
+
playlist_id: builtins.str = ...,
|
|
138
|
+
) -> None: ...
|
|
139
|
+
def ClearField(self, field_name: typing.Literal["playlist_id", b"playlist_id"]) -> None: ...
|
|
140
|
+
|
|
141
|
+
global___CreatePlaylistMetadata = CreatePlaylistMetadata
|
|
142
|
+
|
|
143
|
+
@typing.final
|
|
144
|
+
class UpdatePlaylistRequest(google.protobuf.message.Message):
|
|
145
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
146
|
+
|
|
147
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
148
|
+
FIELD_MASK_FIELD_NUMBER: builtins.int
|
|
149
|
+
TITLE_FIELD_NUMBER: builtins.int
|
|
150
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
151
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
152
|
+
playlist_id: builtins.str
|
|
153
|
+
"""ID of the playlist."""
|
|
154
|
+
title: builtins.str
|
|
155
|
+
"""Playlist title."""
|
|
156
|
+
description: builtins.str
|
|
157
|
+
"""Playlist description."""
|
|
158
|
+
@property
|
|
159
|
+
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
160
|
+
"""Field mask that specifies which fields of the playlist are going to be updated."""
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.playlist_pb2.PlaylistItem]:
|
|
164
|
+
"""List of playlist items."""
|
|
165
|
+
|
|
166
|
+
def __init__(
|
|
167
|
+
self,
|
|
168
|
+
*,
|
|
169
|
+
playlist_id: builtins.str = ...,
|
|
170
|
+
field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
171
|
+
title: builtins.str = ...,
|
|
172
|
+
description: builtins.str = ...,
|
|
173
|
+
items: collections.abc.Iterable[yandex.cloud.video.v1.playlist_pb2.PlaylistItem] | None = ...,
|
|
174
|
+
) -> None: ...
|
|
175
|
+
def HasField(self, field_name: typing.Literal["field_mask", b"field_mask"]) -> builtins.bool: ...
|
|
176
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "field_mask", b"field_mask", "items", b"items", "playlist_id", b"playlist_id", "title", b"title"]) -> None: ...
|
|
177
|
+
|
|
178
|
+
global___UpdatePlaylistRequest = UpdatePlaylistRequest
|
|
179
|
+
|
|
180
|
+
@typing.final
|
|
181
|
+
class UpdatePlaylistMetadata(google.protobuf.message.Message):
|
|
182
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
183
|
+
|
|
184
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
185
|
+
playlist_id: builtins.str
|
|
186
|
+
"""ID of the playlist."""
|
|
187
|
+
def __init__(
|
|
188
|
+
self,
|
|
189
|
+
*,
|
|
190
|
+
playlist_id: builtins.str = ...,
|
|
191
|
+
) -> None: ...
|
|
192
|
+
def ClearField(self, field_name: typing.Literal["playlist_id", b"playlist_id"]) -> None: ...
|
|
193
|
+
|
|
194
|
+
global___UpdatePlaylistMetadata = UpdatePlaylistMetadata
|
|
195
|
+
|
|
196
|
+
@typing.final
|
|
197
|
+
class DeletePlaylistRequest(google.protobuf.message.Message):
|
|
198
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
199
|
+
|
|
200
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
201
|
+
playlist_id: builtins.str
|
|
202
|
+
"""ID of the playlist."""
|
|
203
|
+
def __init__(
|
|
204
|
+
self,
|
|
205
|
+
*,
|
|
206
|
+
playlist_id: builtins.str = ...,
|
|
207
|
+
) -> None: ...
|
|
208
|
+
def ClearField(self, field_name: typing.Literal["playlist_id", b"playlist_id"]) -> None: ...
|
|
209
|
+
|
|
210
|
+
global___DeletePlaylistRequest = DeletePlaylistRequest
|
|
211
|
+
|
|
212
|
+
@typing.final
|
|
213
|
+
class DeletePlaylistMetadata(google.protobuf.message.Message):
|
|
214
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
215
|
+
|
|
216
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
217
|
+
playlist_id: builtins.str
|
|
218
|
+
"""ID of the playlist."""
|
|
219
|
+
def __init__(
|
|
220
|
+
self,
|
|
221
|
+
*,
|
|
222
|
+
playlist_id: builtins.str = ...,
|
|
223
|
+
) -> None: ...
|
|
224
|
+
def ClearField(self, field_name: typing.Literal["playlist_id", b"playlist_id"]) -> None: ...
|
|
225
|
+
|
|
226
|
+
global___DeletePlaylistMetadata = DeletePlaylistMetadata
|
|
227
|
+
|
|
228
|
+
@typing.final
|
|
229
|
+
class BatchDeletePlaylistsRequest(google.protobuf.message.Message):
|
|
230
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
231
|
+
|
|
232
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
233
|
+
PLAYLIST_IDS_FIELD_NUMBER: builtins.int
|
|
234
|
+
channel_id: builtins.str
|
|
235
|
+
"""ID of the channel."""
|
|
236
|
+
@property
|
|
237
|
+
def playlist_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
238
|
+
"""List of playlist IDs."""
|
|
239
|
+
|
|
240
|
+
def __init__(
|
|
241
|
+
self,
|
|
242
|
+
*,
|
|
243
|
+
channel_id: builtins.str = ...,
|
|
244
|
+
playlist_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
245
|
+
) -> None: ...
|
|
246
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "playlist_ids", b"playlist_ids"]) -> None: ...
|
|
247
|
+
|
|
248
|
+
global___BatchDeletePlaylistsRequest = BatchDeletePlaylistsRequest
|
|
249
|
+
|
|
250
|
+
@typing.final
|
|
251
|
+
class BatchDeletePlaylistsMetadata(google.protobuf.message.Message):
|
|
252
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
253
|
+
|
|
254
|
+
PLAYLIST_IDS_FIELD_NUMBER: builtins.int
|
|
255
|
+
@property
|
|
256
|
+
def playlist_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
257
|
+
"""List of playlist IDs."""
|
|
258
|
+
|
|
259
|
+
def __init__(
|
|
260
|
+
self,
|
|
261
|
+
*,
|
|
262
|
+
playlist_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
263
|
+
) -> None: ...
|
|
264
|
+
def ClearField(self, field_name: typing.Literal["playlist_ids", b"playlist_ids"]) -> None: ...
|
|
265
|
+
|
|
266
|
+
global___BatchDeletePlaylistsMetadata = BatchDeletePlaylistsMetadata
|
|
267
|
+
|
|
268
|
+
@typing.final
|
|
269
|
+
class GetPlaylistPlayerURLRequest(google.protobuf.message.Message):
|
|
270
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
271
|
+
|
|
272
|
+
PLAYLIST_ID_FIELD_NUMBER: builtins.int
|
|
273
|
+
PARAMS_FIELD_NUMBER: builtins.int
|
|
274
|
+
playlist_id: builtins.str
|
|
275
|
+
"""ID of the playlist."""
|
|
276
|
+
@property
|
|
277
|
+
def params(self) -> global___PlaylistPlayerParams: ...
|
|
278
|
+
def __init__(
|
|
279
|
+
self,
|
|
280
|
+
*,
|
|
281
|
+
playlist_id: builtins.str = ...,
|
|
282
|
+
params: global___PlaylistPlayerParams | None = ...,
|
|
283
|
+
) -> None: ...
|
|
284
|
+
def HasField(self, field_name: typing.Literal["params", b"params"]) -> builtins.bool: ...
|
|
285
|
+
def ClearField(self, field_name: typing.Literal["params", b"params", "playlist_id", b"playlist_id"]) -> None: ...
|
|
286
|
+
|
|
287
|
+
global___GetPlaylistPlayerURLRequest = GetPlaylistPlayerURLRequest
|
|
288
|
+
|
|
289
|
+
@typing.final
|
|
290
|
+
class PlaylistPlayerParams(google.protobuf.message.Message):
|
|
291
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
292
|
+
|
|
293
|
+
MUTE_FIELD_NUMBER: builtins.int
|
|
294
|
+
AUTOPLAY_FIELD_NUMBER: builtins.int
|
|
295
|
+
HIDDEN_FIELD_NUMBER: builtins.int
|
|
296
|
+
mute: builtins.bool
|
|
297
|
+
"""If true, a player will be muted by default."""
|
|
298
|
+
autoplay: builtins.bool
|
|
299
|
+
"""If true, playback will start automatically."""
|
|
300
|
+
hidden: builtins.bool
|
|
301
|
+
"""If true, a player interface will be hidden by default."""
|
|
302
|
+
def __init__(
|
|
303
|
+
self,
|
|
304
|
+
*,
|
|
305
|
+
mute: builtins.bool = ...,
|
|
306
|
+
autoplay: builtins.bool = ...,
|
|
307
|
+
hidden: builtins.bool = ...,
|
|
308
|
+
) -> None: ...
|
|
309
|
+
def ClearField(self, field_name: typing.Literal["autoplay", b"autoplay", "hidden", b"hidden", "mute", b"mute"]) -> None: ...
|
|
310
|
+
|
|
311
|
+
global___PlaylistPlayerParams = PlaylistPlayerParams
|
|
312
|
+
|
|
313
|
+
@typing.final
|
|
314
|
+
class GetPlaylistPlayerURLResponse(google.protobuf.message.Message):
|
|
315
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
316
|
+
|
|
317
|
+
PLAYER_URL_FIELD_NUMBER: builtins.int
|
|
318
|
+
HTML_FIELD_NUMBER: builtins.int
|
|
319
|
+
player_url: builtins.str
|
|
320
|
+
"""Direct link to the playlist."""
|
|
321
|
+
html: builtins.str
|
|
322
|
+
"""HTML embed code in Iframe format."""
|
|
323
|
+
def __init__(
|
|
324
|
+
self,
|
|
325
|
+
*,
|
|
326
|
+
player_url: builtins.str = ...,
|
|
327
|
+
html: builtins.str = ...,
|
|
328
|
+
) -> None: ...
|
|
329
|
+
def ClearField(self, field_name: typing.Literal["html", b"html", "player_url", b"player_url"]) -> None: ...
|
|
330
|
+
|
|
331
|
+
global___GetPlaylistPlayerURLResponse = GetPlaylistPlayerURLResponse
|