yandexcloud 0.355.0__py3-none-any.whl → 0.356.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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/backup/v1/backup_service_pb2.py +46 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +26 -4
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +14 -9
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +14 -9
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.py +29 -24
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +43 -36
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +3 -2
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +83 -76
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +16 -11
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +14 -9
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +4 -2
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +6 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +9 -3
- yandex/cloud/datatransfer/v1/transfer_pb2.py +50 -48
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +23 -4
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +16 -6
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +3 -6
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +0 -6
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +49 -49
- yandex/cloud/iot/devices/v1/device_service_pb2.py +53 -53
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +73 -73
- yandex/cloud/maintenance/v2/common_pb2.py +2 -2
- yandex/cloud/maintenance/v2/common_pb2.pyi +1 -1
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +82 -78
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +27 -1
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +76 -76
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +4 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/containers/v1/container_pb2.py +46 -44
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +25 -3
- yandex/cloud/storage/v1/presign_service_pb2.py +47 -0
- yandex/cloud/storage/v1/presign_service_pb2.pyi +117 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.py +101 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.pyi +50 -0
- yandex/cloud/trino/v1/access_control_pb2.py +212 -0
- yandex/cloud/trino/v1/access_control_pb2.pyi +926 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/cluster_pb2.py +44 -43
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +40 -37
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +32 -18
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.355.0.dist-info → yandexcloud-0.356.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.355.0.dist-info → yandexcloud-0.356.0.dist-info}/RECORD +56 -48
- {yandexcloud-0.355.0.dist-info → yandexcloud-0.356.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.355.0.dist-info → yandexcloud-0.356.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.355.0.dist-info → yandexcloud-0.356.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.355.0.dist-info → yandexcloud-0.356.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/trino/v1/access_control_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -24,11 +24,12 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_logging_dot_v1_dot_log__entry__pb2
|
|
27
|
+
from yandex.cloud.trino.v1 import access_control_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_access__control__pb2
|
|
27
28
|
from yandex.cloud.trino.v1 import maintenance_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_maintenance__pb2
|
|
28
29
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/trino/v1/cluster.proto\x12\x15yandex.cloud.trino.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x89\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06labels\x18\x06 \x03(\x0b\x32*.yandex.cloud.trino.v1.Cluster.LabelsEntry\x12\x35\n\nmonitoring\x18\x07 \x03(\x0b\x32!.yandex.cloud.trino.v1.Monitoring\x12\x31\n\x05trino\x18\x08 \x01(\x0b\x32\".yandex.cloud.trino.v1.TrinoConfig\x12-\n\x06health\x18\t \x01(\x0e\x32\x1d.yandex.cloud.trino.v1.Health\x12\x35\n\x06status\x18\n \x01(\x0e\x32%.yandex.cloud.trino.v1.Cluster.Status\x12\x35\n\x07network\x18\x0b \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x0c \x01(\x08\x12$\n\x12service_account_id\x18\r \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0e \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x17\n\x0f\x63oordinator_url\x18\x0f \x01(\t\x12\x44\n\x12maintenance_window\x18\x10 \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x11 \x01(\x0b\x32+.yandex.cloud.trino.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/trino/v1/cluster.proto\x12\x15yandex.cloud.trino.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a*yandex/cloud/trino/v1/access_control.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x89\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06labels\x18\x06 \x03(\x0b\x32*.yandex.cloud.trino.v1.Cluster.LabelsEntry\x12\x35\n\nmonitoring\x18\x07 \x03(\x0b\x32!.yandex.cloud.trino.v1.Monitoring\x12\x31\n\x05trino\x18\x08 \x01(\x0b\x32\".yandex.cloud.trino.v1.TrinoConfig\x12-\n\x06health\x18\t \x01(\x0e\x32\x1d.yandex.cloud.trino.v1.Health\x12\x35\n\x06status\x18\n \x01(\x0e\x32%.yandex.cloud.trino.v1.Cluster.Status\x12\x35\n\x07network\x18\x0b \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x0c \x01(\x08\x12$\n\x12service_account_id\x18\r \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0e \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x17\n\x0f\x63oordinator_url\x18\x0f \x01(\t\x12\x44\n\x12maintenance_window\x18\x10 \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x11 \x01(\x0b\x32+.yandex.cloud.trino.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\xb0\x02\n\x0bTrinoConfig\x12J\n\x12\x63oordinator_config\x18\x01 \x01(\x0b\x32(.yandex.cloud.trino.v1.CoordinatorConfigB\x04\xe8\xc7\x31\x01\x12@\n\rworker_config\x18\x02 \x01(\x0b\x32#.yandex.cloud.trino.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12\x0f\n\x07version\x18\x03 \x01(\t\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x42\n\x0e\x61\x63\x63\x65ss_control\x18\x05 \x01(\x0b\x32*.yandex.cloud.trino.v1.AccessControlConfig\"N\n\x11\x43oordinatorConfig\x12\x39\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.ResourcesB\x04\xe8\xc7\x31\x01\"\xc4\x02\n\x0cWorkerConfig\x12\x39\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.ResourcesB\x04\xe8\xc7\x31\x01\x12Q\n\x0cscale_policy\x18\x02 \x01(\x0b\x32\x35.yandex.cloud.trino.v1.WorkerConfig.WorkerScalePolicyB\x04\xe8\xc7\x31\x01\x1a\xa5\x01\n\x11WorkerScalePolicy\x12>\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32\'.yandex.cloud.trino.v1.FixedScalePolicyH\x00\x12<\n\nauto_scale\x18\x02 \x01(\x0b\x32&.yandex.cloud.trino.v1.AutoScalePolicyH\x00\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"\xcf\x03\n\x11RetryPolicyConfig\x12\x44\n\x06policy\x18\x01 \x01(\x0e\x32\x34.yandex.cloud.trino.v1.RetryPolicyConfig.RetryPolicy\x12\x46\n\x10\x65xchange_manager\x18\x02 \x01(\x0b\x32,.yandex.cloud.trino.v1.ExchangeManagerConfig\x12\xac\x01\n\x15\x61\x64\x64itional_properties\x18\x03 \x03(\x0b\x32\x42.yandex.cloud.trino.v1.RetryPolicyConfig.AdditionalPropertiesEntryBI\xf2\xc7\x31\x15[-_0-9a-zA-Z.,:\\/_ ]*\x82\xc8\x31\x05<=256\x8a\xc8\x31\x05<=128\xb2\xc8\x31\x1a\x12\x11[a-z][-_0-9a-z.]*\x1a\x05\x31-128\x1a;\n\x19\x41\x64\x64itionalPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"@\n\x0bRetryPolicy\x12\x1c\n\x18RETRY_POLICY_UNSPECIFIED\x10\x00\x12\t\n\x05QUERY\x10\x01\x12\x08\n\x04TASK\x10\x02\"\x82\x01\n\x16\x45xchangeManagerStorage\x12M\n\nservice_s3\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.trino.v1.ExchangeManagerStorage.ServiceS3H\x00\x1a\x0b\n\tServiceS3B\x0c\n\x04type\x12\x04\xc0\xc1\x31\x01\"\xc7\x02\n\x15\x45xchangeManagerConfig\x12\xb0\x01\n\x15\x61\x64\x64itional_properties\x18\x01 \x03(\x0b\x32\x46.yandex.cloud.trino.v1.ExchangeManagerConfig.AdditionalPropertiesEntryBI\xf2\xc7\x31\x15[-_0-9a-zA-Z.,:\\/_ ]*\x82\xc8\x31\x05<=256\x8a\xc8\x31\x05<=128\xb2\xc8\x31\x1a\x12\x11[a-z][-_0-9a-z.]*\x1a\x05\x31-128\x12>\n\x07storage\x18\x02 \x01(\x0b\x32-.yandex.cloud.trino.v1.ExchangeManagerStorage\x1a;\n\x19\x41\x64\x64itionalPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\tResources\x12(\n\x12resource_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\",\n\x10\x46ixedScalePolicy\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\"M\n\x0f\x41utoScalePolicy\x12\x1c\n\tmin_count\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12\x1c\n\tmax_count\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512*?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x42\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
|
|
32
33
|
|
|
33
34
|
_globals = globals()
|
|
34
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -74,46 +75,46 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
74
75
|
_globals['_AUTOSCALEPOLICY'].fields_by_name['min_count']._serialized_options = b'\372\3071\0050-512'
|
|
75
76
|
_globals['_AUTOSCALEPOLICY'].fields_by_name['max_count']._loaded_options = None
|
|
76
77
|
_globals['_AUTOSCALEPOLICY'].fields_by_name['max_count']._serialized_options = b'\372\3071\0051-512'
|
|
77
|
-
_globals['_HEALTH']._serialized_start=
|
|
78
|
-
_globals['_HEALTH']._serialized_end=
|
|
79
|
-
_globals['_CLUSTER']._serialized_start=
|
|
80
|
-
_globals['_CLUSTER']._serialized_end=
|
|
81
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_start=
|
|
82
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_end=
|
|
83
|
-
_globals['_CLUSTER_STATUS']._serialized_start=
|
|
84
|
-
_globals['_CLUSTER_STATUS']._serialized_end=
|
|
85
|
-
_globals['_MONITORING']._serialized_start=
|
|
86
|
-
_globals['_MONITORING']._serialized_end=
|
|
87
|
-
_globals['_LOGGINGCONFIG']._serialized_start=
|
|
88
|
-
_globals['_LOGGINGCONFIG']._serialized_end=
|
|
89
|
-
_globals['_NETWORKCONFIG']._serialized_start=
|
|
90
|
-
_globals['_NETWORKCONFIG']._serialized_end=
|
|
91
|
-
_globals['_TRINOCONFIG']._serialized_start=
|
|
92
|
-
_globals['_TRINOCONFIG']._serialized_end=
|
|
93
|
-
_globals['_COORDINATORCONFIG']._serialized_start=
|
|
94
|
-
_globals['_COORDINATORCONFIG']._serialized_end=
|
|
95
|
-
_globals['_WORKERCONFIG']._serialized_start=
|
|
96
|
-
_globals['_WORKERCONFIG']._serialized_end=
|
|
97
|
-
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=
|
|
98
|
-
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=
|
|
99
|
-
_globals['_RETRYPOLICYCONFIG']._serialized_start=
|
|
100
|
-
_globals['_RETRYPOLICYCONFIG']._serialized_end=
|
|
101
|
-
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=
|
|
102
|
-
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=
|
|
103
|
-
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_start=
|
|
104
|
-
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_end=
|
|
105
|
-
_globals['_EXCHANGEMANAGERSTORAGE']._serialized_start=
|
|
106
|
-
_globals['_EXCHANGEMANAGERSTORAGE']._serialized_end=
|
|
107
|
-
_globals['_EXCHANGEMANAGERSTORAGE_SERVICES3']._serialized_start=
|
|
108
|
-
_globals['_EXCHANGEMANAGERSTORAGE_SERVICES3']._serialized_end=
|
|
109
|
-
_globals['_EXCHANGEMANAGERCONFIG']._serialized_start=
|
|
110
|
-
_globals['_EXCHANGEMANAGERCONFIG']._serialized_end=
|
|
111
|
-
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=
|
|
112
|
-
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=
|
|
113
|
-
_globals['_RESOURCES']._serialized_start=
|
|
114
|
-
_globals['_RESOURCES']._serialized_end=
|
|
115
|
-
_globals['_FIXEDSCALEPOLICY']._serialized_start=
|
|
116
|
-
_globals['_FIXEDSCALEPOLICY']._serialized_end=
|
|
117
|
-
_globals['_AUTOSCALEPOLICY']._serialized_start=
|
|
118
|
-
_globals['_AUTOSCALEPOLICY']._serialized_end=
|
|
78
|
+
_globals['_HEALTH']._serialized_start=3340
|
|
79
|
+
_globals['_HEALTH']._serialized_end=3403
|
|
80
|
+
_globals['_CLUSTER']._serialized_start=253
|
|
81
|
+
_globals['_CLUSTER']._serialized_end=1158
|
|
82
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=990
|
|
83
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=1035
|
|
84
|
+
_globals['_CLUSTER_STATUS']._serialized_start=1037
|
|
85
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1158
|
|
86
|
+
_globals['_MONITORING']._serialized_start=1160
|
|
87
|
+
_globals['_MONITORING']._serialized_end=1221
|
|
88
|
+
_globals['_LOGGINGCONFIG']._serialized_start=1224
|
|
89
|
+
_globals['_LOGGINGCONFIG']._serialized_end=1450
|
|
90
|
+
_globals['_NETWORKCONFIG']._serialized_start=1452
|
|
91
|
+
_globals['_NETWORKCONFIG']._serialized_end=1515
|
|
92
|
+
_globals['_TRINOCONFIG']._serialized_start=1518
|
|
93
|
+
_globals['_TRINOCONFIG']._serialized_end=1822
|
|
94
|
+
_globals['_COORDINATORCONFIG']._serialized_start=1824
|
|
95
|
+
_globals['_COORDINATORCONFIG']._serialized_end=1902
|
|
96
|
+
_globals['_WORKERCONFIG']._serialized_start=1905
|
|
97
|
+
_globals['_WORKERCONFIG']._serialized_end=2229
|
|
98
|
+
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=2064
|
|
99
|
+
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=2229
|
|
100
|
+
_globals['_RETRYPOLICYCONFIG']._serialized_start=2232
|
|
101
|
+
_globals['_RETRYPOLICYCONFIG']._serialized_end=2695
|
|
102
|
+
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=2570
|
|
103
|
+
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=2629
|
|
104
|
+
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_start=2631
|
|
105
|
+
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_end=2695
|
|
106
|
+
_globals['_EXCHANGEMANAGERSTORAGE']._serialized_start=2698
|
|
107
|
+
_globals['_EXCHANGEMANAGERSTORAGE']._serialized_end=2828
|
|
108
|
+
_globals['_EXCHANGEMANAGERSTORAGE_SERVICES3']._serialized_start=2803
|
|
109
|
+
_globals['_EXCHANGEMANAGERSTORAGE_SERVICES3']._serialized_end=2814
|
|
110
|
+
_globals['_EXCHANGEMANAGERCONFIG']._serialized_start=2831
|
|
111
|
+
_globals['_EXCHANGEMANAGERCONFIG']._serialized_end=3158
|
|
112
|
+
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=2570
|
|
113
|
+
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=2629
|
|
114
|
+
_globals['_RESOURCES']._serialized_start=3160
|
|
115
|
+
_globals['_RESOURCES']._serialized_end=3213
|
|
116
|
+
_globals['_FIXEDSCALEPOLICY']._serialized_start=3215
|
|
117
|
+
_globals['_FIXEDSCALEPOLICY']._serialized_end=3259
|
|
118
|
+
_globals['_AUTOSCALEPOLICY']._serialized_start=3261
|
|
119
|
+
_globals['_AUTOSCALEPOLICY']._serialized_end=3338
|
|
119
120
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,7 @@ import google.protobuf.timestamp_pb2
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import yandex.cloud.logging.v1.log_entry_pb2
|
|
16
|
+
import yandex.cloud.trino.v1.access_control_pb2
|
|
16
17
|
import yandex.cloud.trino.v1.maintenance_pb2
|
|
17
18
|
|
|
18
19
|
if sys.version_info >= (3, 10):
|
|
@@ -300,6 +301,7 @@ class TrinoConfig(google.protobuf.message.Message):
|
|
|
300
301
|
WORKER_CONFIG_FIELD_NUMBER: builtins.int
|
|
301
302
|
VERSION_FIELD_NUMBER: builtins.int
|
|
302
303
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
304
|
+
ACCESS_CONTROL_FIELD_NUMBER: builtins.int
|
|
303
305
|
version: builtins.str
|
|
304
306
|
"""Version of Trino."""
|
|
305
307
|
@property
|
|
@@ -314,6 +316,10 @@ class TrinoConfig(google.protobuf.message.Message):
|
|
|
314
316
|
def retry_policy(self) -> global___RetryPolicyConfig:
|
|
315
317
|
"""Configuration for retry policy, specifying the spooling storage destination and other settings."""
|
|
316
318
|
|
|
319
|
+
@property
|
|
320
|
+
def access_control(self) -> yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig:
|
|
321
|
+
"""Configuration for access control, specifying the fine-grained rules of accesses."""
|
|
322
|
+
|
|
317
323
|
def __init__(
|
|
318
324
|
self,
|
|
319
325
|
*,
|
|
@@ -321,9 +327,10 @@ class TrinoConfig(google.protobuf.message.Message):
|
|
|
321
327
|
worker_config: global___WorkerConfig | None = ...,
|
|
322
328
|
version: builtins.str = ...,
|
|
323
329
|
retry_policy: global___RetryPolicyConfig | None = ...,
|
|
330
|
+
access_control: yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig | None = ...,
|
|
324
331
|
) -> None: ...
|
|
325
|
-
def HasField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
326
|
-
def ClearField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
332
|
+
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
333
|
+
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
327
334
|
|
|
328
335
|
global___TrinoConfig = TrinoConfig
|
|
329
336
|
|
|
@@ -26,13 +26,14 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
26
26
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
27
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
28
28
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
29
|
+
from yandex.cloud.trino.v1 import access_control_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_access__control__pb2
|
|
29
30
|
from yandex.cloud.trino.v1 import catalog_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__pb2
|
|
30
31
|
from yandex.cloud.trino.v1 import cluster_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_cluster__pb2
|
|
31
32
|
from yandex.cloud.trino.v1 import maintenance_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_maintenance__pb2
|
|
32
33
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/cluster_service.proto\x12\x15yandex.cloud.trino.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#yandex/cloud/trino/v1/catalog.proto\x1a#yandex/cloud/trino/v1/cluster.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x04\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_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\x31-63\x12;\n\x05trino\x18\x05 \x01(\x0b\x32&.yandex.cloud.trino.v1.TrinoConfigSpecB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/cluster_service.proto\x12\x15yandex.cloud.trino.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*yandex/cloud/trino/v1/access_control.proto\x1a#yandex/cloud/trino/v1/catalog.proto\x1a#yandex/cloud/trino/v1/cluster.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x04\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_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\x31-63\x12;\n\x05trino\x18\x05 \x01(\x0b\x32&.yandex.cloud.trino.v1.TrinoConfigSpecB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf0\x02\n\x0fTrinoConfigSpec\x12\x34\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\".yandex.cloud.trino.v1.CatalogSpec\x12J\n\x12\x63oordinator_config\x18\x02 \x01(\x0b\x32(.yandex.cloud.trino.v1.CoordinatorConfigB\x04\xe8\xc7\x31\x01\x12@\n\rworker_config\x18\x03 \x01(\x0b\x32#.yandex.cloud.trino.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x42\n\x0e\x61\x63\x63\x65ss_control\x18\x07 \x01(\x0b\x32*.yandex.cloud.trino.v1.AccessControlConfigJ\x04\x08\x05\x10\x06\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"N\n\x17UpdateCoordinatorConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\"\xc4\x02\n\x12UpdateWorkerConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\x12Q\n\x0cscale_policy\x18\x02 \x01(\x0b\x32;.yandex.cloud.trino.v1.UpdateWorkerConfig.WorkerScalePolicy\x1a\xa5\x01\n\x11WorkerScalePolicy\x12>\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32\'.yandex.cloud.trino.v1.FixedScalePolicyH\x00\x12<\n\nauto_scale\x18\x02 \x01(\x0b\x32&.yandex.cloud.trino.v1.AutoScalePolicyH\x00\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"\xba\x02\n\x15UpdateTrinoConfigSpec\x12J\n\x12\x63oordinator_config\x18\x01 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateCoordinatorConfig\x12@\n\rworker_config\x18\x02 \x01(\x0b\x32).yandex.cloud.trino.v1.UpdateWorkerConfig\x12\x0f\n\x07version\x18\x03 \x01(\t\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x42\n\x0e\x61\x63\x63\x65ss_control\x18\x05 \x01(\x0b\x32*.yandex.cloud.trino.v1.AccessControlConfig\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\xac\x05\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_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\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x06 \x01(\x08\x12;\n\x05trino\x18\x07 \x01(\x0b\x32,.yandex.cloud.trino.v1.UpdateTrinoConfigSpec\x12\x44\n\x0cnetwork_spec\x18\x08 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateNetworkConfigSpec\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\n \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\x0b \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcc\n\n\x0e\x43lusterService\x12\x80\x01\n\x03Get\x12(.yandex.cloud.trino.v1.GetClusterRequest\x1a\x1e.yandex.cloud.trino.v1.Cluster\"/\x82\xd3\xe4\x93\x02)\x12\'/managed-trino/v1/clusters/{cluster_id}\x12\x83\x01\n\x04List\x12*.yandex.cloud.trino.v1.ListClustersRequest\x1a+.yandex.cloud.trino.v1.ListClustersResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/managed-trino/v1/clusters\x12\xa3\x01\n\x06\x43reate\x12+.yandex.cloud.trino.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x1f\"\x1a/managed-trino/v1/clusters:\x01*\x12\xb0\x01\n\x06Update\x12+.yandex.cloud.trino.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02,2\'/managed-trino/v1/clusters/{cluster_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12+.yandex.cloud.trino.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02)*\'/managed-trino/v1/clusters/{cluster_id}\x12\xb0\x01\n\x05Start\x12*.yandex.cloud.trino.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02/\"-/managed-trino/v1/clusters/{cluster_id}:start\x12\xac\x01\n\x04Stop\x12).yandex.cloud.trino.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02.\",/managed-trino/v1/clusters/{cluster_id}:stop\x12\xb7\x01\n\x0eListOperations\x12\x33.yandex.cloud.trino.v1.ListClusterOperationsRequest\x1a\x34.yandex.cloud.trino.v1.ListClusterOperationsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-trino/v1/clusters/{cluster_id}/operationsB\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
|
|
36
37
|
|
|
37
38
|
_globals = globals()
|
|
38
39
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -112,52 +113,52 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
112
113
|
_globals['_CLUSTERSERVICE'].methods_by_name['Stop']._serialized_options = b'\262\322*\036\n\023StopClusterMetadata\022\007Cluster\202\323\344\223\002.\",/managed-trino/v1/clusters/{cluster_id}:stop'
|
|
113
114
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
114
115
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\0024\0222/managed-trino/v1/clusters/{cluster_id}/operations'
|
|
115
|
-
_globals['_GETCLUSTERREQUEST']._serialized_start=
|
|
116
|
-
_globals['_GETCLUSTERREQUEST']._serialized_end=
|
|
117
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_start=
|
|
118
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_end=
|
|
119
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=
|
|
120
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=
|
|
121
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_start=
|
|
122
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_end=
|
|
123
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
124
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
125
|
-
_globals['_TRINOCONFIGSPEC']._serialized_start=
|
|
126
|
-
_globals['_TRINOCONFIGSPEC']._serialized_end=
|
|
127
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_start=
|
|
128
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_end=
|
|
129
|
-
_globals['_UPDATECOORDINATORCONFIG']._serialized_start=
|
|
130
|
-
_globals['_UPDATECOORDINATORCONFIG']._serialized_end=
|
|
131
|
-
_globals['_UPDATEWORKERCONFIG']._serialized_start=
|
|
132
|
-
_globals['_UPDATEWORKERCONFIG']._serialized_end=
|
|
133
|
-
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=
|
|
134
|
-
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=
|
|
135
|
-
_globals['_UPDATETRINOCONFIGSPEC']._serialized_start=
|
|
136
|
-
_globals['_UPDATETRINOCONFIGSPEC']._serialized_end=
|
|
137
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=
|
|
138
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=
|
|
139
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_start=
|
|
140
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_end=
|
|
141
|
-
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
142
|
-
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
143
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_start=
|
|
144
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_end=
|
|
145
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_start=
|
|
146
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_end=
|
|
147
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_start=
|
|
148
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_end=
|
|
149
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_start=
|
|
150
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_end=
|
|
151
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_start=
|
|
152
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_end=
|
|
153
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_start=
|
|
154
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_end=
|
|
155
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_start=
|
|
156
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_end=
|
|
157
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=
|
|
158
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=
|
|
159
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=
|
|
160
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=
|
|
161
|
-
_globals['_CLUSTERSERVICE']._serialized_start=
|
|
162
|
-
_globals['_CLUSTERSERVICE']._serialized_end=
|
|
116
|
+
_globals['_GETCLUSTERREQUEST']._serialized_start=398
|
|
117
|
+
_globals['_GETCLUSTERREQUEST']._serialized_end=451
|
|
118
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_start=454
|
|
119
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_end=598
|
|
120
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=600
|
|
121
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=697
|
|
122
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_start=700
|
|
123
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_end=1333
|
|
124
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1288
|
|
125
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1333
|
|
126
|
+
_globals['_TRINOCONFIGSPEC']._serialized_start=1336
|
|
127
|
+
_globals['_TRINOCONFIGSPEC']._serialized_end=1704
|
|
128
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_start=1706
|
|
129
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_end=1749
|
|
130
|
+
_globals['_UPDATECOORDINATORCONFIG']._serialized_start=1751
|
|
131
|
+
_globals['_UPDATECOORDINATORCONFIG']._serialized_end=1829
|
|
132
|
+
_globals['_UPDATEWORKERCONFIG']._serialized_start=1832
|
|
133
|
+
_globals['_UPDATEWORKERCONFIG']._serialized_end=2156
|
|
134
|
+
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=1991
|
|
135
|
+
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=2156
|
|
136
|
+
_globals['_UPDATETRINOCONFIGSPEC']._serialized_start=2159
|
|
137
|
+
_globals['_UPDATETRINOCONFIGSPEC']._serialized_end=2473
|
|
138
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=2475
|
|
139
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=2528
|
|
140
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_start=2531
|
|
141
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_end=3215
|
|
142
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1288
|
|
143
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1333
|
|
144
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_start=3217
|
|
145
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_end=3260
|
|
146
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_start=3262
|
|
147
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_end=3318
|
|
148
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_start=3320
|
|
149
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_end=3363
|
|
150
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_start=3365
|
|
151
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_end=3420
|
|
152
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_start=3422
|
|
153
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_end=3464
|
|
154
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_start=3466
|
|
155
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_end=3520
|
|
156
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_start=3522
|
|
157
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_end=3563
|
|
158
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=3565
|
|
159
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3691
|
|
160
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3693
|
|
161
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3804
|
|
162
|
+
_globals['_CLUSTERSERVICE']._serialized_start=3807
|
|
163
|
+
_globals['_CLUSTERSERVICE']._serialized_end=5163
|
|
163
164
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -11,6 +11,7 @@ import google.protobuf.internal.containers
|
|
|
11
11
|
import google.protobuf.message
|
|
12
12
|
import typing
|
|
13
13
|
import yandex.cloud.operation.operation_pb2
|
|
14
|
+
import yandex.cloud.trino.v1.access_control_pb2
|
|
14
15
|
import yandex.cloud.trino.v1.catalog_pb2
|
|
15
16
|
import yandex.cloud.trino.v1.cluster_pb2
|
|
16
17
|
import yandex.cloud.trino.v1.maintenance_pb2
|
|
@@ -187,6 +188,7 @@ class TrinoConfigSpec(google.protobuf.message.Message):
|
|
|
187
188
|
WORKER_CONFIG_FIELD_NUMBER: builtins.int
|
|
188
189
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
189
190
|
VERSION_FIELD_NUMBER: builtins.int
|
|
191
|
+
ACCESS_CONTROL_FIELD_NUMBER: builtins.int
|
|
190
192
|
version: builtins.str
|
|
191
193
|
"""Trino version.
|
|
192
194
|
Format: "Number".
|
|
@@ -209,6 +211,10 @@ class TrinoConfigSpec(google.protobuf.message.Message):
|
|
|
209
211
|
def retry_policy(self) -> yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig:
|
|
210
212
|
"""Configuration for retry policy, specifying the spooling storage destination and other settings."""
|
|
211
213
|
|
|
214
|
+
@property
|
|
215
|
+
def access_control(self) -> yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig:
|
|
216
|
+
"""Configuration for access control, specifying the fine-grained access rules."""
|
|
217
|
+
|
|
212
218
|
def __init__(
|
|
213
219
|
self,
|
|
214
220
|
*,
|
|
@@ -217,9 +223,10 @@ class TrinoConfigSpec(google.protobuf.message.Message):
|
|
|
217
223
|
worker_config: yandex.cloud.trino.v1.cluster_pb2.WorkerConfig | None = ...,
|
|
218
224
|
retry_policy: yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig | None = ...,
|
|
219
225
|
version: builtins.str = ...,
|
|
226
|
+
access_control: yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig | None = ...,
|
|
220
227
|
) -> None: ...
|
|
221
|
-
def HasField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
222
|
-
def ClearField(self, field_name: typing.Literal["catalogs", b"catalogs", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
228
|
+
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
229
|
+
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "catalogs", b"catalogs", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
223
230
|
|
|
224
231
|
global___TrinoConfigSpec = TrinoConfigSpec
|
|
225
232
|
|
|
@@ -318,6 +325,7 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
|
|
|
318
325
|
WORKER_CONFIG_FIELD_NUMBER: builtins.int
|
|
319
326
|
VERSION_FIELD_NUMBER: builtins.int
|
|
320
327
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
328
|
+
ACCESS_CONTROL_FIELD_NUMBER: builtins.int
|
|
321
329
|
version: builtins.str
|
|
322
330
|
"""Trino version.
|
|
323
331
|
Format: "Number".
|
|
@@ -334,6 +342,10 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
|
|
|
334
342
|
def retry_policy(self) -> yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig:
|
|
335
343
|
"""Configuration for retry policy, specifying the spooling storage destination and other settings."""
|
|
336
344
|
|
|
345
|
+
@property
|
|
346
|
+
def access_control(self) -> yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig:
|
|
347
|
+
"""Configuration for access control, specifying the fine-grained access rules."""
|
|
348
|
+
|
|
337
349
|
def __init__(
|
|
338
350
|
self,
|
|
339
351
|
*,
|
|
@@ -341,9 +353,10 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
|
|
|
341
353
|
worker_config: global___UpdateWorkerConfig | None = ...,
|
|
342
354
|
version: builtins.str = ...,
|
|
343
355
|
retry_policy: yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig | None = ...,
|
|
356
|
+
access_control: yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig | None = ...,
|
|
344
357
|
) -> None: ...
|
|
345
|
-
def HasField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
346
|
-
def ClearField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
358
|
+
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
359
|
+
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
347
360
|
|
|
348
361
|
global___UpdateTrinoConfigSpec = UpdateTrinoConfigSpec
|
|
349
362
|
|
|
@@ -23,10 +23,11 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
26
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/ytsaurus/v1/cluster.proto\x12\x18yandex.cloud.ytsaurus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/ytsaurus/v1/cluster.proto\x12\x18yandex.cloud.ytsaurus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1dyandex/cloud/validation.proto\"\xc6\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.ytsaurus.v1.Cluster.LabelsEntry\x12\x11\n\tsubnet_id\x18\x07 \x01(\t\x12\x1a\n\x12security_group_ids\x18\x08 \x03(\t\x12\x33\n\x04spec\x18\t \x01(\x0b\x32%.yandex.cloud.ytsaurus.v1.ClusterSpec\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x0b \x01(\t\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\r \x01(\t\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.yandex.cloud.ytsaurus.v1.Cluster.Status\x12\x38\n\x06health\x18\x0f \x01(\x0e\x32(.yandex.cloud.ytsaurus.v1.Cluster.Health\x12>\n\tendpoints\x18\x10 \x01(\x0b\x32+.yandex.cloud.ytsaurus.v1.Cluster.Endpoints\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8e\x01\n\tEndpoints\x12\n\n\x02ui\x18\x01 \x01(\t\x12$\n\x1c\x65xternal_http_proxy_balancer\x18\x02 \x01(\t\x12!\n\x19internal_http_proxy_alias\x18\x03 \x01(\t\x12 \n\x18internal_rpc_proxy_alias\x18\x04 \x01(\tJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x87\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"\xf5\x01\n\x0bStorageSpec\x12:\n\x03hdd\x18\x01 \x01(\x0b\x32-.yandex.cloud.ytsaurus.v1.StorageSpec.HddSpec\x12:\n\x03ssd\x18\x02 \x01(\x0b\x32-.yandex.cloud.ytsaurus.v1.StorageSpec.SsdSpec\x1a/\n\x07HddSpec\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\r\n\x05\x63ount\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02\x1a=\n\x07SsdSpec\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\r\n\x05\x63ount\x18\x04 \x01(\x03J\x04\x08\x01\x10\x02\"\xfa\x03\n\x0b\x43omputeSpec\x12\x0e\n\x06preset\x18\x01 \x01(\t\x12=\n\x05\x64isks\x18\x02 \x03(\x0b\x32..yandex.cloud.ytsaurus.v1.ComputeSpec.DiskSpec\x12G\n\x0cscale_policy\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy\x12\x0c\n\x04name\x18\x04 \x01(\t\x1a<\n\x08\x44iskSpec\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x11\n\tlocations\x18\x03 \x03(\t\x1a\x86\x02\n\x0bScalePolicy\x12M\n\x05\x66ixed\x18\x01 \x01(\x0b\x32<.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy.FixedScaleH\x00\x12K\n\x04\x61uto\x18\x02 \x01(\x0b\x32;.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy.AutoScaleH\x00\x1a\x1a\n\nFixedScale\x12\x0c\n\x04size\x18\x01 \x01(\x03\x1a/\n\tAutoScale\x12\x10\n\x08min_size\x18\x01 \x01(\x03\x12\x10\n\x08max_size\x18\x02 \x01(\x03\x42\x0e\n\x06policy\x12\x04\xc0\xc1\x31\x01\"$\n\rHttpProxySpec\x12\r\n\x05\x63ount\x18\x02 \x01(\x03J\x04\x08\x01\x10\x02\"#\n\x0cRpcProxySpec\x12\r\n\x05\x63ount\x18\x02 \x01(\x03J\x04\x08\x01\x10\x02\"+\n\nTabletSpec\x12\x0e\n\x06preset\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"w\n\tProxySpec\x12\x35\n\x04http\x18\x01 \x01(\x0b\x32\'.yandex.cloud.ytsaurus.v1.HttpProxySpec\x12\x33\n\x03rpc\x18\x02 \x01(\x0b\x32&.yandex.cloud.ytsaurus.v1.RpcProxySpec\"9\n\x08OdinSpec\x12-\n\nchecks_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x99\x02\n\x0b\x43lusterSpec\x12\x36\n\x07storage\x18\x01 \x01(\x0b\x32%.yandex.cloud.ytsaurus.v1.StorageSpec\x12\x36\n\x07\x63ompute\x18\x02 \x03(\x0b\x32%.yandex.cloud.ytsaurus.v1.ComputeSpec\x12\x34\n\x06tablet\x18\x03 \x01(\x0b\x32$.yandex.cloud.ytsaurus.v1.TabletSpec\x12\x32\n\x05proxy\x18\x04 \x01(\x0b\x32#.yandex.cloud.ytsaurus.v1.ProxySpec\x12\x30\n\x04odin\x18\x05 \x01(\x0b\x32\".yandex.cloud.ytsaurus.v1.OdinSpecBe\n\x1cyandex.cloud.api.ytsaurus.v1ZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/ytsaurus/v1;ytsaurusb\x06proto3')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,40 +39,42 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
39
|
_globals['_CLUSTER_LABELSENTRY']._serialized_options = b'8\001'
|
|
39
40
|
_globals['_COMPUTESPEC_SCALEPOLICY'].oneofs_by_name['policy']._loaded_options = None
|
|
40
41
|
_globals['_COMPUTESPEC_SCALEPOLICY'].oneofs_by_name['policy']._serialized_options = b'\300\3011\001'
|
|
41
|
-
_globals['_CLUSTER']._serialized_start=
|
|
42
|
-
_globals['_CLUSTER']._serialized_end=
|
|
43
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_start=
|
|
44
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_end=
|
|
45
|
-
_globals['_CLUSTER_ENDPOINTS']._serialized_start=
|
|
46
|
-
_globals['_CLUSTER_ENDPOINTS']._serialized_end=
|
|
47
|
-
_globals['_CLUSTER_STATUS']._serialized_start=
|
|
48
|
-
_globals['_CLUSTER_STATUS']._serialized_end=
|
|
49
|
-
_globals['_CLUSTER_HEALTH']._serialized_start=
|
|
50
|
-
_globals['_CLUSTER_HEALTH']._serialized_end=
|
|
51
|
-
_globals['_STORAGESPEC']._serialized_start=
|
|
52
|
-
_globals['_STORAGESPEC']._serialized_end=
|
|
53
|
-
_globals['_STORAGESPEC_HDDSPEC']._serialized_start=
|
|
54
|
-
_globals['_STORAGESPEC_HDDSPEC']._serialized_end=
|
|
55
|
-
_globals['_STORAGESPEC_SSDSPEC']._serialized_start=
|
|
56
|
-
_globals['_STORAGESPEC_SSDSPEC']._serialized_end=
|
|
57
|
-
_globals['_COMPUTESPEC']._serialized_start=
|
|
58
|
-
_globals['_COMPUTESPEC']._serialized_end=
|
|
59
|
-
_globals['_COMPUTESPEC_DISKSPEC']._serialized_start=
|
|
60
|
-
_globals['_COMPUTESPEC_DISKSPEC']._serialized_end=
|
|
61
|
-
_globals['_COMPUTESPEC_SCALEPOLICY']._serialized_start=
|
|
62
|
-
_globals['_COMPUTESPEC_SCALEPOLICY']._serialized_end=
|
|
63
|
-
_globals['_COMPUTESPEC_SCALEPOLICY_FIXEDSCALE']._serialized_start=
|
|
64
|
-
_globals['_COMPUTESPEC_SCALEPOLICY_FIXEDSCALE']._serialized_end=
|
|
65
|
-
_globals['_COMPUTESPEC_SCALEPOLICY_AUTOSCALE']._serialized_start=
|
|
66
|
-
_globals['_COMPUTESPEC_SCALEPOLICY_AUTOSCALE']._serialized_end=
|
|
67
|
-
_globals['_HTTPPROXYSPEC']._serialized_start=
|
|
68
|
-
_globals['_HTTPPROXYSPEC']._serialized_end=
|
|
69
|
-
_globals['_RPCPROXYSPEC']._serialized_start=
|
|
70
|
-
_globals['_RPCPROXYSPEC']._serialized_end=
|
|
71
|
-
_globals['_TABLETSPEC']._serialized_start=
|
|
72
|
-
_globals['_TABLETSPEC']._serialized_end=
|
|
73
|
-
_globals['_PROXYSPEC']._serialized_start=
|
|
74
|
-
_globals['_PROXYSPEC']._serialized_end=
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
42
|
+
_globals['_CLUSTER']._serialized_start=165
|
|
43
|
+
_globals['_CLUSTER']._serialized_end=1131
|
|
44
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=738
|
|
45
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=783
|
|
46
|
+
_globals['_CLUSTER_ENDPOINTS']._serialized_start=786
|
|
47
|
+
_globals['_CLUSTER_ENDPOINTS']._serialized_end=928
|
|
48
|
+
_globals['_CLUSTER_STATUS']._serialized_start=931
|
|
49
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1066
|
|
50
|
+
_globals['_CLUSTER_HEALTH']._serialized_start=1068
|
|
51
|
+
_globals['_CLUSTER_HEALTH']._serialized_end=1131
|
|
52
|
+
_globals['_STORAGESPEC']._serialized_start=1134
|
|
53
|
+
_globals['_STORAGESPEC']._serialized_end=1379
|
|
54
|
+
_globals['_STORAGESPEC_HDDSPEC']._serialized_start=1269
|
|
55
|
+
_globals['_STORAGESPEC_HDDSPEC']._serialized_end=1316
|
|
56
|
+
_globals['_STORAGESPEC_SSDSPEC']._serialized_start=1318
|
|
57
|
+
_globals['_STORAGESPEC_SSDSPEC']._serialized_end=1379
|
|
58
|
+
_globals['_COMPUTESPEC']._serialized_start=1382
|
|
59
|
+
_globals['_COMPUTESPEC']._serialized_end=1888
|
|
60
|
+
_globals['_COMPUTESPEC_DISKSPEC']._serialized_start=1563
|
|
61
|
+
_globals['_COMPUTESPEC_DISKSPEC']._serialized_end=1623
|
|
62
|
+
_globals['_COMPUTESPEC_SCALEPOLICY']._serialized_start=1626
|
|
63
|
+
_globals['_COMPUTESPEC_SCALEPOLICY']._serialized_end=1888
|
|
64
|
+
_globals['_COMPUTESPEC_SCALEPOLICY_FIXEDSCALE']._serialized_start=1797
|
|
65
|
+
_globals['_COMPUTESPEC_SCALEPOLICY_FIXEDSCALE']._serialized_end=1823
|
|
66
|
+
_globals['_COMPUTESPEC_SCALEPOLICY_AUTOSCALE']._serialized_start=1825
|
|
67
|
+
_globals['_COMPUTESPEC_SCALEPOLICY_AUTOSCALE']._serialized_end=1872
|
|
68
|
+
_globals['_HTTPPROXYSPEC']._serialized_start=1890
|
|
69
|
+
_globals['_HTTPPROXYSPEC']._serialized_end=1926
|
|
70
|
+
_globals['_RPCPROXYSPEC']._serialized_start=1928
|
|
71
|
+
_globals['_RPCPROXYSPEC']._serialized_end=1963
|
|
72
|
+
_globals['_TABLETSPEC']._serialized_start=1965
|
|
73
|
+
_globals['_TABLETSPEC']._serialized_end=2008
|
|
74
|
+
_globals['_PROXYSPEC']._serialized_start=2010
|
|
75
|
+
_globals['_PROXYSPEC']._serialized_end=2129
|
|
76
|
+
_globals['_ODINSPEC']._serialized_start=2131
|
|
77
|
+
_globals['_ODINSPEC']._serialized_end=2188
|
|
78
|
+
_globals['_CLUSTERSPEC']._serialized_start=2191
|
|
79
|
+
_globals['_CLUSTERSPEC']._serialized_end=2472
|
|
77
80
|
# @@protoc_insertion_point(module_scope)
|