yandexcloud 0.300.0__py3-none-any.whl → 0.301.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.
Files changed (63) hide show
  1. yandex/cloud/backup/v1/policy_pb2.py +6 -6
  2. yandex/cloud/backup/v1/policy_pb2.pyi +5 -1
  3. yandex/cloud/backup/v1/policy_service_pb2.py +15 -15
  4. yandex/cloud/backup/v1/policy_service_pb2.pyi +5 -1
  5. yandex/cloud/backup/v1/resource_pb2.py +18 -16
  6. yandex/cloud/backup/v1/resource_pb2.pyi +26 -1
  7. yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.py +1 -1
  8. yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.pyi +3 -3
  9. yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +1 -1
  10. yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +3 -3
  11. yandex/cloud/datatransfer/v1/transfer_pb2.pyi +6 -4
  12. yandex/cloud/loadtesting/api/v1/common/quantiles_pb2.py +3 -1
  13. yandex/cloud/loadtesting/api/v1/common/quantiles_pb2.pyi +59 -0
  14. yandex/cloud/loadtesting/api/v1/regression/__init__.py +0 -0
  15. yandex/cloud/loadtesting/api/v1/regression/dashboard_pb2.py +30 -0
  16. yandex/cloud/loadtesting/api/v1/regression/dashboard_pb2.pyi +90 -0
  17. yandex/cloud/loadtesting/api/v1/regression/dashboard_pb2_grpc.py +4 -0
  18. yandex/cloud/loadtesting/api/v1/regression/dashboard_pb2_grpc.pyi +17 -0
  19. yandex/cloud/loadtesting/api/v1/regression/widget_pb2.py +37 -0
  20. yandex/cloud/loadtesting/api/v1/regression/widget_pb2.pyi +200 -0
  21. yandex/cloud/loadtesting/api/v1/regression/widget_pb2_grpc.py +4 -0
  22. yandex/cloud/loadtesting/api/v1/regression/widget_pb2_grpc.pyi +17 -0
  23. yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2.py +86 -0
  24. yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2.pyi +251 -0
  25. yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2_grpc.py +210 -0
  26. yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2_grpc.pyi +141 -0
  27. yandex/cloud/loadtesting/api/v1/report/kpi_pb2.py +49 -0
  28. yandex/cloud/loadtesting/api/v1/report/kpi_pb2.pyi +321 -0
  29. yandex/cloud/loadtesting/api/v1/report/kpi_pb2_grpc.py +4 -0
  30. yandex/cloud/loadtesting/api/v1/report/kpi_pb2_grpc.pyi +17 -0
  31. yandex/cloud/loadtesting/api/v1/report/kpi_value_pb2.py +26 -0
  32. yandex/cloud/loadtesting/api/v1/report/kpi_value_pb2.pyi +37 -0
  33. yandex/cloud/loadtesting/api/v1/report/kpi_value_pb2_grpc.py +4 -0
  34. yandex/cloud/loadtesting/api/v1/report/kpi_value_pb2_grpc.pyi +17 -0
  35. yandex/cloud/loadtesting/api/v1/report_service_pb2.py +25 -9
  36. yandex/cloud/loadtesting/api/v1/report_service_pb2.pyi +58 -0
  37. yandex/cloud/loadtesting/api/v1/report_service_pb2_grpc.py +34 -0
  38. yandex/cloud/loadtesting/api/v1/report_service_pb2_grpc.pyi +20 -0
  39. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +32 -32
  40. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +8 -2
  41. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +12 -12
  42. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +8 -2
  43. yandex/cloud/serverless/containers/v1/container_service_pb2.py +42 -42
  44. yandex/cloud/serverless/functions/v1/function_service_pb2.py +70 -70
  45. yandex/cloud/serverless/triggers/v1/trigger_service_pb2.py +32 -32
  46. yandex/cloud/video/v1/episode_service_pb2.py +44 -39
  47. yandex/cloud/video/v1/episode_service_pb2.pyi +33 -0
  48. yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
  49. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
  50. yandex/cloud/video/v1/manifest_pb2.py +28 -0
  51. yandex/cloud/video/v1/manifest_pb2.pyi +55 -0
  52. yandex/cloud/video/v1/manifest_pb2_grpc.py +4 -0
  53. yandex/cloud/video/v1/manifest_pb2_grpc.pyi +17 -0
  54. yandex/cloud/video/v1/video_service_pb2.py +50 -45
  55. yandex/cloud/video/v1/video_service_pb2.pyi +33 -0
  56. yandex/cloud/video/v1/video_service_pb2_grpc.py +34 -0
  57. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +20 -0
  58. {yandexcloud-0.300.0.dist-info → yandexcloud-0.301.0.dist-info}/METADATA +1 -1
  59. {yandexcloud-0.300.0.dist-info → yandexcloud-0.301.0.dist-info}/RECORD +63 -38
  60. {yandexcloud-0.300.0.dist-info → yandexcloud-0.301.0.dist-info}/WHEEL +1 -1
  61. {yandexcloud-0.300.0.dist-info → yandexcloud-0.301.0.dist-info}/AUTHORS +0 -0
  62. {yandexcloud-0.300.0.dist-info → yandexcloud-0.301.0.dist-info}/LICENSE +0 -0
  63. {yandexcloud-0.300.0.dist-info → yandexcloud-0.301.0.dist-info}/top_level.txt +0 -0
@@ -65,6 +65,12 @@ class EpisodeServiceStub:
65
65
  ]
66
66
  """Returns url to the player."""
67
67
 
68
+ GetManifests: grpc.UnaryUnaryMultiCallable[
69
+ yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsRequest,
70
+ yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse,
71
+ ]
72
+ """Returns manifest urls."""
73
+
68
74
  class EpisodeServiceAsyncStub:
69
75
  """Episode management service."""
70
76
 
@@ -110,6 +116,12 @@ class EpisodeServiceAsyncStub:
110
116
  ]
111
117
  """Returns url to the player."""
112
118
 
119
+ GetManifests: grpc.aio.UnaryUnaryMultiCallable[
120
+ yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsRequest,
121
+ yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse,
122
+ ]
123
+ """Returns manifest urls."""
124
+
113
125
  class EpisodeServiceServicer(metaclass=abc.ABCMeta):
114
126
  """Episode management service."""
115
127
 
@@ -169,4 +181,12 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
169
181
  ) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.GetEpisodePlayerURLResponse]]:
170
182
  """Returns url to the player."""
171
183
 
184
+ @abc.abstractmethod
185
+ def GetManifests(
186
+ self,
187
+ request: yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsRequest,
188
+ context: _ServicerContext,
189
+ ) -> typing.Union[yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.episode_service_pb2.GetEpisodeManifestsResponse]]:
190
+ """Returns manifest urls."""
191
+
172
192
  def add_EpisodeServiceServicer_to_server(servicer: EpisodeServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,28 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/video/v1/manifest.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/video/v1/manifest.proto\x12\x15yandex.cloud.video.v1\"\x95\x01\n\x08Manifest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12:\n\x04type\x18\x02 \x01(\x0e\x32,.yandex.cloud.video.v1.Manifest.ManifestType\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x41SH\x10\x01\x12\x07\n\x03HLS\x10\x02\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
17
+
18
+ _globals = globals()
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.manifest_pb2', _globals)
21
+ if _descriptor._USE_C_DESCRIPTORS == False:
22
+ DESCRIPTOR._options = None
23
+ DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
24
+ _globals['_MANIFEST']._serialized_start=64
25
+ _globals['_MANIFEST']._serialized_end=213
26
+ _globals['_MANIFEST_MANIFESTTYPE']._serialized_start=149
27
+ _globals['_MANIFEST_MANIFESTTYPE']._serialized_end=213
28
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,55 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import google.protobuf.message
10
+ import sys
11
+ import typing
12
+
13
+ if sys.version_info >= (3, 10):
14
+ import typing as typing_extensions
15
+ else:
16
+ import typing_extensions
17
+
18
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
19
+
20
+ @typing.final
21
+ class Manifest(google.protobuf.message.Message):
22
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
23
+
24
+ class _ManifestType:
25
+ ValueType = typing.NewType("ValueType", builtins.int)
26
+ V: typing_extensions.TypeAlias = ValueType
27
+
28
+ class _ManifestTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Manifest._ManifestType.ValueType], builtins.type):
29
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
30
+ MANIFEST_TYPE_UNSPECIFIED: Manifest._ManifestType.ValueType # 0
31
+ DASH: Manifest._ManifestType.ValueType # 1
32
+ HLS: Manifest._ManifestType.ValueType # 2
33
+
34
+ class ManifestType(_ManifestType, metaclass=_ManifestTypeEnumTypeWrapper):
35
+ """TODO: CLOUDAPI-336
36
+ TODO: reserved 3;
37
+ """
38
+
39
+ MANIFEST_TYPE_UNSPECIFIED: Manifest.ManifestType.ValueType # 0
40
+ DASH: Manifest.ManifestType.ValueType # 1
41
+ HLS: Manifest.ManifestType.ValueType # 2
42
+
43
+ URL_FIELD_NUMBER: builtins.int
44
+ TYPE_FIELD_NUMBER: builtins.int
45
+ url: builtins.str
46
+ type: global___Manifest.ManifestType.ValueType
47
+ def __init__(
48
+ self,
49
+ *,
50
+ url: builtins.str = ...,
51
+ type: global___Manifest.ManifestType.ValueType = ...,
52
+ ) -> None: ...
53
+ def ClearField(self, field_name: typing.Literal["type", b"type", "url", b"url"]) -> None: ...
54
+
55
+ global___Manifest = Manifest
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -14,10 +14,11 @@ _sym_db = _symbol_database.Default()
14
14
  from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
15
15
  from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
16
16
  from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
17
+ from yandex.cloud.video.v1 import manifest_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_manifest__pb2
17
18
  from yandex.cloud.video.v1 import video_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_video__pb2
18
19
 
19
20
 
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/video/v1/video_service.proto\x12\x15yandex.cloud.video.v1\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a!yandex/cloud/video/v1/video.proto\"#\n\x0fGetVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\"u\n\x10ListVideoRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x64 \x01(\x03\x12\x12\n\npage_token\x18\x65 \x01(\t\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x0e\n\x06\x66ilter\x18g \x01(\tJ\x04\x08\x02\x10\x64\"`\n\x11ListVideoResponse\x12,\n\x06videos\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.video.v1.Video\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xe9\x03\n\x12\x43reateVideoRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x04 \x01(\t\x12\x46\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x35.yandex.cloud.video.v1.CreateVideoRequest.LabelsEntry\x12\x37\n\x04tusd\x18\xe8\x07 \x01(\x0b\x32&.yandex.cloud.video.v1.VideoTUSDParamsH\x00\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessParamsH\x01\x12Q\n\x12\x61uth_system_access\x18\xd2\x0f \x01(\x0b\x32\x32.yandex.cloud.video.v1.VideoAuthSystemAccessParamsH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06sourceB\x0f\n\raccess_rightsJ\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xd0\x0fJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x05\x08\x05\x10\xc8\x01\"7\n\x0fVideoTUSDParams\x12\x11\n\tfile_size\x18\x01 \x01(\x03\x12\x11\n\tfile_name\x18\x02 \x01(\t\"\x19\n\x17VideoPublicAccessParams\"\x1d\n\x1bVideoAuthSystemAccessParams\"\'\n\x13\x43reateVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\xcc\x03\n\x12UpdateVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\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\x14\n\x0cthumbnail_id\x18\x05 \x01(\t\x12\x46\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x35.yandex.cloud.video.v1.UpdateVideoRequest.LabelsEntry\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessParamsH\x00\x12Q\n\x12\x61uth_system_access\x18\xd2\x0f \x01(\x0b\x32\x32.yandex.cloud.video.v1.VideoAuthSystemAccessParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\raccess_rightsJ\x06\x08\xc9\x01\x10\xd0\x0fJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x05\x08\x06\x10\xc8\x01\"\'\n\x13UpdateVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"&\n\x12\x44\x65leteVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\'\n\x13\x44\x65leteVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\xc0\x01\n\x19PerformVideoActionRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\x12=\n\x07publish\x18\xe8\x07 \x01(\x0b\x32).yandex.cloud.video.v1.PublishVideoActionH\x00\x12\x41\n\tunpublish\x18\xe9\x07 \x01(\x0b\x32+.yandex.cloud.video.v1.UnpublishVideoActionH\x00\x42\x08\n\x06\x61\x63tionJ\x05\x08\x02\x10\xe8\x07\"\x14\n\x12PublishVideoAction\"\x16\n\x14UnpublishVideoAction\".\n\x1aPerformVideoActionMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"f\n\x18GetVideoPlayerURLRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32(.yandex.cloud.video.v1.VideoPlayerParams\"C\n\x11VideoPlayerParams\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\x19GetVideoPlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t2\xbe\x06\n\x0cVideoService\x12M\n\x03Get\x12&.yandex.cloud.video.v1.GetVideoRequest\x1a\x1c.yandex.cloud.video.v1.Video\"\x00\x12[\n\x04List\x12\'.yandex.cloud.video.v1.ListVideoRequest\x1a(.yandex.cloud.video.v1.ListVideoResponse\"\x00\x12x\n\x06\x43reate\x12).yandex.cloud.video.v1.CreateVideoRequest\x1a!.yandex.cloud.operation.Operation\" \xb2\xd2*\x1c\n\x13\x43reateVideoMetadata\x12\x05Video\x12x\n\x06Update\x12).yandex.cloud.video.v1.UpdateVideoRequest\x1a!.yandex.cloud.operation.Operation\" \xb2\xd2*\x1c\n\x13UpdateVideoMetadata\x12\x05Video\x12\x88\x01\n\x06\x44\x65lete\x12).yandex.cloud.video.v1.DeleteVideoRequest\x1a!.yandex.cloud.operation.Operation\"0\xb2\xd2*,\n\x13\x44\x65leteVideoMetadata\x12\x15google.protobuf.Empty\x12\x8d\x01\n\rPerformAction\x12\x30.yandex.cloud.video.v1.PerformVideoActionRequest\x1a!.yandex.cloud.operation.Operation\"\'\xb2\xd2*#\n\x1aPerformVideoActionMetadata\x12\x05Video\x12s\n\x0cGetPlayerURL\x12/.yandex.cloud.video.v1.GetVideoPlayerURLRequest\x1a\x30.yandex.cloud.video.v1.GetVideoPlayerURLResponse\"\x00\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/video/v1/video_service.proto\x12\x15yandex.cloud.video.v1\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a$yandex/cloud/video/v1/manifest.proto\x1a!yandex/cloud/video/v1/video.proto\"#\n\x0fGetVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\"u\n\x10ListVideoRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x64 \x01(\x03\x12\x12\n\npage_token\x18\x65 \x01(\t\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x0e\n\x06\x66ilter\x18g \x01(\tJ\x04\x08\x02\x10\x64\"`\n\x11ListVideoResponse\x12,\n\x06videos\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.video.v1.Video\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xe9\x03\n\x12\x43reateVideoRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x04 \x01(\t\x12\x46\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x35.yandex.cloud.video.v1.CreateVideoRequest.LabelsEntry\x12\x37\n\x04tusd\x18\xe8\x07 \x01(\x0b\x32&.yandex.cloud.video.v1.VideoTUSDParamsH\x00\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessParamsH\x01\x12Q\n\x12\x61uth_system_access\x18\xd2\x0f \x01(\x0b\x32\x32.yandex.cloud.video.v1.VideoAuthSystemAccessParamsH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06sourceB\x0f\n\raccess_rightsJ\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xd0\x0fJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x05\x08\x05\x10\xc8\x01\"7\n\x0fVideoTUSDParams\x12\x11\n\tfile_size\x18\x01 \x01(\x03\x12\x11\n\tfile_name\x18\x02 \x01(\t\"\x19\n\x17VideoPublicAccessParams\"\x1d\n\x1bVideoAuthSystemAccessParams\"\'\n\x13\x43reateVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\xcc\x03\n\x12UpdateVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\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\x14\n\x0cthumbnail_id\x18\x05 \x01(\t\x12\x46\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x35.yandex.cloud.video.v1.UpdateVideoRequest.LabelsEntry\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessParamsH\x00\x12Q\n\x12\x61uth_system_access\x18\xd2\x0f \x01(\x0b\x32\x32.yandex.cloud.video.v1.VideoAuthSystemAccessParamsH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\raccess_rightsJ\x06\x08\xc9\x01\x10\xd0\x0fJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x05\x08\x06\x10\xc8\x01\"\'\n\x13UpdateVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"&\n\x12\x44\x65leteVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\'\n\x13\x44\x65leteVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\xc0\x01\n\x19PerformVideoActionRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\x12=\n\x07publish\x18\xe8\x07 \x01(\x0b\x32).yandex.cloud.video.v1.PublishVideoActionH\x00\x12\x41\n\tunpublish\x18\xe9\x07 \x01(\x0b\x32+.yandex.cloud.video.v1.UnpublishVideoActionH\x00\x42\x08\n\x06\x61\x63tionJ\x05\x08\x02\x10\xe8\x07\"\x14\n\x12PublishVideoAction\"\x16\n\x14UnpublishVideoAction\".\n\x1aPerformVideoActionMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"f\n\x18GetVideoPlayerURLRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32(.yandex.cloud.video.v1.VideoPlayerParams\"C\n\x11VideoPlayerParams\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\x19GetVideoPlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t\",\n\x18GetVideoManifestsRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\"O\n\x19GetVideoManifestsResponse\x12\x32\n\tmanifests\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Manifest2\xb3\x07\n\x0cVideoService\x12M\n\x03Get\x12&.yandex.cloud.video.v1.GetVideoRequest\x1a\x1c.yandex.cloud.video.v1.Video\"\x00\x12[\n\x04List\x12\'.yandex.cloud.video.v1.ListVideoRequest\x1a(.yandex.cloud.video.v1.ListVideoResponse\"\x00\x12x\n\x06\x43reate\x12).yandex.cloud.video.v1.CreateVideoRequest\x1a!.yandex.cloud.operation.Operation\" \xb2\xd2*\x1c\n\x13\x43reateVideoMetadata\x12\x05Video\x12x\n\x06Update\x12).yandex.cloud.video.v1.UpdateVideoRequest\x1a!.yandex.cloud.operation.Operation\" \xb2\xd2*\x1c\n\x13UpdateVideoMetadata\x12\x05Video\x12\x88\x01\n\x06\x44\x65lete\x12).yandex.cloud.video.v1.DeleteVideoRequest\x1a!.yandex.cloud.operation.Operation\"0\xb2\xd2*,\n\x13\x44\x65leteVideoMetadata\x12\x15google.protobuf.Empty\x12\x8d\x01\n\rPerformAction\x12\x30.yandex.cloud.video.v1.PerformVideoActionRequest\x1a!.yandex.cloud.operation.Operation\"\'\xb2\xd2*#\n\x1aPerformVideoActionMetadata\x12\x05Video\x12s\n\x0cGetPlayerURL\x12/.yandex.cloud.video.v1.GetVideoPlayerURLRequest\x1a\x30.yandex.cloud.video.v1.GetVideoPlayerURLResponse\"\x00\x12s\n\x0cGetManifests\x12/.yandex.cloud.video.v1.GetVideoManifestsRequest\x1a\x30.yandex.cloud.video.v1.GetVideoManifestsResponse\"\x00\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
21
22
 
22
23
  _globals = globals()
23
24
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -37,48 +38,52 @@ if _descriptor._USE_C_DESCRIPTORS == False:
37
38
  _VIDEOSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*,\n\023DeleteVideoMetadata\022\025google.protobuf.Empty'
38
39
  _VIDEOSERVICE.methods_by_name['PerformAction']._options = None
39
40
  _VIDEOSERVICE.methods_by_name['PerformAction']._serialized_options = b'\262\322*#\n\032PerformVideoActionMetadata\022\005Video'
40
- _globals['_GETVIDEOREQUEST']._serialized_start=211
41
- _globals['_GETVIDEOREQUEST']._serialized_end=246
42
- _globals['_LISTVIDEOREQUEST']._serialized_start=248
43
- _globals['_LISTVIDEOREQUEST']._serialized_end=365
44
- _globals['_LISTVIDEORESPONSE']._serialized_start=367
45
- _globals['_LISTVIDEORESPONSE']._serialized_end=463
46
- _globals['_CREATEVIDEOREQUEST']._serialized_start=466
47
- _globals['_CREATEVIDEOREQUEST']._serialized_end=955
48
- _globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_start=852
49
- _globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_end=897
50
- _globals['_VIDEOTUSDPARAMS']._serialized_start=957
51
- _globals['_VIDEOTUSDPARAMS']._serialized_end=1012
52
- _globals['_VIDEOPUBLICACCESSPARAMS']._serialized_start=1014
53
- _globals['_VIDEOPUBLICACCESSPARAMS']._serialized_end=1039
54
- _globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_start=1041
55
- _globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_end=1070
56
- _globals['_CREATEVIDEOMETADATA']._serialized_start=1072
57
- _globals['_CREATEVIDEOMETADATA']._serialized_end=1111
58
- _globals['_UPDATEVIDEOREQUEST']._serialized_start=1114
59
- _globals['_UPDATEVIDEOREQUEST']._serialized_end=1574
60
- _globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_start=852
61
- _globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_end=897
62
- _globals['_UPDATEVIDEOMETADATA']._serialized_start=1576
63
- _globals['_UPDATEVIDEOMETADATA']._serialized_end=1615
64
- _globals['_DELETEVIDEOREQUEST']._serialized_start=1617
65
- _globals['_DELETEVIDEOREQUEST']._serialized_end=1655
66
- _globals['_DELETEVIDEOMETADATA']._serialized_start=1657
67
- _globals['_DELETEVIDEOMETADATA']._serialized_end=1696
68
- _globals['_PERFORMVIDEOACTIONREQUEST']._serialized_start=1699
69
- _globals['_PERFORMVIDEOACTIONREQUEST']._serialized_end=1891
70
- _globals['_PUBLISHVIDEOACTION']._serialized_start=1893
71
- _globals['_PUBLISHVIDEOACTION']._serialized_end=1913
72
- _globals['_UNPUBLISHVIDEOACTION']._serialized_start=1915
73
- _globals['_UNPUBLISHVIDEOACTION']._serialized_end=1937
74
- _globals['_PERFORMVIDEOACTIONMETADATA']._serialized_start=1939
75
- _globals['_PERFORMVIDEOACTIONMETADATA']._serialized_end=1985
76
- _globals['_GETVIDEOPLAYERURLREQUEST']._serialized_start=1987
77
- _globals['_GETVIDEOPLAYERURLREQUEST']._serialized_end=2089
78
- _globals['_VIDEOPLAYERPARAMS']._serialized_start=2091
79
- _globals['_VIDEOPLAYERPARAMS']._serialized_end=2158
80
- _globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_start=2160
81
- _globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_end=2221
82
- _globals['_VIDEOSERVICE']._serialized_start=2224
83
- _globals['_VIDEOSERVICE']._serialized_end=3054
41
+ _globals['_GETVIDEOREQUEST']._serialized_start=249
42
+ _globals['_GETVIDEOREQUEST']._serialized_end=284
43
+ _globals['_LISTVIDEOREQUEST']._serialized_start=286
44
+ _globals['_LISTVIDEOREQUEST']._serialized_end=403
45
+ _globals['_LISTVIDEORESPONSE']._serialized_start=405
46
+ _globals['_LISTVIDEORESPONSE']._serialized_end=501
47
+ _globals['_CREATEVIDEOREQUEST']._serialized_start=504
48
+ _globals['_CREATEVIDEOREQUEST']._serialized_end=993
49
+ _globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_start=890
50
+ _globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_end=935
51
+ _globals['_VIDEOTUSDPARAMS']._serialized_start=995
52
+ _globals['_VIDEOTUSDPARAMS']._serialized_end=1050
53
+ _globals['_VIDEOPUBLICACCESSPARAMS']._serialized_start=1052
54
+ _globals['_VIDEOPUBLICACCESSPARAMS']._serialized_end=1077
55
+ _globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_start=1079
56
+ _globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_end=1108
57
+ _globals['_CREATEVIDEOMETADATA']._serialized_start=1110
58
+ _globals['_CREATEVIDEOMETADATA']._serialized_end=1149
59
+ _globals['_UPDATEVIDEOREQUEST']._serialized_start=1152
60
+ _globals['_UPDATEVIDEOREQUEST']._serialized_end=1612
61
+ _globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_start=890
62
+ _globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_end=935
63
+ _globals['_UPDATEVIDEOMETADATA']._serialized_start=1614
64
+ _globals['_UPDATEVIDEOMETADATA']._serialized_end=1653
65
+ _globals['_DELETEVIDEOREQUEST']._serialized_start=1655
66
+ _globals['_DELETEVIDEOREQUEST']._serialized_end=1693
67
+ _globals['_DELETEVIDEOMETADATA']._serialized_start=1695
68
+ _globals['_DELETEVIDEOMETADATA']._serialized_end=1734
69
+ _globals['_PERFORMVIDEOACTIONREQUEST']._serialized_start=1737
70
+ _globals['_PERFORMVIDEOACTIONREQUEST']._serialized_end=1929
71
+ _globals['_PUBLISHVIDEOACTION']._serialized_start=1931
72
+ _globals['_PUBLISHVIDEOACTION']._serialized_end=1951
73
+ _globals['_UNPUBLISHVIDEOACTION']._serialized_start=1953
74
+ _globals['_UNPUBLISHVIDEOACTION']._serialized_end=1975
75
+ _globals['_PERFORMVIDEOACTIONMETADATA']._serialized_start=1977
76
+ _globals['_PERFORMVIDEOACTIONMETADATA']._serialized_end=2023
77
+ _globals['_GETVIDEOPLAYERURLREQUEST']._serialized_start=2025
78
+ _globals['_GETVIDEOPLAYERURLREQUEST']._serialized_end=2127
79
+ _globals['_VIDEOPLAYERPARAMS']._serialized_start=2129
80
+ _globals['_VIDEOPLAYERPARAMS']._serialized_end=2196
81
+ _globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_start=2198
82
+ _globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_end=2259
83
+ _globals['_GETVIDEOMANIFESTSREQUEST']._serialized_start=2261
84
+ _globals['_GETVIDEOMANIFESTSREQUEST']._serialized_end=2305
85
+ _globals['_GETVIDEOMANIFESTSRESPONSE']._serialized_start=2307
86
+ _globals['_GETVIDEOMANIFESTSRESPONSE']._serialized_end=2386
87
+ _globals['_VIDEOSERVICE']._serialized_start=2389
88
+ _globals['_VIDEOSERVICE']._serialized_end=3336
84
89
  # @@protoc_insertion_point(module_scope)
@@ -10,6 +10,7 @@ import google.protobuf.field_mask_pb2
10
10
  import google.protobuf.internal.containers
11
11
  import google.protobuf.message
12
12
  import typing
13
+ import yandex.cloud.video.v1.manifest_pb2
13
14
  import yandex.cloud.video.v1.video_pb2
14
15
 
15
16
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -462,3 +463,35 @@ class GetVideoPlayerURLResponse(google.protobuf.message.Message):
462
463
  def ClearField(self, field_name: typing.Literal["html", b"html", "player_url", b"player_url"]) -> None: ...
463
464
 
464
465
  global___GetVideoPlayerURLResponse = GetVideoPlayerURLResponse
466
+
467
+ @typing.final
468
+ class GetVideoManifestsRequest(google.protobuf.message.Message):
469
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
470
+
471
+ VIDEO_ID_FIELD_NUMBER: builtins.int
472
+ video_id: builtins.str
473
+ """ID of the video."""
474
+ def __init__(
475
+ self,
476
+ *,
477
+ video_id: builtins.str = ...,
478
+ ) -> None: ...
479
+ def ClearField(self, field_name: typing.Literal["video_id", b"video_id"]) -> None: ...
480
+
481
+ global___GetVideoManifestsRequest = GetVideoManifestsRequest
482
+
483
+ @typing.final
484
+ class GetVideoManifestsResponse(google.protobuf.message.Message):
485
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
486
+
487
+ MANIFESTS_FIELD_NUMBER: builtins.int
488
+ @property
489
+ def manifests(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.manifest_pb2.Manifest]: ...
490
+ def __init__(
491
+ self,
492
+ *,
493
+ manifests: collections.abc.Iterable[yandex.cloud.video.v1.manifest_pb2.Manifest] | None = ...,
494
+ ) -> None: ...
495
+ def ClearField(self, field_name: typing.Literal["manifests", b"manifests"]) -> None: ...
496
+
497
+ global___GetVideoManifestsResponse = GetVideoManifestsResponse
@@ -52,6 +52,11 @@ class VideoServiceStub(object):
52
52
  request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLRequest.SerializeToString,
53
53
  response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLResponse.FromString,
54
54
  )
55
+ self.GetManifests = channel.unary_unary(
56
+ '/yandex.cloud.video.v1.VideoService/GetManifests',
57
+ request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsRequest.SerializeToString,
58
+ response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsResponse.FromString,
59
+ )
55
60
 
56
61
 
57
62
  class VideoServiceServicer(object):
@@ -107,6 +112,13 @@ class VideoServiceServicer(object):
107
112
  context.set_details('Method not implemented!')
108
113
  raise NotImplementedError('Method not implemented!')
109
114
 
115
+ def GetManifests(self, request, context):
116
+ """Returns manifest urls.
117
+ """
118
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
119
+ context.set_details('Method not implemented!')
120
+ raise NotImplementedError('Method not implemented!')
121
+
110
122
 
111
123
  def add_VideoServiceServicer_to_server(servicer, server):
112
124
  rpc_method_handlers = {
@@ -145,6 +157,11 @@ def add_VideoServiceServicer_to_server(servicer, server):
145
157
  request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLRequest.FromString,
146
158
  response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLResponse.SerializeToString,
147
159
  ),
160
+ 'GetManifests': grpc.unary_unary_rpc_method_handler(
161
+ servicer.GetManifests,
162
+ request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsRequest.FromString,
163
+ response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsResponse.SerializeToString,
164
+ ),
148
165
  }
149
166
  generic_handler = grpc.method_handlers_generic_handler(
150
167
  'yandex.cloud.video.v1.VideoService', rpc_method_handlers)
@@ -274,3 +291,20 @@ class VideoService(object):
274
291
  yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLResponse.FromString,
275
292
  options, channel_credentials,
276
293
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
294
+
295
+ @staticmethod
296
+ def GetManifests(request,
297
+ target,
298
+ options=(),
299
+ channel_credentials=None,
300
+ call_credentials=None,
301
+ insecure=False,
302
+ compression=None,
303
+ wait_for_ready=None,
304
+ timeout=None,
305
+ metadata=None):
306
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.VideoService/GetManifests',
307
+ yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsRequest.SerializeToString,
308
+ yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsResponse.FromString,
309
+ options, channel_credentials,
310
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -65,6 +65,12 @@ class VideoServiceStub:
65
65
  ]
66
66
  """Returns url to the player."""
67
67
 
68
+ GetManifests: grpc.UnaryUnaryMultiCallable[
69
+ yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
70
+ yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
71
+ ]
72
+ """Returns manifest urls."""
73
+
68
74
  class VideoServiceAsyncStub:
69
75
  """Video management service."""
70
76
 
@@ -110,6 +116,12 @@ class VideoServiceAsyncStub:
110
116
  ]
111
117
  """Returns url to the player."""
112
118
 
119
+ GetManifests: grpc.aio.UnaryUnaryMultiCallable[
120
+ yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
121
+ yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
122
+ ]
123
+ """Returns manifest urls."""
124
+
113
125
  class VideoServiceServicer(metaclass=abc.ABCMeta):
114
126
  """Video management service."""
115
127
 
@@ -169,4 +181,12 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
169
181
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse]]:
170
182
  """Returns url to the player."""
171
183
 
184
+ @abc.abstractmethod
185
+ def GetManifests(
186
+ self,
187
+ request: yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
188
+ context: _ServicerContext,
189
+ ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse]]:
190
+ """Returns manifest urls."""
191
+
172
192
  def add_VideoServiceServicer_to_server(servicer: VideoServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yandexcloud
3
- Version: 0.300.0
3
+ Version: 0.301.0
4
4
  Summary: The Yandex.Cloud official SDK
5
5
  Home-page: https://github.com/yandex-cloud/python-sdk
6
6
  Author: Yandex LLC