yandexcloud 0.351.0__py3-none-any.whl → 0.352.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
- yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
- yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +98 -86
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.352.0.dist-info}/top_level.txt +0 -0
|
@@ -20,7 +20,7 @@ class GetChannelRequest(google.protobuf.message.Message):
|
|
|
20
20
|
|
|
21
21
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
22
22
|
channel_id: builtins.str
|
|
23
|
-
"""ID of the channel."""
|
|
23
|
+
"""ID of the channel to retrieve."""
|
|
24
24
|
def __init__(
|
|
25
25
|
self,
|
|
26
26
|
*,
|
|
@@ -40,32 +40,34 @@ class ListChannelsRequest(google.protobuf.message.Message):
|
|
|
40
40
|
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
41
41
|
FILTER_FIELD_NUMBER: builtins.int
|
|
42
42
|
organization_id: builtins.str
|
|
43
|
-
"""ID of the organization."""
|
|
43
|
+
"""ID of the organization containing the channels to list."""
|
|
44
44
|
page_size: builtins.int
|
|
45
|
-
"""The maximum number of
|
|
46
|
-
Default value: 100.
|
|
47
|
-
"""
|
|
45
|
+
"""The maximum number of channels to return per page."""
|
|
48
46
|
page_token: builtins.str
|
|
49
|
-
"""Page token for
|
|
47
|
+
"""Page token for retrieving the next page of results.
|
|
48
|
+
This token is obtained from the next_page_token field in the previous ListChannelsResponse.
|
|
49
|
+
"""
|
|
50
50
|
order_by: builtins.str
|
|
51
|
-
"""
|
|
52
|
-
|
|
51
|
+
"""Specifies the ordering of results.
|
|
52
|
+
Format is "<field> <order>" (e.g., "createdAt desc").
|
|
53
53
|
Default: "id asc".
|
|
54
|
-
|
|
55
|
-
Both snake_case and camelCase are supported
|
|
54
|
+
Supported fields: ["id", "title", "createdAt", "updatedAt"].
|
|
55
|
+
Both snake_case and camelCase field names are supported.
|
|
56
56
|
"""
|
|
57
57
|
filter: builtins.str
|
|
58
|
-
"""Filter expression
|
|
59
|
-
Expressions
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
"""Filter expression to narrow down the list of returned channels.
|
|
59
|
+
Expressions consist of terms connected by logical operators.
|
|
60
|
+
Values containing spaces or quotes must be enclosed in quotes (`'` or `"`)
|
|
61
|
+
with inner quotes being backslash-escaped.
|
|
62
|
+
|
|
62
63
|
Supported logical operators: ["AND", "OR"].
|
|
63
|
-
Supported
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Example: `
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
|
|
65
|
+
Parentheses can be used to group logical expressions.
|
|
66
|
+
|
|
67
|
+
Example: `title:'news' AND id!='channel-123'`
|
|
68
|
+
|
|
69
|
+
Filterable fields: ["id", "title"].
|
|
70
|
+
Both snake_case and camelCase field names are supported.
|
|
69
71
|
"""
|
|
70
72
|
def __init__(
|
|
71
73
|
self,
|
|
@@ -87,10 +89,14 @@ class ListChannelsResponse(google.protobuf.message.Message):
|
|
|
87
89
|
CHANNELS_FIELD_NUMBER: builtins.int
|
|
88
90
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
89
91
|
next_page_token: builtins.str
|
|
90
|
-
"""Token for
|
|
92
|
+
"""Token for retrieving the next page of results.
|
|
93
|
+
Empty if there are no more results available.
|
|
94
|
+
"""
|
|
91
95
|
@property
|
|
92
96
|
def channels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.channel_pb2.Channel]:
|
|
93
|
-
"""List of channels
|
|
97
|
+
"""List of channels matching the request criteria.
|
|
98
|
+
May be empty if no channels match the criteria or if the organization has no channels.
|
|
99
|
+
"""
|
|
94
100
|
|
|
95
101
|
def __init__(
|
|
96
102
|
self,
|
|
@@ -128,18 +134,24 @@ class CreateChannelRequest(google.protobuf.message.Message):
|
|
|
128
134
|
LABELS_FIELD_NUMBER: builtins.int
|
|
129
135
|
SETTINGS_FIELD_NUMBER: builtins.int
|
|
130
136
|
organization_id: builtins.str
|
|
131
|
-
"""ID of the organization."""
|
|
137
|
+
"""ID of the organization where the channel will be created."""
|
|
132
138
|
title: builtins.str
|
|
133
|
-
"""
|
|
139
|
+
"""Title of the channel to be displayed in interfaces."""
|
|
134
140
|
description: builtins.str
|
|
135
|
-
"""
|
|
141
|
+
"""Detailed description of the channel's purpose and content."""
|
|
136
142
|
@property
|
|
137
143
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
138
|
-
"""Custom labels as
|
|
144
|
+
"""Custom user-defined labels as key:value pairs.
|
|
145
|
+
Maximum 64 labels per channel.
|
|
146
|
+
Keys must be lowercase alphanumeric strings with optional hyphens/underscores.
|
|
147
|
+
Values can contain alphanumeric characters and various symbols.
|
|
148
|
+
"""
|
|
139
149
|
|
|
140
150
|
@property
|
|
141
151
|
def settings(self) -> yandex.cloud.video.v1.channel_pb2.ChannelSettings:
|
|
142
|
-
"""
|
|
152
|
+
"""Configuration settings for the channel's behavior and features.
|
|
153
|
+
Includes settings for advertisements, content cleanup, and Referer verification.
|
|
154
|
+
"""
|
|
143
155
|
|
|
144
156
|
def __init__(
|
|
145
157
|
self,
|
|
@@ -161,7 +173,7 @@ class CreateChannelMetadata(google.protobuf.message.Message):
|
|
|
161
173
|
|
|
162
174
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
163
175
|
channel_id: builtins.str
|
|
164
|
-
"""ID of the channel."""
|
|
176
|
+
"""ID of the channel being created."""
|
|
165
177
|
def __init__(
|
|
166
178
|
self,
|
|
167
179
|
*,
|
|
@@ -195,25 +207,37 @@ class UpdateChannelRequest(google.protobuf.message.Message):
|
|
|
195
207
|
FIELD_MASK_FIELD_NUMBER: builtins.int
|
|
196
208
|
TITLE_FIELD_NUMBER: builtins.int
|
|
197
209
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
210
|
+
DEFAULT_STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
|
|
198
211
|
LABELS_FIELD_NUMBER: builtins.int
|
|
199
212
|
SETTINGS_FIELD_NUMBER: builtins.int
|
|
200
213
|
channel_id: builtins.str
|
|
201
|
-
"""ID of the channel."""
|
|
214
|
+
"""ID of the channel to update."""
|
|
202
215
|
title: builtins.str
|
|
203
|
-
"""
|
|
216
|
+
"""New title for the channel."""
|
|
204
217
|
description: builtins.str
|
|
205
|
-
"""
|
|
218
|
+
"""New description for the channel."""
|
|
219
|
+
default_style_preset_id: builtins.str
|
|
220
|
+
"""New default style preset ID for the channel.
|
|
221
|
+
This preset will be applied to new videos created in this channel unless explicitly overridden.
|
|
222
|
+
"""
|
|
206
223
|
@property
|
|
207
224
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
208
|
-
"""Field mask
|
|
225
|
+
"""Field mask specifying which fields of the channel should be updated.
|
|
226
|
+
Only fields specified in this mask will be modified;
|
|
227
|
+
all other fields will retain their current values.
|
|
228
|
+
This allows for partial updates.
|
|
229
|
+
"""
|
|
209
230
|
|
|
210
231
|
@property
|
|
211
232
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
212
|
-
"""
|
|
233
|
+
"""New custom labels for the channel as `key:value` pairs.
|
|
234
|
+
Maximum 64 labels per channel.
|
|
235
|
+
If provided, replaces all existing labels.
|
|
236
|
+
"""
|
|
213
237
|
|
|
214
238
|
@property
|
|
215
239
|
def settings(self) -> yandex.cloud.video.v1.channel_pb2.ChannelSettings:
|
|
216
|
-
"""
|
|
240
|
+
"""New configuration settings for the channel's behavior and features."""
|
|
217
241
|
|
|
218
242
|
def __init__(
|
|
219
243
|
self,
|
|
@@ -222,11 +246,12 @@ class UpdateChannelRequest(google.protobuf.message.Message):
|
|
|
222
246
|
field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
223
247
|
title: builtins.str = ...,
|
|
224
248
|
description: builtins.str = ...,
|
|
249
|
+
default_style_preset_id: builtins.str = ...,
|
|
225
250
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
226
251
|
settings: yandex.cloud.video.v1.channel_pb2.ChannelSettings | None = ...,
|
|
227
252
|
) -> None: ...
|
|
228
253
|
def HasField(self, field_name: typing.Literal["field_mask", b"field_mask", "settings", b"settings"]) -> builtins.bool: ...
|
|
229
|
-
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "settings", b"settings", "title", b"title"]) -> None: ...
|
|
254
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "default_style_preset_id", b"default_style_preset_id", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "settings", b"settings", "title", b"title"]) -> None: ...
|
|
230
255
|
|
|
231
256
|
global___UpdateChannelRequest = UpdateChannelRequest
|
|
232
257
|
|
|
@@ -236,7 +261,7 @@ class UpdateChannelMetadata(google.protobuf.message.Message):
|
|
|
236
261
|
|
|
237
262
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
238
263
|
channel_id: builtins.str
|
|
239
|
-
"""ID of the channel."""
|
|
264
|
+
"""ID of the channel being updated."""
|
|
240
265
|
def __init__(
|
|
241
266
|
self,
|
|
242
267
|
*,
|
|
@@ -252,7 +277,10 @@ class DeleteChannelRequest(google.protobuf.message.Message):
|
|
|
252
277
|
|
|
253
278
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
254
279
|
channel_id: builtins.str
|
|
255
|
-
"""ID of the channel.
|
|
280
|
+
"""ID of the channel to delete.
|
|
281
|
+
Deleting a channel will also delete all its content,
|
|
282
|
+
including videos, streams, and related resources.
|
|
283
|
+
"""
|
|
256
284
|
def __init__(
|
|
257
285
|
self,
|
|
258
286
|
*,
|
|
@@ -268,7 +296,9 @@ class DeleteChannelMetadata(google.protobuf.message.Message):
|
|
|
268
296
|
|
|
269
297
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
270
298
|
channel_id: builtins.str
|
|
271
|
-
"""ID of the channel.
|
|
299
|
+
"""ID of the channel being deleted.
|
|
300
|
+
This identifier can be used to track the channel deletion operation.
|
|
301
|
+
"""
|
|
272
302
|
def __init__(
|
|
273
303
|
self,
|
|
274
304
|
*,
|
|
@@ -285,10 +315,13 @@ class BatchDeleteChannelsRequest(google.protobuf.message.Message):
|
|
|
285
315
|
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
286
316
|
CHANNEL_IDS_FIELD_NUMBER: builtins.int
|
|
287
317
|
organization_id: builtins.str
|
|
288
|
-
"""ID of the organization."""
|
|
318
|
+
"""ID of the organization containing the channels to delete."""
|
|
289
319
|
@property
|
|
290
320
|
def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
291
|
-
"""List of channel IDs.
|
|
321
|
+
"""List of channel IDs to delete.
|
|
322
|
+
Deleting channels will also delete all their content,
|
|
323
|
+
including videos, streams, and related resources.
|
|
324
|
+
"""
|
|
292
325
|
|
|
293
326
|
def __init__(
|
|
294
327
|
self,
|
|
@@ -307,7 +340,10 @@ class BatchDeleteChannelsMetadata(google.protobuf.message.Message):
|
|
|
307
340
|
CHANNEL_IDS_FIELD_NUMBER: builtins.int
|
|
308
341
|
@property
|
|
309
342
|
def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
310
|
-
"""List of channel IDs.
|
|
343
|
+
"""List of channel IDs being deleted.
|
|
344
|
+
This list can be used to track which channels are included
|
|
345
|
+
in the batch deletion operation.
|
|
346
|
+
"""
|
|
311
347
|
|
|
312
348
|
def __init__(
|
|
313
349
|
self,
|
|
@@ -30,6 +30,9 @@ if _version_not_supported:
|
|
|
30
30
|
|
|
31
31
|
class ChannelServiceStub(object):
|
|
32
32
|
"""Channel management service.
|
|
33
|
+
Provides methods for creating, retrieving, updating, and deleting channels,
|
|
34
|
+
as well as managing channel-related operations such as access control.
|
|
35
|
+
Channels serve as containers for videos and streams in an organization.
|
|
33
36
|
"""
|
|
34
37
|
|
|
35
38
|
def __init__(self, channel):
|
|
@@ -87,66 +90,77 @@ class ChannelServiceStub(object):
|
|
|
87
90
|
|
|
88
91
|
class ChannelServiceServicer(object):
|
|
89
92
|
"""Channel management service.
|
|
93
|
+
Provides methods for creating, retrieving, updating, and deleting channels,
|
|
94
|
+
as well as managing channel-related operations such as access control.
|
|
95
|
+
Channels serve as containers for videos and streams in an organization.
|
|
90
96
|
"""
|
|
91
97
|
|
|
92
98
|
def Get(self, request, context):
|
|
93
|
-
"""
|
|
99
|
+
"""Retrieves detailed information about a specific channel by its ID.
|
|
100
|
+
Returns all channel metadata, settings, and related information.
|
|
94
101
|
"""
|
|
95
102
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
103
|
context.set_details('Method not implemented!')
|
|
97
104
|
raise NotImplementedError('Method not implemented!')
|
|
98
105
|
|
|
99
106
|
def List(self, request, context):
|
|
100
|
-
"""
|
|
107
|
+
"""Lists all channels in a specific organization with pagination support.
|
|
108
|
+
Results can be filtered and sorted using the provided parameters.
|
|
101
109
|
"""
|
|
102
110
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
103
111
|
context.set_details('Method not implemented!')
|
|
104
112
|
raise NotImplementedError('Method not implemented!')
|
|
105
113
|
|
|
106
114
|
def Create(self, request, context):
|
|
107
|
-
"""
|
|
115
|
+
"""Creates a new channel in the specified organization.
|
|
108
116
|
"""
|
|
109
117
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
110
118
|
context.set_details('Method not implemented!')
|
|
111
119
|
raise NotImplementedError('Method not implemented!')
|
|
112
120
|
|
|
113
121
|
def Update(self, request, context):
|
|
114
|
-
"""
|
|
122
|
+
"""Updates an existing channel's metadata and settings.
|
|
123
|
+
Only fields specified in the field_mask will be updated.
|
|
115
124
|
"""
|
|
116
125
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
117
126
|
context.set_details('Method not implemented!')
|
|
118
127
|
raise NotImplementedError('Method not implemented!')
|
|
119
128
|
|
|
120
129
|
def Delete(self, request, context):
|
|
121
|
-
"""
|
|
130
|
+
"""Deletes a specific channel by its ID.
|
|
122
131
|
"""
|
|
123
132
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
124
133
|
context.set_details('Method not implemented!')
|
|
125
134
|
raise NotImplementedError('Method not implemented!')
|
|
126
135
|
|
|
127
136
|
def BatchDelete(self, request, context):
|
|
128
|
-
"""
|
|
137
|
+
"""Deletes multiple channels in a specific organization in a single request.
|
|
138
|
+
This is more efficient than making multiple Delete requests when removing several channels.
|
|
129
139
|
"""
|
|
130
140
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
131
141
|
context.set_details('Method not implemented!')
|
|
132
142
|
raise NotImplementedError('Method not implemented!')
|
|
133
143
|
|
|
134
144
|
def ListAccessBindings(self, request, context):
|
|
135
|
-
"""
|
|
145
|
+
"""Lists all access bindings for a specific channel.
|
|
146
|
+
Access bindings define which users or service accounts have access to the channel
|
|
147
|
+
and what actions they can perform.
|
|
136
148
|
"""
|
|
137
149
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
138
150
|
context.set_details('Method not implemented!')
|
|
139
151
|
raise NotImplementedError('Method not implemented!')
|
|
140
152
|
|
|
141
153
|
def SetAccessBindings(self, request, context):
|
|
142
|
-
"""
|
|
154
|
+
"""Sets all access bindings for a specific channel.
|
|
155
|
+
This operation completely replaces any existing access bindings.
|
|
143
156
|
"""
|
|
144
157
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
145
158
|
context.set_details('Method not implemented!')
|
|
146
159
|
raise NotImplementedError('Method not implemented!')
|
|
147
160
|
|
|
148
161
|
def UpdateAccessBindings(self, request, context):
|
|
149
|
-
"""
|
|
162
|
+
"""Updates access bindings for a specific channel by adding or removing individual bindings.
|
|
163
|
+
This operation modifies existing access bindings without replacing them completely.
|
|
150
164
|
"""
|
|
151
165
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
152
166
|
context.set_details('Method not implemented!')
|
|
@@ -210,6 +224,9 @@ def add_ChannelServiceServicer_to_server(servicer, server):
|
|
|
210
224
|
# This class is part of an EXPERIMENTAL API.
|
|
211
225
|
class ChannelService(object):
|
|
212
226
|
"""Channel management service.
|
|
227
|
+
Provides methods for creating, retrieving, updating, and deleting channels,
|
|
228
|
+
as well as managing channel-related operations such as access control.
|
|
229
|
+
Channels serve as containers for videos and streams in an organization.
|
|
213
230
|
"""
|
|
214
231
|
|
|
215
232
|
@staticmethod
|
|
@@ -21,122 +21,164 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
21
21
|
...
|
|
22
22
|
|
|
23
23
|
class ChannelServiceStub:
|
|
24
|
-
"""Channel management service.
|
|
24
|
+
"""Channel management service.
|
|
25
|
+
Provides methods for creating, retrieving, updating, and deleting channels,
|
|
26
|
+
as well as managing channel-related operations such as access control.
|
|
27
|
+
Channels serve as containers for videos and streams in an organization.
|
|
28
|
+
"""
|
|
25
29
|
|
|
26
30
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
27
31
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
28
32
|
yandex.cloud.video.v1.channel_service_pb2.GetChannelRequest,
|
|
29
33
|
yandex.cloud.video.v1.channel_pb2.Channel,
|
|
30
34
|
]
|
|
31
|
-
"""
|
|
35
|
+
"""Retrieves detailed information about a specific channel by its ID.
|
|
36
|
+
Returns all channel metadata, settings, and related information.
|
|
37
|
+
"""
|
|
32
38
|
|
|
33
39
|
List: grpc.UnaryUnaryMultiCallable[
|
|
34
40
|
yandex.cloud.video.v1.channel_service_pb2.ListChannelsRequest,
|
|
35
41
|
yandex.cloud.video.v1.channel_service_pb2.ListChannelsResponse,
|
|
36
42
|
]
|
|
37
|
-
"""
|
|
43
|
+
"""Lists all channels in a specific organization with pagination support.
|
|
44
|
+
Results can be filtered and sorted using the provided parameters.
|
|
45
|
+
"""
|
|
38
46
|
|
|
39
47
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
40
48
|
yandex.cloud.video.v1.channel_service_pb2.CreateChannelRequest,
|
|
41
49
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
42
50
|
]
|
|
43
|
-
"""
|
|
51
|
+
"""Creates a new channel in the specified organization."""
|
|
44
52
|
|
|
45
53
|
Update: grpc.UnaryUnaryMultiCallable[
|
|
46
54
|
yandex.cloud.video.v1.channel_service_pb2.UpdateChannelRequest,
|
|
47
55
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
48
56
|
]
|
|
49
|
-
"""
|
|
57
|
+
"""Updates an existing channel's metadata and settings.
|
|
58
|
+
Only fields specified in the field_mask will be updated.
|
|
59
|
+
"""
|
|
50
60
|
|
|
51
61
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
52
62
|
yandex.cloud.video.v1.channel_service_pb2.DeleteChannelRequest,
|
|
53
63
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
54
64
|
]
|
|
55
|
-
"""
|
|
65
|
+
"""Deletes a specific channel by its ID."""
|
|
56
66
|
|
|
57
67
|
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
58
68
|
yandex.cloud.video.v1.channel_service_pb2.BatchDeleteChannelsRequest,
|
|
59
69
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
60
70
|
]
|
|
61
|
-
"""
|
|
71
|
+
"""Deletes multiple channels in a specific organization in a single request.
|
|
72
|
+
This is more efficient than making multiple Delete requests when removing several channels.
|
|
73
|
+
"""
|
|
62
74
|
|
|
63
75
|
ListAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
64
76
|
yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
|
|
65
77
|
yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
|
|
66
78
|
]
|
|
67
|
-
"""
|
|
79
|
+
"""Lists all access bindings for a specific channel.
|
|
80
|
+
Access bindings define which users or service accounts have access to the channel
|
|
81
|
+
and what actions they can perform.
|
|
82
|
+
"""
|
|
68
83
|
|
|
69
84
|
SetAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
70
85
|
yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
71
86
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
72
87
|
]
|
|
73
|
-
"""
|
|
88
|
+
"""Sets all access bindings for a specific channel.
|
|
89
|
+
This operation completely replaces any existing access bindings.
|
|
90
|
+
"""
|
|
74
91
|
|
|
75
92
|
UpdateAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
76
93
|
yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
77
94
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
78
95
|
]
|
|
79
|
-
"""
|
|
96
|
+
"""Updates access bindings for a specific channel by adding or removing individual bindings.
|
|
97
|
+
This operation modifies existing access bindings without replacing them completely.
|
|
98
|
+
"""
|
|
80
99
|
|
|
81
100
|
class ChannelServiceAsyncStub:
|
|
82
|
-
"""Channel management service.
|
|
101
|
+
"""Channel management service.
|
|
102
|
+
Provides methods for creating, retrieving, updating, and deleting channels,
|
|
103
|
+
as well as managing channel-related operations such as access control.
|
|
104
|
+
Channels serve as containers for videos and streams in an organization.
|
|
105
|
+
"""
|
|
83
106
|
|
|
84
107
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
85
108
|
yandex.cloud.video.v1.channel_service_pb2.GetChannelRequest,
|
|
86
109
|
yandex.cloud.video.v1.channel_pb2.Channel,
|
|
87
110
|
]
|
|
88
|
-
"""
|
|
111
|
+
"""Retrieves detailed information about a specific channel by its ID.
|
|
112
|
+
Returns all channel metadata, settings, and related information.
|
|
113
|
+
"""
|
|
89
114
|
|
|
90
115
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
91
116
|
yandex.cloud.video.v1.channel_service_pb2.ListChannelsRequest,
|
|
92
117
|
yandex.cloud.video.v1.channel_service_pb2.ListChannelsResponse,
|
|
93
118
|
]
|
|
94
|
-
"""
|
|
119
|
+
"""Lists all channels in a specific organization with pagination support.
|
|
120
|
+
Results can be filtered and sorted using the provided parameters.
|
|
121
|
+
"""
|
|
95
122
|
|
|
96
123
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
97
124
|
yandex.cloud.video.v1.channel_service_pb2.CreateChannelRequest,
|
|
98
125
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
99
126
|
]
|
|
100
|
-
"""
|
|
127
|
+
"""Creates a new channel in the specified organization."""
|
|
101
128
|
|
|
102
129
|
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
103
130
|
yandex.cloud.video.v1.channel_service_pb2.UpdateChannelRequest,
|
|
104
131
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
105
132
|
]
|
|
106
|
-
"""
|
|
133
|
+
"""Updates an existing channel's metadata and settings.
|
|
134
|
+
Only fields specified in the field_mask will be updated.
|
|
135
|
+
"""
|
|
107
136
|
|
|
108
137
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
109
138
|
yandex.cloud.video.v1.channel_service_pb2.DeleteChannelRequest,
|
|
110
139
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
111
140
|
]
|
|
112
|
-
"""
|
|
141
|
+
"""Deletes a specific channel by its ID."""
|
|
113
142
|
|
|
114
143
|
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
115
144
|
yandex.cloud.video.v1.channel_service_pb2.BatchDeleteChannelsRequest,
|
|
116
145
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
117
146
|
]
|
|
118
|
-
"""
|
|
147
|
+
"""Deletes multiple channels in a specific organization in a single request.
|
|
148
|
+
This is more efficient than making multiple Delete requests when removing several channels.
|
|
149
|
+
"""
|
|
119
150
|
|
|
120
151
|
ListAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
121
152
|
yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
|
|
122
153
|
yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
|
|
123
154
|
]
|
|
124
|
-
"""
|
|
155
|
+
"""Lists all access bindings for a specific channel.
|
|
156
|
+
Access bindings define which users or service accounts have access to the channel
|
|
157
|
+
and what actions they can perform.
|
|
158
|
+
"""
|
|
125
159
|
|
|
126
160
|
SetAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
127
161
|
yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
128
162
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
129
163
|
]
|
|
130
|
-
"""
|
|
164
|
+
"""Sets all access bindings for a specific channel.
|
|
165
|
+
This operation completely replaces any existing access bindings.
|
|
166
|
+
"""
|
|
131
167
|
|
|
132
168
|
UpdateAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
133
169
|
yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
134
170
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
135
171
|
]
|
|
136
|
-
"""
|
|
172
|
+
"""Updates access bindings for a specific channel by adding or removing individual bindings.
|
|
173
|
+
This operation modifies existing access bindings without replacing them completely.
|
|
174
|
+
"""
|
|
137
175
|
|
|
138
176
|
class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
139
|
-
"""Channel management service.
|
|
177
|
+
"""Channel management service.
|
|
178
|
+
Provides methods for creating, retrieving, updating, and deleting channels,
|
|
179
|
+
as well as managing channel-related operations such as access control.
|
|
180
|
+
Channels serve as containers for videos and streams in an organization.
|
|
181
|
+
"""
|
|
140
182
|
|
|
141
183
|
@abc.abstractmethod
|
|
142
184
|
def Get(
|
|
@@ -144,7 +186,9 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
144
186
|
request: yandex.cloud.video.v1.channel_service_pb2.GetChannelRequest,
|
|
145
187
|
context: _ServicerContext,
|
|
146
188
|
) -> typing.Union[yandex.cloud.video.v1.channel_pb2.Channel, collections.abc.Awaitable[yandex.cloud.video.v1.channel_pb2.Channel]]:
|
|
147
|
-
"""
|
|
189
|
+
"""Retrieves detailed information about a specific channel by its ID.
|
|
190
|
+
Returns all channel metadata, settings, and related information.
|
|
191
|
+
"""
|
|
148
192
|
|
|
149
193
|
@abc.abstractmethod
|
|
150
194
|
def List(
|
|
@@ -152,7 +196,9 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
152
196
|
request: yandex.cloud.video.v1.channel_service_pb2.ListChannelsRequest,
|
|
153
197
|
context: _ServicerContext,
|
|
154
198
|
) -> typing.Union[yandex.cloud.video.v1.channel_service_pb2.ListChannelsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.channel_service_pb2.ListChannelsResponse]]:
|
|
155
|
-
"""
|
|
199
|
+
"""Lists all channels in a specific organization with pagination support.
|
|
200
|
+
Results can be filtered and sorted using the provided parameters.
|
|
201
|
+
"""
|
|
156
202
|
|
|
157
203
|
@abc.abstractmethod
|
|
158
204
|
def Create(
|
|
@@ -160,7 +206,7 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
160
206
|
request: yandex.cloud.video.v1.channel_service_pb2.CreateChannelRequest,
|
|
161
207
|
context: _ServicerContext,
|
|
162
208
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
163
|
-
"""
|
|
209
|
+
"""Creates a new channel in the specified organization."""
|
|
164
210
|
|
|
165
211
|
@abc.abstractmethod
|
|
166
212
|
def Update(
|
|
@@ -168,7 +214,9 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
168
214
|
request: yandex.cloud.video.v1.channel_service_pb2.UpdateChannelRequest,
|
|
169
215
|
context: _ServicerContext,
|
|
170
216
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
171
|
-
"""
|
|
217
|
+
"""Updates an existing channel's metadata and settings.
|
|
218
|
+
Only fields specified in the field_mask will be updated.
|
|
219
|
+
"""
|
|
172
220
|
|
|
173
221
|
@abc.abstractmethod
|
|
174
222
|
def Delete(
|
|
@@ -176,7 +224,7 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
176
224
|
request: yandex.cloud.video.v1.channel_service_pb2.DeleteChannelRequest,
|
|
177
225
|
context: _ServicerContext,
|
|
178
226
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
179
|
-
"""
|
|
227
|
+
"""Deletes a specific channel by its ID."""
|
|
180
228
|
|
|
181
229
|
@abc.abstractmethod
|
|
182
230
|
def BatchDelete(
|
|
@@ -184,7 +232,9 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
184
232
|
request: yandex.cloud.video.v1.channel_service_pb2.BatchDeleteChannelsRequest,
|
|
185
233
|
context: _ServicerContext,
|
|
186
234
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
187
|
-
"""
|
|
235
|
+
"""Deletes multiple channels in a specific organization in a single request.
|
|
236
|
+
This is more efficient than making multiple Delete requests when removing several channels.
|
|
237
|
+
"""
|
|
188
238
|
|
|
189
239
|
@abc.abstractmethod
|
|
190
240
|
def ListAccessBindings(
|
|
@@ -192,7 +242,10 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
192
242
|
request: yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
|
|
193
243
|
context: _ServicerContext,
|
|
194
244
|
) -> typing.Union[yandex.cloud.access.access_pb2.ListAccessBindingsResponse, collections.abc.Awaitable[yandex.cloud.access.access_pb2.ListAccessBindingsResponse]]:
|
|
195
|
-
"""
|
|
245
|
+
"""Lists all access bindings for a specific channel.
|
|
246
|
+
Access bindings define which users or service accounts have access to the channel
|
|
247
|
+
and what actions they can perform.
|
|
248
|
+
"""
|
|
196
249
|
|
|
197
250
|
@abc.abstractmethod
|
|
198
251
|
def SetAccessBindings(
|
|
@@ -200,7 +253,9 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
200
253
|
request: yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
201
254
|
context: _ServicerContext,
|
|
202
255
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
203
|
-
"""
|
|
256
|
+
"""Sets all access bindings for a specific channel.
|
|
257
|
+
This operation completely replaces any existing access bindings.
|
|
258
|
+
"""
|
|
204
259
|
|
|
205
260
|
@abc.abstractmethod
|
|
206
261
|
def UpdateAccessBindings(
|
|
@@ -208,6 +263,8 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
208
263
|
request: yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
209
264
|
context: _ServicerContext,
|
|
210
265
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
211
|
-
"""
|
|
266
|
+
"""Updates access bindings for a specific channel by adding or removing individual bindings.
|
|
267
|
+
This operation modifies existing access bindings without replacing them completely.
|
|
268
|
+
"""
|
|
212
269
|
|
|
213
270
|
def add_ChannelServiceServicer_to_server(servicer: ChannelServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|