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
|
@@ -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
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
6
|
+
from yandex.cloud.video.v1 import playlist_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_playlist__pb2
|
|
7
|
+
from yandex.cloud.video.v1 import playlist_service_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PlaylistServiceStub(object):
|
|
11
|
+
"""Playlist management service.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def __init__(self, channel):
|
|
15
|
+
"""Constructor.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
channel: A grpc.Channel.
|
|
19
|
+
"""
|
|
20
|
+
self.Get = channel.unary_unary(
|
|
21
|
+
'/yandex.cloud.video.v1.PlaylistService/Get',
|
|
22
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistRequest.SerializeToString,
|
|
23
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__pb2.Playlist.FromString,
|
|
24
|
+
)
|
|
25
|
+
self.List = channel.unary_unary(
|
|
26
|
+
'/yandex.cloud.video.v1.PlaylistService/List',
|
|
27
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.ListPlaylistsRequest.SerializeToString,
|
|
28
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.ListPlaylistsResponse.FromString,
|
|
29
|
+
)
|
|
30
|
+
self.Create = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.video.v1.PlaylistService/Create',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.CreatePlaylistRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
34
|
+
)
|
|
35
|
+
self.Update = channel.unary_unary(
|
|
36
|
+
'/yandex.cloud.video.v1.PlaylistService/Update',
|
|
37
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.UpdatePlaylistRequest.SerializeToString,
|
|
38
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
39
|
+
)
|
|
40
|
+
self.Delete = channel.unary_unary(
|
|
41
|
+
'/yandex.cloud.video.v1.PlaylistService/Delete',
|
|
42
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.DeletePlaylistRequest.SerializeToString,
|
|
43
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
|
+
)
|
|
45
|
+
self.BatchDelete = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.video.v1.PlaylistService/BatchDelete',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.BatchDeletePlaylistsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
49
|
+
)
|
|
50
|
+
self.GetPlayerURL = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.video.v1.PlaylistService/GetPlayerURL',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistPlayerURLRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistPlayerURLResponse.FromString,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class PlaylistServiceServicer(object):
|
|
58
|
+
"""Playlist management service.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
def Get(self, request, context):
|
|
62
|
+
"""Returns the specific playlist.
|
|
63
|
+
"""
|
|
64
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
65
|
+
context.set_details('Method not implemented!')
|
|
66
|
+
raise NotImplementedError('Method not implemented!')
|
|
67
|
+
|
|
68
|
+
def List(self, request, context):
|
|
69
|
+
"""List playlists for a channel.
|
|
70
|
+
"""
|
|
71
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
72
|
+
context.set_details('Method not implemented!')
|
|
73
|
+
raise NotImplementedError('Method not implemented!')
|
|
74
|
+
|
|
75
|
+
def Create(self, request, context):
|
|
76
|
+
"""Create playlist.
|
|
77
|
+
"""
|
|
78
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
79
|
+
context.set_details('Method not implemented!')
|
|
80
|
+
raise NotImplementedError('Method not implemented!')
|
|
81
|
+
|
|
82
|
+
def Update(self, request, context):
|
|
83
|
+
"""Update playlist.
|
|
84
|
+
"""
|
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
86
|
+
context.set_details('Method not implemented!')
|
|
87
|
+
raise NotImplementedError('Method not implemented!')
|
|
88
|
+
|
|
89
|
+
def Delete(self, request, context):
|
|
90
|
+
"""Delete playlist.
|
|
91
|
+
"""
|
|
92
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
93
|
+
context.set_details('Method not implemented!')
|
|
94
|
+
raise NotImplementedError('Method not implemented!')
|
|
95
|
+
|
|
96
|
+
def BatchDelete(self, request, context):
|
|
97
|
+
"""Batch delete playlist.
|
|
98
|
+
"""
|
|
99
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
100
|
+
context.set_details('Method not implemented!')
|
|
101
|
+
raise NotImplementedError('Method not implemented!')
|
|
102
|
+
|
|
103
|
+
def GetPlayerURL(self, request, context):
|
|
104
|
+
"""Returns player's url.
|
|
105
|
+
"""
|
|
106
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
|
+
context.set_details('Method not implemented!')
|
|
108
|
+
raise NotImplementedError('Method not implemented!')
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def add_PlaylistServiceServicer_to_server(servicer, server):
|
|
112
|
+
rpc_method_handlers = {
|
|
113
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
114
|
+
servicer.Get,
|
|
115
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistRequest.FromString,
|
|
116
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__pb2.Playlist.SerializeToString,
|
|
117
|
+
),
|
|
118
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
119
|
+
servicer.List,
|
|
120
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.ListPlaylistsRequest.FromString,
|
|
121
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.ListPlaylistsResponse.SerializeToString,
|
|
122
|
+
),
|
|
123
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
124
|
+
servicer.Create,
|
|
125
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.CreatePlaylistRequest.FromString,
|
|
126
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
127
|
+
),
|
|
128
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
129
|
+
servicer.Update,
|
|
130
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.UpdatePlaylistRequest.FromString,
|
|
131
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
132
|
+
),
|
|
133
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
134
|
+
servicer.Delete,
|
|
135
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.DeletePlaylistRequest.FromString,
|
|
136
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
137
|
+
),
|
|
138
|
+
'BatchDelete': grpc.unary_unary_rpc_method_handler(
|
|
139
|
+
servicer.BatchDelete,
|
|
140
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.BatchDeletePlaylistsRequest.FromString,
|
|
141
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
142
|
+
),
|
|
143
|
+
'GetPlayerURL': grpc.unary_unary_rpc_method_handler(
|
|
144
|
+
servicer.GetPlayerURL,
|
|
145
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistPlayerURLRequest.FromString,
|
|
146
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistPlayerURLResponse.SerializeToString,
|
|
147
|
+
),
|
|
148
|
+
}
|
|
149
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
150
|
+
'yandex.cloud.video.v1.PlaylistService', rpc_method_handlers)
|
|
151
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
# This class is part of an EXPERIMENTAL API.
|
|
155
|
+
class PlaylistService(object):
|
|
156
|
+
"""Playlist management service.
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
@staticmethod
|
|
160
|
+
def Get(request,
|
|
161
|
+
target,
|
|
162
|
+
options=(),
|
|
163
|
+
channel_credentials=None,
|
|
164
|
+
call_credentials=None,
|
|
165
|
+
insecure=False,
|
|
166
|
+
compression=None,
|
|
167
|
+
wait_for_ready=None,
|
|
168
|
+
timeout=None,
|
|
169
|
+
metadata=None):
|
|
170
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.PlaylistService/Get',
|
|
171
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistRequest.SerializeToString,
|
|
172
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__pb2.Playlist.FromString,
|
|
173
|
+
options, channel_credentials,
|
|
174
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
175
|
+
|
|
176
|
+
@staticmethod
|
|
177
|
+
def List(request,
|
|
178
|
+
target,
|
|
179
|
+
options=(),
|
|
180
|
+
channel_credentials=None,
|
|
181
|
+
call_credentials=None,
|
|
182
|
+
insecure=False,
|
|
183
|
+
compression=None,
|
|
184
|
+
wait_for_ready=None,
|
|
185
|
+
timeout=None,
|
|
186
|
+
metadata=None):
|
|
187
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.PlaylistService/List',
|
|
188
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.ListPlaylistsRequest.SerializeToString,
|
|
189
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.ListPlaylistsResponse.FromString,
|
|
190
|
+
options, channel_credentials,
|
|
191
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
192
|
+
|
|
193
|
+
@staticmethod
|
|
194
|
+
def Create(request,
|
|
195
|
+
target,
|
|
196
|
+
options=(),
|
|
197
|
+
channel_credentials=None,
|
|
198
|
+
call_credentials=None,
|
|
199
|
+
insecure=False,
|
|
200
|
+
compression=None,
|
|
201
|
+
wait_for_ready=None,
|
|
202
|
+
timeout=None,
|
|
203
|
+
metadata=None):
|
|
204
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.PlaylistService/Create',
|
|
205
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.CreatePlaylistRequest.SerializeToString,
|
|
206
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
207
|
+
options, channel_credentials,
|
|
208
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
209
|
+
|
|
210
|
+
@staticmethod
|
|
211
|
+
def Update(request,
|
|
212
|
+
target,
|
|
213
|
+
options=(),
|
|
214
|
+
channel_credentials=None,
|
|
215
|
+
call_credentials=None,
|
|
216
|
+
insecure=False,
|
|
217
|
+
compression=None,
|
|
218
|
+
wait_for_ready=None,
|
|
219
|
+
timeout=None,
|
|
220
|
+
metadata=None):
|
|
221
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.PlaylistService/Update',
|
|
222
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.UpdatePlaylistRequest.SerializeToString,
|
|
223
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
224
|
+
options, channel_credentials,
|
|
225
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def Delete(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.PlaylistService/Delete',
|
|
239
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.DeletePlaylistRequest.SerializeToString,
|
|
240
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
241
|
+
options, channel_credentials,
|
|
242
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
243
|
+
|
|
244
|
+
@staticmethod
|
|
245
|
+
def BatchDelete(request,
|
|
246
|
+
target,
|
|
247
|
+
options=(),
|
|
248
|
+
channel_credentials=None,
|
|
249
|
+
call_credentials=None,
|
|
250
|
+
insecure=False,
|
|
251
|
+
compression=None,
|
|
252
|
+
wait_for_ready=None,
|
|
253
|
+
timeout=None,
|
|
254
|
+
metadata=None):
|
|
255
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.PlaylistService/BatchDelete',
|
|
256
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.BatchDeletePlaylistsRequest.SerializeToString,
|
|
257
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
258
|
+
options, channel_credentials,
|
|
259
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
260
|
+
|
|
261
|
+
@staticmethod
|
|
262
|
+
def GetPlayerURL(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.PlaylistService/GetPlayerURL',
|
|
273
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistPlayerURLRequest.SerializeToString,
|
|
274
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_playlist__service__pb2.GetPlaylistPlayerURLResponse.FromString,
|
|
275
|
+
options, channel_credentials,
|
|
276
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|