yandexcloud 0.360.0__py3-none-any.whl → 0.362.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/airflow/v1/cluster_pb2.py +32 -28
- yandex/cloud/airflow/v1/cluster_pb2.pyi +31 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +26 -26
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/audittrails/v1/trail_pb2.py +47 -43
- yandex/cloud/audittrails/v1/trail_pb2.pyi +23 -3
- yandex/cloud/baremetal/v1alpha/configuration_pb2.py +10 -6
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +10 -2
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +15 -15
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +4 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.py +9 -9
- yandex/cloud/clouddesktop/v1/desktop_pb2.pyi +4 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +29 -21
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +60 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +45 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +26 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +14 -14
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +4 -1
- yandex/cloud/iam/v1/access_analyzer_service_pb2.py +56 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2.pyi +105 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.py +101 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.pyi +50 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +24 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +2 -2
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1 -1
- yandex/cloud/mdb/clickhouse/v1/version_pb2.py +2 -2
- yandex/cloud/mdb/clickhouse/v1/version_pb2.pyi +5 -1
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +47 -43
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +111 -107
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2.py +81 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2.py +81 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2.py +181 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2.pyi +1130 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2.py +181 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2.pyi +1122 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +30 -28
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +30 -18
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +100 -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/spqr/v1/cluster_service_pb2.py +127 -159
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +0 -93
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +0 -131
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +0 -57
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +13 -25
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +0 -35
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +0 -44
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +0 -20
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +17 -29
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +0 -35
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +0 -44
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +0 -20
- yandex/cloud/organizationmanager/v1/group_service_pb2.py +21 -3
- yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +102 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +44 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +20 -0
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -6
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +0 -1
- yandex/cloud/speechsense/v1/analysis/assistants_pb2.py +41 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2.pyi +83 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.py +24 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/assistant_pb2.py +48 -0
- yandex/cloud/speechsense/v1/assistant_pb2.pyi +178 -0
- yandex/cloud/speechsense/v1/assistant_pb2_grpc.py +24 -0
- yandex/cloud/speechsense/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2.py +51 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2.pyi +76 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.py +142 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.pyi +64 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +16 -15
- yandex/cloud/speechsense/v1/talk_pb2.pyi +9 -2
- yandex/cloud/trino/v1/catalog_pb2.py +96 -84
- yandex/cloud/trino/v1/catalog_pb2.pyi +56 -3
- yandex/cloud/video/v1/video_service_pb2.py +54 -52
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/RECORD +129 -97
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.362.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.iam.v1.resource_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class ListSubjectAccessBindingsRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
SUBJECT_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
23
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
24
|
+
subject_id: builtins.str
|
|
25
|
+
"""SubjectId to list access bindings for."""
|
|
26
|
+
organization_id: builtins.str
|
|
27
|
+
"""OrganizationId to search access bindings in."""
|
|
28
|
+
page_size: builtins.int
|
|
29
|
+
"""The maximum number of results per page to return. If the number of available
|
|
30
|
+
results is larger than [page_size],
|
|
31
|
+
the service returns a [ListSubjectAccessBindingsResponse.next_page_token]
|
|
32
|
+
that can be used to get the next page of results in subsequent list requests.
|
|
33
|
+
Default value: 100
|
|
34
|
+
"""
|
|
35
|
+
page_token: builtins.str
|
|
36
|
+
"""Page token. To get the next page of results, set [page_token]
|
|
37
|
+
to the [ListSubjectAccessBindingsResponse.next_page_token]
|
|
38
|
+
returned by a previous list request.
|
|
39
|
+
"""
|
|
40
|
+
def __init__(
|
|
41
|
+
self,
|
|
42
|
+
*,
|
|
43
|
+
subject_id: builtins.str = ...,
|
|
44
|
+
organization_id: builtins.str = ...,
|
|
45
|
+
page_size: builtins.int = ...,
|
|
46
|
+
page_token: builtins.str = ...,
|
|
47
|
+
) -> None: ...
|
|
48
|
+
def ClearField(self, field_name: typing.Literal["organization_id", b"organization_id", "page_size", b"page_size", "page_token", b"page_token", "subject_id", b"subject_id"]) -> None: ...
|
|
49
|
+
|
|
50
|
+
global___ListSubjectAccessBindingsRequest = ListSubjectAccessBindingsRequest
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class ListSubjectAccessBindingsResponse(google.protobuf.message.Message):
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
55
|
+
|
|
56
|
+
SUBJECT_ACCESS_BINDINGS_FIELD_NUMBER: builtins.int
|
|
57
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
58
|
+
next_page_token: builtins.str
|
|
59
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
60
|
+
is larger than [ListSubjectAccessBindingsRequest.page_size], use
|
|
61
|
+
the [next_page_token] as the value
|
|
62
|
+
for the [ListSubjectAccessBindingsRequest.page_token] query parameter
|
|
63
|
+
in the next list request. Each subsequent list request will have its own
|
|
64
|
+
[next_page_token] to continue paging through the results.
|
|
65
|
+
"""
|
|
66
|
+
@property
|
|
67
|
+
def subject_access_bindings(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SubjectAccessBinding]:
|
|
68
|
+
"""List of access bindings for the specified subject."""
|
|
69
|
+
|
|
70
|
+
def __init__(
|
|
71
|
+
self,
|
|
72
|
+
*,
|
|
73
|
+
subject_access_bindings: collections.abc.Iterable[global___SubjectAccessBinding] | None = ...,
|
|
74
|
+
next_page_token: builtins.str = ...,
|
|
75
|
+
) -> None: ...
|
|
76
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "subject_access_bindings", b"subject_access_bindings"]) -> None: ...
|
|
77
|
+
|
|
78
|
+
global___ListSubjectAccessBindingsResponse = ListSubjectAccessBindingsResponse
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class SubjectAccessBinding(google.protobuf.message.Message):
|
|
82
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
83
|
+
|
|
84
|
+
ROLE_ID_FIELD_NUMBER: builtins.int
|
|
85
|
+
RESOURCE_FIELD_NUMBER: builtins.int
|
|
86
|
+
SUBJECT_ID_FIELD_NUMBER: builtins.int
|
|
87
|
+
role_id: builtins.str
|
|
88
|
+
"""Role assigned to the subject."""
|
|
89
|
+
subject_id: builtins.str
|
|
90
|
+
"""Identifier of the subject to which this role is granted."""
|
|
91
|
+
@property
|
|
92
|
+
def resource(self) -> yandex.cloud.iam.v1.resource_pb2.Resource:
|
|
93
|
+
"""Resource to which the access binding applies."""
|
|
94
|
+
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
*,
|
|
98
|
+
role_id: builtins.str = ...,
|
|
99
|
+
resource: yandex.cloud.iam.v1.resource_pb2.Resource | None = ...,
|
|
100
|
+
subject_id: builtins.str = ...,
|
|
101
|
+
) -> None: ...
|
|
102
|
+
def HasField(self, field_name: typing.Literal["resource", b"resource"]) -> builtins.bool: ...
|
|
103
|
+
def ClearField(self, field_name: typing.Literal["resource", b"resource", "role_id", b"role_id", "subject_id", b"subject_id"]) -> None: ...
|
|
104
|
+
|
|
105
|
+
global___SubjectAccessBinding = SubjectAccessBinding
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
from yandex.cloud.iam.v1 import access_analyzer_service_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
+
except ImportError:
|
|
16
|
+
_version_not_supported = True
|
|
17
|
+
|
|
18
|
+
if _version_not_supported:
|
|
19
|
+
raise RuntimeError(
|
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
+
+ f' but the generated code in yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.py depends on'
|
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class AccessAnalyzerServiceStub(object):
|
|
29
|
+
"""A set of methods for access analysis.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
def __init__(self, channel):
|
|
33
|
+
"""Constructor.
|
|
34
|
+
|
|
35
|
+
Args:
|
|
36
|
+
channel: A grpc.Channel.
|
|
37
|
+
"""
|
|
38
|
+
self.ListSubjectAccessBindings = channel.unary_unary(
|
|
39
|
+
'/yandex.cloud.iam.v1.AccessAnalyzerService/ListSubjectAccessBindings',
|
|
40
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2.ListSubjectAccessBindingsRequest.SerializeToString,
|
|
41
|
+
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2.ListSubjectAccessBindingsResponse.FromString,
|
|
42
|
+
_registered_method=True)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class AccessAnalyzerServiceServicer(object):
|
|
46
|
+
"""A set of methods for access analysis.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def ListSubjectAccessBindings(self, request, context):
|
|
50
|
+
"""Returns the list of access bindings for the specified subject in chosen organization.
|
|
51
|
+
"""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details('Method not implemented!')
|
|
54
|
+
raise NotImplementedError('Method not implemented!')
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def add_AccessAnalyzerServiceServicer_to_server(servicer, server):
|
|
58
|
+
rpc_method_handlers = {
|
|
59
|
+
'ListSubjectAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
60
|
+
servicer.ListSubjectAccessBindings,
|
|
61
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2.ListSubjectAccessBindingsRequest.FromString,
|
|
62
|
+
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2.ListSubjectAccessBindingsResponse.SerializeToString,
|
|
63
|
+
),
|
|
64
|
+
}
|
|
65
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
66
|
+
'yandex.cloud.iam.v1.AccessAnalyzerService', rpc_method_handlers)
|
|
67
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
68
|
+
server.add_registered_method_handlers('yandex.cloud.iam.v1.AccessAnalyzerService', rpc_method_handlers)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# This class is part of an EXPERIMENTAL API.
|
|
72
|
+
class AccessAnalyzerService(object):
|
|
73
|
+
"""A set of methods for access analysis.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
@staticmethod
|
|
77
|
+
def ListSubjectAccessBindings(request,
|
|
78
|
+
target,
|
|
79
|
+
options=(),
|
|
80
|
+
channel_credentials=None,
|
|
81
|
+
call_credentials=None,
|
|
82
|
+
insecure=False,
|
|
83
|
+
compression=None,
|
|
84
|
+
wait_for_ready=None,
|
|
85
|
+
timeout=None,
|
|
86
|
+
metadata=None):
|
|
87
|
+
return grpc.experimental.unary_unary(
|
|
88
|
+
request,
|
|
89
|
+
target,
|
|
90
|
+
'/yandex.cloud.iam.v1.AccessAnalyzerService/ListSubjectAccessBindings',
|
|
91
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2.ListSubjectAccessBindingsRequest.SerializeToString,
|
|
92
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_access__analyzer__service__pb2.ListSubjectAccessBindingsResponse.FromString,
|
|
93
|
+
options,
|
|
94
|
+
channel_credentials,
|
|
95
|
+
insecure,
|
|
96
|
+
call_credentials,
|
|
97
|
+
compression,
|
|
98
|
+
wait_for_ready,
|
|
99
|
+
timeout,
|
|
100
|
+
metadata,
|
|
101
|
+
_registered_method=True)
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
import yandex.cloud.iam.v1.access_analyzer_service_pb2
|
|
12
|
+
|
|
13
|
+
_T = typing.TypeVar("_T")
|
|
14
|
+
|
|
15
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
16
|
+
|
|
17
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
class AccessAnalyzerServiceStub:
|
|
21
|
+
"""A set of methods for access analysis."""
|
|
22
|
+
|
|
23
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
|
+
ListSubjectAccessBindings: grpc.UnaryUnaryMultiCallable[
|
|
25
|
+
yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsRequest,
|
|
26
|
+
yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsResponse,
|
|
27
|
+
]
|
|
28
|
+
"""Returns the list of access bindings for the specified subject in chosen organization."""
|
|
29
|
+
|
|
30
|
+
class AccessAnalyzerServiceAsyncStub:
|
|
31
|
+
"""A set of methods for access analysis."""
|
|
32
|
+
|
|
33
|
+
ListSubjectAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
|
|
34
|
+
yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsRequest,
|
|
35
|
+
yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsResponse,
|
|
36
|
+
]
|
|
37
|
+
"""Returns the list of access bindings for the specified subject in chosen organization."""
|
|
38
|
+
|
|
39
|
+
class AccessAnalyzerServiceServicer(metaclass=abc.ABCMeta):
|
|
40
|
+
"""A set of methods for access analysis."""
|
|
41
|
+
|
|
42
|
+
@abc.abstractmethod
|
|
43
|
+
def ListSubjectAccessBindings(
|
|
44
|
+
self,
|
|
45
|
+
request: yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsRequest,
|
|
46
|
+
context: _ServicerContext,
|
|
47
|
+
) -> typing.Union[yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsResponse, collections.abc.Awaitable[yandex.cloud.iam.v1.access_analyzer_service_pb2.ListSubjectAccessBindingsResponse]]:
|
|
48
|
+
"""Returns the list of access bindings for the specified subject in chosen organization."""
|
|
49
|
+
|
|
50
|
+
def add_AccessAnalyzerServiceServicer_to_server(servicer: AccessAnalyzerServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -30,7 +30,7 @@ from yandex.cloud.mdb.clickhouse.v1 import maintenance_pb2 as yandex_dot_cloud_d
|
|
|
30
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/cluster.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x36yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto\x1a\x30yandex/cloud/mdb/clickhouse/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x8c\t\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\x43\n\x06labels\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.LabelsEntry\x12H\n\x0b\x65nvironment\x18\x07 \x01(\x0e\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.Environment\x12>\n\nmonitoring\x18\x08 \x03(\x0b\x32*.yandex.cloud.mdb.clickhouse.v1.Monitoring\x12=\n\x06\x63onfig\x18\t \x01(\x0b\x32-.yandex.cloud.mdb.clickhouse.v1.ClusterConfig\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12>\n\x06health\x18\x0b \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Health\x12>\n\x06status\x18\x0c \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Status\x12\x1a\n\x12service_account_id\x18\r \x01(\t\x12M\n\x12maintenance_window\x18\x0e \x01(\x0b\x32\x31.yandex.cloud.mdb.clickhouse.v1.MaintenanceWindow\x12O\n\x11planned_operation\x18\x0f \x01(\x0b\x32\x34.yandex.cloud.mdb.clickhouse.v1.MaintenanceOperation\x12\x1a\n\x12security_group_ids\x18\x10 \x03(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x11 \x01(\x08\x12<\n\x16\x64isk_encryption_key_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\r\n\tPRESTABLE\x10\x02\"?\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\"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\x08UPDATING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07J\x04\x08\x12\x10\x13\"=\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\"\xe4\x07\n\rClusterConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12L\n\nclickhouse\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Clickhouse\x12J\n\tzookeeper\x18\x03 \x01(\x0b\x32\x37.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Zookeeper\x12\x33\n\x13\x62\x61\x63kup_window_start\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0b\x32&.yandex.cloud.mdb.clickhouse.v1.Access\x12\x43\n\rcloud_storage\x18\x06 \x01(\x0b\x32,.yandex.cloud.mdb.clickhouse.v1.CloudStorage\x12;\n\x17sql_database_management\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13sql_user_management\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0f\x65mbedded_keeper\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x19\x62\x61\x63kup_retain_period_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xea\x01\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x03 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\x1a\x9d\x01\n\tZookeeper\x12<\n\tresources\x18\x01 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x02 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"f\n\x05Shard\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12;\n\x06\x63onfig\x18\x03 \x01(\x0b\x32+.yandex.cloud.mdb.clickhouse.v1.ShardConfig\"?\n\x06Shards\x12\x35\n\x06shards\x18\x01 \x03(\x0b\x32%.yandex.cloud.mdb.clickhouse.v1.Shard\"X\n\nShardGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bshard_names\x18\x04 \x03(\t\"\xf3\x02\n\x0bShardConfig\x12J\n\nclickhouse\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.mdb.clickhouse.v1.ShardConfig.Clickhouse\x1a\x97\x02\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12+\n\x06weight\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12R\n\x15\x64isk_size_autoscaling\x18\x04 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/cluster.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x36yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto\x1a\x30yandex/cloud/mdb/clickhouse/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x8c\t\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\x43\n\x06labels\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.LabelsEntry\x12H\n\x0b\x65nvironment\x18\x07 \x01(\x0e\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.Environment\x12>\n\nmonitoring\x18\x08 \x03(\x0b\x32*.yandex.cloud.mdb.clickhouse.v1.Monitoring\x12=\n\x06\x63onfig\x18\t \x01(\x0b\x32-.yandex.cloud.mdb.clickhouse.v1.ClusterConfig\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12>\n\x06health\x18\x0b \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Health\x12>\n\x06status\x18\x0c \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Status\x12\x1a\n\x12service_account_id\x18\r \x01(\t\x12M\n\x12maintenance_window\x18\x0e \x01(\x0b\x32\x31.yandex.cloud.mdb.clickhouse.v1.MaintenanceWindow\x12O\n\x11planned_operation\x18\x0f \x01(\x0b\x32\x34.yandex.cloud.mdb.clickhouse.v1.MaintenanceOperation\x12\x1a\n\x12security_group_ids\x18\x10 \x03(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x11 \x01(\x08\x12<\n\x16\x64isk_encryption_key_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\r\n\tPRESTABLE\x10\x02\"?\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\"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\x08UPDATING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07J\x04\x08\x12\x10\x13\"=\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\"\xe4\x07\n\rClusterConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12L\n\nclickhouse\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Clickhouse\x12J\n\tzookeeper\x18\x03 \x01(\x0b\x32\x37.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Zookeeper\x12\x33\n\x13\x62\x61\x63kup_window_start\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0b\x32&.yandex.cloud.mdb.clickhouse.v1.Access\x12\x43\n\rcloud_storage\x18\x06 \x01(\x0b\x32,.yandex.cloud.mdb.clickhouse.v1.CloudStorage\x12;\n\x17sql_database_management\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13sql_user_management\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0f\x65mbedded_keeper\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x19\x62\x61\x63kup_retain_period_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xea\x01\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x03 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\x1a\x9d\x01\n\tZookeeper\x12<\n\tresources\x18\x01 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x02 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"f\n\x05Shard\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12;\n\x06\x63onfig\x18\x03 \x01(\x0b\x32+.yandex.cloud.mdb.clickhouse.v1.ShardConfig\"?\n\x06Shards\x12\x35\n\x06shards\x18\x01 \x03(\x0b\x32%.yandex.cloud.mdb.clickhouse.v1.Shard\"X\n\nShardGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bshard_names\x18\x04 \x03(\t\"\xf3\x02\n\x0bShardConfig\x12J\n\nclickhouse\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.mdb.clickhouse.v1.ShardConfig.Clickhouse\x1a\x97\x02\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12+\n\x06weight\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12R\n\x15\x64isk_size_autoscaling\x18\x04 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"\x89\x04\n\x04Host\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x37\n\x04type\x18\x04 \x01(\x0e\x32).yandex.cloud.mdb.clickhouse.v1.Host.Type\x12<\n\tresources\x18\x05 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12;\n\x06health\x18\x06 \x01(\x0e\x32+.yandex.cloud.mdb.clickhouse.v1.Host.Health\x12\x39\n\x08services\x18\x07 \x03(\x0b\x32\'.yandex.cloud.mdb.clickhouse.v1.Service\x12\x11\n\tsubnet_id\x18\x08 \x01(\t\x12\x18\n\x10\x61ssign_public_ip\x18\t \x01(\x08\x12\x12\n\nshard_name\x18\n \x01(\t\"G\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCLICKHOUSE\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\x12\n\n\x06KEEPER\x10\x03\"U\n\x06Health\x12\x0b\n\x07UNKNOWN\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\x12\x0c\n\x08READONLY\x10\x04\x12\r\n\tRESTORING\x10\x05\"\x97\x02\n\x07Service\x12:\n\x04type\x18\x01 \x01(\x0e\x32,.yandex.cloud.mdb.clickhouse.v1.Service.Type\x12>\n\x06health\x18\x02 \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Service.Health\"G\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCLICKHOUSE\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\x12\n\n\x06KEEPER\x10\x03\"G\n\x06Health\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08READONLY\x10\x03\x12\r\n\tRESTORING\x10\x04\"P\n\tResources\x12\x1a\n\x12resource_preset_id\x18\x01 \x01(\t\x12\x11\n\tdisk_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x64isk_type_id\x18\x03 \x01(\t\"~\n\x06\x41\x63\x63\x65ss\x12\x11\n\tdata_lens\x18\x01 \x01(\x08\x12\x0f\n\x07web_sql\x18\x02 \x01(\x08\x12\x0f\n\x07metrika\x18\x03 \x01(\x08\x12\x12\n\nserverless\x18\x04 \x01(\x08\x12\x15\n\rdata_transfer\x18\x05 \x01(\x08\x12\x14\n\x0cyandex_query\x18\x06 \x01(\x08\"\x86\x02\n\x0c\x43loudStorage\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12:\n\x0bmove_factor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x07\xfa\xc7\x31\x03\x30-1\x12\x36\n\x12\x64\x61ta_cache_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x13\x64\x61ta_cache_max_size\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x13prefer_not_to_merge\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xe7\x01\n\x13\x44iskSizeAutoscaling\x12K\n\x17planned_usage_threshold\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12M\n\x19\x65mergency_usage_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12\x34\n\x0f\x64isk_size_limit\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueBs\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -75,23 +75,23 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
75
75
|
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_start=2892
|
|
76
76
|
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_end=3171
|
|
77
77
|
_globals['_HOST']._serialized_start=3174
|
|
78
|
-
_globals['_HOST']._serialized_end=
|
|
78
|
+
_globals['_HOST']._serialized_end=3695
|
|
79
79
|
_globals['_HOST_TYPE']._serialized_start=3537
|
|
80
|
-
_globals['_HOST_TYPE']._serialized_end=
|
|
81
|
-
_globals['_HOST_HEALTH']._serialized_start=
|
|
82
|
-
_globals['_HOST_HEALTH']._serialized_end=
|
|
83
|
-
_globals['_SERVICE']._serialized_start=
|
|
84
|
-
_globals['_SERVICE']._serialized_end=
|
|
80
|
+
_globals['_HOST_TYPE']._serialized_end=3608
|
|
81
|
+
_globals['_HOST_HEALTH']._serialized_start=3610
|
|
82
|
+
_globals['_HOST_HEALTH']._serialized_end=3695
|
|
83
|
+
_globals['_SERVICE']._serialized_start=3698
|
|
84
|
+
_globals['_SERVICE']._serialized_end=3977
|
|
85
85
|
_globals['_SERVICE_TYPE']._serialized_start=3537
|
|
86
|
-
_globals['_SERVICE_TYPE']._serialized_end=
|
|
87
|
-
_globals['_SERVICE_HEALTH']._serialized_start=
|
|
88
|
-
_globals['_SERVICE_HEALTH']._serialized_end=
|
|
89
|
-
_globals['_RESOURCES']._serialized_start=
|
|
90
|
-
_globals['_RESOURCES']._serialized_end=
|
|
91
|
-
_globals['_ACCESS']._serialized_start=
|
|
92
|
-
_globals['_ACCESS']._serialized_end=
|
|
93
|
-
_globals['_CLOUDSTORAGE']._serialized_start=
|
|
94
|
-
_globals['_CLOUDSTORAGE']._serialized_end=
|
|
95
|
-
_globals['_DISKSIZEAUTOSCALING']._serialized_start=
|
|
96
|
-
_globals['_DISKSIZEAUTOSCALING']._serialized_end=
|
|
86
|
+
_globals['_SERVICE_TYPE']._serialized_end=3608
|
|
87
|
+
_globals['_SERVICE_HEALTH']._serialized_start=3906
|
|
88
|
+
_globals['_SERVICE_HEALTH']._serialized_end=3977
|
|
89
|
+
_globals['_RESOURCES']._serialized_start=3979
|
|
90
|
+
_globals['_RESOURCES']._serialized_end=4059
|
|
91
|
+
_globals['_ACCESS']._serialized_start=4061
|
|
92
|
+
_globals['_ACCESS']._serialized_end=4187
|
|
93
|
+
_globals['_CLOUDSTORAGE']._serialized_start=4190
|
|
94
|
+
_globals['_CLOUDSTORAGE']._serialized_end=4452
|
|
95
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_start=4455
|
|
96
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_end=4686
|
|
97
97
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -534,6 +534,8 @@ class Host(google.protobuf.message.Message):
|
|
|
534
534
|
"""ClickHouse host."""
|
|
535
535
|
ZOOKEEPER: Host._Type.ValueType # 2
|
|
536
536
|
"""ZooKeeper host."""
|
|
537
|
+
KEEPER: Host._Type.ValueType # 3
|
|
538
|
+
"""ClickHouse Keeper host."""
|
|
537
539
|
|
|
538
540
|
class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
|
|
539
541
|
TYPE_UNSPECIFIED: Host.Type.ValueType # 0
|
|
@@ -542,6 +544,8 @@ class Host(google.protobuf.message.Message):
|
|
|
542
544
|
"""ClickHouse host."""
|
|
543
545
|
ZOOKEEPER: Host.Type.ValueType # 2
|
|
544
546
|
"""ZooKeeper host."""
|
|
547
|
+
KEEPER: Host.Type.ValueType # 3
|
|
548
|
+
"""ClickHouse Keeper host."""
|
|
545
549
|
|
|
546
550
|
class _Health:
|
|
547
551
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -557,6 +561,10 @@ class Host(google.protobuf.message.Message):
|
|
|
557
561
|
"""The host is inoperable, and cannot perform any of its essential functions."""
|
|
558
562
|
DEGRADED: Host._Health.ValueType # 3
|
|
559
563
|
"""The host is degraded, and can perform only some of its essential functions."""
|
|
564
|
+
READONLY: Host._Health.ValueType # 4
|
|
565
|
+
"""The host is read-only and cannot perform write requests."""
|
|
566
|
+
RESTORING: Host._Health.ValueType # 5
|
|
567
|
+
"""The host is restoring from backup or syncronzing from other replica."""
|
|
560
568
|
|
|
561
569
|
class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
|
|
562
570
|
UNKNOWN: Host.Health.ValueType # 0
|
|
@@ -567,6 +575,10 @@ class Host(google.protobuf.message.Message):
|
|
|
567
575
|
"""The host is inoperable, and cannot perform any of its essential functions."""
|
|
568
576
|
DEGRADED: Host.Health.ValueType # 3
|
|
569
577
|
"""The host is degraded, and can perform only some of its essential functions."""
|
|
578
|
+
READONLY: Host.Health.ValueType # 4
|
|
579
|
+
"""The host is read-only and cannot perform write requests."""
|
|
580
|
+
RESTORING: Host.Health.ValueType # 5
|
|
581
|
+
"""The host is restoring from backup or syncronzing from other replica."""
|
|
570
582
|
|
|
571
583
|
NAME_FIELD_NUMBER: builtins.int
|
|
572
584
|
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
@@ -640,6 +652,8 @@ class Service(google.protobuf.message.Message):
|
|
|
640
652
|
"""The host is a ClickHouse server."""
|
|
641
653
|
ZOOKEEPER: Service._Type.ValueType # 2
|
|
642
654
|
"""The host is a ZooKeeper server."""
|
|
655
|
+
KEEPER: Service._Type.ValueType # 3
|
|
656
|
+
"""The host is a ClickHouse Keeper server."""
|
|
643
657
|
|
|
644
658
|
class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
|
|
645
659
|
TYPE_UNSPECIFIED: Service.Type.ValueType # 0
|
|
@@ -648,6 +662,8 @@ class Service(google.protobuf.message.Message):
|
|
|
648
662
|
"""The host is a ClickHouse server."""
|
|
649
663
|
ZOOKEEPER: Service.Type.ValueType # 2
|
|
650
664
|
"""The host is a ZooKeeper server."""
|
|
665
|
+
KEEPER: Service.Type.ValueType # 3
|
|
666
|
+
"""The host is a ClickHouse Keeper server."""
|
|
651
667
|
|
|
652
668
|
class _Health:
|
|
653
669
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -661,6 +677,10 @@ class Service(google.protobuf.message.Message):
|
|
|
661
677
|
"""The server is working normally."""
|
|
662
678
|
DEAD: Service._Health.ValueType # 2
|
|
663
679
|
"""The server is dead or unresponsive."""
|
|
680
|
+
READONLY: Service._Health.ValueType # 3
|
|
681
|
+
"""The service is read-only."""
|
|
682
|
+
RESTORING: Service._Health.ValueType # 4
|
|
683
|
+
"""The service is restoring from backup or syncronzing from other replica."""
|
|
664
684
|
|
|
665
685
|
class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
|
|
666
686
|
UNKNOWN: Service.Health.ValueType # 0
|
|
@@ -669,6 +689,10 @@ class Service(google.protobuf.message.Message):
|
|
|
669
689
|
"""The server is working normally."""
|
|
670
690
|
DEAD: Service.Health.ValueType # 2
|
|
671
691
|
"""The server is dead or unresponsive."""
|
|
692
|
+
READONLY: Service.Health.ValueType # 3
|
|
693
|
+
"""The service is read-only."""
|
|
694
|
+
RESTORING: Service.Health.ValueType # 4
|
|
695
|
+
"""The service is restoring from backup or syncronzing from other replica."""
|
|
672
696
|
|
|
673
697
|
TYPE_FIELD_NUMBER: builtins.int
|
|
674
698
|
HEALTH_FIELD_NUMBER: builtins.int
|
|
@@ -2246,7 +2246,7 @@ class ClickhouseConfig(google.protobuf.message.Message):
|
|
|
2246
2246
|
def session_log_enabled(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
2247
2247
|
"""Enables or disables session_log system table.
|
|
2248
2248
|
|
|
2249
|
-
Default value: **true** for versions 25.
|
|
2249
|
+
Default value: **true** for versions 25.3 and higher, **false** for versions 25.2 and lower.
|
|
2250
2250
|
|
|
2251
2251
|
Change of the setting is applied with restart.
|
|
2252
2252
|
|
|
@@ -2258,7 +2258,7 @@ class ClickhouseConfig(google.protobuf.message.Message):
|
|
|
2258
2258
|
"""The maximum size that session_log can grow to before old data will be removed. If set to **0**,
|
|
2259
2259
|
automatic removal of session_log data based on size is disabled.
|
|
2260
2260
|
|
|
2261
|
-
Default value: **536870912** (512 MiB) for versions 25.
|
|
2261
|
+
Default value: **536870912** (512 MiB) for versions 25.3 and higher, **0** for versions 25.2 and lower.
|
|
2262
2262
|
"""
|
|
2263
2263
|
|
|
2264
2264
|
@property
|
|
@@ -2186,7 +2186,7 @@ class UserSettings(google.protobuf.message.Message):
|
|
|
2186
2186
|
def enable_analyzer(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
2187
2187
|
"""Enables or disables new query analyzer.
|
|
2188
2188
|
|
|
2189
|
-
Default value: **true** for versions 25.
|
|
2189
|
+
Default value: **true** for versions 25.9 and higher, **false** for version 25.8, **true** for versions from 25.5 to 25.7, **false** for versions 25.4 and lower.
|
|
2190
2190
|
|
|
2191
2191
|
For details, see [ClickHouse documentation](https://clickhouse.com/docs/guides/developer/understanding-query-execution-with-the-analyzer#analyzer).
|
|
2192
2192
|
"""
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/version.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\"
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/version.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\"Z\n\x07Version\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\ndeprecated\x18\x03 \x01(\x08\x12\x14\n\x0cupdatable_to\x18\x04 \x03(\t\x12\x0b\n\x03lts\x18\x05 \x01(\x08\x42s\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,5 +33,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouse'
|
|
35
35
|
_globals['_VERSION']._serialized_start=80
|
|
36
|
-
_globals['_VERSION']._serialized_end=
|
|
36
|
+
_globals['_VERSION']._serialized_end=170
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -20,12 +20,15 @@ class Version(google.protobuf.message.Message):
|
|
|
20
20
|
NAME_FIELD_NUMBER: builtins.int
|
|
21
21
|
DEPRECATED_FIELD_NUMBER: builtins.int
|
|
22
22
|
UPDATABLE_TO_FIELD_NUMBER: builtins.int
|
|
23
|
+
LTS_FIELD_NUMBER: builtins.int
|
|
23
24
|
id: builtins.str
|
|
24
25
|
"""ID of the version."""
|
|
25
26
|
name: builtins.str
|
|
26
27
|
"""Name of the version."""
|
|
27
28
|
deprecated: builtins.bool
|
|
28
29
|
"""Whether version is deprecated."""
|
|
30
|
+
lts: builtins.bool
|
|
31
|
+
"""Whether version is LTS."""
|
|
29
32
|
@property
|
|
30
33
|
def updatable_to(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
31
34
|
"""List of versions that can be updated from current."""
|
|
@@ -37,7 +40,8 @@ class Version(google.protobuf.message.Message):
|
|
|
37
40
|
name: builtins.str = ...,
|
|
38
41
|
deprecated: builtins.bool = ...,
|
|
39
42
|
updatable_to: collections.abc.Iterable[builtins.str] | None = ...,
|
|
43
|
+
lts: builtins.bool = ...,
|
|
40
44
|
) -> None: ...
|
|
41
|
-
def ClearField(self, field_name: typing.Literal["deprecated", b"deprecated", "id", b"id", "name", b"name", "updatable_to", b"updatable_to"]) -> None: ...
|
|
45
|
+
def ClearField(self, field_name: typing.Literal["deprecated", b"deprecated", "id", b"id", "lts", b"lts", "name", b"name", "updatable_to", b"updatable_to"]) -> None: ...
|
|
42
46
|
|
|
43
47
|
global___Version = Version
|