yandexcloud 0.324.0__py3-none-any.whl → 0.326.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/assistants/v1/searchindex/common_pb2.py +18 -5
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +149 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +3 -4
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +2 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +10 -8
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +63 -5
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +20 -20
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +9 -3
- 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 +28 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +16 -2
- 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/cloudapps/workload/v1/cloud_application_service_pb2.py +14 -9
- 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.py +12 -11
- yandex/cloud/iam/v1/user_account_pb2.pyi +9 -4
- 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/mdb/redis/v1/config/redis_pb2.py +8 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- 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/speechsense/v1/talk_pb2.py +14 -6
- yandex/cloud/speechsense/v1/talk_pb2.pyi +89 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +2 -6
- 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.326.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/RECORD +134 -108
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/top_level.txt +0 -0
|
@@ -42,6 +42,11 @@ class ChannelServiceStub(object):
|
|
|
42
42
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.DeleteChannelRequest.SerializeToString,
|
|
43
43
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
44
|
)
|
|
45
|
+
self.BatchDelete = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.video.v1.ChannelService/BatchDelete',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.BatchDeleteChannelsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
49
|
+
)
|
|
45
50
|
|
|
46
51
|
|
|
47
52
|
class ChannelServiceServicer(object):
|
|
@@ -83,6 +88,13 @@ class ChannelServiceServicer(object):
|
|
|
83
88
|
context.set_details('Method not implemented!')
|
|
84
89
|
raise NotImplementedError('Method not implemented!')
|
|
85
90
|
|
|
91
|
+
def BatchDelete(self, request, context):
|
|
92
|
+
"""Batch delete channels.
|
|
93
|
+
"""
|
|
94
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
95
|
+
context.set_details('Method not implemented!')
|
|
96
|
+
raise NotImplementedError('Method not implemented!')
|
|
97
|
+
|
|
86
98
|
|
|
87
99
|
def add_ChannelServiceServicer_to_server(servicer, server):
|
|
88
100
|
rpc_method_handlers = {
|
|
@@ -111,6 +123,11 @@ def add_ChannelServiceServicer_to_server(servicer, server):
|
|
|
111
123
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.DeleteChannelRequest.FromString,
|
|
112
124
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
113
125
|
),
|
|
126
|
+
'BatchDelete': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.BatchDelete,
|
|
128
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.BatchDeleteChannelsRequest.FromString,
|
|
129
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
130
|
+
),
|
|
114
131
|
}
|
|
115
132
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
116
133
|
'yandex.cloud.video.v1.ChannelService', rpc_method_handlers)
|
|
@@ -206,3 +223,20 @@ class ChannelService(object):
|
|
|
206
223
|
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
207
224
|
options, channel_credentials,
|
|
208
225
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def BatchDelete(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.ChannelService/BatchDelete',
|
|
239
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.BatchDeleteChannelsRequest.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)
|
|
@@ -53,6 +53,12 @@ class ChannelServiceStub:
|
|
|
53
53
|
]
|
|
54
54
|
"""Delete channel."""
|
|
55
55
|
|
|
56
|
+
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
57
|
+
yandex.cloud.video.v1.channel_service_pb2.BatchDeleteChannelsRequest,
|
|
58
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
|
+
]
|
|
60
|
+
"""Batch delete channels."""
|
|
61
|
+
|
|
56
62
|
class ChannelServiceAsyncStub:
|
|
57
63
|
"""Channel management service."""
|
|
58
64
|
|
|
@@ -86,6 +92,12 @@ class ChannelServiceAsyncStub:
|
|
|
86
92
|
]
|
|
87
93
|
"""Delete channel."""
|
|
88
94
|
|
|
95
|
+
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
|
+
yandex.cloud.video.v1.channel_service_pb2.BatchDeleteChannelsRequest,
|
|
97
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
98
|
+
]
|
|
99
|
+
"""Batch delete channels."""
|
|
100
|
+
|
|
89
101
|
class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
90
102
|
"""Channel management service."""
|
|
91
103
|
|
|
@@ -129,4 +141,12 @@ class ChannelServiceServicer(metaclass=abc.ABCMeta):
|
|
|
129
141
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
130
142
|
"""Delete channel."""
|
|
131
143
|
|
|
144
|
+
@abc.abstractmethod
|
|
145
|
+
def BatchDelete(
|
|
146
|
+
self,
|
|
147
|
+
request: yandex.cloud.video.v1.channel_service_pb2.BatchDeleteChannelsRequest,
|
|
148
|
+
context: _ServicerContext,
|
|
149
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
150
|
+
"""Batch delete channels."""
|
|
151
|
+
|
|
132
152
|
def add_ChannelServiceServicer_to_server(servicer: ChannelServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/video/v1/episode.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/video/v1/episode.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x82\x06\n\x07\x45pisode\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tstream_id\x18\x02 \x01(\t\x12\x0f\n\x07line_id\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x06 \x01(\t\x12.\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\t \x01(\x03\x12J\n\x11visibility_status\x18\n \x01(\x0e\x32/.yandex.cloud.video.v1.Episode.VisibilityStatus\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessRightsH\x00\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessRightsH\x00\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessRightsH\x00\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.Timestamp\"U\n\x10VisibilityStatus\x12!\n\x1dVISIBILITY_STATUS_UNSPECIFIED\x10\x00\x12\r\n\tPUBLISHED\x10\x01\x12\x0f\n\x0bUNPUBLISHED\x10\x02\x42\x0f\n\raccess_rightsJ\x06\x08\xe9\x07\x10\xea\x07J\x04\x08\x0b\x10\x64J\x05\x08\x66\x10\xe8\x07\"\x1b\n\x19\x45pisodePublicAccessRights\"\x1f\n\x1d\x45pisodeAuthSystemAccessRights\"\x1c\n\x1a\x45pisodeSignURLAccessRightsB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,11 +23,13 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
23
|
DESCRIPTOR._options = None
|
|
24
24
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
25
25
|
_globals['_EPISODE']._serialized_start=96
|
|
26
|
-
_globals['_EPISODE']._serialized_end=
|
|
27
|
-
_globals['_EPISODE_VISIBILITYSTATUS']._serialized_start=
|
|
28
|
-
_globals['_EPISODE_VISIBILITYSTATUS']._serialized_end=
|
|
29
|
-
_globals['_EPISODEPUBLICACCESSRIGHTS']._serialized_start=
|
|
30
|
-
_globals['_EPISODEPUBLICACCESSRIGHTS']._serialized_end=
|
|
31
|
-
_globals['_EPISODEAUTHSYSTEMACCESSRIGHTS']._serialized_start=
|
|
32
|
-
_globals['_EPISODEAUTHSYSTEMACCESSRIGHTS']._serialized_end=
|
|
26
|
+
_globals['_EPISODE']._serialized_end=866
|
|
27
|
+
_globals['_EPISODE_VISIBILITYSTATUS']._serialized_start=743
|
|
28
|
+
_globals['_EPISODE_VISIBILITYSTATUS']._serialized_end=828
|
|
29
|
+
_globals['_EPISODEPUBLICACCESSRIGHTS']._serialized_start=868
|
|
30
|
+
_globals['_EPISODEPUBLICACCESSRIGHTS']._serialized_end=895
|
|
31
|
+
_globals['_EPISODEAUTHSYSTEMACCESSRIGHTS']._serialized_start=897
|
|
32
|
+
_globals['_EPISODEAUTHSYSTEMACCESSRIGHTS']._serialized_end=928
|
|
33
|
+
_globals['_EPISODESIGNURLACCESSRIGHTS']._serialized_start=930
|
|
34
|
+
_globals['_EPISODESIGNURLACCESSRIGHTS']._serialized_end=958
|
|
33
35
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -49,6 +49,7 @@ class Episode(google.protobuf.message.Message):
|
|
|
49
49
|
VISIBILITY_STATUS_FIELD_NUMBER: builtins.int
|
|
50
50
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
51
51
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
52
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
52
53
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
53
54
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
54
55
|
id: builtins.str
|
|
@@ -87,6 +88,10 @@ class Episode(google.protobuf.message.Message):
|
|
|
87
88
|
def auth_system_access(self) -> global___EpisodeAuthSystemAccessRights:
|
|
88
89
|
"""Checking access rights using the authorization system."""
|
|
89
90
|
|
|
91
|
+
@property
|
|
92
|
+
def sign_url_access(self) -> global___EpisodeSignURLAccessRights:
|
|
93
|
+
"""Checking access rights using url's signature."""
|
|
94
|
+
|
|
90
95
|
@property
|
|
91
96
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
92
97
|
"""Time when episode was created."""
|
|
@@ -110,12 +115,13 @@ class Episode(google.protobuf.message.Message):
|
|
|
110
115
|
visibility_status: global___Episode.VisibilityStatus.ValueType = ...,
|
|
111
116
|
public_access: global___EpisodePublicAccessRights | None = ...,
|
|
112
117
|
auth_system_access: global___EpisodeAuthSystemAccessRights | None = ...,
|
|
118
|
+
sign_url_access: global___EpisodeSignURLAccessRights | None = ...,
|
|
113
119
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
114
120
|
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
115
121
|
) -> None: ...
|
|
116
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "created_at", b"created_at", "finish_time", b"finish_time", "public_access", b"public_access", "start_time", b"start_time", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
117
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "created_at", b"created_at", "description", b"description", "dvr_seconds", b"dvr_seconds", "finish_time", b"finish_time", "id", b"id", "line_id", b"line_id", "public_access", b"public_access", "start_time", b"start_time", "stream_id", b"stream_id", "thumbnail_id", b"thumbnail_id", "title", b"title", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
118
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
122
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "created_at", b"created_at", "finish_time", b"finish_time", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
123
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "created_at", b"created_at", "description", b"description", "dvr_seconds", b"dvr_seconds", "finish_time", b"finish_time", "id", b"id", "line_id", b"line_id", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "stream_id", b"stream_id", "thumbnail_id", b"thumbnail_id", "title", b"title", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
124
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
119
125
|
|
|
120
126
|
global___Episode = Episode
|
|
121
127
|
|
|
@@ -138,3 +144,13 @@ class EpisodeAuthSystemAccessRights(google.protobuf.message.Message):
|
|
|
138
144
|
) -> None: ...
|
|
139
145
|
|
|
140
146
|
global___EpisodeAuthSystemAccessRights = EpisodeAuthSystemAccessRights
|
|
147
|
+
|
|
148
|
+
@typing.final
|
|
149
|
+
class EpisodeSignURLAccessRights(google.protobuf.message.Message):
|
|
150
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
151
|
+
|
|
152
|
+
def __init__(
|
|
153
|
+
self,
|
|
154
|
+
) -> None: ...
|
|
155
|
+
|
|
156
|
+
global___EpisodeSignURLAccessRights = EpisodeSignURLAccessRights
|
|
@@ -16,11 +16,12 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mas
|
|
|
16
16
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
17
17
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
18
18
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
19
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
19
20
|
from yandex.cloud.video.v1 import episode_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_episode__pb2
|
|
20
21
|
from yandex.cloud.video.v1 import manifest_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_manifest__pb2
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/episode_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a#yandex/cloud/video/v1/episode.proto\x1a$yandex/cloud/video/v1/manifest.proto\"\
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/episode_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/episode.proto\x1a$yandex/cloud/video/v1/manifest.proto\"5\n\x11GetEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xd6\x01\n\x13ListEpisodesRequest\x12\x1d\n\tstream_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\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<=1000B\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01J\x04\x08\x03\x10\x64\"g\n\x14ListEpisodesResponse\x12\x30\n\x08\x65pisodes\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Episode\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"b\n\x17\x42\x61tchGetEpisodesRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\x0b\x65pisode_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04\x31-50\x8a\xc8\x31\x04<=50\"L\n\x18\x42\x61tchGetEpisodesResponse\x12\x30\n\x08\x65pisodes\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Episode\"\xc7\x04\n\x14\x43reateEpisodeRequest\x12\x1d\n\tstream_id\x18\x64 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x65 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x04 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12.\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\x07 \x01(\x03\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessParamsH\x01\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessParamsH\x01\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessParamsH\x01\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01\x42\x15\n\raccess_rights\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe9\x07\x10\xea\x07J\x04\x08\x01\x10\x02J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xe8\x07\"\x1b\n\x19\x45pisodePublicAccessParams\"\x1f\n\x1d\x45pisodeAuthSystemAccessParams\"\x1c\n\x1a\x45pisodeSignURLAccessParams\"+\n\x15\x43reateEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"\xb2\x04\n\x14UpdateEpisodeRequest\x12 \n\nepisode_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\x1e\n\x0cthumbnail_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12.\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\x08 \x01(\x03\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessParamsH\x00\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessParamsH\x00\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessParamsH\x00\x42\x0f\n\raccess_rightsJ\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\t\x10\xe8\x07\"+\n\x15UpdateEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"\xec\x01\n\x1bPerformEpisodeActionRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12?\n\x07publish\x18\xea\x07 \x01(\x0b\x32+.yandex.cloud.video.v1.PublishEpisodeActionH\x00\x12\x43\n\tunpublish\x18\xeb\x07 \x01(\x0b\x32-.yandex.cloud.video.v1.UnpublishEpisodeActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe8\x07\x10\xe9\x07J\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\x02\x10\xe8\x07\"\x16\n\x14PublishEpisodeAction\"\x18\n\x16UnpublishEpisodeAction\"2\n\x1cPerformEpisodeActionMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"z\n\x1aGetEpisodePlayerURLRequest\x12 \n\nepisode_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.EpisodePlayerParams\"E\n\x13\x45pisodePlayerParams\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\x1bGetEpisodePlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t\">\n\x1aGetEpisodeManifestsRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"Q\n\x1bGetEpisodeManifestsResponse\x12\x32\n\tmanifests\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Manifest2\xc6\x0b\n\x0e\x45pisodeService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetEpisodeRequest\x1a\x1e.yandex.cloud.video.v1.Episode\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/episodes/{episode_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListEpisodesRequest\x1a+.yandex.cloud.video.v1.ListEpisodesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/episodes\x12\x93\x01\n\x08\x42\x61tchGet\x12..yandex.cloud.video.v1.BatchGetEpisodesRequest\x1a/.yandex.cloud.video.v1.BatchGetEpisodesResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/video/v1/episodes:batchGet:\x01*\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateEpisodeRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateEpisodeMetadata\x12\x07\x45pisode\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/episodes:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateEpisodeRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateEpisodeMetadata\x12\x07\x45pisode\x82\xd3\xe4\x93\x02$2\x1f/video/v1/episodes/{episode_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteEpisodeRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteEpisodeMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/episodes/{episode_id}\x12\xcb\x01\n\rPerformAction\x12\x32.yandex.cloud.video.v1.PerformEpisodeActionRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*\'\n\x1cPerformEpisodeActionMetadata\x12\x07\x45pisode\x82\xd3\xe4\x93\x02\x32\"-/video/v1/episodes/{episode_id}:performAction:\x01*\x12\xab\x01\n\x0cGetPlayerURL\x12\x31.yandex.cloud.video.v1.GetEpisodePlayerURLRequest\x1a\x32.yandex.cloud.video.v1.GetEpisodePlayerURLResponse\"4\x82\xd3\xe4\x93\x02.\x12,/video/v1/episodes/{episode_id}:getPlayerUrl\x12\xab\x01\n\x0cGetManifests\x12\x31.yandex.cloud.video.v1.GetEpisodeManifestsRequest\x1a\x32.yandex.cloud.video.v1.GetEpisodeManifestsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/video/v1/episodes/{episode_id}:getManifestsB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
24
25
|
|
|
25
26
|
_globals = globals()
|
|
26
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -28,10 +29,56 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.episo
|
|
|
28
29
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
29
30
|
DESCRIPTOR._options = None
|
|
30
31
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
32
|
+
_GETEPISODEREQUEST.fields_by_name['episode_id']._options = None
|
|
33
|
+
_GETEPISODEREQUEST.fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
|
+
_LISTEPISODESREQUEST.oneofs_by_name['parent_id']._options = None
|
|
35
|
+
_LISTEPISODESREQUEST.oneofs_by_name['parent_id']._serialized_options = b'\300\3011\001'
|
|
36
|
+
_LISTEPISODESREQUEST.fields_by_name['stream_id']._options = None
|
|
37
|
+
_LISTEPISODESREQUEST.fields_by_name['stream_id']._serialized_options = b'\212\3101\004<=50'
|
|
38
|
+
_LISTEPISODESREQUEST.fields_by_name['line_id']._options = None
|
|
39
|
+
_LISTEPISODESREQUEST.fields_by_name['line_id']._serialized_options = b'\212\3101\004<=50'
|
|
40
|
+
_LISTEPISODESREQUEST.fields_by_name['page_size']._options = None
|
|
41
|
+
_LISTEPISODESREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
42
|
+
_LISTEPISODESREQUEST.fields_by_name['page_token']._options = None
|
|
43
|
+
_LISTEPISODESREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
44
|
+
_LISTEPISODESREQUEST.fields_by_name['filter']._options = None
|
|
45
|
+
_LISTEPISODESREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
46
|
+
_BATCHGETEPISODESREQUEST.fields_by_name['channel_id']._options = None
|
|
47
|
+
_BATCHGETEPISODESREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
48
|
+
_BATCHGETEPISODESREQUEST.fields_by_name['episode_ids']._options = None
|
|
49
|
+
_BATCHGETEPISODESREQUEST.fields_by_name['episode_ids']._serialized_options = b'\202\3101\0041-50\212\3101\004<=50'
|
|
50
|
+
_CREATEEPISODEREQUEST.oneofs_by_name['parent_id']._options = None
|
|
51
|
+
_CREATEEPISODEREQUEST.oneofs_by_name['parent_id']._serialized_options = b'\300\3011\001'
|
|
52
|
+
_CREATEEPISODEREQUEST.oneofs_by_name['access_rights']._options = None
|
|
53
|
+
_CREATEEPISODEREQUEST.oneofs_by_name['access_rights']._serialized_options = b'\300\3011\001'
|
|
54
|
+
_CREATEEPISODEREQUEST.fields_by_name['stream_id']._options = None
|
|
55
|
+
_CREATEEPISODEREQUEST.fields_by_name['stream_id']._serialized_options = b'\212\3101\004<=50'
|
|
56
|
+
_CREATEEPISODEREQUEST.fields_by_name['line_id']._options = None
|
|
57
|
+
_CREATEEPISODEREQUEST.fields_by_name['line_id']._serialized_options = b'\212\3101\004<=50'
|
|
58
|
+
_CREATEEPISODEREQUEST.fields_by_name['title']._options = None
|
|
59
|
+
_CREATEEPISODEREQUEST.fields_by_name['title']._serialized_options = b'\350\3071\001'
|
|
60
|
+
_CREATEEPISODEREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
61
|
+
_CREATEEPISODEREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
|
|
62
|
+
_UPDATEEPISODEREQUEST.fields_by_name['episode_id']._options = None
|
|
63
|
+
_UPDATEEPISODEREQUEST.fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
64
|
+
_UPDATEEPISODEREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
65
|
+
_UPDATEEPISODEREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
|
|
66
|
+
_DELETEEPISODEREQUEST.fields_by_name['episode_id']._options = None
|
|
67
|
+
_DELETEEPISODEREQUEST.fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
68
|
+
_PERFORMEPISODEACTIONREQUEST.oneofs_by_name['action']._options = None
|
|
69
|
+
_PERFORMEPISODEACTIONREQUEST.oneofs_by_name['action']._serialized_options = b'\300\3011\001'
|
|
70
|
+
_PERFORMEPISODEACTIONREQUEST.fields_by_name['episode_id']._options = None
|
|
71
|
+
_PERFORMEPISODEACTIONREQUEST.fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
72
|
+
_GETEPISODEPLAYERURLREQUEST.fields_by_name['episode_id']._options = None
|
|
73
|
+
_GETEPISODEPLAYERURLREQUEST.fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
74
|
+
_GETEPISODEMANIFESTSREQUEST.fields_by_name['episode_id']._options = None
|
|
75
|
+
_GETEPISODEMANIFESTSREQUEST.fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
31
76
|
_EPISODESERVICE.methods_by_name['Get']._options = None
|
|
32
77
|
_EPISODESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002!\022\037/video/v1/episodes/{episode_id}'
|
|
33
78
|
_EPISODESERVICE.methods_by_name['List']._options = None
|
|
34
79
|
_EPISODESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\024\022\022/video/v1/episodes'
|
|
80
|
+
_EPISODESERVICE.methods_by_name['BatchGet']._options = None
|
|
81
|
+
_EPISODESERVICE.methods_by_name['BatchGet']._serialized_options = b'\202\323\344\223\002 \"\033/video/v1/episodes:batchGet:\001*'
|
|
35
82
|
_EPISODESERVICE.methods_by_name['Create']._options = None
|
|
36
83
|
_EPISODESERVICE.methods_by_name['Create']._serialized_options = b'\262\322* \n\025CreateEpisodeMetadata\022\007Episode\202\323\344\223\002\027\"\022/video/v1/episodes:\001*'
|
|
37
84
|
_EPISODESERVICE.methods_by_name['Update']._options = None
|
|
@@ -44,46 +91,52 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
44
91
|
_EPISODESERVICE.methods_by_name['GetPlayerURL']._serialized_options = b'\202\323\344\223\002.\022,/video/v1/episodes/{episode_id}:getPlayerUrl'
|
|
45
92
|
_EPISODESERVICE.methods_by_name['GetManifests']._options = None
|
|
46
93
|
_EPISODESERVICE.methods_by_name['GetManifests']._serialized_options = b'\202\323\344\223\002.\022,/video/v1/episodes/{episode_id}:getManifests'
|
|
47
|
-
_globals['_GETEPISODEREQUEST']._serialized_start=
|
|
48
|
-
_globals['_GETEPISODEREQUEST']._serialized_end=
|
|
49
|
-
_globals['_LISTEPISODESREQUEST']._serialized_start=
|
|
50
|
-
_globals['_LISTEPISODESREQUEST']._serialized_end=
|
|
51
|
-
_globals['_LISTEPISODESRESPONSE']._serialized_start=
|
|
52
|
-
_globals['_LISTEPISODESRESPONSE']._serialized_end=
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
94
|
+
_globals['_GETEPISODEREQUEST']._serialized_start=347
|
|
95
|
+
_globals['_GETEPISODEREQUEST']._serialized_end=400
|
|
96
|
+
_globals['_LISTEPISODESREQUEST']._serialized_start=403
|
|
97
|
+
_globals['_LISTEPISODESREQUEST']._serialized_end=617
|
|
98
|
+
_globals['_LISTEPISODESRESPONSE']._serialized_start=619
|
|
99
|
+
_globals['_LISTEPISODESRESPONSE']._serialized_end=722
|
|
100
|
+
_globals['_BATCHGETEPISODESREQUEST']._serialized_start=724
|
|
101
|
+
_globals['_BATCHGETEPISODESREQUEST']._serialized_end=822
|
|
102
|
+
_globals['_BATCHGETEPISODESRESPONSE']._serialized_start=824
|
|
103
|
+
_globals['_BATCHGETEPISODESRESPONSE']._serialized_end=900
|
|
104
|
+
_globals['_CREATEEPISODEREQUEST']._serialized_start=903
|
|
105
|
+
_globals['_CREATEEPISODEREQUEST']._serialized_end=1486
|
|
106
|
+
_globals['_EPISODEPUBLICACCESSPARAMS']._serialized_start=1488
|
|
107
|
+
_globals['_EPISODEPUBLICACCESSPARAMS']._serialized_end=1515
|
|
108
|
+
_globals['_EPISODEAUTHSYSTEMACCESSPARAMS']._serialized_start=1517
|
|
109
|
+
_globals['_EPISODEAUTHSYSTEMACCESSPARAMS']._serialized_end=1548
|
|
110
|
+
_globals['_EPISODESIGNURLACCESSPARAMS']._serialized_start=1550
|
|
111
|
+
_globals['_EPISODESIGNURLACCESSPARAMS']._serialized_end=1578
|
|
112
|
+
_globals['_CREATEEPISODEMETADATA']._serialized_start=1580
|
|
113
|
+
_globals['_CREATEEPISODEMETADATA']._serialized_end=1623
|
|
114
|
+
_globals['_UPDATEEPISODEREQUEST']._serialized_start=1626
|
|
115
|
+
_globals['_UPDATEEPISODEREQUEST']._serialized_end=2188
|
|
116
|
+
_globals['_UPDATEEPISODEMETADATA']._serialized_start=2190
|
|
117
|
+
_globals['_UPDATEEPISODEMETADATA']._serialized_end=2233
|
|
118
|
+
_globals['_DELETEEPISODEREQUEST']._serialized_start=2235
|
|
119
|
+
_globals['_DELETEEPISODEREQUEST']._serialized_end=2291
|
|
120
|
+
_globals['_DELETEEPISODEMETADATA']._serialized_start=2293
|
|
121
|
+
_globals['_DELETEEPISODEMETADATA']._serialized_end=2336
|
|
122
|
+
_globals['_PERFORMEPISODEACTIONREQUEST']._serialized_start=2339
|
|
123
|
+
_globals['_PERFORMEPISODEACTIONREQUEST']._serialized_end=2575
|
|
124
|
+
_globals['_PUBLISHEPISODEACTION']._serialized_start=2577
|
|
125
|
+
_globals['_PUBLISHEPISODEACTION']._serialized_end=2599
|
|
126
|
+
_globals['_UNPUBLISHEPISODEACTION']._serialized_start=2601
|
|
127
|
+
_globals['_UNPUBLISHEPISODEACTION']._serialized_end=2625
|
|
128
|
+
_globals['_PERFORMEPISODEACTIONMETADATA']._serialized_start=2627
|
|
129
|
+
_globals['_PERFORMEPISODEACTIONMETADATA']._serialized_end=2677
|
|
130
|
+
_globals['_GETEPISODEPLAYERURLREQUEST']._serialized_start=2679
|
|
131
|
+
_globals['_GETEPISODEPLAYERURLREQUEST']._serialized_end=2801
|
|
132
|
+
_globals['_EPISODEPLAYERPARAMS']._serialized_start=2803
|
|
133
|
+
_globals['_EPISODEPLAYERPARAMS']._serialized_end=2872
|
|
134
|
+
_globals['_GETEPISODEPLAYERURLRESPONSE']._serialized_start=2874
|
|
135
|
+
_globals['_GETEPISODEPLAYERURLRESPONSE']._serialized_end=2937
|
|
136
|
+
_globals['_GETEPISODEMANIFESTSREQUEST']._serialized_start=2939
|
|
137
|
+
_globals['_GETEPISODEMANIFESTSREQUEST']._serialized_end=3001
|
|
138
|
+
_globals['_GETEPISODEMANIFESTSRESPONSE']._serialized_start=3003
|
|
139
|
+
_globals['_GETEPISODEMANIFESTSRESPONSE']._serialized_end=3084
|
|
140
|
+
_globals['_EPISODESERVICE']._serialized_start=3087
|
|
141
|
+
_globals['_EPISODESERVICE']._serialized_end=4565
|
|
89
142
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -103,6 +103,46 @@ class ListEpisodesResponse(google.protobuf.message.Message):
|
|
|
103
103
|
|
|
104
104
|
global___ListEpisodesResponse = ListEpisodesResponse
|
|
105
105
|
|
|
106
|
+
@typing.final
|
|
107
|
+
class BatchGetEpisodesRequest(google.protobuf.message.Message):
|
|
108
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
109
|
+
|
|
110
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
111
|
+
EPISODE_IDS_FIELD_NUMBER: builtins.int
|
|
112
|
+
channel_id: builtins.str
|
|
113
|
+
"""ID of the channel."""
|
|
114
|
+
@property
|
|
115
|
+
def episode_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
116
|
+
"""List of requested episode IDs."""
|
|
117
|
+
|
|
118
|
+
def __init__(
|
|
119
|
+
self,
|
|
120
|
+
*,
|
|
121
|
+
channel_id: builtins.str = ...,
|
|
122
|
+
episode_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
123
|
+
) -> None: ...
|
|
124
|
+
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "episode_ids", b"episode_ids"]) -> None: ...
|
|
125
|
+
|
|
126
|
+
global___BatchGetEpisodesRequest = BatchGetEpisodesRequest
|
|
127
|
+
|
|
128
|
+
@typing.final
|
|
129
|
+
class BatchGetEpisodesResponse(google.protobuf.message.Message):
|
|
130
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
131
|
+
|
|
132
|
+
EPISODES_FIELD_NUMBER: builtins.int
|
|
133
|
+
@property
|
|
134
|
+
def episodes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.episode_pb2.Episode]:
|
|
135
|
+
"""List of episodes for specific channel."""
|
|
136
|
+
|
|
137
|
+
def __init__(
|
|
138
|
+
self,
|
|
139
|
+
*,
|
|
140
|
+
episodes: collections.abc.Iterable[yandex.cloud.video.v1.episode_pb2.Episode] | None = ...,
|
|
141
|
+
) -> None: ...
|
|
142
|
+
def ClearField(self, field_name: typing.Literal["episodes", b"episodes"]) -> None: ...
|
|
143
|
+
|
|
144
|
+
global___BatchGetEpisodesResponse = BatchGetEpisodesResponse
|
|
145
|
+
|
|
106
146
|
@typing.final
|
|
107
147
|
class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
108
148
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -117,6 +157,7 @@ class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
|
117
157
|
DVR_SECONDS_FIELD_NUMBER: builtins.int
|
|
118
158
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
119
159
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
160
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
120
161
|
stream_id: builtins.str
|
|
121
162
|
"""ID of the stream."""
|
|
122
163
|
line_id: builtins.str
|
|
@@ -150,6 +191,10 @@ class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
|
150
191
|
def auth_system_access(self) -> global___EpisodeAuthSystemAccessParams:
|
|
151
192
|
"""Checking access rights using the authorization system."""
|
|
152
193
|
|
|
194
|
+
@property
|
|
195
|
+
def sign_url_access(self) -> global___EpisodeSignURLAccessParams:
|
|
196
|
+
"""Checking access rights using url's signature."""
|
|
197
|
+
|
|
153
198
|
def __init__(
|
|
154
199
|
self,
|
|
155
200
|
*,
|
|
@@ -163,11 +208,12 @@ class CreateEpisodeRequest(google.protobuf.message.Message):
|
|
|
163
208
|
dvr_seconds: builtins.int = ...,
|
|
164
209
|
public_access: global___EpisodePublicAccessParams | None = ...,
|
|
165
210
|
auth_system_access: global___EpisodeAuthSystemAccessParams | None = ...,
|
|
211
|
+
sign_url_access: global___EpisodeSignURLAccessParams | None = ...,
|
|
166
212
|
) -> None: ...
|
|
167
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "start_time", b"start_time", "stream_id", b"stream_id"]) -> builtins.bool: ...
|
|
168
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "start_time", b"start_time", "stream_id", b"stream_id", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
213
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "stream_id", b"stream_id"]) -> builtins.bool: ...
|
|
214
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "finish_time", b"finish_time", "line_id", b"line_id", "parent_id", b"parent_id", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "stream_id", b"stream_id", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
169
215
|
@typing.overload
|
|
170
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
216
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
171
217
|
@typing.overload
|
|
172
218
|
def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["stream_id", "line_id"] | None: ...
|
|
173
219
|
|
|
@@ -193,6 +239,16 @@ class EpisodeAuthSystemAccessParams(google.protobuf.message.Message):
|
|
|
193
239
|
|
|
194
240
|
global___EpisodeAuthSystemAccessParams = EpisodeAuthSystemAccessParams
|
|
195
241
|
|
|
242
|
+
@typing.final
|
|
243
|
+
class EpisodeSignURLAccessParams(google.protobuf.message.Message):
|
|
244
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
245
|
+
|
|
246
|
+
def __init__(
|
|
247
|
+
self,
|
|
248
|
+
) -> None: ...
|
|
249
|
+
|
|
250
|
+
global___EpisodeSignURLAccessParams = EpisodeSignURLAccessParams
|
|
251
|
+
|
|
196
252
|
@typing.final
|
|
197
253
|
class CreateEpisodeMetadata(google.protobuf.message.Message):
|
|
198
254
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -223,6 +279,7 @@ class UpdateEpisodeRequest(google.protobuf.message.Message):
|
|
|
223
279
|
DVR_SECONDS_FIELD_NUMBER: builtins.int
|
|
224
280
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
225
281
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
282
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
226
283
|
episode_id: builtins.str
|
|
227
284
|
"""ID of the episode."""
|
|
228
285
|
title: builtins.str
|
|
@@ -256,6 +313,10 @@ class UpdateEpisodeRequest(google.protobuf.message.Message):
|
|
|
256
313
|
def auth_system_access(self) -> global___EpisodeAuthSystemAccessParams:
|
|
257
314
|
"""Checking access rights using the authorization system."""
|
|
258
315
|
|
|
316
|
+
@property
|
|
317
|
+
def sign_url_access(self) -> global___EpisodeSignURLAccessParams:
|
|
318
|
+
"""Checking access rights using url's signature."""
|
|
319
|
+
|
|
259
320
|
def __init__(
|
|
260
321
|
self,
|
|
261
322
|
*,
|
|
@@ -269,10 +330,11 @@ class UpdateEpisodeRequest(google.protobuf.message.Message):
|
|
|
269
330
|
dvr_seconds: builtins.int = ...,
|
|
270
331
|
public_access: global___EpisodePublicAccessParams | None = ...,
|
|
271
332
|
auth_system_access: global___EpisodeAuthSystemAccessParams | None = ...,
|
|
333
|
+
sign_url_access: global___EpisodeSignURLAccessParams | None = ...,
|
|
272
334
|
) -> None: ...
|
|
273
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "start_time", b"start_time"]) -> builtins.bool: ...
|
|
274
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "episode_id", b"episode_id", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "start_time", b"start_time", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
275
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
335
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time"]) -> builtins.bool: ...
|
|
336
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "description", b"description", "dvr_seconds", b"dvr_seconds", "episode_id", b"episode_id", "field_mask", b"field_mask", "finish_time", b"finish_time", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "start_time", b"start_time", "thumbnail_id", b"thumbnail_id", "title", b"title"]) -> None: ...
|
|
337
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
276
338
|
|
|
277
339
|
global___UpdateEpisodeRequest = UpdateEpisodeRequest
|
|
278
340
|
|
|
@@ -27,6 +27,11 @@ class EpisodeServiceStub(object):
|
|
|
27
27
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesRequest.SerializeToString,
|
|
28
28
|
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesResponse.FromString,
|
|
29
29
|
)
|
|
30
|
+
self.BatchGet = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.video.v1.EpisodeService/BatchGet',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesResponse.FromString,
|
|
34
|
+
)
|
|
30
35
|
self.Create = channel.unary_unary(
|
|
31
36
|
'/yandex.cloud.video.v1.EpisodeService/Create',
|
|
32
37
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.CreateEpisodeRequest.SerializeToString,
|
|
@@ -77,6 +82,13 @@ class EpisodeServiceServicer(object):
|
|
|
77
82
|
context.set_details('Method not implemented!')
|
|
78
83
|
raise NotImplementedError('Method not implemented!')
|
|
79
84
|
|
|
85
|
+
def BatchGet(self, request, context):
|
|
86
|
+
"""Batch get episodes for channel.
|
|
87
|
+
"""
|
|
88
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
|
+
context.set_details('Method not implemented!')
|
|
90
|
+
raise NotImplementedError('Method not implemented!')
|
|
91
|
+
|
|
80
92
|
def Create(self, request, context):
|
|
81
93
|
"""Create episode.
|
|
82
94
|
"""
|
|
@@ -132,6 +144,11 @@ def add_EpisodeServiceServicer_to_server(servicer, server):
|
|
|
132
144
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesRequest.FromString,
|
|
133
145
|
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.ListEpisodesResponse.SerializeToString,
|
|
134
146
|
),
|
|
147
|
+
'BatchGet': grpc.unary_unary_rpc_method_handler(
|
|
148
|
+
servicer.BatchGet,
|
|
149
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesRequest.FromString,
|
|
150
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesResponse.SerializeToString,
|
|
151
|
+
),
|
|
135
152
|
'Create': grpc.unary_unary_rpc_method_handler(
|
|
136
153
|
servicer.Create,
|
|
137
154
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.CreateEpisodeRequest.FromString,
|
|
@@ -207,6 +224,23 @@ class EpisodeService(object):
|
|
|
207
224
|
options, channel_credentials,
|
|
208
225
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
209
226
|
|
|
227
|
+
@staticmethod
|
|
228
|
+
def BatchGet(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.EpisodeService/BatchGet',
|
|
239
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesRequest.SerializeToString,
|
|
240
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchGetEpisodesResponse.FromString,
|
|
241
|
+
options, channel_credentials,
|
|
242
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
243
|
+
|
|
210
244
|
@staticmethod
|
|
211
245
|
def Create(request,
|
|
212
246
|
target,
|
|
@@ -35,6 +35,12 @@ class EpisodeServiceStub:
|
|
|
35
35
|
]
|
|
36
36
|
"""List episodes for stream or line."""
|
|
37
37
|
|
|
38
|
+
BatchGet: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
40
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse,
|
|
41
|
+
]
|
|
42
|
+
"""Batch get episodes for channel."""
|
|
43
|
+
|
|
38
44
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
39
45
|
yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
40
46
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -86,6 +92,12 @@ class EpisodeServiceAsyncStub:
|
|
|
86
92
|
]
|
|
87
93
|
"""List episodes for stream or line."""
|
|
88
94
|
|
|
95
|
+
BatchGet: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
97
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse,
|
|
98
|
+
]
|
|
99
|
+
"""Batch get episodes for channel."""
|
|
100
|
+
|
|
89
101
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
102
|
yandex.cloud.video.v1.episode_service_pb2.CreateEpisodeRequest,
|
|
91
103
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -141,6 +153,14 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
141
153
|
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.ListEpisodesResponse]]:
|
|
142
154
|
"""List episodes for stream or line."""
|
|
143
155
|
|
|
156
|
+
@abc.abstractmethod
|
|
157
|
+
def BatchGet(
|
|
158
|
+
self,
|
|
159
|
+
request: yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesRequest,
|
|
160
|
+
context: _ServicerContext,
|
|
161
|
+
) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.BatchGetEpisodesResponse]]:
|
|
162
|
+
"""Batch get episodes for channel."""
|
|
163
|
+
|
|
144
164
|
@abc.abstractmethod
|
|
145
165
|
def Create(
|
|
146
166
|
self,
|