yandexcloud 0.329.0__py3-none-any.whl → 0.331.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/assistants/v1/common_pb2.py +28 -9
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +231 -12
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +20 -4
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +26 -22
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +50 -4
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +46 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +29 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +13 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +7 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +9 -2
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +6 -5
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +8 -1
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +22 -21
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +15 -2
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +12 -8
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +44 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +68 -40
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +161 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +176 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +80 -3
- yandex/cloud/ai/files/v1/file_service_pb2.py +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +34 -28
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +73 -3
- yandex/cloud/ai/translate/v2/translation_pb2.pyi +2 -2
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +14 -13
- yandex/cloud/ai/tuning/v1/tuning_error_pb2.py +39 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2.pyi +54 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.py +24 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +56 -51
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +44 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2.pyi +1 -0
- yandex/cloud/airflow/v1/cluster_pb2.py +28 -26
- yandex/cloud/airflow/v1/cluster_pb2.pyi +12 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +26 -26
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +9 -1
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +1 -1
- yandex/cloud/audittrails/v1/trail_pb2.py +17 -15
- yandex/cloud/audittrails/v1/trail_pb2.pyi +25 -2
- yandex/cloud/backup/v1/policy_pb2.py +27 -27
- yandex/cloud/backup/v1/policy_pb2.pyi +8 -2
- yandex/cloud/billing/v1/customer_service_pb2.pyi +2 -2
- yandex/cloud/compute/v1/disk_placement_group_service_pb2.py +28 -28
- yandex/cloud/compute/v1/disk_service_pb2.py +36 -36
- yandex/cloud/compute/v1/filesystem_service_pb2.py +24 -24
- yandex/cloud/compute/v1/gpu_cluster_pb2.pyi +1 -1
- yandex/cloud/compute/v1/host_group_service_pb2.py +36 -36
- yandex/cloud/compute/v1/image_service_pb2.py +24 -24
- yandex/cloud/compute/v1/image_service_pb2.pyi +2 -1
- yandex/cloud/compute/v1/instance_service_pb2.py +130 -130
- yandex/cloud/compute/v1/snapshot_service_pb2.py +24 -24
- yandex/cloud/endpoint/api_endpoint_service_pb2.py +10 -6
- yandex/cloud/iam/v1/api_key_pb2.py +4 -2
- yandex/cloud/iam/v1/api_key_pb2.pyi +9 -1
- yandex/cloud/iam/v1/api_key_service_pb2.py +27 -23
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +21 -3
- yandex/cloud/loadtesting/api/v1/agent/create_compute_instance_pb2.pyi +1 -1
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +3 -3
- yandex/cloud/loadtesting/api/v1/config_service_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2.py +3 -3
- yandex/cloud/loadtesting/api/v1/report_service_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/test_pb2.pyi +1 -1
- yandex/cloud/loadtesting/api/v1/test_service_pb2.py +2 -2
- yandex/cloud/lockbox/v1/payload_service_pb2.py +25 -3
- yandex/cloud/lockbox/v1/payload_service_pb2.pyi +82 -0
- yandex/cloud/lockbox/v1/payload_service_pb2_grpc.py +43 -0
- yandex/cloud/lockbox/v1/payload_service_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +24 -24
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +20 -2
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.py +51 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.pyi +62 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.py +99 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +6 -6
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +0 -1
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +3 -9
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +0 -1
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +3 -9
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +18 -18
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +4 -4
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/user_pb2.py +47 -0
- yandex/cloud/mdb/redis/v1/user_pb2.pyi +131 -0
- yandex/cloud/mdb/redis/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/redis/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2.py +93 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2.pyi +250 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.pyi +141 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +2 -2
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.py +1 -1
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.pyi +3 -3
- yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.py +1 -1
- yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.pyi +3 -3
- yandex/cloud/storage/v1/bucket_pb2.py +78 -76
- yandex/cloud/storage/v1/bucket_pb2.pyi +33 -3
- yandex/cloud/storage/v1/bucket_service_pb2.py +26 -26
- yandex/cloud/storage/v1/bucket_service_pb2.pyi +8 -2
- yandex/cloud/video/v1/channel_service_pb2.py +23 -23
- yandex/cloud/video/v1/episode_service_pb2.py +7 -7
- yandex/cloud/video/v1/playlist_service_pb2.py +29 -29
- yandex/cloud/video/v1/stream_line_service_pb2.py +43 -43
- yandex/cloud/video/v1/stream_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.py +23 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.py +11 -11
- yandex/cloud/video/v1/video_service_pb2.py +67 -66
- yandex/cloud/video/v1/video_service_pb2.pyi +9 -2
- yandexcloud/__init__.py +1 -1
- yandexcloud/_auth_fabric.py +1 -2
- yandexcloud/_auth_plugin.py +1 -1
- yandexcloud/_helpers.py +0 -1
- yandexcloud/_wrappers/dataproc/__init__.py +1 -3
- yandexcloud/operations.py +1 -1
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/AUTHORS +1 -1
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/METADATA +3 -3
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/RECORD +137 -117
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
29
29
|
from yandex.cloud.video.v1 import thumbnail_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
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\"
|
|
32
|
+
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\"w\n\x14ListThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\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\"o\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\x11\x82\xc8\x31\x05\x31-100\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')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,7 +42,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
43
43
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\004<=50'
|
|
44
44
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
45
|
-
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\
|
|
45
|
+
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
46
46
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
47
47
|
_globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
48
48
|
_globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
@@ -50,7 +50,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
50
50
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
51
51
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\005<=200'
|
|
52
52
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._loaded_options = None
|
|
53
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._serialized_options = b'\202\3101\
|
|
53
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
54
54
|
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST'].fields_by_name['thumbnail_id']._loaded_options = None
|
|
55
55
|
_globals['_GENERATETHUMBNAILUPLOADURLREQUEST'].fields_by_name['thumbnail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
56
|
_globals['_DELETETHUMBNAILREQUEST'].fields_by_name['thumbnail_id']._loaded_options = None
|
|
@@ -70,14 +70,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
70
70
|
_globals['_GETTHUMBNAILREQUEST']._serialized_start=246
|
|
71
71
|
_globals['_GETTHUMBNAILREQUEST']._serialized_end=303
|
|
72
72
|
_globals['_LISTTHUMBNAILREQUEST']._serialized_start=305
|
|
73
|
-
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=
|
|
74
|
-
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=
|
|
75
|
-
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=
|
|
76
|
-
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=
|
|
77
|
-
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=
|
|
78
|
-
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=
|
|
79
|
-
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=
|
|
80
|
-
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=
|
|
73
|
+
_globals['_LISTTHUMBNAILREQUEST']._serialized_end=424
|
|
74
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_start=426
|
|
75
|
+
_globals['_LISTTHUMBNAILRESPONSE']._serialized_end=534
|
|
76
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_start=536
|
|
77
|
+
_globals['_CREATETHUMBNAILREQUEST']._serialized_end=591
|
|
78
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_start=593
|
|
79
|
+
_globals['_CREATETHUMBNAILMETADATA']._serialized_end=640
|
|
80
|
+
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=642
|
|
81
81
|
_globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=753
|
|
82
82
|
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=755
|
|
83
83
|
_globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=858
|
|
@@ -23,6 +23,7 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
26
27
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
28
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
28
29
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
@@ -31,7 +32,7 @@ from yandex.cloud.video.v1 import manifest_pb2 as yandex_dot_cloud_dot_video_dot
|
|
|
31
32
|
from yandex.cloud.video.v1 import video_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_video__pb2
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/video/v1/video_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/manifest.proto\x1a!yandex/cloud/video/v1/video.proto\"1\n\x0fGetVideoRequest\x12\x1e\n\x08video_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/video/v1/video_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/manifest.proto\x1a!yandex/cloud/video/v1/video.proto\"1\n\x0fGetVideoRequest\x12\x1e\n\x08video_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa5\x01\n\x10ListVideoRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\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<=1000J\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\"_\n\x15\x42\x61tchGetVideosRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12$\n\tvideo_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"F\n\x16\x42\x61tchGetVideosResponse\x12,\n\x06videos\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.video.v1.Video\"\xe0\x05\n\x12\x43reateVideoRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\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\x0e\x61uto_transcode\x18\x05 \x01(\x0e\x32$.yandex.cloud.video.v1.AutoTranscode\x12\x87\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x35.yandex.cloud.video.v1.CreateVideoRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\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\x12K\n\x0fsign_url_access\x18\xd3\x0f \x01(\x0b\x32/.yandex.cloud.video.v1.VideoSignURLAccessParamsH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01\x42\x15\n\raccess_rights\x12\x04\xc0\xc1\x31\x01J\x06\x08\xd1\x0f\x10\xd2\x0fJ\x05\x08\x06\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xd0\x0f\"?\n\x0fVideoTUSDParams\x12\x19\n\tfile_size\x18\x01 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\x12\x11\n\tfile_name\x18\x02 \x01(\t\"\x19\n\x17VideoPublicAccessParams\"\x1d\n\x1bVideoAuthSystemAccessParams\"\x1a\n\x18VideoSignURLAccessParams\"\'\n\x13\x43reateVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\xb1\x05\n\x12UpdateVideoRequest\x12\x1e\n\x08video_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\x0e\x61uto_transcode\x18\x06 \x01(\x0e\x32$.yandex.cloud.video.v1.AutoTranscode\x12\x87\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x35.yandex.cloud.video.v1.UpdateVideoRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\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\x12K\n\x0fsign_url_access\x18\xd3\x0f \x01(\x0b\x32/.yandex.cloud.video.v1.VideoSignURLAccessParamsH\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\xd1\x0f\x10\xd2\x0fJ\x05\x08\x07\x10\xc8\x01J\x06\x08\xc9\x01\x10\xd0\x0f\"\'\n\x13UpdateVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"o\n\x15TranscodeVideoRequest\x12\x10\n\x08video_id\x18\x01 \x01(\t\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x14\n\x0csubtitle_ids\x18\x03 \x03(\t\"*\n\x16TranscodeVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"4\n\x12\x44\x65leteVideoRequest\x12\x1e\n\x08video_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\'\n\x13\x44\x65leteVideoMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"b\n\x18\x42\x61tchDeleteVideosRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12$\n\tvideo_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\".\n\x19\x42\x61tchDeleteVideosMetadata\x12\x11\n\tvideo_ids\x18\x01 \x03(\t\"\xd4\x01\n\x19PerformVideoActionRequest\x12\x1e\n\x08video_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\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\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x05\x08\x02\x10\xe8\x07\"\x14\n\x12PublishVideoAction\"\x16\n\x14UnpublishVideoAction\".\n\x1aPerformVideoActionMetadata\x12\x10\n\x08video_id\x18\x01 \x01(\t\"\xb7\x01\n\x18GetVideoPlayerURLRequest\x12\x1e\n\x08video_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x38\n\x06params\x18\x02 \x01(\x0b\x32(.yandex.cloud.video.v1.VideoPlayerParams\x12\x41\n\x1esigned_url_expiration_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"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\x1e\n\x08video_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"O\n\x19GetVideoManifestsResponse\x12\x32\n\tmanifests\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Manifest2\xf1\r\n\x0cVideoService\x12p\n\x03Get\x12&.yandex.cloud.video.v1.GetVideoRequest\x1a\x1c.yandex.cloud.video.v1.Video\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/video/v1/videos/{video_id}\x12s\n\x04List\x12\'.yandex.cloud.video.v1.ListVideoRequest\x1a(.yandex.cloud.video.v1.ListVideoResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/video/v1/videos\x12\x8d\x01\n\x08\x42\x61tchGet\x12,.yandex.cloud.video.v1.BatchGetVideosRequest\x1a-.yandex.cloud.video.v1.BatchGetVideosResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/video/v1/videos:batchGet:\x01*\x12\x93\x01\n\x06\x43reate\x12).yandex.cloud.video.v1.CreateVideoRequest\x1a!.yandex.cloud.operation.Operation\";\xb2\xd2*\x1c\n\x13\x43reateVideoMetadata\x12\x05Video\x82\xd3\xe4\x93\x02\x15\"\x10/video/v1/videos:\x01*\x12\x9e\x01\n\x06Update\x12).yandex.cloud.video.v1.UpdateVideoRequest\x1a!.yandex.cloud.operation.Operation\"F\xb2\xd2*\x1c\n\x13UpdateVideoMetadata\x12\x05Video\x82\xd3\xe4\x93\x02 2\x1b/video/v1/videos/{video_id}:\x01*\x12\xb1\x01\n\tTranscode\x12,.yandex.cloud.video.v1.TranscodeVideoRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2*\x1f\n\x16TranscodeVideoMetadata\x12\x05Video\x82\xd3\xe4\x93\x02*\"%/video/v1/videos/{video_id}:transcode:\x01*\x12\xab\x01\n\x06\x44\x65lete\x12).yandex.cloud.video.v1.DeleteVideoRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2*,\n\x13\x44\x65leteVideoMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1d*\x1b/video/v1/videos/{video_id}\x12\xc0\x01\n\x0b\x42\x61tchDelete\x12/.yandex.cloud.video.v1.BatchDeleteVideosRequest\x1a!.yandex.cloud.operation.Operation\"]\xb2\xd2*2\n\x19\x42\x61tchDeleteVideosMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!\"\x1c/video/v1/videos:batchDelete:\x01*\x12\xc1\x01\n\rPerformAction\x12\x30.yandex.cloud.video.v1.PerformVideoActionRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2*#\n\x1aPerformVideoActionMetadata\x12\x05Video\x82\xd3\xe4\x93\x02.\")/video/v1/videos/{video_id}:performAction:\x01*\x12\xa3\x01\n\x0cGetPlayerURL\x12/.yandex.cloud.video.v1.GetVideoPlayerURLRequest\x1a\x30.yandex.cloud.video.v1.GetVideoPlayerURLResponse\"0\x82\xd3\xe4\x93\x02*\x12(/video/v1/videos/{video_id}:getPlayerURL\x12\xa3\x01\n\x0cGetManifests\x12/.yandex.cloud.video.v1.GetVideoManifestsRequest\x1a\x30.yandex.cloud.video.v1.GetVideoManifestsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/video/v1/videos/{video_id}:getManifestsB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
35
36
|
|
|
36
37
|
_globals = globals()
|
|
37
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -44,7 +45,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
45
|
_globals['_LISTVIDEOREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
45
46
|
_globals['_LISTVIDEOREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
46
47
|
_globals['_LISTVIDEOREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
47
|
-
_globals['_LISTVIDEOREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\
|
|
48
|
+
_globals['_LISTVIDEOREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
48
49
|
_globals['_LISTVIDEOREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
49
50
|
_globals['_LISTVIDEOREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
50
51
|
_globals['_LISTVIDEOREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
@@ -52,7 +53,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
53
|
_globals['_BATCHGETVIDEOSREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
53
54
|
_globals['_BATCHGETVIDEOSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
54
55
|
_globals['_BATCHGETVIDEOSREQUEST'].fields_by_name['video_ids']._loaded_options = None
|
|
55
|
-
_globals['_BATCHGETVIDEOSREQUEST'].fields_by_name['video_ids']._serialized_options = b'\202\3101\
|
|
56
|
+
_globals['_BATCHGETVIDEOSREQUEST'].fields_by_name['video_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
56
57
|
_globals['_CREATEVIDEOREQUEST_LABELSENTRY']._loaded_options = None
|
|
57
58
|
_globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
58
59
|
_globals['_CREATEVIDEOREQUEST'].oneofs_by_name['source']._loaded_options = None
|
|
@@ -82,7 +83,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
82
83
|
_globals['_BATCHDELETEVIDEOSREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
83
84
|
_globals['_BATCHDELETEVIDEOSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
84
85
|
_globals['_BATCHDELETEVIDEOSREQUEST'].fields_by_name['video_ids']._loaded_options = None
|
|
85
|
-
_globals['_BATCHDELETEVIDEOSREQUEST'].fields_by_name['video_ids']._serialized_options = b'\202\3101\
|
|
86
|
+
_globals['_BATCHDELETEVIDEOSREQUEST'].fields_by_name['video_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
86
87
|
_globals['_PERFORMVIDEOACTIONREQUEST'].oneofs_by_name['action']._loaded_options = None
|
|
87
88
|
_globals['_PERFORMVIDEOACTIONREQUEST'].oneofs_by_name['action']._serialized_options = b'\300\3011\001'
|
|
88
89
|
_globals['_PERFORMVIDEOACTIONREQUEST'].fields_by_name['video_id']._loaded_options = None
|
|
@@ -113,66 +114,66 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
113
114
|
_globals['_VIDEOSERVICE'].methods_by_name['GetPlayerURL']._serialized_options = b'\202\323\344\223\002*\022(/video/v1/videos/{video_id}:getPlayerURL'
|
|
114
115
|
_globals['_VIDEOSERVICE'].methods_by_name['GetManifests']._loaded_options = None
|
|
115
116
|
_globals['_VIDEOSERVICE'].methods_by_name['GetManifests']._serialized_options = b'\202\323\344\223\002*\022(/video/v1/videos/{video_id}:getManifests'
|
|
116
|
-
_globals['_GETVIDEOREQUEST']._serialized_start=
|
|
117
|
-
_globals['_GETVIDEOREQUEST']._serialized_end=
|
|
118
|
-
_globals['_LISTVIDEOREQUEST']._serialized_start=
|
|
119
|
-
_globals['_LISTVIDEOREQUEST']._serialized_end=
|
|
120
|
-
_globals['_LISTVIDEORESPONSE']._serialized_start=
|
|
121
|
-
_globals['_LISTVIDEORESPONSE']._serialized_end=
|
|
122
|
-
_globals['_BATCHGETVIDEOSREQUEST']._serialized_start=
|
|
123
|
-
_globals['_BATCHGETVIDEOSREQUEST']._serialized_end=
|
|
124
|
-
_globals['_BATCHGETVIDEOSRESPONSE']._serialized_start=
|
|
125
|
-
_globals['_BATCHGETVIDEOSRESPONSE']._serialized_end=
|
|
126
|
-
_globals['_CREATEVIDEOREQUEST']._serialized_start=
|
|
127
|
-
_globals['_CREATEVIDEOREQUEST']._serialized_end=
|
|
128
|
-
_globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_start=
|
|
129
|
-
_globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_end=
|
|
130
|
-
_globals['_VIDEOTUSDPARAMS']._serialized_start=
|
|
131
|
-
_globals['_VIDEOTUSDPARAMS']._serialized_end=
|
|
132
|
-
_globals['_VIDEOPUBLICACCESSPARAMS']._serialized_start=
|
|
133
|
-
_globals['_VIDEOPUBLICACCESSPARAMS']._serialized_end=
|
|
134
|
-
_globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_start=
|
|
135
|
-
_globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_end=
|
|
136
|
-
_globals['_VIDEOSIGNURLACCESSPARAMS']._serialized_start=
|
|
137
|
-
_globals['_VIDEOSIGNURLACCESSPARAMS']._serialized_end=
|
|
138
|
-
_globals['_CREATEVIDEOMETADATA']._serialized_start=
|
|
139
|
-
_globals['_CREATEVIDEOMETADATA']._serialized_end=
|
|
140
|
-
_globals['_UPDATEVIDEOREQUEST']._serialized_start=
|
|
141
|
-
_globals['_UPDATEVIDEOREQUEST']._serialized_end=
|
|
142
|
-
_globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_start=
|
|
143
|
-
_globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_end=
|
|
144
|
-
_globals['_UPDATEVIDEOMETADATA']._serialized_start=
|
|
145
|
-
_globals['_UPDATEVIDEOMETADATA']._serialized_end=
|
|
146
|
-
_globals['_TRANSCODEVIDEOREQUEST']._serialized_start=
|
|
147
|
-
_globals['_TRANSCODEVIDEOREQUEST']._serialized_end=
|
|
148
|
-
_globals['_TRANSCODEVIDEOMETADATA']._serialized_start=
|
|
149
|
-
_globals['_TRANSCODEVIDEOMETADATA']._serialized_end=
|
|
150
|
-
_globals['_DELETEVIDEOREQUEST']._serialized_start=
|
|
151
|
-
_globals['_DELETEVIDEOREQUEST']._serialized_end=
|
|
152
|
-
_globals['_DELETEVIDEOMETADATA']._serialized_start=
|
|
153
|
-
_globals['_DELETEVIDEOMETADATA']._serialized_end=
|
|
154
|
-
_globals['_BATCHDELETEVIDEOSREQUEST']._serialized_start=
|
|
155
|
-
_globals['_BATCHDELETEVIDEOSREQUEST']._serialized_end=
|
|
156
|
-
_globals['_BATCHDELETEVIDEOSMETADATA']._serialized_start=
|
|
157
|
-
_globals['_BATCHDELETEVIDEOSMETADATA']._serialized_end=
|
|
158
|
-
_globals['_PERFORMVIDEOACTIONREQUEST']._serialized_start=
|
|
159
|
-
_globals['_PERFORMVIDEOACTIONREQUEST']._serialized_end=
|
|
160
|
-
_globals['_PUBLISHVIDEOACTION']._serialized_start=
|
|
161
|
-
_globals['_PUBLISHVIDEOACTION']._serialized_end=
|
|
162
|
-
_globals['_UNPUBLISHVIDEOACTION']._serialized_start=
|
|
163
|
-
_globals['_UNPUBLISHVIDEOACTION']._serialized_end=
|
|
164
|
-
_globals['_PERFORMVIDEOACTIONMETADATA']._serialized_start=
|
|
165
|
-
_globals['_PERFORMVIDEOACTIONMETADATA']._serialized_end=
|
|
166
|
-
_globals['_GETVIDEOPLAYERURLREQUEST']._serialized_start=
|
|
167
|
-
_globals['_GETVIDEOPLAYERURLREQUEST']._serialized_end=
|
|
168
|
-
_globals['_VIDEOPLAYERPARAMS']._serialized_start=
|
|
169
|
-
_globals['_VIDEOPLAYERPARAMS']._serialized_end=
|
|
170
|
-
_globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_start=
|
|
171
|
-
_globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_end=
|
|
172
|
-
_globals['_GETVIDEOMANIFESTSREQUEST']._serialized_start=
|
|
173
|
-
_globals['_GETVIDEOMANIFESTSREQUEST']._serialized_end=
|
|
174
|
-
_globals['_GETVIDEOMANIFESTSRESPONSE']._serialized_start=
|
|
175
|
-
_globals['_GETVIDEOMANIFESTSRESPONSE']._serialized_end=
|
|
176
|
-
_globals['_VIDEOSERVICE']._serialized_start=
|
|
177
|
-
_globals['_VIDEOSERVICE']._serialized_end=
|
|
117
|
+
_globals['_GETVIDEOREQUEST']._serialized_start=342
|
|
118
|
+
_globals['_GETVIDEOREQUEST']._serialized_end=391
|
|
119
|
+
_globals['_LISTVIDEOREQUEST']._serialized_start=394
|
|
120
|
+
_globals['_LISTVIDEOREQUEST']._serialized_end=559
|
|
121
|
+
_globals['_LISTVIDEORESPONSE']._serialized_start=561
|
|
122
|
+
_globals['_LISTVIDEORESPONSE']._serialized_end=657
|
|
123
|
+
_globals['_BATCHGETVIDEOSREQUEST']._serialized_start=659
|
|
124
|
+
_globals['_BATCHGETVIDEOSREQUEST']._serialized_end=754
|
|
125
|
+
_globals['_BATCHGETVIDEOSRESPONSE']._serialized_start=756
|
|
126
|
+
_globals['_BATCHGETVIDEOSRESPONSE']._serialized_end=826
|
|
127
|
+
_globals['_CREATEVIDEOREQUEST']._serialized_start=829
|
|
128
|
+
_globals['_CREATEVIDEOREQUEST']._serialized_end=1565
|
|
129
|
+
_globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_start=1450
|
|
130
|
+
_globals['_CREATEVIDEOREQUEST_LABELSENTRY']._serialized_end=1495
|
|
131
|
+
_globals['_VIDEOTUSDPARAMS']._serialized_start=1567
|
|
132
|
+
_globals['_VIDEOTUSDPARAMS']._serialized_end=1630
|
|
133
|
+
_globals['_VIDEOPUBLICACCESSPARAMS']._serialized_start=1632
|
|
134
|
+
_globals['_VIDEOPUBLICACCESSPARAMS']._serialized_end=1657
|
|
135
|
+
_globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_start=1659
|
|
136
|
+
_globals['_VIDEOAUTHSYSTEMACCESSPARAMS']._serialized_end=1688
|
|
137
|
+
_globals['_VIDEOSIGNURLACCESSPARAMS']._serialized_start=1690
|
|
138
|
+
_globals['_VIDEOSIGNURLACCESSPARAMS']._serialized_end=1716
|
|
139
|
+
_globals['_CREATEVIDEOMETADATA']._serialized_start=1718
|
|
140
|
+
_globals['_CREATEVIDEOMETADATA']._serialized_end=1757
|
|
141
|
+
_globals['_UPDATEVIDEOREQUEST']._serialized_start=1760
|
|
142
|
+
_globals['_UPDATEVIDEOREQUEST']._serialized_end=2449
|
|
143
|
+
_globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_start=1450
|
|
144
|
+
_globals['_UPDATEVIDEOREQUEST_LABELSENTRY']._serialized_end=1495
|
|
145
|
+
_globals['_UPDATEVIDEOMETADATA']._serialized_start=2451
|
|
146
|
+
_globals['_UPDATEVIDEOMETADATA']._serialized_end=2490
|
|
147
|
+
_globals['_TRANSCODEVIDEOREQUEST']._serialized_start=2492
|
|
148
|
+
_globals['_TRANSCODEVIDEOREQUEST']._serialized_end=2603
|
|
149
|
+
_globals['_TRANSCODEVIDEOMETADATA']._serialized_start=2605
|
|
150
|
+
_globals['_TRANSCODEVIDEOMETADATA']._serialized_end=2647
|
|
151
|
+
_globals['_DELETEVIDEOREQUEST']._serialized_start=2649
|
|
152
|
+
_globals['_DELETEVIDEOREQUEST']._serialized_end=2701
|
|
153
|
+
_globals['_DELETEVIDEOMETADATA']._serialized_start=2703
|
|
154
|
+
_globals['_DELETEVIDEOMETADATA']._serialized_end=2742
|
|
155
|
+
_globals['_BATCHDELETEVIDEOSREQUEST']._serialized_start=2744
|
|
156
|
+
_globals['_BATCHDELETEVIDEOSREQUEST']._serialized_end=2842
|
|
157
|
+
_globals['_BATCHDELETEVIDEOSMETADATA']._serialized_start=2844
|
|
158
|
+
_globals['_BATCHDELETEVIDEOSMETADATA']._serialized_end=2890
|
|
159
|
+
_globals['_PERFORMVIDEOACTIONREQUEST']._serialized_start=2893
|
|
160
|
+
_globals['_PERFORMVIDEOACTIONREQUEST']._serialized_end=3105
|
|
161
|
+
_globals['_PUBLISHVIDEOACTION']._serialized_start=3107
|
|
162
|
+
_globals['_PUBLISHVIDEOACTION']._serialized_end=3127
|
|
163
|
+
_globals['_UNPUBLISHVIDEOACTION']._serialized_start=3129
|
|
164
|
+
_globals['_UNPUBLISHVIDEOACTION']._serialized_end=3151
|
|
165
|
+
_globals['_PERFORMVIDEOACTIONMETADATA']._serialized_start=3153
|
|
166
|
+
_globals['_PERFORMVIDEOACTIONMETADATA']._serialized_end=3199
|
|
167
|
+
_globals['_GETVIDEOPLAYERURLREQUEST']._serialized_start=3202
|
|
168
|
+
_globals['_GETVIDEOPLAYERURLREQUEST']._serialized_end=3385
|
|
169
|
+
_globals['_VIDEOPLAYERPARAMS']._serialized_start=3387
|
|
170
|
+
_globals['_VIDEOPLAYERPARAMS']._serialized_end=3454
|
|
171
|
+
_globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_start=3456
|
|
172
|
+
_globals['_GETVIDEOPLAYERURLRESPONSE']._serialized_end=3517
|
|
173
|
+
_globals['_GETVIDEOMANIFESTSREQUEST']._serialized_start=3519
|
|
174
|
+
_globals['_GETVIDEOMANIFESTSREQUEST']._serialized_end=3577
|
|
175
|
+
_globals['_GETVIDEOMANIFESTSRESPONSE']._serialized_start=3579
|
|
176
|
+
_globals['_GETVIDEOMANIFESTSRESPONSE']._serialized_end=3658
|
|
177
|
+
_globals['_VIDEOSERVICE']._serialized_start=3661
|
|
178
|
+
_globals['_VIDEOSERVICE']._serialized_end=5438
|
|
178
179
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,6 +6,7 @@ isort:skip_file
|
|
|
6
6
|
import builtins
|
|
7
7
|
import collections.abc
|
|
8
8
|
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.duration_pb2
|
|
9
10
|
import google.protobuf.field_mask_pb2
|
|
10
11
|
import google.protobuf.internal.containers
|
|
11
12
|
import google.protobuf.message
|
|
@@ -560,18 +561,24 @@ class GetVideoPlayerURLRequest(google.protobuf.message.Message):
|
|
|
560
561
|
|
|
561
562
|
VIDEO_ID_FIELD_NUMBER: builtins.int
|
|
562
563
|
PARAMS_FIELD_NUMBER: builtins.int
|
|
564
|
+
SIGNED_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int
|
|
563
565
|
video_id: builtins.str
|
|
564
566
|
"""ID of the video."""
|
|
565
567
|
@property
|
|
566
568
|
def params(self) -> global___VideoPlayerParams: ...
|
|
569
|
+
@property
|
|
570
|
+
def signed_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
571
|
+
"""Optional field, used to set custom url expiration duration for videos with sign_url_access"""
|
|
572
|
+
|
|
567
573
|
def __init__(
|
|
568
574
|
self,
|
|
569
575
|
*,
|
|
570
576
|
video_id: builtins.str = ...,
|
|
571
577
|
params: global___VideoPlayerParams | None = ...,
|
|
578
|
+
signed_url_expiration_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
572
579
|
) -> None: ...
|
|
573
|
-
def HasField(self, field_name: typing.Literal["params", b"params"]) -> builtins.bool: ...
|
|
574
|
-
def ClearField(self, field_name: typing.Literal["params", b"params", "video_id", b"video_id"]) -> None: ...
|
|
580
|
+
def HasField(self, field_name: typing.Literal["params", b"params", "signed_url_expiration_duration", b"signed_url_expiration_duration"]) -> builtins.bool: ...
|
|
581
|
+
def ClearField(self, field_name: typing.Literal["params", b"params", "signed_url_expiration_duration", b"signed_url_expiration_duration", "video_id", b"video_id"]) -> None: ...
|
|
575
582
|
|
|
576
583
|
global___GetVideoPlayerURLRequest = GetVideoPlayerURLRequest
|
|
577
584
|
|
yandexcloud/__init__.py
CHANGED
yandexcloud/_auth_fabric.py
CHANGED
|
@@ -8,7 +8,6 @@ from typing import Dict, Optional, Union
|
|
|
8
8
|
import cryptography # noqa: F401; pylint: disable=unused-import
|
|
9
9
|
import jwt
|
|
10
10
|
import requests
|
|
11
|
-
import six
|
|
12
11
|
|
|
13
12
|
from yandex.cloud.iam.v1.iam_token_service_pb2 import CreateIamTokenRequest
|
|
14
13
|
|
|
@@ -45,7 +44,7 @@ def __validate_service_account_key(sa_key: Optional[dict]) -> bool:
|
|
|
45
44
|
raise RuntimeError("Invalid Service Account Key: missing private key.")
|
|
46
45
|
|
|
47
46
|
private_key_prefix = "-----BEGIN PRIVATE KEY-----"
|
|
48
|
-
if not isinstance(private_key,
|
|
47
|
+
if not isinstance(private_key, str) or private_key_prefix not in private_key:
|
|
49
48
|
error_message = (
|
|
50
49
|
"Invalid Service Account Key: private key is in incorrect format."
|
|
51
50
|
f"Should start with {private_key_prefix}.\n"
|
yandexcloud/_auth_plugin.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from typing import TYPE_CHECKING, Callable, Optional, Tuple, Union
|
|
3
|
+
from urllib.parse import urlparse
|
|
3
4
|
|
|
4
5
|
import grpc
|
|
5
|
-
from six.moves.urllib.parse import urlparse
|
|
6
6
|
|
|
7
7
|
from yandex.cloud.iam.v1.iam_token_service_pb2_grpc import IamTokenServiceStub
|
|
8
8
|
|
yandexcloud/_helpers.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
1
|
# pylint: disable=no-member
|
|
3
2
|
# mypy: ignore-errors
|
|
4
3
|
import logging
|
|
@@ -6,7 +5,6 @@ import random
|
|
|
6
5
|
from typing import Iterable, NamedTuple
|
|
7
6
|
|
|
8
7
|
from google.protobuf.field_mask_pb2 import FieldMask
|
|
9
|
-
from six import string_types
|
|
10
8
|
|
|
11
9
|
import yandex.cloud.dataproc.v1.cluster_pb2 as cluster_pb
|
|
12
10
|
import yandex.cloud.dataproc.v1.cluster_service_pb2 as cluster_service_pb
|
|
@@ -215,7 +213,7 @@ class Dataproc:
|
|
|
215
213
|
ssh_public_keys = (self.default_public_ssh_key,)
|
|
216
214
|
else:
|
|
217
215
|
raise RuntimeError("Public ssh keys must be specified.")
|
|
218
|
-
elif isinstance(ssh_public_keys,
|
|
216
|
+
elif isinstance(ssh_public_keys, str):
|
|
219
217
|
ssh_public_keys = [ssh_public_keys]
|
|
220
218
|
|
|
221
219
|
gib = 1024**3
|
yandexcloud/operations.py
CHANGED
|
@@ -25,6 +25,6 @@ class OperationResult(Generic[ResponseType, MetaType]):
|
|
|
25
25
|
|
|
26
26
|
class OperationError(RuntimeError):
|
|
27
27
|
def __init__(self, message: str, operation_result: OperationResult[ResponseType, MetaType]):
|
|
28
|
-
super(
|
|
28
|
+
super().__init__(message) # pylint: disable=super-with-arguments
|
|
29
29
|
self.message = message
|
|
30
30
|
self.operation_result = operation_result
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
The following authors have created the source code of "Yandex.Cloud Python Client Library" published and distributed by YANDEX LLC as the owner:
|
|
2
2
|
|
|
3
3
|
Ivan Romanenko <iva-romanenko@yandex-team.ru>
|
|
4
|
-
Islam Alibekov <everest@yandex-team.ru>
|
|
4
|
+
Islam Alibekov <everest@yandex-team.ru>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: yandexcloud
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.331.0
|
|
4
4
|
Summary: The Yandex Cloud official SDK
|
|
5
5
|
Author-email: Yandex LLC <cloud@support.yandex.ru>
|
|
6
6
|
License: MIT
|
|
@@ -16,7 +16,7 @@ Requires-Python: >=3.9
|
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
License-File: AUTHORS
|
|
19
|
-
Requires-Dist: cryptography
|
|
19
|
+
Requires-Dist: cryptography>=43.0.1
|
|
20
20
|
Requires-Dist: grpcio<2,>=1.64.0
|
|
21
21
|
Requires-Dist: protobuf<6,>=5.0.0
|
|
22
22
|
Requires-Dist: googleapis-common-protos<2,>=1.63.0
|