yandexcloud 0.349.0__py3-none-any.whl → 0.351.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/assistant_pb2.py +4 -4
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +26 -26
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +14 -4
- yandex/cloud/ai/assistants/v1/common_pb2.py +5 -1
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +50 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +28 -28
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +8 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +2 -2
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +20 -16
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +62 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +24 -23
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +15 -2
- yandex/cloud/ai/ocr/v1/ocr_pb2.py +24 -20
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +72 -2
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/backup/v1/policy_pb2.py +56 -52
- yandex/cloud/backup/v1/policy_pb2.pyi +64 -1
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +8 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
- yandex/cloud/gitlab/v1/instance_pb2.pyi +58 -4
- yandex/cloud/gitlab/v1/instance_service_pb2.py +50 -27
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +163 -2
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +62 -9
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +50 -6
- yandex/cloud/gitlab/v1/maintenance_pb2.pyi +10 -3
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +34 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +86 -63
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +86 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +52 -46
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +63 -8
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +54 -10
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +3 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +142 -142
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +234 -234
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +38 -32
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +24 -6
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +140 -139
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +42 -42
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +36 -36
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +114 -114
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/metastore/v1/cluster_pb2.py +16 -20
- yandex/cloud/metastore/v1/cluster_pb2.pyi +1 -31
- yandex/cloud/metastore/v1/cluster_service_pb2.py +44 -50
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +3 -35
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +12 -12
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +8 -8
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +1 -5
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/storage/v1/bucket_pb2.py +78 -78
- yandex/cloud/storage/v1/bucket_pb2.pyi +5 -1
- yandex/cloud/storage/v1/bucket_service_pb2.py +4 -2
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +43 -0
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/channel_service_pb2.py +34 -28
- yandex/cloud/video/v1/episode_service_pb2.py +58 -52
- yandex/cloud/video/v1/playlist_pb2.py +14 -5
- yandex/cloud/video/v1/playlist_service_pb2.py +36 -30
- yandex/cloud/video/v1/stream_line_service_pb2.py +46 -46
- yandex/cloud/video/v1/stream_service_pb2.py +50 -44
- yandex/cloud/video/v1/subtitle_pb2.pyi +1 -4
- yandex/cloud/video/v1/subtitle_service_pb2.py +19 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +1 -4
- yandex/cloud/video/v1/video_pb2.pyi +1 -1
- yandex/cloud/video/v1/video_service_pb2.py +90 -84
- yandex/cloud/video/v1/video_service_pb2.pyi +4 -12
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +10 -2
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/RECORD +160 -160
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/top_level.txt +0 -0
|
@@ -28,7 +28,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
|
|
|
28
28
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/storage/v1/bucket.proto\x12\x17yandex.cloud.storage.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xa2\x06\n\x06\x42ucket\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12M\n\x16\x61nonymous_access_flags\x18\x04 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12\x1d\n\x15\x64\x65\x66\x61ult_storage_class\x18\x05 \x01(\t\x12\x37\n\nversioning\x18\x06 \x01(\x0e\x32#.yandex.cloud.storage.v1.Versioning\x12\x10\n\x08max_size\x18\x07 \x01(\x03\x12\'\n\x06policy\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x03\x61\x63l\x18\t \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.ACL\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x04\x63ors\x18\x0b \x03(\x0b\x32!.yandex.cloud.storage.v1.CorsRule\x12\x42\n\x10website_settings\x18\x0c \x01(\x0b\x32(.yandex.cloud.storage.v1.WebsiteSettings\x12?\n\x0flifecycle_rules\x18\r \x03(\x0b\x32&.yandex.cloud.storage.v1.LifecycleRule\x12*\n\x04tags\x18\x0e \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12\x38\n\x0bobject_lock\x18\x0f \x01(\x0b\x32#.yandex.cloud.storage.v1.ObjectLock\x12\x37\n\nencryption\x18\x10 \x01(\x0b\x32#.yandex.cloud.storage.v1.Encryption\x12Y\n\x19\x61llowed_private_endpoints\x18\x11 \x01(\x0b\x32\x36.yandex.cloud.storage.v1.BucketAllowedPrivateEndpoints\"!\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x9c\x04\n\x03\x41\x43L\x12\x32\n\x06grants\x18\x01 \x03(\x0b\x32\".yandex.cloud.storage.v1.ACL.Grant\x1a\xe0\x03\n\x05Grant\x12G\n\npermission\x18\x01 \x01(\x0e\x32-.yandex.cloud.storage.v1.ACL.Grant.PermissionB\x04\xe8\xc7\x31\x01\x12\x46\n\ngrant_type\x18\x02 \x01(\x0e\x32,.yandex.cloud.storage.v1.ACL.Grant.GrantTypeB\x04\xe8\xc7\x31\x01\x12\x1c\n\ngrantee_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"\xa3\x01\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x1b\n\x17PERMISSION_FULL_CONTROL\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x18\n\x14PERMISSION_WRITE_ACP\x10\x03\x12\x13\n\x0fPERMISSION_READ\x10\x04\x12\x17\n\x13PERMISSION_READ_ACP\x10\x05\"\x81\x01\n\tGrantType\x12\x1a\n\x16GRANT_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12GRANT_TYPE_ACCOUNT\x10\x01\x12&\n\"GRANT_TYPE_ALL_AUTHENTICATED_USERS\x10\x02\x12\x18\n\x14GRANT_TYPE_ALL_USERS\x10\x03\"\x9b\x01\n\x14\x41nonymousAccessFlags\x12(\n\x04read\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12(\n\x04list\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12/\n\x0b\x63onfig_read\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xe4\x02\n\x08\x43orsRule\x12\n\n\x02id\x18\x01 \x01(\t\x12M\n\x0f\x61llowed_methods\x18\x02 \x03(\x0e\x32(.yandex.cloud.storage.v1.CorsRule.MethodB\n\x82\xc8\x31\x02>0\x90\xc8\x31\x01\x12\x17\n\x0f\x61llowed_headers\x18\x03 \x03(\t\x12\x1f\n\x0f\x61llowed_origins\x18\x04 \x03(\tB\x06\x82\xc8\x31\x02>0\x12\x16\n\x0e\x65xpose_headers\x18\x05 \x03(\t\x12\x34\n\x0fmax_age_seconds\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"u\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x0e\n\nMETHOD_GET\x10\x01\x12\x0f\n\x0bMETHOD_HEAD\x10\x02\x12\x0f\n\x0bMETHOD_POST\x10\x03\x12\x0e\n\nMETHOD_PUT\x10\x04\x12\x11\n\rMETHOD_DELETE\x10\x05\"\xbc\x06\n\x0fWebsiteSettings\x12\r\n\x05index\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12N\n\x15redirect_all_requests\x18\x03 \x01(\x0b\x32/.yandex.cloud.storage.v1.WebsiteSettings.Scheme\x12K\n\rrouting_rules\x18\x04 \x03(\x0b\x32\x34.yandex.cloud.storage.v1.WebsiteSettings.RoutingRule\x1a_\n\x06Scheme\x12\x43\n\x08protocol\x18\x01 \x01(\x0e\x32\x31.yandex.cloud.storage.v1.WebsiteSettings.Protocol\x12\x10\n\x08hostname\x18\x02 \x01(\t\x1aO\n\tCondition\x12\'\n\x1fhttp_error_code_returned_equals\x18\x01 \x01(\t\x12\x19\n\x11key_prefix_equals\x18\x02 \x01(\t\x1a\xd2\x01\n\x08Redirect\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x34\n\x12http_redirect_code\x18\x02 \x01(\tB\x18\xf2\xc7\x31\x14\x33(0[1-9]|[1-9][0-9])\x12\x43\n\x08protocol\x18\x03 \x01(\x0e\x32\x31.yandex.cloud.storage.v1.WebsiteSettings.Protocol\x12\x1f\n\x17replace_key_prefix_with\x18\x04 \x01(\t\x12\x18\n\x10replace_key_with\x18\x05 \x01(\t\x1a\x99\x01\n\x0bRoutingRule\x12\x45\n\tcondition\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.storage.v1.WebsiteSettings.Condition\x12\x43\n\x08redirect\x18\x02 \x01(\x0b\x32\x31.yandex.cloud.storage.v1.WebsiteSettings.Redirect\"K\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x11\n\rPROTOCOL_HTTP\x10\x01\x12\x12\n\x0ePROTOCOL_HTTPS\x10\x02\"\xe5\r\n\rLifecycleRule\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12\x41\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.storage.v1.LifecycleRule.RuleFilter\x12\x45\n\nexpiration\x18\x04 \x01(\x0b\x32\x31.yandex.cloud.storage.v1.LifecycleRule.Expiration\x12\x46\n\x0btransitions\x18\x05 \x03(\x0b\x32\x31.yandex.cloud.storage.v1.LifecycleRule.Transition\x12[\n!abort_incomplete_multipart_upload\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.storage.v1.LifecycleRule.AfterDays\x12Z\n\x15noncurrent_expiration\x18\x07 \x01(\x0b\x32;.yandex.cloud.storage.v1.LifecycleRule.NoncurrentExpiration\x12[\n\x16noncurrent_transitions\x18\x08 \x03(\x0b\x32;.yandex.cloud.storage.v1.LifecycleRule.NoncurrentTransition\x12\x61\n\x19noncurrent_delete_markers\x18\t \x01(\x0b\x32>.yandex.cloud.storage.v1.LifecycleRule.NoncurrentDeleteMarkers\x1aG\n\tAfterDays\x12:\n\x15\x64\x61ys_after_expiration\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1aO\n\x17NoncurrentDeleteMarkers\x12\x34\n\x0fnoncurrent_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1aL\n\x14NoncurrentExpiration\x12\x34\n\x0fnoncurrent_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1ai\n\x14NoncurrentTransition\x12\x34\n\x0fnoncurrent_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x1b\n\rstorage_class\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x1a\x84\x01\n\nTransition\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x04\x64\x61ys\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x1b\n\rstorage_class\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01J\x04\x08\x03\x10\x04\x1a\xa3\x01\n\nExpiration\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x04\x64\x61ys\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1c\x65xpired_object_delete_marker\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\xcd\x03\n\nRuleFilter\x12\x0e\n\x06prefix\x18\x01 \x01(\t\x12=\n\x18object_size_greater_than\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15object_size_less_than\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03tag\x18\x04 \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12K\n\x0c\x61nd_operator\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.storage.v1.LifecycleRule.RuleFilter.And\x1a\xbb\x01\n\x03\x41nd\x12\x0e\n\x06prefix\x18\x01 \x01(\t\x12=\n\x18object_size_greater_than\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15object_size_less_than\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03tag\x18\x04 \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\"\xdd\x01\n\x08\x43ounters\x12\x1a\n\x12simple_object_size\x18\x01 \x01(\x03\x12\x1b\n\x13simple_object_count\x18\x02 \x01(\x03\x12\x1a\n\x12objects_parts_size\x18\x03 \x01(\x03\x12\x1b\n\x13objects_parts_count\x18\x04 \x01(\x03\x12\x1e\n\x16multipart_objects_size\x18\x05 \x01(\x03\x12\x1f\n\x17multipart_objects_count\x18\x06 \x01(\x03\x12\x1e\n\x16\x61\x63tive_multipart_count\x18\x07 \x01(\x03\"]\n\x13OptionalSizeByClass\x12\x15\n\rstorage_class\x18\x01 \x01(\t\x12/\n\nclass_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"8\n\x0bSizeByClass\x12\x15\n\rstorage_class\x18\x01 \x01(\t\x12\x12\n\nclass_size\x18\x02 \x01(\x03\"]\n\x0f\x43ountersByClass\x12\x15\n\rstorage_class\x18\x01 \x01(\t\x12\x33\n\x08\x63ounters\x18\x02 \x01(\x0b\x32!.yandex.cloud.storage.v1.Counters\"\xaa\x04\n\x0b\x42ucketStats\x12\x0c\n\x04name\x18\x01 \x01(\t\x12-\n\x08max_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x11\n\tused_size\x18\x03 \x01(\x03\x12M\n\x17storage_class_max_sizes\x18\x04 \x03(\x0b\x32,.yandex.cloud.storage.v1.OptionalSizeByClass\x12\x46\n\x18storage_class_used_sizes\x18\x05 \x03(\x0b\x32$.yandex.cloud.storage.v1.SizeByClass\x12H\n\x16storage_class_counters\x18\x06 \x03(\x0b\x32(.yandex.cloud.storage.v1.CountersByClass\x12;\n\x15\x64\x65\x66\x61ult_storage_class\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12M\n\x16\x61nonymous_access_flags\x18\x08 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc1\x03\n\x0bHTTPSConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0bsource_type\x18\x02 \x01(\x0e\x32/.yandex.cloud.storage.v1.HTTPSConfig.SourceType\x12,\n\x06issuer\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07subject\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x11\n\tdns_names\x18\x05 \x03(\t\x12.\n\nnot_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tnot_after\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x63\x65rtificate_id\x18\x08 \x01(\t\"w\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18SOURCE_TYPE_SELF_MANAGED\x10\x01\x12.\n*SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER\x10\x02\"\xf3\x03\n\nObjectLock\x12\x44\n\x06status\x18\x02 \x01(\x0e\x32\x34.yandex.cloud.storage.v1.ObjectLock.ObjectLockStatus\x12O\n\x11\x64\x65\x66\x61ult_retention\x18\x03 \x01(\x0b\x32\x34.yandex.cloud.storage.v1.ObjectLock.DefaultRetention\x1a\xd4\x01\n\x10\x44\x65\x66\x61ultRetention\x12G\n\x04mode\x18\x01 \x01(\x0e\x32\x39.yandex.cloud.storage.v1.ObjectLock.DefaultRetention.Mode\x12\x0e\n\x04\x64\x61ys\x18\x02 \x01(\x03H\x00\x12\x0f\n\x05years\x18\x03 \x01(\x03H\x00\"F\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fMODE_GOVERNANCE\x10\x01\x12\x13\n\x0fMODE_COMPLIANCE\x10\x02\x42\x0e\n\x06period\x12\x04\xc0\xc1\x31\x01\"w\n\x10ObjectLockStatus\x12\"\n\x1eOBJECT_LOCK_STATUS_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOBJECT_LOCK_STATUS_DISABLED\x10\x01\x12\x1e\n\x1aOBJECT_LOCK_STATUS_ENABLED\x10\x02\"\x93\x01\n\nEncryption\x12\x41\n\x05rules\x18\x01 \x03(\x0b\x32\x32.yandex.cloud.storage.v1.Encryption.EncryptionRule\x1a\x42\n\x0e\x45ncryptionRule\x12\x19\n\x11kms_master_key_id\x18\x01 \x01(\t\x12\x15\n\rsse_algorithm\x18\x02 \x01(\t\"K\n\x1d\x42ucketAllowedPrivateEndpoints\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x19\n\x11private_endpoints\x18\x02 \x03(\t*s\n\nVersioning\x12\x1a\n\x16VERSIONING_UNSPECIFIED\x10\x00\x12\x17\n\x13VERSIONING_DISABLED\x10\x01\x12\x16\n\x12VERSIONING_ENABLED\x10\x02\x12\x18\n\x14VERSIONING_SUSPENDED\x10\x03\x42\x62\n\x1byandex.cloud.api.storage.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/storage/v1;storageb\x06proto3')
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/storage/v1/bucket.proto\x12\x17yandex.cloud.storage.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xb7\x06\n\x06\x42ucket\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12M\n\x16\x61nonymous_access_flags\x18\x04 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12\x1d\n\x15\x64\x65\x66\x61ult_storage_class\x18\x05 \x01(\t\x12\x37\n\nversioning\x18\x06 \x01(\x0e\x32#.yandex.cloud.storage.v1.Versioning\x12\x10\n\x08max_size\x18\x07 \x01(\x03\x12\'\n\x06policy\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x03\x61\x63l\x18\t \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.ACL\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x04\x63ors\x18\x0b \x03(\x0b\x32!.yandex.cloud.storage.v1.CorsRule\x12\x42\n\x10website_settings\x18\x0c \x01(\x0b\x32(.yandex.cloud.storage.v1.WebsiteSettings\x12?\n\x0flifecycle_rules\x18\r \x03(\x0b\x32&.yandex.cloud.storage.v1.LifecycleRule\x12*\n\x04tags\x18\x0e \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12\x38\n\x0bobject_lock\x18\x0f \x01(\x0b\x32#.yandex.cloud.storage.v1.ObjectLock\x12\x37\n\nencryption\x18\x10 \x01(\x0b\x32#.yandex.cloud.storage.v1.Encryption\x12Y\n\x19\x61llowed_private_endpoints\x18\x11 \x01(\x0b\x32\x36.yandex.cloud.storage.v1.BucketAllowedPrivateEndpoints\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\"!\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x9c\x04\n\x03\x41\x43L\x12\x32\n\x06grants\x18\x01 \x03(\x0b\x32\".yandex.cloud.storage.v1.ACL.Grant\x1a\xe0\x03\n\x05Grant\x12G\n\npermission\x18\x01 \x01(\x0e\x32-.yandex.cloud.storage.v1.ACL.Grant.PermissionB\x04\xe8\xc7\x31\x01\x12\x46\n\ngrant_type\x18\x02 \x01(\x0e\x32,.yandex.cloud.storage.v1.ACL.Grant.GrantTypeB\x04\xe8\xc7\x31\x01\x12\x1c\n\ngrantee_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"\xa3\x01\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x1b\n\x17PERMISSION_FULL_CONTROL\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x18\n\x14PERMISSION_WRITE_ACP\x10\x03\x12\x13\n\x0fPERMISSION_READ\x10\x04\x12\x17\n\x13PERMISSION_READ_ACP\x10\x05\"\x81\x01\n\tGrantType\x12\x1a\n\x16GRANT_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12GRANT_TYPE_ACCOUNT\x10\x01\x12&\n\"GRANT_TYPE_ALL_AUTHENTICATED_USERS\x10\x02\x12\x18\n\x14GRANT_TYPE_ALL_USERS\x10\x03\"\x9b\x01\n\x14\x41nonymousAccessFlags\x12(\n\x04read\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12(\n\x04list\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12/\n\x0b\x63onfig_read\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xe4\x02\n\x08\x43orsRule\x12\n\n\x02id\x18\x01 \x01(\t\x12M\n\x0f\x61llowed_methods\x18\x02 \x03(\x0e\x32(.yandex.cloud.storage.v1.CorsRule.MethodB\n\x82\xc8\x31\x02>0\x90\xc8\x31\x01\x12\x17\n\x0f\x61llowed_headers\x18\x03 \x03(\t\x12\x1f\n\x0f\x61llowed_origins\x18\x04 \x03(\tB\x06\x82\xc8\x31\x02>0\x12\x16\n\x0e\x65xpose_headers\x18\x05 \x03(\t\x12\x34\n\x0fmax_age_seconds\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"u\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x0e\n\nMETHOD_GET\x10\x01\x12\x0f\n\x0bMETHOD_HEAD\x10\x02\x12\x0f\n\x0bMETHOD_POST\x10\x03\x12\x0e\n\nMETHOD_PUT\x10\x04\x12\x11\n\rMETHOD_DELETE\x10\x05\"\xbc\x06\n\x0fWebsiteSettings\x12\r\n\x05index\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12N\n\x15redirect_all_requests\x18\x03 \x01(\x0b\x32/.yandex.cloud.storage.v1.WebsiteSettings.Scheme\x12K\n\rrouting_rules\x18\x04 \x03(\x0b\x32\x34.yandex.cloud.storage.v1.WebsiteSettings.RoutingRule\x1a_\n\x06Scheme\x12\x43\n\x08protocol\x18\x01 \x01(\x0e\x32\x31.yandex.cloud.storage.v1.WebsiteSettings.Protocol\x12\x10\n\x08hostname\x18\x02 \x01(\t\x1aO\n\tCondition\x12\'\n\x1fhttp_error_code_returned_equals\x18\x01 \x01(\t\x12\x19\n\x11key_prefix_equals\x18\x02 \x01(\t\x1a\xd2\x01\n\x08Redirect\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x34\n\x12http_redirect_code\x18\x02 \x01(\tB\x18\xf2\xc7\x31\x14\x33(0[1-9]|[1-9][0-9])\x12\x43\n\x08protocol\x18\x03 \x01(\x0e\x32\x31.yandex.cloud.storage.v1.WebsiteSettings.Protocol\x12\x1f\n\x17replace_key_prefix_with\x18\x04 \x01(\t\x12\x18\n\x10replace_key_with\x18\x05 \x01(\t\x1a\x99\x01\n\x0bRoutingRule\x12\x45\n\tcondition\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.storage.v1.WebsiteSettings.Condition\x12\x43\n\x08redirect\x18\x02 \x01(\x0b\x32\x31.yandex.cloud.storage.v1.WebsiteSettings.Redirect\"K\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x11\n\rPROTOCOL_HTTP\x10\x01\x12\x12\n\x0ePROTOCOL_HTTPS\x10\x02\"\xe5\r\n\rLifecycleRule\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12\x41\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.storage.v1.LifecycleRule.RuleFilter\x12\x45\n\nexpiration\x18\x04 \x01(\x0b\x32\x31.yandex.cloud.storage.v1.LifecycleRule.Expiration\x12\x46\n\x0btransitions\x18\x05 \x03(\x0b\x32\x31.yandex.cloud.storage.v1.LifecycleRule.Transition\x12[\n!abort_incomplete_multipart_upload\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.storage.v1.LifecycleRule.AfterDays\x12Z\n\x15noncurrent_expiration\x18\x07 \x01(\x0b\x32;.yandex.cloud.storage.v1.LifecycleRule.NoncurrentExpiration\x12[\n\x16noncurrent_transitions\x18\x08 \x03(\x0b\x32;.yandex.cloud.storage.v1.LifecycleRule.NoncurrentTransition\x12\x61\n\x19noncurrent_delete_markers\x18\t \x01(\x0b\x32>.yandex.cloud.storage.v1.LifecycleRule.NoncurrentDeleteMarkers\x1aG\n\tAfterDays\x12:\n\x15\x64\x61ys_after_expiration\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1aO\n\x17NoncurrentDeleteMarkers\x12\x34\n\x0fnoncurrent_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1aL\n\x14NoncurrentExpiration\x12\x34\n\x0fnoncurrent_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1ai\n\x14NoncurrentTransition\x12\x34\n\x0fnoncurrent_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x1b\n\rstorage_class\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x1a\x84\x01\n\nTransition\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x04\x64\x61ys\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x1b\n\rstorage_class\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01J\x04\x08\x03\x10\x04\x1a\xa3\x01\n\nExpiration\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x04\x64\x61ys\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1c\x65xpired_object_delete_marker\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\xcd\x03\n\nRuleFilter\x12\x0e\n\x06prefix\x18\x01 \x01(\t\x12=\n\x18object_size_greater_than\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15object_size_less_than\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03tag\x18\x04 \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12K\n\x0c\x61nd_operator\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.storage.v1.LifecycleRule.RuleFilter.And\x1a\xbb\x01\n\x03\x41nd\x12\x0e\n\x06prefix\x18\x01 \x01(\t\x12=\n\x18object_size_greater_than\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15object_size_less_than\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03tag\x18\x04 \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\"\xdd\x01\n\x08\x43ounters\x12\x1a\n\x12simple_object_size\x18\x01 \x01(\x03\x12\x1b\n\x13simple_object_count\x18\x02 \x01(\x03\x12\x1a\n\x12objects_parts_size\x18\x03 \x01(\x03\x12\x1b\n\x13objects_parts_count\x18\x04 \x01(\x03\x12\x1e\n\x16multipart_objects_size\x18\x05 \x01(\x03\x12\x1f\n\x17multipart_objects_count\x18\x06 \x01(\x03\x12\x1e\n\x16\x61\x63tive_multipart_count\x18\x07 \x01(\x03\"]\n\x13OptionalSizeByClass\x12\x15\n\rstorage_class\x18\x01 \x01(\t\x12/\n\nclass_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"8\n\x0bSizeByClass\x12\x15\n\rstorage_class\x18\x01 \x01(\t\x12\x12\n\nclass_size\x18\x02 \x01(\x03\"]\n\x0f\x43ountersByClass\x12\x15\n\rstorage_class\x18\x01 \x01(\t\x12\x33\n\x08\x63ounters\x18\x02 \x01(\x0b\x32!.yandex.cloud.storage.v1.Counters\"\xaa\x04\n\x0b\x42ucketStats\x12\x0c\n\x04name\x18\x01 \x01(\t\x12-\n\x08max_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x11\n\tused_size\x18\x03 \x01(\x03\x12M\n\x17storage_class_max_sizes\x18\x04 \x03(\x0b\x32,.yandex.cloud.storage.v1.OptionalSizeByClass\x12\x46\n\x18storage_class_used_sizes\x18\x05 \x03(\x0b\x32$.yandex.cloud.storage.v1.SizeByClass\x12H\n\x16storage_class_counters\x18\x06 \x03(\x0b\x32(.yandex.cloud.storage.v1.CountersByClass\x12;\n\x15\x64\x65\x66\x61ult_storage_class\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12M\n\x16\x61nonymous_access_flags\x18\x08 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc1\x03\n\x0bHTTPSConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0bsource_type\x18\x02 \x01(\x0e\x32/.yandex.cloud.storage.v1.HTTPSConfig.SourceType\x12,\n\x06issuer\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07subject\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x11\n\tdns_names\x18\x05 \x03(\t\x12.\n\nnot_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tnot_after\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x63\x65rtificate_id\x18\x08 \x01(\t\"w\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18SOURCE_TYPE_SELF_MANAGED\x10\x01\x12.\n*SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER\x10\x02\"\xf3\x03\n\nObjectLock\x12\x44\n\x06status\x18\x02 \x01(\x0e\x32\x34.yandex.cloud.storage.v1.ObjectLock.ObjectLockStatus\x12O\n\x11\x64\x65\x66\x61ult_retention\x18\x03 \x01(\x0b\x32\x34.yandex.cloud.storage.v1.ObjectLock.DefaultRetention\x1a\xd4\x01\n\x10\x44\x65\x66\x61ultRetention\x12G\n\x04mode\x18\x01 \x01(\x0e\x32\x39.yandex.cloud.storage.v1.ObjectLock.DefaultRetention.Mode\x12\x0e\n\x04\x64\x61ys\x18\x02 \x01(\x03H\x00\x12\x0f\n\x05years\x18\x03 \x01(\x03H\x00\"F\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fMODE_GOVERNANCE\x10\x01\x12\x13\n\x0fMODE_COMPLIANCE\x10\x02\x42\x0e\n\x06period\x12\x04\xc0\xc1\x31\x01\"w\n\x10ObjectLockStatus\x12\"\n\x1eOBJECT_LOCK_STATUS_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOBJECT_LOCK_STATUS_DISABLED\x10\x01\x12\x1e\n\x1aOBJECT_LOCK_STATUS_ENABLED\x10\x02\"\x93\x01\n\nEncryption\x12\x41\n\x05rules\x18\x01 \x03(\x0b\x32\x32.yandex.cloud.storage.v1.Encryption.EncryptionRule\x1a\x42\n\x0e\x45ncryptionRule\x12\x19\n\x11kms_master_key_id\x18\x01 \x01(\t\x12\x15\n\rsse_algorithm\x18\x02 \x01(\t\"K\n\x1d\x42ucketAllowedPrivateEndpoints\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x19\n\x11private_endpoints\x18\x02 \x03(\t*s\n\nVersioning\x12\x1a\n\x16VERSIONING_UNSPECIFIED\x10\x00\x12\x17\n\x13VERSIONING_DISABLED\x10\x01\x12\x16\n\x12VERSIONING_ENABLED\x10\x02\x12\x18\n\x14VERSIONING_SUSPENDED\x10\x03\x42\x62\n\x1byandex.cloud.api.storage.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/storage/v1;storageb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -54,82 +54,82 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
54
54
|
_globals['_LIFECYCLERULE_TRANSITION'].fields_by_name['storage_class']._serialized_options = b'\350\3071\001'
|
|
55
55
|
_globals['_OBJECTLOCK_DEFAULTRETENTION'].oneofs_by_name['period']._loaded_options = None
|
|
56
56
|
_globals['_OBJECTLOCK_DEFAULTRETENTION'].oneofs_by_name['period']._serialized_options = b'\300\3011\001'
|
|
57
|
-
_globals['_VERSIONING']._serialized_start=
|
|
58
|
-
_globals['_VERSIONING']._serialized_end=
|
|
57
|
+
_globals['_VERSIONING']._serialized_start=6921
|
|
58
|
+
_globals['_VERSIONING']._serialized_end=7036
|
|
59
59
|
_globals['_BUCKET']._serialized_start=192
|
|
60
|
-
_globals['_BUCKET']._serialized_end=
|
|
61
|
-
_globals['_TAG']._serialized_start=
|
|
62
|
-
_globals['_TAG']._serialized_end=
|
|
63
|
-
_globals['_ACL']._serialized_start=
|
|
64
|
-
_globals['_ACL']._serialized_end=
|
|
65
|
-
_globals['_ACL_GRANT']._serialized_start=
|
|
66
|
-
_globals['_ACL_GRANT']._serialized_end=
|
|
67
|
-
_globals['_ACL_GRANT_PERMISSION']._serialized_start=
|
|
68
|
-
_globals['_ACL_GRANT_PERMISSION']._serialized_end=
|
|
69
|
-
_globals['_ACL_GRANT_GRANTTYPE']._serialized_start=
|
|
70
|
-
_globals['_ACL_GRANT_GRANTTYPE']._serialized_end=
|
|
71
|
-
_globals['_ANONYMOUSACCESSFLAGS']._serialized_start=
|
|
72
|
-
_globals['_ANONYMOUSACCESSFLAGS']._serialized_end=
|
|
73
|
-
_globals['_CORSRULE']._serialized_start=
|
|
74
|
-
_globals['_CORSRULE']._serialized_end=
|
|
75
|
-
_globals['_CORSRULE_METHOD']._serialized_start=
|
|
76
|
-
_globals['_CORSRULE_METHOD']._serialized_end=
|
|
77
|
-
_globals['_WEBSITESETTINGS']._serialized_start=
|
|
78
|
-
_globals['_WEBSITESETTINGS']._serialized_end=
|
|
79
|
-
_globals['_WEBSITESETTINGS_SCHEME']._serialized_start=
|
|
80
|
-
_globals['_WEBSITESETTINGS_SCHEME']._serialized_end=
|
|
81
|
-
_globals['_WEBSITESETTINGS_CONDITION']._serialized_start=
|
|
82
|
-
_globals['_WEBSITESETTINGS_CONDITION']._serialized_end=
|
|
83
|
-
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_start=
|
|
84
|
-
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_end=
|
|
85
|
-
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_start=
|
|
86
|
-
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_end=
|
|
87
|
-
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_start=
|
|
88
|
-
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_end=
|
|
89
|
-
_globals['_LIFECYCLERULE']._serialized_start=
|
|
90
|
-
_globals['_LIFECYCLERULE']._serialized_end=
|
|
91
|
-
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_start=
|
|
92
|
-
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_end=
|
|
93
|
-
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_start=
|
|
94
|
-
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_end=
|
|
95
|
-
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_start=
|
|
96
|
-
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_end=
|
|
97
|
-
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_start=
|
|
98
|
-
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_end=
|
|
99
|
-
_globals['_LIFECYCLERULE_TRANSITION']._serialized_start=
|
|
100
|
-
_globals['_LIFECYCLERULE_TRANSITION']._serialized_end=
|
|
101
|
-
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_start=
|
|
102
|
-
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_end=
|
|
103
|
-
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_start=
|
|
104
|
-
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_end=
|
|
105
|
-
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_start=
|
|
106
|
-
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_end=
|
|
107
|
-
_globals['_COUNTERS']._serialized_start=
|
|
108
|
-
_globals['_COUNTERS']._serialized_end=
|
|
109
|
-
_globals['_OPTIONALSIZEBYCLASS']._serialized_start=
|
|
110
|
-
_globals['_OPTIONALSIZEBYCLASS']._serialized_end=
|
|
111
|
-
_globals['_SIZEBYCLASS']._serialized_start=
|
|
112
|
-
_globals['_SIZEBYCLASS']._serialized_end=
|
|
113
|
-
_globals['_COUNTERSBYCLASS']._serialized_start=
|
|
114
|
-
_globals['_COUNTERSBYCLASS']._serialized_end=
|
|
115
|
-
_globals['_BUCKETSTATS']._serialized_start=
|
|
116
|
-
_globals['_BUCKETSTATS']._serialized_end=
|
|
117
|
-
_globals['_HTTPSCONFIG']._serialized_start=
|
|
118
|
-
_globals['_HTTPSCONFIG']._serialized_end=
|
|
119
|
-
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_start=
|
|
120
|
-
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_end=
|
|
121
|
-
_globals['_OBJECTLOCK']._serialized_start=
|
|
122
|
-
_globals['_OBJECTLOCK']._serialized_end=
|
|
123
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_start=
|
|
124
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_end=
|
|
125
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_start=
|
|
126
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_end=
|
|
127
|
-
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_start=
|
|
128
|
-
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_end=
|
|
129
|
-
_globals['_ENCRYPTION']._serialized_start=
|
|
130
|
-
_globals['_ENCRYPTION']._serialized_end=
|
|
131
|
-
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_start=
|
|
132
|
-
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_end=
|
|
133
|
-
_globals['_BUCKETALLOWEDPRIVATEENDPOINTS']._serialized_start=
|
|
134
|
-
_globals['_BUCKETALLOWEDPRIVATEENDPOINTS']._serialized_end=
|
|
60
|
+
_globals['_BUCKET']._serialized_end=1015
|
|
61
|
+
_globals['_TAG']._serialized_start=1017
|
|
62
|
+
_globals['_TAG']._serialized_end=1050
|
|
63
|
+
_globals['_ACL']._serialized_start=1053
|
|
64
|
+
_globals['_ACL']._serialized_end=1593
|
|
65
|
+
_globals['_ACL_GRANT']._serialized_start=1113
|
|
66
|
+
_globals['_ACL_GRANT']._serialized_end=1593
|
|
67
|
+
_globals['_ACL_GRANT_PERMISSION']._serialized_start=1298
|
|
68
|
+
_globals['_ACL_GRANT_PERMISSION']._serialized_end=1461
|
|
69
|
+
_globals['_ACL_GRANT_GRANTTYPE']._serialized_start=1464
|
|
70
|
+
_globals['_ACL_GRANT_GRANTTYPE']._serialized_end=1593
|
|
71
|
+
_globals['_ANONYMOUSACCESSFLAGS']._serialized_start=1596
|
|
72
|
+
_globals['_ANONYMOUSACCESSFLAGS']._serialized_end=1751
|
|
73
|
+
_globals['_CORSRULE']._serialized_start=1754
|
|
74
|
+
_globals['_CORSRULE']._serialized_end=2110
|
|
75
|
+
_globals['_CORSRULE_METHOD']._serialized_start=1993
|
|
76
|
+
_globals['_CORSRULE_METHOD']._serialized_end=2110
|
|
77
|
+
_globals['_WEBSITESETTINGS']._serialized_start=2113
|
|
78
|
+
_globals['_WEBSITESETTINGS']._serialized_end=2941
|
|
79
|
+
_globals['_WEBSITESETTINGS_SCHEME']._serialized_start=2319
|
|
80
|
+
_globals['_WEBSITESETTINGS_SCHEME']._serialized_end=2414
|
|
81
|
+
_globals['_WEBSITESETTINGS_CONDITION']._serialized_start=2416
|
|
82
|
+
_globals['_WEBSITESETTINGS_CONDITION']._serialized_end=2495
|
|
83
|
+
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_start=2498
|
|
84
|
+
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_end=2708
|
|
85
|
+
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_start=2711
|
|
86
|
+
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_end=2864
|
|
87
|
+
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_start=2866
|
|
88
|
+
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_end=2941
|
|
89
|
+
_globals['_LIFECYCLERULE']._serialized_start=2944
|
|
90
|
+
_globals['_LIFECYCLERULE']._serialized_end=4709
|
|
91
|
+
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_start=3607
|
|
92
|
+
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_end=3678
|
|
93
|
+
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_start=3680
|
|
94
|
+
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_end=3759
|
|
95
|
+
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_start=3761
|
|
96
|
+
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_end=3837
|
|
97
|
+
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_start=3839
|
|
98
|
+
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_end=3944
|
|
99
|
+
_globals['_LIFECYCLERULE_TRANSITION']._serialized_start=3947
|
|
100
|
+
_globals['_LIFECYCLERULE_TRANSITION']._serialized_end=4079
|
|
101
|
+
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_start=4082
|
|
102
|
+
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_end=4245
|
|
103
|
+
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_start=4248
|
|
104
|
+
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_end=4709
|
|
105
|
+
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_start=4522
|
|
106
|
+
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_end=4709
|
|
107
|
+
_globals['_COUNTERS']._serialized_start=4712
|
|
108
|
+
_globals['_COUNTERS']._serialized_end=4933
|
|
109
|
+
_globals['_OPTIONALSIZEBYCLASS']._serialized_start=4935
|
|
110
|
+
_globals['_OPTIONALSIZEBYCLASS']._serialized_end=5028
|
|
111
|
+
_globals['_SIZEBYCLASS']._serialized_start=5030
|
|
112
|
+
_globals['_SIZEBYCLASS']._serialized_end=5086
|
|
113
|
+
_globals['_COUNTERSBYCLASS']._serialized_start=5088
|
|
114
|
+
_globals['_COUNTERSBYCLASS']._serialized_end=5181
|
|
115
|
+
_globals['_BUCKETSTATS']._serialized_start=5184
|
|
116
|
+
_globals['_BUCKETSTATS']._serialized_end=5738
|
|
117
|
+
_globals['_HTTPSCONFIG']._serialized_start=5741
|
|
118
|
+
_globals['_HTTPSCONFIG']._serialized_end=6190
|
|
119
|
+
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_start=6071
|
|
120
|
+
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_end=6190
|
|
121
|
+
_globals['_OBJECTLOCK']._serialized_start=6193
|
|
122
|
+
_globals['_OBJECTLOCK']._serialized_end=6692
|
|
123
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_start=6359
|
|
124
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_end=6571
|
|
125
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_start=6485
|
|
126
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_end=6555
|
|
127
|
+
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_start=6573
|
|
128
|
+
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_end=6692
|
|
129
|
+
_globals['_ENCRYPTION']._serialized_start=6695
|
|
130
|
+
_globals['_ENCRYPTION']._serialized_end=6842
|
|
131
|
+
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_start=6776
|
|
132
|
+
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_end=6842
|
|
133
|
+
_globals['_BUCKETALLOWEDPRIVATEENDPOINTS']._serialized_start=6844
|
|
134
|
+
_globals['_BUCKETALLOWEDPRIVATEENDPOINTS']._serialized_end=6919
|
|
135
135
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -104,6 +104,7 @@ class Bucket(google.protobuf.message.Message):
|
|
|
104
104
|
OBJECT_LOCK_FIELD_NUMBER: builtins.int
|
|
105
105
|
ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
106
106
|
ALLOWED_PRIVATE_ENDPOINTS_FIELD_NUMBER: builtins.int
|
|
107
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
107
108
|
id: builtins.str
|
|
108
109
|
"""ID of the bucket. Always equal to [name], which has priority."""
|
|
109
110
|
name: builtins.str
|
|
@@ -127,6 +128,8 @@ class Bucket(google.protobuf.message.Message):
|
|
|
127
128
|
"""Maximum size of the bucket, in bytes.
|
|
128
129
|
For details, see [documentation](/docs/storage/operations/buckets/limit-max-volume).
|
|
129
130
|
"""
|
|
131
|
+
resource_id: builtins.str
|
|
132
|
+
"""ID of the Yandex.Cloud entity that owns the bucket."""
|
|
130
133
|
@property
|
|
131
134
|
def anonymous_access_flags(self) -> global___AnonymousAccessFlags:
|
|
132
135
|
"""Flags for configuring public (anonymous) access to the bucket's content and settings.
|
|
@@ -209,9 +212,10 @@ class Bucket(google.protobuf.message.Message):
|
|
|
209
212
|
object_lock: global___ObjectLock | None = ...,
|
|
210
213
|
encryption: global___Encryption | None = ...,
|
|
211
214
|
allowed_private_endpoints: global___BucketAllowedPrivateEndpoints | None = ...,
|
|
215
|
+
resource_id: builtins.str = ...,
|
|
212
216
|
) -> None: ...
|
|
213
217
|
def HasField(self, field_name: typing.Literal["acl", b"acl", "allowed_private_endpoints", b"allowed_private_endpoints", "anonymous_access_flags", b"anonymous_access_flags", "created_at", b"created_at", "encryption", b"encryption", "object_lock", b"object_lock", "policy", b"policy", "website_settings", b"website_settings"]) -> builtins.bool: ...
|
|
214
|
-
def ClearField(self, field_name: typing.Literal["acl", b"acl", "allowed_private_endpoints", b"allowed_private_endpoints", "anonymous_access_flags", b"anonymous_access_flags", "cors", b"cors", "created_at", b"created_at", "default_storage_class", b"default_storage_class", "encryption", b"encryption", "folder_id", b"folder_id", "id", b"id", "lifecycle_rules", b"lifecycle_rules", "max_size", b"max_size", "name", b"name", "object_lock", b"object_lock", "policy", b"policy", "tags", b"tags", "versioning", b"versioning", "website_settings", b"website_settings"]) -> None: ...
|
|
218
|
+
def ClearField(self, field_name: typing.Literal["acl", b"acl", "allowed_private_endpoints", b"allowed_private_endpoints", "anonymous_access_flags", b"anonymous_access_flags", "cors", b"cors", "created_at", b"created_at", "default_storage_class", b"default_storage_class", "encryption", b"encryption", "folder_id", b"folder_id", "id", b"id", "lifecycle_rules", b"lifecycle_rules", "max_size", b"max_size", "name", b"name", "object_lock", b"object_lock", "policy", b"policy", "resource_id", b"resource_id", "tags", b"tags", "versioning", b"versioning", "website_settings", b"website_settings"]) -> None: ...
|
|
215
219
|
|
|
216
220
|
global___Bucket = Bucket
|
|
217
221
|
|
|
@@ -32,7 +32,7 @@ from yandex.cloud.storage.v1 import bucket_pb2 as yandex_dot_cloud_dot_storage_d
|
|
|
32
32
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/storage/v1/bucket_service.proto\x12\x17yandex.cloud.storage.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a$yandex/cloud/storage/v1/bucket.proto\x1a\x1dyandex/cloud/validation.proto\"\xaf\x01\n\x10GetBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12<\n\x04view\x18\x02 \x01(\x0e\x32..yandex.cloud.storage.v1.GetBucketRequest.View\"I\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\x0e\n\nVIEW_BASIC\x10\x01\x12\x0c\n\x08VIEW_ACL\x10\x02\x12\r\n\tVIEW_FULL\x10\x03\"5\n\x12ListBucketsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"G\n\x13ListBucketsResponse\x12\x30\n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.storage.v1.Bucket\"\xf4\x03\n\x13\x43reateBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x15\x64\x65\x66\x61ult_storage_class\x18\x04 \x01(\t\x12\x10\n\x08max_size\x18\x05 \x01(\x03\x12M\n\x16\x61nonymous_access_flags\x18\x06 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12)\n\x03\x61\x63l\x18\x07 \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.ACL\x12*\n\x04tags\x18\x08 \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12\x37\n\nencryption\x18\t \x01(\x0b\x32#.yandex.cloud.storage.v1.Encryption\x12\x37\n\nversioning\x18\n \x01(\x0e\x32#.yandex.cloud.storage.v1.Versioning\x12Y\n\x19\x61llowed_private_endpoints\x18\x0b \x01(\x0b\x32\x36.yandex.cloud.storage.v1.BucketAllowedPrivateEndpointsJ\x04\x08\x03\x10\x04\"$\n\x14\x43reateBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x9d\x06\n\x13UpdateBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12M\n\x16\x61nonymous_access_flags\x18\x03 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12\x1d\n\x15\x64\x65\x66\x61ult_storage_class\x18\x04 \x01(\t\x12\x10\n\x08max_size\x18\x05 \x01(\x03\x12/\n\x04\x63ors\x18\x06 \x03(\x0b\x32!.yandex.cloud.storage.v1.CorsRule\x12\x42\n\x10website_settings\x18\x07 \x01(\x0b\x32(.yandex.cloud.storage.v1.WebsiteSettings\x12\x37\n\nversioning\x18\x08 \x01(\x0e\x32#.yandex.cloud.storage.v1.Versioning\x12?\n\x0flifecycle_rules\x18\t \x03(\x0b\x32&.yandex.cloud.storage.v1.LifecycleRule\x12\'\n\x06policy\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x03\x61\x63l\x18\x0b \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.ACL\x12*\n\x04tags\x18\x0c \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12\x38\n\x0bobject_lock\x18\r \x01(\x0b\x32#.yandex.cloud.storage.v1.ObjectLock\x12\x37\n\nencryption\x18\x0e \x01(\x0b\x32#.yandex.cloud.storage.v1.Encryption\x12Y\n\x19\x61llowed_private_endpoints\x18\x0f \x01(\x0b\x32\x36.yandex.cloud.storage.v1.BucketAllowedPrivateEndpoints\"$\n\x14UpdateBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\")\n\x13\x44\x65leteBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"$\n\x14\x44\x65leteBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15GetBucketStatsRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"1\n\x1bGetBucketHTTPSConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"n\n\x1cSelfManagedHTTPSConfigParams\x12&\n\x0f\x63\x65rtificate_pem\x18\x01 \x01(\tB\r\x8a\xc8\x31\t<=3145728\x12&\n\x0fprivate_key_pem\x18\x02 \x01(\tB\r\x8a\xc8\x31\t<=3145728\"=\n#CertificateManagerHTTPSConfigParams\x12\x16\n\x0e\x63\x65rtificate_id\x18\x01 \x01(\t\"\xed\x01\n\x1bSetBucketHTTPSConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12M\n\x0cself_managed\x18\x02 \x01(\x0b\x32\x35.yandex.cloud.storage.v1.SelfManagedHTTPSConfigParamsH\x00\x12[\n\x13\x63\x65rtificate_manager\x18\x03 \x01(\x0b\x32<.yandex.cloud.storage.v1.CertificateManagerHTTPSConfigParamsH\x00\x42\x0e\n\x06params\x12\x04\xc0\xc1\x31\x01\",\n\x1cSetBucketHTTPSConfigMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\x1e\x44\x65leteBucketHTTPSConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x1f\x44\x65leteBucketHTTPSConfigMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t2\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/storage/v1/bucket_service.proto\x12\x17yandex.cloud.storage.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a$yandex/cloud/storage/v1/bucket.proto\x1a\x1dyandex/cloud/validation.proto\"\xaf\x01\n\x10GetBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12<\n\x04view\x18\x02 \x01(\x0e\x32..yandex.cloud.storage.v1.GetBucketRequest.View\"I\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\x0e\n\nVIEW_BASIC\x10\x01\x12\x0c\n\x08VIEW_ACL\x10\x02\x12\r\n\tVIEW_FULL\x10\x03\"5\n\x12ListBucketsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"G\n\x13ListBucketsResponse\x12\x30\n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.storage.v1.Bucket\"\xf4\x03\n\x13\x43reateBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x15\x64\x65\x66\x61ult_storage_class\x18\x04 \x01(\t\x12\x10\n\x08max_size\x18\x05 \x01(\x03\x12M\n\x16\x61nonymous_access_flags\x18\x06 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12)\n\x03\x61\x63l\x18\x07 \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.ACL\x12*\n\x04tags\x18\x08 \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12\x37\n\nencryption\x18\t \x01(\x0b\x32#.yandex.cloud.storage.v1.Encryption\x12\x37\n\nversioning\x18\n \x01(\x0e\x32#.yandex.cloud.storage.v1.Versioning\x12Y\n\x19\x61llowed_private_endpoints\x18\x0b \x01(\x0b\x32\x36.yandex.cloud.storage.v1.BucketAllowedPrivateEndpointsJ\x04\x08\x03\x10\x04\"$\n\x14\x43reateBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x9d\x06\n\x13UpdateBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12M\n\x16\x61nonymous_access_flags\x18\x03 \x01(\x0b\x32-.yandex.cloud.storage.v1.AnonymousAccessFlags\x12\x1d\n\x15\x64\x65\x66\x61ult_storage_class\x18\x04 \x01(\t\x12\x10\n\x08max_size\x18\x05 \x01(\x03\x12/\n\x04\x63ors\x18\x06 \x03(\x0b\x32!.yandex.cloud.storage.v1.CorsRule\x12\x42\n\x10website_settings\x18\x07 \x01(\x0b\x32(.yandex.cloud.storage.v1.WebsiteSettings\x12\x37\n\nversioning\x18\x08 \x01(\x0e\x32#.yandex.cloud.storage.v1.Versioning\x12?\n\x0flifecycle_rules\x18\t \x03(\x0b\x32&.yandex.cloud.storage.v1.LifecycleRule\x12\'\n\x06policy\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x03\x61\x63l\x18\x0b \x01(\x0b\x32\x1c.yandex.cloud.storage.v1.ACL\x12*\n\x04tags\x18\x0c \x03(\x0b\x32\x1c.yandex.cloud.storage.v1.Tag\x12\x38\n\x0bobject_lock\x18\r \x01(\x0b\x32#.yandex.cloud.storage.v1.ObjectLock\x12\x37\n\nencryption\x18\x0e \x01(\x0b\x32#.yandex.cloud.storage.v1.Encryption\x12Y\n\x19\x61llowed_private_endpoints\x18\x0f \x01(\x0b\x32\x36.yandex.cloud.storage.v1.BucketAllowedPrivateEndpoints\"$\n\x14UpdateBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\")\n\x13\x44\x65leteBucketRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"$\n\x14\x44\x65leteBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15GetBucketStatsRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"1\n\x1bGetBucketHTTPSConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"n\n\x1cSelfManagedHTTPSConfigParams\x12&\n\x0f\x63\x65rtificate_pem\x18\x01 \x01(\tB\r\x8a\xc8\x31\t<=3145728\x12&\n\x0fprivate_key_pem\x18\x02 \x01(\tB\r\x8a\xc8\x31\t<=3145728\"=\n#CertificateManagerHTTPSConfigParams\x12\x16\n\x0e\x63\x65rtificate_id\x18\x01 \x01(\t\"\xed\x01\n\x1bSetBucketHTTPSConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12M\n\x0cself_managed\x18\x02 \x01(\x0b\x32\x35.yandex.cloud.storage.v1.SelfManagedHTTPSConfigParamsH\x00\x12[\n\x13\x63\x65rtificate_manager\x18\x03 \x01(\x0b\x32<.yandex.cloud.storage.v1.CertificateManagerHTTPSConfigParamsH\x00\x42\x0e\n\x06params\x12\x04\xc0\xc1\x31\x01\",\n\x1cSetBucketHTTPSConfigMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\x1e\x44\x65leteBucketHTTPSConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x1f\x44\x65leteBucketHTTPSConfigMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t2\xee\x10\n\rBucketService\x12~\n\x04List\x12+.yandex.cloud.storage.v1.ListBucketsRequest\x1a,.yandex.cloud.storage.v1.ListBucketsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/storage/v1/buckets\x12u\n\x03Get\x12).yandex.cloud.storage.v1.GetBucketRequest\x1a\x1f.yandex.cloud.storage.v1.Bucket\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/storage/v1/buckets/{name}\x12\x9b\x01\n\x06\x43reate\x12,.yandex.cloud.storage.v1.CreateBucketRequest\x1a!.yandex.cloud.operation.Operation\"@\xb2\xd2*\x1e\n\x14\x43reateBucketMetadata\x12\x06\x42ucket\x82\xd3\xe4\x93\x02\x18\"\x13/storage/v1/buckets:\x01*\x12\xa2\x01\n\x06Update\x12,.yandex.cloud.storage.v1.UpdateBucketRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*\x1e\n\x14UpdateBucketMetadata\x12\x06\x42ucket\x82\xd3\xe4\x93\x02\x1f\x32\x1a/storage/v1/buckets/{name}:\x01*\x12\xae\x01\n\x06\x44\x65lete\x12,.yandex.cloud.storage.v1.DeleteBucketRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2*-\n\x14\x44\x65leteBucketMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1c*\x1a/storage/v1/buckets/{name}\x12\x8d\x01\n\x08GetStats\x12..yandex.cloud.storage.v1.GetBucketStatsRequest\x1a$.yandex.cloud.storage.v1.BucketStats\"+\x82\xd3\xe4\x93\x02%\x12#/storage/v1/buckets/{name}:getStats\x12\x9f\x01\n\x0eGetHTTPSConfig\x12\x34.yandex.cloud.storage.v1.GetBucketHTTPSConfigRequest\x1a$.yandex.cloud.storage.v1.HTTPSConfig\"1\x82\xd3\xe4\x93\x02+\x12)/storage/v1/buckets/{name}:getHttpsConfig\x12\xce\x01\n\x0eSetHTTPSConfig\x12\x34.yandex.cloud.storage.v1.SetBucketHTTPSConfigRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*+\n\x1cSetBucketHTTPSConfigMetadata\x12\x0bHTTPSConfig\x82\xd3\xe4\x93\x02.\")/storage/v1/buckets/{name}:setHttpsConfig:\x01*\x12\xe1\x01\n\x11\x44\x65leteHTTPSConfig\x12\x37.yandex.cloud.storage.v1.DeleteBucketHTTPSConfigRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*8\n\x1f\x44\x65leteBucketHTTPSConfigMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.\",/storage/v1/buckets/{name}:deleteHttpsConfig\x12\xe2\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"{\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x38\"3/storage/v1/buckets/{resource_id}:setAccessBindings:\x01*\x12\xef\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x81\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02;26/storage/v1/buckets/{resource_id}:updateAccessBindings:\x01*\x12\xb3\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/storage/v1/buckets/{resource_id}:listAccessBindingsBb\n\x1byandex.cloud.api.storage.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/storage/v1;storageb\x06proto3')
|
|
36
36
|
|
|
37
37
|
_globals = globals()
|
|
38
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -86,6 +86,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
86
86
|
_globals['_BUCKETSERVICE'].methods_by_name['SetHTTPSConfig']._serialized_options = b'\262\322*+\n\034SetBucketHTTPSConfigMetadata\022\013HTTPSConfig\202\323\344\223\002.\")/storage/v1/buckets/{name}:setHttpsConfig:\001*'
|
|
87
87
|
_globals['_BUCKETSERVICE'].methods_by_name['DeleteHTTPSConfig']._loaded_options = None
|
|
88
88
|
_globals['_BUCKETSERVICE'].methods_by_name['DeleteHTTPSConfig']._serialized_options = b'\262\322*8\n\037DeleteBucketHTTPSConfigMetadata\022\025google.protobuf.Empty\202\323\344\223\002.\",/storage/v1/buckets/{name}:deleteHttpsConfig'
|
|
89
|
+
_globals['_BUCKETSERVICE'].methods_by_name['SetAccessBindings']._loaded_options = None
|
|
90
|
+
_globals['_BUCKETSERVICE'].methods_by_name['SetAccessBindings']._serialized_options = b'\262\322*9\n access.SetAccessBindingsMetadata\022\025google.protobuf.Empty\202\323\344\223\0028\"3/storage/v1/buckets/{resource_id}:setAccessBindings:\001*'
|
|
89
91
|
_globals['_BUCKETSERVICE'].methods_by_name['UpdateAccessBindings']._loaded_options = None
|
|
90
92
|
_globals['_BUCKETSERVICE'].methods_by_name['UpdateAccessBindings']._serialized_options = b'\262\322*<\n#access.UpdateAccessBindingsMetadata\022\025google.protobuf.Empty\202\323\344\223\002;26/storage/v1/buckets/{resource_id}:updateAccessBindings:\001*'
|
|
91
93
|
_globals['_BUCKETSERVICE'].methods_by_name['ListAccessBindings']._loaded_options = None
|
|
@@ -127,5 +129,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
127
129
|
_globals['_DELETEBUCKETHTTPSCONFIGMETADATA']._serialized_start=2721
|
|
128
130
|
_globals['_DELETEBUCKETHTTPSCONFIGMETADATA']._serialized_end=2768
|
|
129
131
|
_globals['_BUCKETSERVICE']._serialized_start=2771
|
|
130
|
-
_globals['_BUCKETSERVICE']._serialized_end=
|
|
132
|
+
_globals['_BUCKETSERVICE']._serialized_end=4929
|
|
131
133
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -83,6 +83,11 @@ class BucketServiceStub(object):
|
|
|
83
83
|
request_serializer=yandex_dot_cloud_dot_storage_dot_v1_dot_bucket__service__pb2.DeleteBucketHTTPSConfigRequest.SerializeToString,
|
|
84
84
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
85
85
|
_registered_method=True)
|
|
86
|
+
self.SetAccessBindings = channel.unary_unary(
|
|
87
|
+
'/yandex.cloud.storage.v1.BucketService/SetAccessBindings',
|
|
88
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
|
|
89
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
90
|
+
_registered_method=True)
|
|
86
91
|
self.UpdateAccessBindings = channel.unary_unary(
|
|
87
92
|
'/yandex.cloud.storage.v1.BucketService/UpdateAccessBindings',
|
|
88
93
|
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
|
|
@@ -172,6 +177,12 @@ class BucketServiceServicer(object):
|
|
|
172
177
|
context.set_details('Method not implemented!')
|
|
173
178
|
raise NotImplementedError('Method not implemented!')
|
|
174
179
|
|
|
180
|
+
def SetAccessBindings(self, request, context):
|
|
181
|
+
"""Missing associated documentation comment in .proto file."""
|
|
182
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
183
|
+
context.set_details('Method not implemented!')
|
|
184
|
+
raise NotImplementedError('Method not implemented!')
|
|
185
|
+
|
|
175
186
|
def UpdateAccessBindings(self, request, context):
|
|
176
187
|
"""Missing associated documentation comment in .proto file."""
|
|
177
188
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -232,6 +243,11 @@ def add_BucketServiceServicer_to_server(servicer, server):
|
|
|
232
243
|
request_deserializer=yandex_dot_cloud_dot_storage_dot_v1_dot_bucket__service__pb2.DeleteBucketHTTPSConfigRequest.FromString,
|
|
233
244
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
234
245
|
),
|
|
246
|
+
'SetAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
247
|
+
servicer.SetAccessBindings,
|
|
248
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.FromString,
|
|
249
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
250
|
+
),
|
|
235
251
|
'UpdateAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
236
252
|
servicer.UpdateAccessBindings,
|
|
237
253
|
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.FromString,
|
|
@@ -497,6 +513,33 @@ class BucketService(object):
|
|
|
497
513
|
metadata,
|
|
498
514
|
_registered_method=True)
|
|
499
515
|
|
|
516
|
+
@staticmethod
|
|
517
|
+
def SetAccessBindings(request,
|
|
518
|
+
target,
|
|
519
|
+
options=(),
|
|
520
|
+
channel_credentials=None,
|
|
521
|
+
call_credentials=None,
|
|
522
|
+
insecure=False,
|
|
523
|
+
compression=None,
|
|
524
|
+
wait_for_ready=None,
|
|
525
|
+
timeout=None,
|
|
526
|
+
metadata=None):
|
|
527
|
+
return grpc.experimental.unary_unary(
|
|
528
|
+
request,
|
|
529
|
+
target,
|
|
530
|
+
'/yandex.cloud.storage.v1.BucketService/SetAccessBindings',
|
|
531
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
|
|
532
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
533
|
+
options,
|
|
534
|
+
channel_credentials,
|
|
535
|
+
insecure,
|
|
536
|
+
call_credentials,
|
|
537
|
+
compression,
|
|
538
|
+
wait_for_ready,
|
|
539
|
+
timeout,
|
|
540
|
+
metadata,
|
|
541
|
+
_registered_method=True)
|
|
542
|
+
|
|
500
543
|
@staticmethod
|
|
501
544
|
def UpdateAccessBindings(request,
|
|
502
545
|
target,
|
|
@@ -92,6 +92,11 @@ class BucketServiceStub:
|
|
|
92
92
|
]
|
|
93
93
|
"""Deletes the HTTPS configuration for the specified bucket."""
|
|
94
94
|
|
|
95
|
+
SetAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
96
|
+
yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
97
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
98
|
+
]
|
|
99
|
+
|
|
95
100
|
UpdateAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
96
101
|
yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
97
102
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -173,6 +178,11 @@ class BucketServiceAsyncStub:
|
|
|
173
178
|
]
|
|
174
179
|
"""Deletes the HTTPS configuration for the specified bucket."""
|
|
175
180
|
|
|
181
|
+
SetAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
182
|
+
yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
183
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
184
|
+
]
|
|
185
|
+
|
|
176
186
|
UpdateAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
177
187
|
yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
|
|
178
188
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -272,6 +282,13 @@ class BucketServiceServicer(metaclass=abc.ABCMeta):
|
|
|
272
282
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
273
283
|
"""Deletes the HTTPS configuration for the specified bucket."""
|
|
274
284
|
|
|
285
|
+
@abc.abstractmethod
|
|
286
|
+
def SetAccessBindings(
|
|
287
|
+
self,
|
|
288
|
+
request: yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
|
|
289
|
+
context: _ServicerContext,
|
|
290
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
291
|
+
|
|
275
292
|
@abc.abstractmethod
|
|
276
293
|
def UpdateAccessBindings(
|
|
277
294
|
self,
|
|
@@ -31,7 +31,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
31
31
|
from yandex.cloud.video.v1 import channel_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_channel__pb2
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_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/access/access.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/channel.proto\"5\n\x11GetChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_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/access/access.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/channel.proto\"5\n\x11GetChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xb9\x01\n\x13ListChannelsRequest\x12%\n\x0forganization_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\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000\x12\x1a\n\x08order_by\x18\x66 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"g\n\x14ListChannelsResponse\x12\x30\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xfc\x02\n\x14\x43reateChannelRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x05title\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=300\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=4000\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.CreateChannelRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-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\x39\n\x08settings\x18\xc9\x01 \x01(\x0b\x32&.yandex.cloud.video.v1.ChannelSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x04\x10\xc8\x01\"+\n\x15\x43reateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"\xa9\x03\n\x14UpdateChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x18\n\x05title\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=300\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=4000\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.UpdateChannelRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-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\x39\n\x08settings\x18\xc9\x01 \x01(\x0b\x32&.yandex.cloud.video.v1.ChannelSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x05\x10\xc8\x01\"+\n\x15UpdateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"k\n\x1a\x42\x61tchDeleteChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0b\x63hannel_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"2\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x13\n\x0b\x63hannel_ids\x18\x01 \x03(\t2\xf8\x0c\n\x0e\x43hannelService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetChannelRequest\x1a\x1e.yandex.cloud.video.v1.Channel\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/channels/{channel_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListChannelsRequest\x1a+.yandex.cloud.video.v1.ListChannelsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/channels\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateChannelRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/channels:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateChannelRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02$2\x1f/video/v1/channels/{channel_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteChannelRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteChannelMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/channels/{channel_id}\x12\xc6\x01\n\x0b\x42\x61tchDelete\x12\x31.yandex.cloud.video.v1.BatchDeleteChannelsRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*4\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#\"\x1e/video/v1/channels:batchDelete:\x01*\x12\xb2\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/video/v1/channels/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02\x37\"2/video/v1/channels/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:25/video/v1/channels/{resource_id}:updateAccessBindings:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -47,6 +47,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
47
47
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
48
48
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
49
49
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
|
|
50
|
+
_globals['_LISTCHANNELSREQUEST'].fields_by_name['order_by']._loaded_options = None
|
|
51
|
+
_globals['_LISTCHANNELSREQUEST'].fields_by_name['order_by']._serialized_options = b'\212\3101\004<=50'
|
|
50
52
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
51
53
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
52
54
|
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._loaded_options = None
|
|
@@ -54,7 +56,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
54
56
|
_globals['_CREATECHANNELREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
55
57
|
_globals['_CREATECHANNELREQUEST'].fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
58
|
_globals['_CREATECHANNELREQUEST'].fields_by_name['title']._loaded_options = None
|
|
57
|
-
_globals['_CREATECHANNELREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001\212\3101\
|
|
59
|
+
_globals['_CREATECHANNELREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001\212\3101\005<=300'
|
|
60
|
+
_globals['_CREATECHANNELREQUEST'].fields_by_name['description']._loaded_options = None
|
|
61
|
+
_globals['_CREATECHANNELREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=4000'
|
|
58
62
|
_globals['_CREATECHANNELREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
59
63
|
_globals['_CREATECHANNELREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\022[-_.@:/0-9a-zA-Z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
60
64
|
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._loaded_options = None
|
|
@@ -64,7 +68,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
64
68
|
_globals['_UPDATECHANNELREQUEST'].fields_by_name['field_mask']._loaded_options = None
|
|
65
69
|
_globals['_UPDATECHANNELREQUEST'].fields_by_name['field_mask']._serialized_options = b'\350\3071\001'
|
|
66
70
|
_globals['_UPDATECHANNELREQUEST'].fields_by_name['title']._loaded_options = None
|
|
67
|
-
_globals['_UPDATECHANNELREQUEST'].fields_by_name['title']._serialized_options = b'\212\3101\
|
|
71
|
+
_globals['_UPDATECHANNELREQUEST'].fields_by_name['title']._serialized_options = b'\212\3101\005<=300'
|
|
72
|
+
_globals['_UPDATECHANNELREQUEST'].fields_by_name['description']._loaded_options = None
|
|
73
|
+
_globals['_UPDATECHANNELREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=4000'
|
|
68
74
|
_globals['_UPDATECHANNELREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
69
75
|
_globals['_UPDATECHANNELREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\022[-_.@:/0-9a-zA-Z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
70
76
|
_globals['_DELETECHANNELREQUEST'].fields_by_name['channel_id']._loaded_options = None
|
|
@@ -94,29 +100,29 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
94
100
|
_globals['_GETCHANNELREQUEST']._serialized_start=310
|
|
95
101
|
_globals['_GETCHANNELREQUEST']._serialized_end=363
|
|
96
102
|
_globals['_LISTCHANNELSREQUEST']._serialized_start=366
|
|
97
|
-
_globals['_LISTCHANNELSREQUEST']._serialized_end=
|
|
98
|
-
_globals['_LISTCHANNELSRESPONSE']._serialized_start=
|
|
99
|
-
_globals['_LISTCHANNELSRESPONSE']._serialized_end=
|
|
100
|
-
_globals['_CREATECHANNELREQUEST']._serialized_start=
|
|
101
|
-
_globals['_CREATECHANNELREQUEST']._serialized_end=
|
|
102
|
-
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_start=
|
|
103
|
-
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_end=
|
|
104
|
-
_globals['_CREATECHANNELMETADATA']._serialized_start=
|
|
105
|
-
_globals['_CREATECHANNELMETADATA']._serialized_end=
|
|
106
|
-
_globals['_UPDATECHANNELREQUEST']._serialized_start=
|
|
107
|
-
_globals['_UPDATECHANNELREQUEST']._serialized_end=
|
|
108
|
-
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=
|
|
109
|
-
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=
|
|
110
|
-
_globals['_UPDATECHANNELMETADATA']._serialized_start=
|
|
111
|
-
_globals['_UPDATECHANNELMETADATA']._serialized_end=
|
|
112
|
-
_globals['_DELETECHANNELREQUEST']._serialized_start=
|
|
113
|
-
_globals['_DELETECHANNELREQUEST']._serialized_end=
|
|
114
|
-
_globals['_DELETECHANNELMETADATA']._serialized_start=
|
|
115
|
-
_globals['_DELETECHANNELMETADATA']._serialized_end=
|
|
116
|
-
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=
|
|
117
|
-
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=
|
|
118
|
-
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=
|
|
119
|
-
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=
|
|
120
|
-
_globals['_CHANNELSERVICE']._serialized_start=
|
|
121
|
-
_globals['_CHANNELSERVICE']._serialized_end=
|
|
103
|
+
_globals['_LISTCHANNELSREQUEST']._serialized_end=551
|
|
104
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_start=553
|
|
105
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_end=656
|
|
106
|
+
_globals['_CREATECHANNELREQUEST']._serialized_start=659
|
|
107
|
+
_globals['_CREATECHANNELREQUEST']._serialized_end=1039
|
|
108
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_start=987
|
|
109
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_end=1032
|
|
110
|
+
_globals['_CREATECHANNELMETADATA']._serialized_start=1041
|
|
111
|
+
_globals['_CREATECHANNELMETADATA']._serialized_end=1084
|
|
112
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_start=1087
|
|
113
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_end=1512
|
|
114
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=987
|
|
115
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=1032
|
|
116
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_start=1514
|
|
117
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_end=1557
|
|
118
|
+
_globals['_DELETECHANNELREQUEST']._serialized_start=1559
|
|
119
|
+
_globals['_DELETECHANNELREQUEST']._serialized_end=1615
|
|
120
|
+
_globals['_DELETECHANNELMETADATA']._serialized_start=1617
|
|
121
|
+
_globals['_DELETECHANNELMETADATA']._serialized_end=1660
|
|
122
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=1662
|
|
123
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=1769
|
|
124
|
+
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=1771
|
|
125
|
+
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=1821
|
|
126
|
+
_globals['_CHANNELSERVICE']._serialized_start=1824
|
|
127
|
+
_globals['_CHANNELSERVICE']._serialized_end=3480
|
|
122
128
|
# @@protoc_insertion_point(module_scope)
|