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
|
@@ -28,7 +28,7 @@ from yandex.cloud.monitoring.v3 import title_widget_pb2 as yandex_dot_cloud_dot_
|
|
|
28
28
|
from yandex.cloud.monitoring.v3 import multi_source_chart_widget_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_multi__source__chart__widget__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/monitoring/v3/widget.proto\x12\x1ayandex.cloud.monitoring.v3\x1a-yandex/cloud/monitoring/v3/chart_widget.proto\x1a,yandex/cloud/monitoring/v3/text_widget.proto\x1a-yandex/cloud/monitoring/v3/title_widget.proto\x1a:yandex/cloud/monitoring/v3/multi_source_chart_widget.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/monitoring/v3/widget.proto\x12\x1ayandex.cloud.monitoring.v3\x1a-yandex/cloud/monitoring/v3/chart_widget.proto\x1a,yandex/cloud/monitoring/v3/text_widget.proto\x1a-yandex/cloud/monitoring/v3/title_widget.proto\x1a:yandex/cloud/monitoring/v3/multi_source_chart_widget.proto\"\x9f\x03\n\x06Widget\x12\x43\n\x08position\x18\x01 \x01(\x0b\x32\x31.yandex.cloud.monitoring.v3.Widget.LayoutPosition\x12\x36\n\x04text\x18\x02 \x01(\x0b\x32&.yandex.cloud.monitoring.v3.TextWidgetH\x00\x12\x38\n\x05title\x18\x03 \x01(\x0b\x32\'.yandex.cloud.monitoring.v3.TitleWidgetH\x00\x12\x38\n\x05\x63hart\x18\x05 \x01(\x0b\x32\'.yandex.cloud.monitoring.v3.ChartWidgetH\x00\x12P\n\x12multi_source_chart\x18\n \x01(\x0b\x32\x32.yandex.cloud.monitoring.v3.MultiSourceChartWidgetH\x00\x1a<\n\x0eLayoutPosition\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x12\t\n\x01w\x18\x03 \x01(\x03\x12\t\n\x01h\x18\x04 \x01(\x03\x42\x08\n\x06widgetJ\x04\x08\x04\x10\x05J\x04\x08\x06\x10\nBk\n\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,7 +37,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
38
|
_globals['DESCRIPTOR']._serialized_options = b'\n\036yandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoring'
|
|
39
39
|
_globals['_WIDGET']._serialized_start=272
|
|
40
|
-
_globals['_WIDGET']._serialized_end=
|
|
40
|
+
_globals['_WIDGET']._serialized_end=687
|
|
41
41
|
_globals['_WIDGET_LAYOUTPOSITION']._serialized_start=605
|
|
42
42
|
_globals['_WIDGET_LAYOUTPOSITION']._serialized_end=665
|
|
43
43
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -106,7 +106,7 @@ class ApiGatewayServiceServicer(object):
|
|
|
106
106
|
|
|
107
107
|
def Get(self, request, context):
|
|
108
108
|
"""Returns the specified API gateway. Note that only API gateway basic attributes are returned.
|
|
109
|
-
To get associated openapi specification, make a [GetOpenapiSpec]
|
|
109
|
+
To get associated openapi specification, make a [GetOpenapiSpec] request.
|
|
110
110
|
|
|
111
111
|
To get the list of all available API gateways, make a [List] request.
|
|
112
112
|
"""
|
|
@@ -29,7 +29,7 @@ class ApiGatewayServiceStub:
|
|
|
29
29
|
yandex.cloud.serverless.apigateway.v1.apigateway_pb2.ApiGateway,
|
|
30
30
|
]
|
|
31
31
|
"""Returns the specified API gateway. Note that only API gateway basic attributes are returned.
|
|
32
|
-
To get associated openapi specification, make a [GetOpenapiSpec]
|
|
32
|
+
To get associated openapi specification, make a [GetOpenapiSpec] request.
|
|
33
33
|
|
|
34
34
|
To get the list of all available API gateways, make a [List] request.
|
|
35
35
|
"""
|
|
@@ -108,7 +108,7 @@ class ApiGatewayServiceAsyncStub:
|
|
|
108
108
|
yandex.cloud.serverless.apigateway.v1.apigateway_pb2.ApiGateway,
|
|
109
109
|
]
|
|
110
110
|
"""Returns the specified API gateway. Note that only API gateway basic attributes are returned.
|
|
111
|
-
To get associated openapi specification, make a [GetOpenapiSpec]
|
|
111
|
+
To get associated openapi specification, make a [GetOpenapiSpec] request.
|
|
112
112
|
|
|
113
113
|
To get the list of all available API gateways, make a [List] request.
|
|
114
114
|
"""
|
|
@@ -189,7 +189,7 @@ class ApiGatewayServiceServicer(metaclass=abc.ABCMeta):
|
|
|
189
189
|
context: _ServicerContext,
|
|
190
190
|
) -> typing.Union[yandex.cloud.serverless.apigateway.v1.apigateway_pb2.ApiGateway, collections.abc.Awaitable[yandex.cloud.serverless.apigateway.v1.apigateway_pb2.ApiGateway]]:
|
|
191
191
|
"""Returns the specified API gateway. Note that only API gateway basic attributes are returned.
|
|
192
|
-
To get associated openapi specification, make a [GetOpenapiSpec]
|
|
192
|
+
To get associated openapi specification, make a [GetOpenapiSpec] request.
|
|
193
193
|
|
|
194
194
|
To get the list of all available API gateways, make a [List] request.
|
|
195
195
|
"""
|
|
@@ -163,7 +163,7 @@ class ContainerServiceServicer(object):
|
|
|
163
163
|
def GetRevision(self, request, context):
|
|
164
164
|
"""Returns the specified revision of a container.
|
|
165
165
|
|
|
166
|
-
To get the list of available
|
|
166
|
+
To get the list of available revisions, make a [ListRevisions] request.
|
|
167
167
|
"""
|
|
168
168
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
169
169
|
context.set_details('Method not implemented!')
|
|
@@ -75,7 +75,7 @@ class ContainerServiceStub:
|
|
|
75
75
|
]
|
|
76
76
|
"""Returns the specified revision of a container.
|
|
77
77
|
|
|
78
|
-
To get the list of available
|
|
78
|
+
To get the list of available revisions, make a [ListRevisions] request.
|
|
79
79
|
"""
|
|
80
80
|
|
|
81
81
|
ListRevisions: grpc.UnaryUnaryMultiCallable[
|
|
@@ -164,7 +164,7 @@ class ContainerServiceAsyncStub:
|
|
|
164
164
|
]
|
|
165
165
|
"""Returns the specified revision of a container.
|
|
166
166
|
|
|
167
|
-
To get the list of available
|
|
167
|
+
To get the list of available revisions, make a [ListRevisions] request.
|
|
168
168
|
"""
|
|
169
169
|
|
|
170
170
|
ListRevisions: grpc.aio.UnaryUnaryMultiCallable[
|
|
@@ -269,7 +269,7 @@ class ContainerServiceServicer(metaclass=abc.ABCMeta):
|
|
|
269
269
|
) -> typing.Union[yandex.cloud.serverless.containers.v1.container_pb2.Revision, collections.abc.Awaitable[yandex.cloud.serverless.containers.v1.container_pb2.Revision]]:
|
|
270
270
|
"""Returns the specified revision of a container.
|
|
271
271
|
|
|
272
|
-
To get the list of available
|
|
272
|
+
To get the list of available revisions, make a [ListRevisions] request.
|
|
273
273
|
"""
|
|
274
274
|
|
|
275
275
|
@abc.abstractmethod
|
|
@@ -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\"\xc7\x05\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\"!\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x92\x04\n\x03\x41\x43L\x12\x32\n\x06grants\x18\x01 \x03(\x0b\x32\".yandex.cloud.storage.v1.ACL.Grant\x1a\xd6\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\x12\n\ngrantee_id\x18\x03 \x01(\t\"\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*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\"\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\"\x92\x04\n\x03\x41\x43L\x12\x32\n\x06grants\x18\x01 \x03(\x0b\x32\".yandex.cloud.storage.v1.ACL.Grant\x1a\xd6\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\x12\n\ngrantee_id\x18\x03 \x01(\t\"\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)
|
|
@@ -52,80 +52,82 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
52
|
_globals['_LIFECYCLERULE_TRANSITION'].fields_by_name['storage_class']._serialized_options = b'\350\3071\001'
|
|
53
53
|
_globals['_OBJECTLOCK_DEFAULTRETENTION'].oneofs_by_name['period']._loaded_options = None
|
|
54
54
|
_globals['_OBJECTLOCK_DEFAULTRETENTION'].oneofs_by_name['period']._serialized_options = b'\300\3011\001'
|
|
55
|
-
_globals['_VERSIONING']._serialized_start=
|
|
56
|
-
_globals['_VERSIONING']._serialized_end=
|
|
55
|
+
_globals['_VERSIONING']._serialized_start=6890
|
|
56
|
+
_globals['_VERSIONING']._serialized_end=7005
|
|
57
57
|
_globals['_BUCKET']._serialized_start=192
|
|
58
|
-
_globals['_BUCKET']._serialized_end=
|
|
59
|
-
_globals['_TAG']._serialized_start=
|
|
60
|
-
_globals['_TAG']._serialized_end=
|
|
61
|
-
_globals['_ACL']._serialized_start=
|
|
62
|
-
_globals['_ACL']._serialized_end=
|
|
63
|
-
_globals['_ACL_GRANT']._serialized_start=
|
|
64
|
-
_globals['_ACL_GRANT']._serialized_end=
|
|
65
|
-
_globals['_ACL_GRANT_PERMISSION']._serialized_start=
|
|
66
|
-
_globals['_ACL_GRANT_PERMISSION']._serialized_end=
|
|
67
|
-
_globals['_ACL_GRANT_GRANTTYPE']._serialized_start=
|
|
68
|
-
_globals['_ACL_GRANT_GRANTTYPE']._serialized_end=
|
|
69
|
-
_globals['_ANONYMOUSACCESSFLAGS']._serialized_start=
|
|
70
|
-
_globals['_ANONYMOUSACCESSFLAGS']._serialized_end=
|
|
71
|
-
_globals['_CORSRULE']._serialized_start=
|
|
72
|
-
_globals['_CORSRULE']._serialized_end=
|
|
73
|
-
_globals['_CORSRULE_METHOD']._serialized_start=
|
|
74
|
-
_globals['_CORSRULE_METHOD']._serialized_end=
|
|
75
|
-
_globals['_WEBSITESETTINGS']._serialized_start=
|
|
76
|
-
_globals['_WEBSITESETTINGS']._serialized_end=
|
|
77
|
-
_globals['_WEBSITESETTINGS_SCHEME']._serialized_start=
|
|
78
|
-
_globals['_WEBSITESETTINGS_SCHEME']._serialized_end=
|
|
79
|
-
_globals['_WEBSITESETTINGS_CONDITION']._serialized_start=
|
|
80
|
-
_globals['_WEBSITESETTINGS_CONDITION']._serialized_end=
|
|
81
|
-
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_start=
|
|
82
|
-
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_end=
|
|
83
|
-
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_start=
|
|
84
|
-
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_end=
|
|
85
|
-
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_start=
|
|
86
|
-
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_end=
|
|
87
|
-
_globals['_LIFECYCLERULE']._serialized_start=
|
|
88
|
-
_globals['_LIFECYCLERULE']._serialized_end=
|
|
89
|
-
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_start=
|
|
90
|
-
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_end=
|
|
91
|
-
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_start=
|
|
92
|
-
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_end=
|
|
93
|
-
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_start=
|
|
94
|
-
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_end=
|
|
95
|
-
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_start=
|
|
96
|
-
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_end=
|
|
97
|
-
_globals['_LIFECYCLERULE_TRANSITION']._serialized_start=
|
|
98
|
-
_globals['_LIFECYCLERULE_TRANSITION']._serialized_end=
|
|
99
|
-
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_start=
|
|
100
|
-
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_end=
|
|
101
|
-
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_start=
|
|
102
|
-
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_end=
|
|
103
|
-
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_start=
|
|
104
|
-
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_end=
|
|
105
|
-
_globals['_COUNTERS']._serialized_start=
|
|
106
|
-
_globals['_COUNTERS']._serialized_end=
|
|
107
|
-
_globals['_OPTIONALSIZEBYCLASS']._serialized_start=
|
|
108
|
-
_globals['_OPTIONALSIZEBYCLASS']._serialized_end=
|
|
109
|
-
_globals['_SIZEBYCLASS']._serialized_start=
|
|
110
|
-
_globals['_SIZEBYCLASS']._serialized_end=
|
|
111
|
-
_globals['_COUNTERSBYCLASS']._serialized_start=
|
|
112
|
-
_globals['_COUNTERSBYCLASS']._serialized_end=
|
|
113
|
-
_globals['_BUCKETSTATS']._serialized_start=
|
|
114
|
-
_globals['_BUCKETSTATS']._serialized_end=
|
|
115
|
-
_globals['_HTTPSCONFIG']._serialized_start=
|
|
116
|
-
_globals['_HTTPSCONFIG']._serialized_end=
|
|
117
|
-
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_start=
|
|
118
|
-
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_end=
|
|
119
|
-
_globals['_OBJECTLOCK']._serialized_start=
|
|
120
|
-
_globals['_OBJECTLOCK']._serialized_end=
|
|
121
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_start=
|
|
122
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_end=
|
|
123
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_start=
|
|
124
|
-
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_end=
|
|
125
|
-
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_start=
|
|
126
|
-
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_end=
|
|
127
|
-
_globals['_ENCRYPTION']._serialized_start=
|
|
128
|
-
_globals['_ENCRYPTION']._serialized_end=
|
|
129
|
-
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_start=
|
|
130
|
-
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_end=
|
|
58
|
+
_globals['_BUCKET']._serialized_end=994
|
|
59
|
+
_globals['_TAG']._serialized_start=996
|
|
60
|
+
_globals['_TAG']._serialized_end=1029
|
|
61
|
+
_globals['_ACL']._serialized_start=1032
|
|
62
|
+
_globals['_ACL']._serialized_end=1562
|
|
63
|
+
_globals['_ACL_GRANT']._serialized_start=1092
|
|
64
|
+
_globals['_ACL_GRANT']._serialized_end=1562
|
|
65
|
+
_globals['_ACL_GRANT_PERMISSION']._serialized_start=1267
|
|
66
|
+
_globals['_ACL_GRANT_PERMISSION']._serialized_end=1430
|
|
67
|
+
_globals['_ACL_GRANT_GRANTTYPE']._serialized_start=1433
|
|
68
|
+
_globals['_ACL_GRANT_GRANTTYPE']._serialized_end=1562
|
|
69
|
+
_globals['_ANONYMOUSACCESSFLAGS']._serialized_start=1565
|
|
70
|
+
_globals['_ANONYMOUSACCESSFLAGS']._serialized_end=1720
|
|
71
|
+
_globals['_CORSRULE']._serialized_start=1723
|
|
72
|
+
_globals['_CORSRULE']._serialized_end=2079
|
|
73
|
+
_globals['_CORSRULE_METHOD']._serialized_start=1962
|
|
74
|
+
_globals['_CORSRULE_METHOD']._serialized_end=2079
|
|
75
|
+
_globals['_WEBSITESETTINGS']._serialized_start=2082
|
|
76
|
+
_globals['_WEBSITESETTINGS']._serialized_end=2910
|
|
77
|
+
_globals['_WEBSITESETTINGS_SCHEME']._serialized_start=2288
|
|
78
|
+
_globals['_WEBSITESETTINGS_SCHEME']._serialized_end=2383
|
|
79
|
+
_globals['_WEBSITESETTINGS_CONDITION']._serialized_start=2385
|
|
80
|
+
_globals['_WEBSITESETTINGS_CONDITION']._serialized_end=2464
|
|
81
|
+
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_start=2467
|
|
82
|
+
_globals['_WEBSITESETTINGS_REDIRECT']._serialized_end=2677
|
|
83
|
+
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_start=2680
|
|
84
|
+
_globals['_WEBSITESETTINGS_ROUTINGRULE']._serialized_end=2833
|
|
85
|
+
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_start=2835
|
|
86
|
+
_globals['_WEBSITESETTINGS_PROTOCOL']._serialized_end=2910
|
|
87
|
+
_globals['_LIFECYCLERULE']._serialized_start=2913
|
|
88
|
+
_globals['_LIFECYCLERULE']._serialized_end=4678
|
|
89
|
+
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_start=3576
|
|
90
|
+
_globals['_LIFECYCLERULE_AFTERDAYS']._serialized_end=3647
|
|
91
|
+
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_start=3649
|
|
92
|
+
_globals['_LIFECYCLERULE_NONCURRENTDELETEMARKERS']._serialized_end=3728
|
|
93
|
+
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_start=3730
|
|
94
|
+
_globals['_LIFECYCLERULE_NONCURRENTEXPIRATION']._serialized_end=3806
|
|
95
|
+
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_start=3808
|
|
96
|
+
_globals['_LIFECYCLERULE_NONCURRENTTRANSITION']._serialized_end=3913
|
|
97
|
+
_globals['_LIFECYCLERULE_TRANSITION']._serialized_start=3916
|
|
98
|
+
_globals['_LIFECYCLERULE_TRANSITION']._serialized_end=4048
|
|
99
|
+
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_start=4051
|
|
100
|
+
_globals['_LIFECYCLERULE_EXPIRATION']._serialized_end=4214
|
|
101
|
+
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_start=4217
|
|
102
|
+
_globals['_LIFECYCLERULE_RULEFILTER']._serialized_end=4678
|
|
103
|
+
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_start=4491
|
|
104
|
+
_globals['_LIFECYCLERULE_RULEFILTER_AND']._serialized_end=4678
|
|
105
|
+
_globals['_COUNTERS']._serialized_start=4681
|
|
106
|
+
_globals['_COUNTERS']._serialized_end=4902
|
|
107
|
+
_globals['_OPTIONALSIZEBYCLASS']._serialized_start=4904
|
|
108
|
+
_globals['_OPTIONALSIZEBYCLASS']._serialized_end=4997
|
|
109
|
+
_globals['_SIZEBYCLASS']._serialized_start=4999
|
|
110
|
+
_globals['_SIZEBYCLASS']._serialized_end=5055
|
|
111
|
+
_globals['_COUNTERSBYCLASS']._serialized_start=5057
|
|
112
|
+
_globals['_COUNTERSBYCLASS']._serialized_end=5150
|
|
113
|
+
_globals['_BUCKETSTATS']._serialized_start=5153
|
|
114
|
+
_globals['_BUCKETSTATS']._serialized_end=5707
|
|
115
|
+
_globals['_HTTPSCONFIG']._serialized_start=5710
|
|
116
|
+
_globals['_HTTPSCONFIG']._serialized_end=6159
|
|
117
|
+
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_start=6040
|
|
118
|
+
_globals['_HTTPSCONFIG_SOURCETYPE']._serialized_end=6159
|
|
119
|
+
_globals['_OBJECTLOCK']._serialized_start=6162
|
|
120
|
+
_globals['_OBJECTLOCK']._serialized_end=6661
|
|
121
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_start=6328
|
|
122
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION']._serialized_end=6540
|
|
123
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_start=6454
|
|
124
|
+
_globals['_OBJECTLOCK_DEFAULTRETENTION_MODE']._serialized_end=6524
|
|
125
|
+
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_start=6542
|
|
126
|
+
_globals['_OBJECTLOCK_OBJECTLOCKSTATUS']._serialized_end=6661
|
|
127
|
+
_globals['_ENCRYPTION']._serialized_start=6664
|
|
128
|
+
_globals['_ENCRYPTION']._serialized_end=6811
|
|
129
|
+
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_start=6745
|
|
130
|
+
_globals['_ENCRYPTION_ENCRYPTIONRULE']._serialized_end=6811
|
|
131
|
+
_globals['_BUCKETALLOWEDPRIVATEENDPOINTS']._serialized_start=6813
|
|
132
|
+
_globals['_BUCKETALLOWEDPRIVATEENDPOINTS']._serialized_end=6888
|
|
131
133
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -103,6 +103,7 @@ class Bucket(google.protobuf.message.Message):
|
|
|
103
103
|
TAGS_FIELD_NUMBER: builtins.int
|
|
104
104
|
OBJECT_LOCK_FIELD_NUMBER: builtins.int
|
|
105
105
|
ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
106
|
+
ALLOWED_PRIVATE_ENDPOINTS_FIELD_NUMBER: builtins.int
|
|
106
107
|
id: builtins.str
|
|
107
108
|
"""ID of the bucket. Always equal to [name], which has priority."""
|
|
108
109
|
name: builtins.str
|
|
@@ -181,9 +182,13 @@ class Bucket(google.protobuf.message.Message):
|
|
|
181
182
|
@property
|
|
182
183
|
def encryption(self) -> global___Encryption:
|
|
183
184
|
"""Configuration for bucket's encryption
|
|
184
|
-
For
|
|
185
|
+
For details, see [documentation](/docs/storage/concepts/encryption)
|
|
185
186
|
"""
|
|
186
187
|
|
|
188
|
+
@property
|
|
189
|
+
def allowed_private_endpoints(self) -> global___BucketAllowedPrivateEndpoints:
|
|
190
|
+
"""Bucket allowed private endpoints."""
|
|
191
|
+
|
|
187
192
|
def __init__(
|
|
188
193
|
self,
|
|
189
194
|
*,
|
|
@@ -203,9 +208,10 @@ class Bucket(google.protobuf.message.Message):
|
|
|
203
208
|
tags: collections.abc.Iterable[global___Tag] | None = ...,
|
|
204
209
|
object_lock: global___ObjectLock | None = ...,
|
|
205
210
|
encryption: global___Encryption | None = ...,
|
|
211
|
+
allowed_private_endpoints: global___BucketAllowedPrivateEndpoints | None = ...,
|
|
206
212
|
) -> None: ...
|
|
207
|
-
def HasField(self, field_name: typing.Literal["acl", b"acl", "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: ...
|
|
208
|
-
def ClearField(self, field_name: typing.Literal["acl", b"acl", "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: ...
|
|
213
|
+
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: ...
|
|
209
215
|
|
|
210
216
|
global___Bucket = Bucket
|
|
211
217
|
|
|
@@ -1463,3 +1469,27 @@ class Encryption(google.protobuf.message.Message):
|
|
|
1463
1469
|
def ClearField(self, field_name: typing.Literal["rules", b"rules"]) -> None: ...
|
|
1464
1470
|
|
|
1465
1471
|
global___Encryption = Encryption
|
|
1472
|
+
|
|
1473
|
+
@typing.final
|
|
1474
|
+
class BucketAllowedPrivateEndpoints(google.protobuf.message.Message):
|
|
1475
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1476
|
+
|
|
1477
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
1478
|
+
PRIVATE_ENDPOINTS_FIELD_NUMBER: builtins.int
|
|
1479
|
+
enabled: builtins.bool
|
|
1480
|
+
"""if true, private endpoints white list check is enabled
|
|
1481
|
+
even if private_endpoints list is empty
|
|
1482
|
+
"""
|
|
1483
|
+
@property
|
|
1484
|
+
def private_endpoints(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1485
|
+
"""white list of private endpoints bucket accessible from"""
|
|
1486
|
+
|
|
1487
|
+
def __init__(
|
|
1488
|
+
self,
|
|
1489
|
+
*,
|
|
1490
|
+
enabled: builtins.bool = ...,
|
|
1491
|
+
private_endpoints: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1492
|
+
) -> None: ...
|
|
1493
|
+
def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "private_endpoints", b"private_endpoints"]) -> None: ...
|
|
1494
|
+
|
|
1495
|
+
global___BucketAllowedPrivateEndpoints = BucketAllowedPrivateEndpoints
|
|
@@ -31,7 +31,7 @@ from yandex.cloud.storage.v1 import bucket_pb2 as yandex_dot_cloud_dot_storage_d
|
|
|
31
31
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
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/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\"\xa7\x02\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.TagJ\x04\x08\x03\x10\x04\"$\n\x14\x43reateBucketMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\"\
|
|
34
|
+
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/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\"\xa7\x02\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.TagJ\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\xe1\x0b\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}:deleteHttpsConfigBb\n\x1byandex.cloud.api.storage.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/storage/v1;storageb\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -98,29 +98,29 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
98
98
|
_globals['_CREATEBUCKETMETADATA']._serialized_start=914
|
|
99
99
|
_globals['_CREATEBUCKETMETADATA']._serialized_end=950
|
|
100
100
|
_globals['_UPDATEBUCKETREQUEST']._serialized_start=953
|
|
101
|
-
_globals['_UPDATEBUCKETREQUEST']._serialized_end=
|
|
102
|
-
_globals['_UPDATEBUCKETMETADATA']._serialized_start=
|
|
103
|
-
_globals['_UPDATEBUCKETMETADATA']._serialized_end=
|
|
104
|
-
_globals['_DELETEBUCKETREQUEST']._serialized_start=
|
|
105
|
-
_globals['_DELETEBUCKETREQUEST']._serialized_end=
|
|
106
|
-
_globals['_DELETEBUCKETMETADATA']._serialized_start=
|
|
107
|
-
_globals['_DELETEBUCKETMETADATA']._serialized_end=
|
|
108
|
-
_globals['_GETBUCKETSTATSREQUEST']._serialized_start=
|
|
109
|
-
_globals['_GETBUCKETSTATSREQUEST']._serialized_end=
|
|
110
|
-
_globals['_GETBUCKETHTTPSCONFIGREQUEST']._serialized_start=
|
|
111
|
-
_globals['_GETBUCKETHTTPSCONFIGREQUEST']._serialized_end=
|
|
112
|
-
_globals['_SELFMANAGEDHTTPSCONFIGPARAMS']._serialized_start=
|
|
113
|
-
_globals['_SELFMANAGEDHTTPSCONFIGPARAMS']._serialized_end=
|
|
114
|
-
_globals['_CERTIFICATEMANAGERHTTPSCONFIGPARAMS']._serialized_start=
|
|
115
|
-
_globals['_CERTIFICATEMANAGERHTTPSCONFIGPARAMS']._serialized_end=
|
|
116
|
-
_globals['_SETBUCKETHTTPSCONFIGREQUEST']._serialized_start=
|
|
117
|
-
_globals['_SETBUCKETHTTPSCONFIGREQUEST']._serialized_end=
|
|
118
|
-
_globals['_SETBUCKETHTTPSCONFIGMETADATA']._serialized_start=
|
|
119
|
-
_globals['_SETBUCKETHTTPSCONFIGMETADATA']._serialized_end=
|
|
120
|
-
_globals['_DELETEBUCKETHTTPSCONFIGREQUEST']._serialized_start=
|
|
121
|
-
_globals['_DELETEBUCKETHTTPSCONFIGREQUEST']._serialized_end=
|
|
122
|
-
_globals['_DELETEBUCKETHTTPSCONFIGMETADATA']._serialized_start=
|
|
123
|
-
_globals['_DELETEBUCKETHTTPSCONFIGMETADATA']._serialized_end=
|
|
124
|
-
_globals['_BUCKETSERVICE']._serialized_start=
|
|
125
|
-
_globals['_BUCKETSERVICE']._serialized_end=
|
|
101
|
+
_globals['_UPDATEBUCKETREQUEST']._serialized_end=1750
|
|
102
|
+
_globals['_UPDATEBUCKETMETADATA']._serialized_start=1752
|
|
103
|
+
_globals['_UPDATEBUCKETMETADATA']._serialized_end=1788
|
|
104
|
+
_globals['_DELETEBUCKETREQUEST']._serialized_start=1790
|
|
105
|
+
_globals['_DELETEBUCKETREQUEST']._serialized_end=1831
|
|
106
|
+
_globals['_DELETEBUCKETMETADATA']._serialized_start=1833
|
|
107
|
+
_globals['_DELETEBUCKETMETADATA']._serialized_end=1869
|
|
108
|
+
_globals['_GETBUCKETSTATSREQUEST']._serialized_start=1871
|
|
109
|
+
_globals['_GETBUCKETSTATSREQUEST']._serialized_end=1914
|
|
110
|
+
_globals['_GETBUCKETHTTPSCONFIGREQUEST']._serialized_start=1916
|
|
111
|
+
_globals['_GETBUCKETHTTPSCONFIGREQUEST']._serialized_end=1965
|
|
112
|
+
_globals['_SELFMANAGEDHTTPSCONFIGPARAMS']._serialized_start=1967
|
|
113
|
+
_globals['_SELFMANAGEDHTTPSCONFIGPARAMS']._serialized_end=2077
|
|
114
|
+
_globals['_CERTIFICATEMANAGERHTTPSCONFIGPARAMS']._serialized_start=2079
|
|
115
|
+
_globals['_CERTIFICATEMANAGERHTTPSCONFIGPARAMS']._serialized_end=2140
|
|
116
|
+
_globals['_SETBUCKETHTTPSCONFIGREQUEST']._serialized_start=2143
|
|
117
|
+
_globals['_SETBUCKETHTTPSCONFIGREQUEST']._serialized_end=2380
|
|
118
|
+
_globals['_SETBUCKETHTTPSCONFIGMETADATA']._serialized_start=2382
|
|
119
|
+
_globals['_SETBUCKETHTTPSCONFIGMETADATA']._serialized_end=2426
|
|
120
|
+
_globals['_DELETEBUCKETHTTPSCONFIGREQUEST']._serialized_start=2428
|
|
121
|
+
_globals['_DELETEBUCKETHTTPSCONFIGREQUEST']._serialized_end=2480
|
|
122
|
+
_globals['_DELETEBUCKETHTTPSCONFIGMETADATA']._serialized_start=2482
|
|
123
|
+
_globals['_DELETEBUCKETHTTPSCONFIGMETADATA']._serialized_end=2529
|
|
124
|
+
_globals['_BUCKETSERVICE']._serialized_start=2532
|
|
125
|
+
_globals['_BUCKETSERVICE']._serialized_end=4037
|
|
126
126
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -224,6 +224,7 @@ class UpdateBucketRequest(google.protobuf.message.Message):
|
|
|
224
224
|
TAGS_FIELD_NUMBER: builtins.int
|
|
225
225
|
OBJECT_LOCK_FIELD_NUMBER: builtins.int
|
|
226
226
|
ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
227
|
+
ALLOWED_PRIVATE_ENDPOINTS_FIELD_NUMBER: builtins.int
|
|
227
228
|
name: builtins.str
|
|
228
229
|
"""Name of the bucket to update.
|
|
229
230
|
|
|
@@ -304,6 +305,10 @@ class UpdateBucketRequest(google.protobuf.message.Message):
|
|
|
304
305
|
For detauls, see [documentation](/docs/storage/concepts/encryption)
|
|
305
306
|
"""
|
|
306
307
|
|
|
308
|
+
@property
|
|
309
|
+
def allowed_private_endpoints(self) -> yandex.cloud.storage.v1.bucket_pb2.BucketAllowedPrivateEndpoints:
|
|
310
|
+
"""requires permission s3:PutBucketAllowedPrivateEndpoints"""
|
|
311
|
+
|
|
307
312
|
def __init__(
|
|
308
313
|
self,
|
|
309
314
|
*,
|
|
@@ -321,9 +326,10 @@ class UpdateBucketRequest(google.protobuf.message.Message):
|
|
|
321
326
|
tags: collections.abc.Iterable[yandex.cloud.storage.v1.bucket_pb2.Tag] | None = ...,
|
|
322
327
|
object_lock: yandex.cloud.storage.v1.bucket_pb2.ObjectLock | None = ...,
|
|
323
328
|
encryption: yandex.cloud.storage.v1.bucket_pb2.Encryption | None = ...,
|
|
329
|
+
allowed_private_endpoints: yandex.cloud.storage.v1.bucket_pb2.BucketAllowedPrivateEndpoints | None = ...,
|
|
324
330
|
) -> None: ...
|
|
325
|
-
def HasField(self, field_name: typing.Literal["acl", b"acl", "anonymous_access_flags", b"anonymous_access_flags", "encryption", b"encryption", "object_lock", b"object_lock", "policy", b"policy", "update_mask", b"update_mask", "website_settings", b"website_settings"]) -> builtins.bool: ...
|
|
326
|
-
def ClearField(self, field_name: typing.Literal["acl", b"acl", "anonymous_access_flags", b"anonymous_access_flags", "cors", b"cors", "default_storage_class", b"default_storage_class", "encryption", b"encryption", "lifecycle_rules", b"lifecycle_rules", "max_size", b"max_size", "name", b"name", "object_lock", b"object_lock", "policy", b"policy", "tags", b"tags", "update_mask", b"update_mask", "versioning", b"versioning", "website_settings", b"website_settings"]) -> None: ...
|
|
331
|
+
def HasField(self, field_name: typing.Literal["acl", b"acl", "allowed_private_endpoints", b"allowed_private_endpoints", "anonymous_access_flags", b"anonymous_access_flags", "encryption", b"encryption", "object_lock", b"object_lock", "policy", b"policy", "update_mask", b"update_mask", "website_settings", b"website_settings"]) -> builtins.bool: ...
|
|
332
|
+
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", "default_storage_class", b"default_storage_class", "encryption", b"encryption", "lifecycle_rules", b"lifecycle_rules", "max_size", b"max_size", "name", b"name", "object_lock", b"object_lock", "policy", b"policy", "tags", b"tags", "update_mask", b"update_mask", "versioning", b"versioning", "website_settings", b"website_settings"]) -> None: ...
|
|
327
333
|
|
|
328
334
|
global___UpdateBucketRequest = UpdateBucketRequest
|
|
329
335
|
|
|
@@ -30,7 +30,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
30
30
|
from yandex.cloud.video.v1 import channel_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_channel__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
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/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\"\
|
|
33
|
+
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/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\"\xad\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\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\"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\"\xa9\x02\n\x14\x43reateChannelRequest\x12%\n\x0forganization_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\x89\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.CreateChannelRequest.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\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\"\xce\x02\n\x14UpdateChannelRequest\x12 \n\nchannel_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\x89\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.UpdateChannelRequest.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\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\xcf\x07\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*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -43,7 +43,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
43
43
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
44
44
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
45
45
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
46
|
-
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\
|
|
46
|
+
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
47
47
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
48
48
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
49
49
|
_globals['_LISTCHANNELSREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
@@ -67,7 +67,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
67
67
|
_globals['_BATCHDELETECHANNELSREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
68
68
|
_globals['_BATCHDELETECHANNELSREQUEST'].fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
69
69
|
_globals['_BATCHDELETECHANNELSREQUEST'].fields_by_name['channel_ids']._loaded_options = None
|
|
70
|
-
_globals['_BATCHDELETECHANNELSREQUEST'].fields_by_name['channel_ids']._serialized_options = b'\202\3101\
|
|
70
|
+
_globals['_BATCHDELETECHANNELSREQUEST'].fields_by_name['channel_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
71
71
|
_globals['_CHANNELSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
72
72
|
_globals['_CHANNELSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002!\022\037/video/v1/channels/{channel_id}'
|
|
73
73
|
_globals['_CHANNELSERVICE'].methods_by_name['List']._loaded_options = None
|
|
@@ -83,26 +83,26 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
83
83
|
_globals['_GETCHANNELREQUEST']._serialized_start=276
|
|
84
84
|
_globals['_GETCHANNELREQUEST']._serialized_end=329
|
|
85
85
|
_globals['_LISTCHANNELSREQUEST']._serialized_start=332
|
|
86
|
-
_globals['_LISTCHANNELSREQUEST']._serialized_end=
|
|
87
|
-
_globals['_LISTCHANNELSRESPONSE']._serialized_start=
|
|
88
|
-
_globals['_LISTCHANNELSRESPONSE']._serialized_end=
|
|
89
|
-
_globals['_CREATECHANNELREQUEST']._serialized_start=
|
|
90
|
-
_globals['_CREATECHANNELREQUEST']._serialized_end=
|
|
91
|
-
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_start=
|
|
92
|
-
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_end=
|
|
93
|
-
_globals['_CREATECHANNELMETADATA']._serialized_start=
|
|
94
|
-
_globals['_CREATECHANNELMETADATA']._serialized_end=
|
|
95
|
-
_globals['_UPDATECHANNELREQUEST']._serialized_start=
|
|
96
|
-
_globals['_UPDATECHANNELREQUEST']._serialized_end=
|
|
97
|
-
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=
|
|
98
|
-
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=
|
|
99
|
-
_globals['_UPDATECHANNELMETADATA']._serialized_start=
|
|
100
|
-
_globals['_UPDATECHANNELMETADATA']._serialized_end=
|
|
101
|
-
_globals['_DELETECHANNELREQUEST']._serialized_start=
|
|
102
|
-
_globals['_DELETECHANNELREQUEST']._serialized_end=
|
|
103
|
-
_globals['_DELETECHANNELMETADATA']._serialized_start=
|
|
104
|
-
_globals['_DELETECHANNELMETADATA']._serialized_end=
|
|
105
|
-
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=
|
|
86
|
+
_globals['_LISTCHANNELSREQUEST']._serialized_end=505
|
|
87
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_start=507
|
|
88
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_end=610
|
|
89
|
+
_globals['_CREATECHANNELREQUEST']._serialized_start=613
|
|
90
|
+
_globals['_CREATECHANNELREQUEST']._serialized_end=910
|
|
91
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_start=858
|
|
92
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_end=903
|
|
93
|
+
_globals['_CREATECHANNELMETADATA']._serialized_start=912
|
|
94
|
+
_globals['_CREATECHANNELMETADATA']._serialized_end=955
|
|
95
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_start=958
|
|
96
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_end=1292
|
|
97
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=858
|
|
98
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=903
|
|
99
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_start=1294
|
|
100
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_end=1337
|
|
101
|
+
_globals['_DELETECHANNELREQUEST']._serialized_start=1339
|
|
102
|
+
_globals['_DELETECHANNELREQUEST']._serialized_end=1395
|
|
103
|
+
_globals['_DELETECHANNELMETADATA']._serialized_start=1397
|
|
104
|
+
_globals['_DELETECHANNELMETADATA']._serialized_end=1440
|
|
105
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=1442
|
|
106
106
|
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=1549
|
|
107
107
|
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=1551
|
|
108
108
|
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=1601
|