yandexcloud 0.324.0__py3-none-any.whl → 0.325.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +3 -3
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +26 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +2 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +3 -3
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +9 -6
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +15 -9
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +42 -38
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +2 -2
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +6 -6
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +119 -93
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -14,10 +14,11 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__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 import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
18
|
from yandex.cloud.video.v1 import thumbnail_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2
|
|
18
19
|
|
|
19
20
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"x\n\x14ListThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x64 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200J\x04\x08\x02\x10\x64\"l\n\x15ListThumbnailResponse\x12\x34\n\nthumbnails\x18\x01 \x03(\x0b\x32 .yandex.cloud.video.v1.Thumbnail\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"7\n\x16\x43reateThumbnailRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\"/\n\x17\x43reateThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\"n\n BatchGenerateDownloadURLsRequest\x12!\n\nchannel_id\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=200\x12\'\n\rthumbnail_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04\x31-50\x8a\xc8\x31\x04<=50\"g\n!BatchGenerateDownloadURLsResponse\x12\x42\n\rdownload_urls\x18\x01 \x03(\x0b\x32+.yandex.cloud.video.v1.ThumbnailDownloadURL\"B\n\x14ThumbnailDownloadURL\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64ownload_url\x18\x02 \x01(\t\"G\n!GenerateThumbnailUploadURLRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"8\n\"GenerateThumbnailUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\"<\n\x16\x44\x65leteThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"/\n\x17\x44\x65leteThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t2\x93\x08\n\x10ThumbnailService\x12\x80\x01\n\x03Get\x12*.yandex.cloud.video.v1.GetThumbnailRequest\x1a .yandex.cloud.video.v1.Thumbnail\"+\x82\xd3\xe4\x93\x02%\x12#/video/v1/thumbnails/{thumbnail_id}\x12\x7f\n\x04List\x12+.yandex.cloud.video.v1.ListThumbnailRequest\x1a,.yandex.cloud.video.v1.ListThumbnailResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/video/v1/thumbnails\x12\xa3\x01\n\x06\x43reate\x12-.yandex.cloud.video.v1.CreateThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*$\n\x17\x43reateThumbnailMetadata\x12\tThumbnail\x82\xd3\xe4\x93\x02\x19\"\x14/video/v1/thumbnails:\x01*\x12\xc9\x01\n\x19\x42\x61tchGenerateDownloadURLs\x12\x37.yandex.cloud.video.v1.BatchGenerateDownloadURLsRequest\x1a\x38.yandex.cloud.video.v1.BatchGenerateDownloadURLsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./video/v1/thumbnails:batchGenerateDownloadURLs:\x01*\x12\xca\x01\n\x11GenerateUploadURL\x12\x38.yandex.cloud.video.v1.GenerateThumbnailUploadURLRequest\x1a\x39.yandex.cloud.video.v1.GenerateThumbnailUploadURLResponse\"@\x82\xd3\xe4\x93\x02:\"5/video/v1/thumbnails/{thumbnail_id}:generateUploadURL:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12-.yandex.cloud.video.v1.DeleteThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x17\x44\x65leteThumbnailMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/video/v1/thumbnails/{thumbnail_id}B\\\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)
|
|
@@ -25,6 +26,26 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.thumb
|
|
|
25
26
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
27
|
DESCRIPTOR._options = None
|
|
27
28
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
29
|
+
_GETTHUMBNAILREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
30
|
+
_GETTHUMBNAILREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
31
|
+
_LISTTHUMBNAILREQUEST.fields_by_name['channel_id']._options = None
|
|
32
|
+
_LISTTHUMBNAILREQUEST.fields_by_name['channel_id']._serialized_options = b'\212\3101\004<=50'
|
|
33
|
+
_LISTTHUMBNAILREQUEST.fields_by_name['page_size']._options = None
|
|
34
|
+
_LISTTHUMBNAILREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
35
|
+
_LISTTHUMBNAILREQUEST.fields_by_name['page_token']._options = None
|
|
36
|
+
_LISTTHUMBNAILREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
37
|
+
_CREATETHUMBNAILREQUEST.fields_by_name['channel_id']._options = None
|
|
38
|
+
_CREATETHUMBNAILREQUEST.fields_by_name['channel_id']._serialized_options = b'\212\3101\005<=200'
|
|
39
|
+
_BATCHGENERATEDOWNLOADURLSREQUEST.fields_by_name['channel_id']._options = None
|
|
40
|
+
_BATCHGENERATEDOWNLOADURLSREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\005<=200'
|
|
41
|
+
_BATCHGENERATEDOWNLOADURLSREQUEST.fields_by_name['thumbnail_ids']._options = None
|
|
42
|
+
_BATCHGENERATEDOWNLOADURLSREQUEST.fields_by_name['thumbnail_ids']._serialized_options = b'\202\3101\0041-50\212\3101\004<=50'
|
|
43
|
+
_GENERATETHUMBNAILUPLOADURLREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
44
|
+
_GENERATETHUMBNAILUPLOADURLREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
45
|
+
_DELETETHUMBNAILREQUEST.fields_by_name['thumbnail_id']._options = None
|
|
46
|
+
_DELETETHUMBNAILREQUEST.fields_by_name['thumbnail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
47
|
+
_THUMBNAILSERVICE.methods_by_name['Get']._options = None
|
|
48
|
+
_THUMBNAILSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002%\022#/video/v1/thumbnails/{thumbnail_id}'
|
|
28
49
|
_THUMBNAILSERVICE.methods_by_name['List']._options = None
|
|
29
50
|
_THUMBNAILSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\026\022\024/video/v1/thumbnails'
|
|
30
51
|
_THUMBNAILSERVICE.methods_by_name['Create']._options = None
|
|
@@ -33,24 +54,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
33
54
|
_THUMBNAILSERVICE.methods_by_name['BatchGenerateDownloadURLs']._serialized_options = b'\202\323\344\223\0023\"./video/v1/thumbnails:batchGenerateDownloadURLs:\001*'
|
|
34
55
|
_THUMBNAILSERVICE.methods_by_name['GenerateUploadURL']._options = None
|
|
35
56
|
_THUMBNAILSERVICE.methods_by_name['GenerateUploadURL']._serialized_options = b'\202\323\344\223\002:\"5/video/v1/thumbnails/{thumbnail_id}:generateUploadURL:\001*'
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
57
|
+
_THUMBNAILSERVICE.methods_by_name['Delete']._options = None
|
|
58
|
+
_THUMBNAILSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*0\n\027DeleteThumbnailMetadata\022\025google.protobuf.Empty\202\323\344\223\002%*#/video/v1/thumbnails/{thumbnail_id}'
|
|
59
|
+
_globals['_GETTHUMBNAILREQUEST']._serialized_start=246
|
|
60
|
+
_globals['_GETTHUMBNAILREQUEST']._serialized_end=303
|
|
61
|
+
_globals['_LISTTHUMBNAILREQUEST']._serialized_start=305
|
|
62
|
+
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=425
|
|
63
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=427
|
|
64
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=535
|
|
65
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=537
|
|
66
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=592
|
|
67
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=594
|
|
68
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=641
|
|
69
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=643
|
|
70
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=753
|
|
71
|
+
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=755
|
|
72
|
+
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=858
|
|
73
|
+
_globals['_THUMBNAILDOWNLOADURL']._serialized_start=860
|
|
74
|
+
_globals['_THUMBNAILDOWNLOADURL']._serialized_end=926
|
|
75
|
+
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_start=928
|
|
76
|
+
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_end=999
|
|
77
|
+
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_start=1001
|
|
78
|
+
_globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_end=1057
|
|
79
|
+
_globals['_DELETETHUMBNAILREQUEST']._serialized_start=1059
|
|
80
|
+
_globals['_DELETETHUMBNAILREQUEST']._serialized_end=1119
|
|
81
|
+
_globals['_DELETETHUMBNAILMETADATA']._serialized_start=1121
|
|
82
|
+
_globals['_DELETETHUMBNAILMETADATA']._serialized_end=1168
|
|
83
|
+
_globals['_THUMBNAILSERVICE']._serialized_start=1171
|
|
84
|
+
_globals['_THUMBNAILSERVICE']._serialized_end=2214
|
|
56
85
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,22 @@ import yandex.cloud.video.v1.thumbnail_pb2
|
|
|
13
13
|
|
|
14
14
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
15
|
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetThumbnailRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
thumbnail_id: builtins.str
|
|
22
|
+
"""ID of the thumbnail."""
|
|
23
|
+
def __init__(
|
|
24
|
+
self,
|
|
25
|
+
*,
|
|
26
|
+
thumbnail_id: builtins.str = ...,
|
|
27
|
+
) -> None: ...
|
|
28
|
+
def ClearField(self, field_name: typing.Literal["thumbnail_id", b"thumbnail_id"]) -> None: ...
|
|
29
|
+
|
|
30
|
+
global___GetThumbnailRequest = GetThumbnailRequest
|
|
31
|
+
|
|
16
32
|
@typing.final
|
|
17
33
|
class ListThumbnailRequest(google.protobuf.message.Message):
|
|
18
34
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -182,3 +198,35 @@ class GenerateThumbnailUploadURLResponse(google.protobuf.message.Message):
|
|
|
182
198
|
def ClearField(self, field_name: typing.Literal["upload_url", b"upload_url"]) -> None: ...
|
|
183
199
|
|
|
184
200
|
global___GenerateThumbnailUploadURLResponse = GenerateThumbnailUploadURLResponse
|
|
201
|
+
|
|
202
|
+
@typing.final
|
|
203
|
+
class DeleteThumbnailRequest(google.protobuf.message.Message):
|
|
204
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
205
|
+
|
|
206
|
+
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
207
|
+
thumbnail_id: builtins.str
|
|
208
|
+
"""ID of the thumbnail."""
|
|
209
|
+
def __init__(
|
|
210
|
+
self,
|
|
211
|
+
*,
|
|
212
|
+
thumbnail_id: builtins.str = ...,
|
|
213
|
+
) -> None: ...
|
|
214
|
+
def ClearField(self, field_name: typing.Literal["thumbnail_id", b"thumbnail_id"]) -> None: ...
|
|
215
|
+
|
|
216
|
+
global___DeleteThumbnailRequest = DeleteThumbnailRequest
|
|
217
|
+
|
|
218
|
+
@typing.final
|
|
219
|
+
class DeleteThumbnailMetadata(google.protobuf.message.Message):
|
|
220
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
221
|
+
|
|
222
|
+
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
223
|
+
thumbnail_id: builtins.str
|
|
224
|
+
"""ID of the thumbnail."""
|
|
225
|
+
def __init__(
|
|
226
|
+
self,
|
|
227
|
+
*,
|
|
228
|
+
thumbnail_id: builtins.str = ...,
|
|
229
|
+
) -> None: ...
|
|
230
|
+
def ClearField(self, field_name: typing.Literal["thumbnail_id", b"thumbnail_id"]) -> None: ...
|
|
231
|
+
|
|
232
|
+
global___DeleteThumbnailMetadata = DeleteThumbnailMetadata
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
5
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
6
|
+
from yandex.cloud.video.v1 import thumbnail_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2
|
|
6
7
|
from yandex.cloud.video.v1 import thumbnail_service_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2
|
|
7
8
|
|
|
8
9
|
|
|
@@ -16,6 +17,11 @@ class ThumbnailServiceStub(object):
|
|
|
16
17
|
Args:
|
|
17
18
|
channel: A grpc.Channel.
|
|
18
19
|
"""
|
|
20
|
+
self.Get = channel.unary_unary(
|
|
21
|
+
'/yandex.cloud.video.v1.ThumbnailService/Get',
|
|
22
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GetThumbnailRequest.SerializeToString,
|
|
23
|
+
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2.Thumbnail.FromString,
|
|
24
|
+
)
|
|
19
25
|
self.List = channel.unary_unary(
|
|
20
26
|
'/yandex.cloud.video.v1.ThumbnailService/List',
|
|
21
27
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.ListThumbnailRequest.SerializeToString,
|
|
@@ -36,12 +42,24 @@ class ThumbnailServiceStub(object):
|
|
|
36
42
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GenerateThumbnailUploadURLRequest.SerializeToString,
|
|
37
43
|
response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GenerateThumbnailUploadURLResponse.FromString,
|
|
38
44
|
)
|
|
45
|
+
self.Delete = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.video.v1.ThumbnailService/Delete',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.DeleteThumbnailRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
49
|
+
)
|
|
39
50
|
|
|
40
51
|
|
|
41
52
|
class ThumbnailServiceServicer(object):
|
|
42
53
|
"""Thumbnail management service.
|
|
43
54
|
"""
|
|
44
55
|
|
|
56
|
+
def Get(self, request, context):
|
|
57
|
+
"""Returns the specific thumbnail.
|
|
58
|
+
"""
|
|
59
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
60
|
+
context.set_details('Method not implemented!')
|
|
61
|
+
raise NotImplementedError('Method not implemented!')
|
|
62
|
+
|
|
45
63
|
def List(self, request, context):
|
|
46
64
|
"""List thumbnails for channel.
|
|
47
65
|
"""
|
|
@@ -70,9 +88,21 @@ class ThumbnailServiceServicer(object):
|
|
|
70
88
|
context.set_details('Method not implemented!')
|
|
71
89
|
raise NotImplementedError('Method not implemented!')
|
|
72
90
|
|
|
91
|
+
def Delete(self, request, context):
|
|
92
|
+
"""Delete thumbnail.
|
|
93
|
+
"""
|
|
94
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
95
|
+
context.set_details('Method not implemented!')
|
|
96
|
+
raise NotImplementedError('Method not implemented!')
|
|
97
|
+
|
|
73
98
|
|
|
74
99
|
def add_ThumbnailServiceServicer_to_server(servicer, server):
|
|
75
100
|
rpc_method_handlers = {
|
|
101
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
102
|
+
servicer.Get,
|
|
103
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GetThumbnailRequest.FromString,
|
|
104
|
+
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2.Thumbnail.SerializeToString,
|
|
105
|
+
),
|
|
76
106
|
'List': grpc.unary_unary_rpc_method_handler(
|
|
77
107
|
servicer.List,
|
|
78
108
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.ListThumbnailRequest.FromString,
|
|
@@ -93,6 +123,11 @@ def add_ThumbnailServiceServicer_to_server(servicer, server):
|
|
|
93
123
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GenerateThumbnailUploadURLRequest.FromString,
|
|
94
124
|
response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GenerateThumbnailUploadURLResponse.SerializeToString,
|
|
95
125
|
),
|
|
126
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.Delete,
|
|
128
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.DeleteThumbnailRequest.FromString,
|
|
129
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
130
|
+
),
|
|
96
131
|
}
|
|
97
132
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
98
133
|
'yandex.cloud.video.v1.ThumbnailService', rpc_method_handlers)
|
|
@@ -104,6 +139,23 @@ class ThumbnailService(object):
|
|
|
104
139
|
"""Thumbnail management service.
|
|
105
140
|
"""
|
|
106
141
|
|
|
142
|
+
@staticmethod
|
|
143
|
+
def Get(request,
|
|
144
|
+
target,
|
|
145
|
+
options=(),
|
|
146
|
+
channel_credentials=None,
|
|
147
|
+
call_credentials=None,
|
|
148
|
+
insecure=False,
|
|
149
|
+
compression=None,
|
|
150
|
+
wait_for_ready=None,
|
|
151
|
+
timeout=None,
|
|
152
|
+
metadata=None):
|
|
153
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.ThumbnailService/Get',
|
|
154
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GetThumbnailRequest.SerializeToString,
|
|
155
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2.Thumbnail.FromString,
|
|
156
|
+
options, channel_credentials,
|
|
157
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
158
|
+
|
|
107
159
|
@staticmethod
|
|
108
160
|
def List(request,
|
|
109
161
|
target,
|
|
@@ -171,3 +223,20 @@ class ThumbnailService(object):
|
|
|
171
223
|
yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.GenerateThumbnailUploadURLResponse.FromString,
|
|
172
224
|
options, channel_credentials,
|
|
173
225
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def Delete(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.ThumbnailService/Delete',
|
|
239
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__service__pb2.DeleteThumbnailRequest.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)
|
|
@@ -9,6 +9,7 @@ import grpc
|
|
|
9
9
|
import grpc.aio
|
|
10
10
|
import typing
|
|
11
11
|
import yandex.cloud.operation.operation_pb2
|
|
12
|
+
import yandex.cloud.video.v1.thumbnail_pb2
|
|
12
13
|
import yandex.cloud.video.v1.thumbnail_service_pb2
|
|
13
14
|
|
|
14
15
|
_T = typing.TypeVar("_T")
|
|
@@ -22,6 +23,12 @@ class ThumbnailServiceStub:
|
|
|
22
23
|
"""Thumbnail management service."""
|
|
23
24
|
|
|
24
25
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
|
+
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
28
|
+
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
29
|
+
]
|
|
30
|
+
"""Returns the specific thumbnail."""
|
|
31
|
+
|
|
25
32
|
List: grpc.UnaryUnaryMultiCallable[
|
|
26
33
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
27
34
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailResponse,
|
|
@@ -46,9 +53,21 @@ class ThumbnailServiceStub:
|
|
|
46
53
|
]
|
|
47
54
|
"""Generate url for upload image."""
|
|
48
55
|
|
|
56
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
57
|
+
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
58
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
59
|
+
]
|
|
60
|
+
"""Delete thumbnail."""
|
|
61
|
+
|
|
49
62
|
class ThumbnailServiceAsyncStub:
|
|
50
63
|
"""Thumbnail management service."""
|
|
51
64
|
|
|
65
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
66
|
+
yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
67
|
+
yandex.cloud.video.v1.thumbnail_pb2.Thumbnail,
|
|
68
|
+
]
|
|
69
|
+
"""Returns the specific thumbnail."""
|
|
70
|
+
|
|
52
71
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
53
72
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailRequest,
|
|
54
73
|
yandex.cloud.video.v1.thumbnail_service_pb2.ListThumbnailResponse,
|
|
@@ -73,9 +92,23 @@ class ThumbnailServiceAsyncStub:
|
|
|
73
92
|
]
|
|
74
93
|
"""Generate url for upload image."""
|
|
75
94
|
|
|
95
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
96
|
+
yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
97
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
98
|
+
]
|
|
99
|
+
"""Delete thumbnail."""
|
|
100
|
+
|
|
76
101
|
class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
77
102
|
"""Thumbnail management service."""
|
|
78
103
|
|
|
104
|
+
@abc.abstractmethod
|
|
105
|
+
def Get(
|
|
106
|
+
self,
|
|
107
|
+
request: yandex.cloud.video.v1.thumbnail_service_pb2.GetThumbnailRequest,
|
|
108
|
+
context: _ServicerContext,
|
|
109
|
+
) -> typing.Union[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_pb2.Thumbnail]]:
|
|
110
|
+
"""Returns the specific thumbnail."""
|
|
111
|
+
|
|
79
112
|
@abc.abstractmethod
|
|
80
113
|
def List(
|
|
81
114
|
self,
|
|
@@ -108,4 +141,12 @@ class ThumbnailServiceServicer(metaclass=abc.ABCMeta):
|
|
|
108
141
|
) -> typing.Union[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.thumbnail_service_pb2.GenerateThumbnailUploadURLResponse]]:
|
|
109
142
|
"""Generate url for upload image."""
|
|
110
143
|
|
|
144
|
+
@abc.abstractmethod
|
|
145
|
+
def Delete(
|
|
146
|
+
self,
|
|
147
|
+
request: yandex.cloud.video.v1.thumbnail_service_pb2.DeleteThumbnailRequest,
|
|
148
|
+
context: _ServicerContext,
|
|
149
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
150
|
+
"""Delete thumbnail."""
|
|
151
|
+
|
|
111
152
|
def add_ThumbnailServiceServicer_to_server(servicer: ThumbnailServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -15,7 +15,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/video/v1/video.proto\x12\x15yandex.cloud.video.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/video/v1/video.proto\x12\x15yandex.cloud.video.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe3\x08\n\x05Video\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x05 \x01(\t\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.yandex.cloud.video.v1.Video.VideoStatus\x12+\n\x08\x64uration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x11visibility_status\x18\t \x01(\x0e\x32-.yandex.cloud.video.v1.Video.VisibilityStatus\x12<\n\x0e\x61uto_transcode\x18\x0b \x01(\x0e\x32$.yandex.cloud.video.v1.AutoTranscode\x12\x14\n\x0csubtitle_ids\x18\x0c \x03(\t\x12\x37\n\x04tusd\x18\xe8\x07 \x01(\x0b\x32&.yandex.cloud.video.v1.VideoTUSDSourceH\x00\x12H\n\rpublic_access\x18\xd0\x0f \x01(\x0b\x32..yandex.cloud.video.v1.VideoPublicAccessRightsH\x01\x12Q\n\x12\x61uth_system_access\x18\xd2\x0f \x01(\x0b\x32\x32.yandex.cloud.video.v1.VideoAuthSystemAccessRightsH\x01\x12K\n\x0fsign_url_access\x18\xd3\x0f \x01(\x0b\x32/.yandex.cloud.video.v1.VideoSignURLAccessRightsH\x01\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\x12\x39\n\x06labels\x18\xc8\x01 \x03(\x0b\x32(.yandex.cloud.video.v1.Video.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"k\n\x0bVideoStatus\x12\x1c\n\x18VIDEO_STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eWAIT_UPLOADING\x10\x01\x12\x0e\n\nPROCESSING\x10\x04\x12\t\n\x05READY\x10\x05\x12\t\n\x05\x45RROR\x10\x07\"\x04\x08\x06\x10\x06\"U\n\x10VisibilityStatus\x12!\n\x1dVISIBILITY_STATUS_UNSPECIFIED\x10\x00\x12\r\n\tPUBLISHED\x10\x01\x12\x0f\n\x0bUNPUBLISHED\x10\x02\x42\x08\n\x06sourceB\x0f\n\raccess_rightsJ\x06\x08\xd1\x0f\x10\xd2\x0fJ\x04\x08\x07\x10\x08J\x04\x08\n\x10\x0bJ\x04\x08\r\x10\x64J\x05\x08\x66\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xd0\x0f\"\x1e\n\x0fVideoTUSDSource\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x19\n\x17VideoPublicAccessRights\"\x1d\n\x1bVideoAuthSystemAccessRights\"\x1a\n\x18VideoSignURLAccessRights*H\n\rAutoTranscode\x12\x1e\n\x1a\x41UTO_TRANSCODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45NABLE\x10\x01\x12\x0b\n\x07\x44ISABLE\x10\x02\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -25,18 +25,22 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
25
25
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
26
26
|
_VIDEO_LABELSENTRY._options = None
|
|
27
27
|
_VIDEO_LABELSENTRY._serialized_options = b'8\001'
|
|
28
|
+
_globals['_AUTOTRANSCODE']._serialized_start=1369
|
|
29
|
+
_globals['_AUTOTRANSCODE']._serialized_end=1441
|
|
28
30
|
_globals['_VIDEO']._serialized_start=126
|
|
29
|
-
_globals['_VIDEO']._serialized_end=
|
|
30
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_start=
|
|
31
|
-
_globals['_VIDEO_LABELSENTRY']._serialized_end=
|
|
32
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=
|
|
33
|
-
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=
|
|
34
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=
|
|
35
|
-
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=
|
|
36
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_start=
|
|
37
|
-
_globals['_VIDEOTUSDSOURCE']._serialized_end=
|
|
38
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=
|
|
39
|
-
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=
|
|
40
|
-
_globals['_VIDEOAUTHSYSTEMACCESSRIGHTS']._serialized_start=
|
|
41
|
-
_globals['_VIDEOAUTHSYSTEMACCESSRIGHTS']._serialized_end=
|
|
31
|
+
_globals['_VIDEO']._serialized_end=1249
|
|
32
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_start=932
|
|
33
|
+
_globals['_VIDEO_LABELSENTRY']._serialized_end=977
|
|
34
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_start=979
|
|
35
|
+
_globals['_VIDEO_VIDEOSTATUS']._serialized_end=1086
|
|
36
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_start=1088
|
|
37
|
+
_globals['_VIDEO_VISIBILITYSTATUS']._serialized_end=1173
|
|
38
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_start=1251
|
|
39
|
+
_globals['_VIDEOTUSDSOURCE']._serialized_end=1281
|
|
40
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_start=1283
|
|
41
|
+
_globals['_VIDEOPUBLICACCESSRIGHTS']._serialized_end=1308
|
|
42
|
+
_globals['_VIDEOAUTHSYSTEMACCESSRIGHTS']._serialized_start=1310
|
|
43
|
+
_globals['_VIDEOAUTHSYSTEMACCESSRIGHTS']._serialized_end=1339
|
|
44
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_start=1341
|
|
45
|
+
_globals['_VIDEOSIGNURLACCESSRIGHTS']._serialized_end=1367
|
|
42
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -21,6 +21,29 @@ else:
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
23
23
|
|
|
24
|
+
class _AutoTranscode:
|
|
25
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
26
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
27
|
+
|
|
28
|
+
class _AutoTranscodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AutoTranscode.ValueType], builtins.type):
|
|
29
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
30
|
+
AUTO_TRANSCODE_UNSPECIFIED: _AutoTranscode.ValueType # 0
|
|
31
|
+
"""Unspecified auto transcoding value."""
|
|
32
|
+
ENABLE: _AutoTranscode.ValueType # 1
|
|
33
|
+
"""Enable auto transcoding."""
|
|
34
|
+
DISABLE: _AutoTranscode.ValueType # 2
|
|
35
|
+
"""Disable auto transcoding."""
|
|
36
|
+
|
|
37
|
+
class AutoTranscode(_AutoTranscode, metaclass=_AutoTranscodeEnumTypeWrapper): ...
|
|
38
|
+
|
|
39
|
+
AUTO_TRANSCODE_UNSPECIFIED: AutoTranscode.ValueType # 0
|
|
40
|
+
"""Unspecified auto transcoding value."""
|
|
41
|
+
ENABLE: AutoTranscode.ValueType # 1
|
|
42
|
+
"""Enable auto transcoding."""
|
|
43
|
+
DISABLE: AutoTranscode.ValueType # 2
|
|
44
|
+
"""Disable auto transcoding."""
|
|
45
|
+
global___AutoTranscode = AutoTranscode
|
|
46
|
+
|
|
24
47
|
@typing.final
|
|
25
48
|
class Video(google.protobuf.message.Message):
|
|
26
49
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -99,9 +122,12 @@ class Video(google.protobuf.message.Message):
|
|
|
99
122
|
STATUS_FIELD_NUMBER: builtins.int
|
|
100
123
|
DURATION_FIELD_NUMBER: builtins.int
|
|
101
124
|
VISIBILITY_STATUS_FIELD_NUMBER: builtins.int
|
|
125
|
+
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
126
|
+
SUBTITLE_IDS_FIELD_NUMBER: builtins.int
|
|
102
127
|
TUSD_FIELD_NUMBER: builtins.int
|
|
103
128
|
PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
|
|
104
129
|
AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
|
|
130
|
+
SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
|
|
105
131
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
106
132
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
107
133
|
LABELS_FIELD_NUMBER: builtins.int
|
|
@@ -119,10 +145,19 @@ class Video(google.protobuf.message.Message):
|
|
|
119
145
|
"""Video status."""
|
|
120
146
|
visibility_status: global___Video.VisibilityStatus.ValueType
|
|
121
147
|
"""Video visibility status."""
|
|
148
|
+
auto_transcode: global___AutoTranscode.ValueType
|
|
149
|
+
"""Auto start transcoding.
|
|
150
|
+
If set to ENABLE, transcoding process is initiated automatically after video upload.
|
|
151
|
+
If set to DISABLE, manual "Transcode()" call is required instead.
|
|
152
|
+
"""
|
|
122
153
|
@property
|
|
123
154
|
def duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
124
155
|
"""Video duration. Optional, may be empty until the transcoding result is ready."""
|
|
125
156
|
|
|
157
|
+
@property
|
|
158
|
+
def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
159
|
+
"""IDs of active video subtitles."""
|
|
160
|
+
|
|
126
161
|
@property
|
|
127
162
|
def tusd(self) -> global___VideoTUSDSource:
|
|
128
163
|
"""Upload video using the tus protocol."""
|
|
@@ -135,6 +170,10 @@ class Video(google.protobuf.message.Message):
|
|
|
135
170
|
def auth_system_access(self) -> global___VideoAuthSystemAccessRights:
|
|
136
171
|
"""Checking access rights using the authorization system."""
|
|
137
172
|
|
|
173
|
+
@property
|
|
174
|
+
def sign_url_access(self) -> global___VideoSignURLAccessRights:
|
|
175
|
+
"""Checking access rights using url's signature."""
|
|
176
|
+
|
|
138
177
|
@property
|
|
139
178
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
140
179
|
"""Time when video was created."""
|
|
@@ -158,17 +197,20 @@ class Video(google.protobuf.message.Message):
|
|
|
158
197
|
status: global___Video.VideoStatus.ValueType = ...,
|
|
159
198
|
duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
160
199
|
visibility_status: global___Video.VisibilityStatus.ValueType = ...,
|
|
200
|
+
auto_transcode: global___AutoTranscode.ValueType = ...,
|
|
201
|
+
subtitle_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
161
202
|
tusd: global___VideoTUSDSource | None = ...,
|
|
162
203
|
public_access: global___VideoPublicAccessRights | None = ...,
|
|
163
204
|
auth_system_access: global___VideoAuthSystemAccessRights | None = ...,
|
|
205
|
+
sign_url_access: global___VideoSignURLAccessRights | None = ...,
|
|
164
206
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
165
207
|
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
166
208
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
167
209
|
) -> None: ...
|
|
168
|
-
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "created_at", b"created_at", "duration", b"duration", "public_access", b"public_access", "source", b"source", "tusd", b"tusd", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
169
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "duration", b"duration", "id", b"id", "labels", b"labels", "public_access", b"public_access", "source", b"source", "status", b"status", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
210
|
+
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "created_at", b"created_at", "duration", b"duration", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
211
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "duration", b"duration", "id", b"id", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "status", b"status", "subtitle_ids", b"subtitle_ids", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
170
212
|
@typing.overload
|
|
171
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access"] | None: ...
|
|
213
|
+
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
|
|
172
214
|
@typing.overload
|
|
173
215
|
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["tusd"] | None: ...
|
|
174
216
|
|
|
@@ -209,3 +251,13 @@ class VideoAuthSystemAccessRights(google.protobuf.message.Message):
|
|
|
209
251
|
) -> None: ...
|
|
210
252
|
|
|
211
253
|
global___VideoAuthSystemAccessRights = VideoAuthSystemAccessRights
|
|
254
|
+
|
|
255
|
+
@typing.final
|
|
256
|
+
class VideoSignURLAccessRights(google.protobuf.message.Message):
|
|
257
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
258
|
+
|
|
259
|
+
def __init__(
|
|
260
|
+
self,
|
|
261
|
+
) -> None: ...
|
|
262
|
+
|
|
263
|
+
global___VideoSignURLAccessRights = VideoSignURLAccessRights
|