yandexcloud 0.361.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/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/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 +8 -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/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.361.0.dist-info → yandexcloud-0.362.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.362.0.dist-info}/RECORD +100 -80
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.362.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.362.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.362.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.362.0.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from yandex.cloud.baremetal.v1alpha import disk_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_disk__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/configuration.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\"
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/configuration.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\"e\n\x03\x43PU\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\t\x12\x11\n\x05\x63ores\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x16\n\x0ephysical_cores\x18\x04 \x01(\x03\x12\x15\n\rfrequency_mhz\x18\x05 \x01(\x03\"\x80\x01\n\x16\x44iskDriveConfiguration\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.yandex.cloud.baremetal.v1alpha.DiskDriveType\x12\x12\n\ndisk_count\x18\x02 \x01(\x03\x12\x15\n\rdisk_size_gib\x18\x03 \x01(\x03\"\xf6\x01\n\rConfiguration\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nmemory_gib\x18\x03 \x01(\x03\x12\x30\n\x03\x63pu\x18\x04 \x01(\x0b\x32#.yandex.cloud.baremetal.v1alpha.CPU\x12K\n\x0b\x64isk_drives\x18\x05 \x03(\x0b\x32\x36.yandex.cloud.baremetal.v1alpha.DiskDriveConfiguration\x12!\n\x15network_capacity_gbps\x18\x06 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x07\x63pu_num\x18\x08 \x01(\x03J\x04\x08\x07\x10\x08\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,10 +33,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1al
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
36
|
+
_globals['_CPU'].fields_by_name['cores']._loaded_options = None
|
|
37
|
+
_globals['_CPU'].fields_by_name['cores']._serialized_options = b'\030\001'
|
|
38
|
+
_globals['_CONFIGURATION'].fields_by_name['network_capacity_gbps']._loaded_options = None
|
|
39
|
+
_globals['_CONFIGURATION'].fields_by_name['network_capacity_gbps']._serialized_options = b'\030\001'
|
|
36
40
|
_globals['_CPU']._serialized_start=129
|
|
37
|
-
_globals['_CPU']._serialized_end=
|
|
38
|
-
_globals['_DISKDRIVECONFIGURATION']._serialized_start=
|
|
39
|
-
_globals['_DISKDRIVECONFIGURATION']._serialized_end=
|
|
40
|
-
_globals['_CONFIGURATION']._serialized_start=
|
|
41
|
-
_globals['_CONFIGURATION']._serialized_end=
|
|
41
|
+
_globals['_CPU']._serialized_end=230
|
|
42
|
+
_globals['_DISKDRIVECONFIGURATION']._serialized_start=233
|
|
43
|
+
_globals['_DISKDRIVECONFIGURATION']._serialized_end=361
|
|
44
|
+
_globals['_CONFIGURATION']._serialized_start=364
|
|
45
|
+
_globals['_CONFIGURATION']._serialized_end=610
|
|
42
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,20 +22,28 @@ class CPU(google.protobuf.message.Message):
|
|
|
22
22
|
NAME_FIELD_NUMBER: builtins.int
|
|
23
23
|
VENDOR_FIELD_NUMBER: builtins.int
|
|
24
24
|
CORES_FIELD_NUMBER: builtins.int
|
|
25
|
+
PHYSICAL_CORES_FIELD_NUMBER: builtins.int
|
|
26
|
+
FREQUENCY_MHZ_FIELD_NUMBER: builtins.int
|
|
25
27
|
name: builtins.str
|
|
26
28
|
"""Name of the CPU."""
|
|
27
29
|
vendor: builtins.str
|
|
28
30
|
"""Vendor of the CPU."""
|
|
29
31
|
cores: builtins.int
|
|
30
|
-
"""Number of cores."""
|
|
32
|
+
"""@deprecated. Number of cores."""
|
|
33
|
+
physical_cores: builtins.int
|
|
34
|
+
"""Number of physical cores per CPU (socket)."""
|
|
35
|
+
frequency_mhz: builtins.int
|
|
36
|
+
"""Frequency of the CPU in megahertz (MHz)."""
|
|
31
37
|
def __init__(
|
|
32
38
|
self,
|
|
33
39
|
*,
|
|
34
40
|
name: builtins.str = ...,
|
|
35
41
|
vendor: builtins.str = ...,
|
|
36
42
|
cores: builtins.int = ...,
|
|
43
|
+
physical_cores: builtins.int = ...,
|
|
44
|
+
frequency_mhz: builtins.int = ...,
|
|
37
45
|
) -> None: ...
|
|
38
|
-
def ClearField(self, field_name: typing.Literal["cores", b"cores", "name", b"name", "vendor", b"vendor"]) -> None: ...
|
|
46
|
+
def ClearField(self, field_name: typing.Literal["cores", b"cores", "frequency_mhz", b"frequency_mhz", "name", b"name", "physical_cores", b"physical_cores", "vendor", b"vendor"]) -> None: ...
|
|
39
47
|
|
|
40
48
|
global___CPU = CPU
|
|
41
49
|
|
|
@@ -28,7 +28,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
28
28
|
from yandex.cloud.clouddesktop.v1 import disk_pb2 as yandex_dot_cloud_dot_clouddesktop_dot_v1_dot_disk__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/clouddesktop/v1/desktop_group.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/clouddesktop/v1/disk.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/clouddesktop/v1/desktop_group.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/clouddesktop/v1/disk.proto\"\xe1\x07\n\x0c\x44\x65sktopGroup\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\x45\n\x06status\x18\x04 \x01(\x0e\x32\x35.yandex.cloud.clouddesktop.v1.api.DesktopGroup.Status\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12G\n\x0eresources_spec\x18\x15 \x01(\x0b\x32/.yandex.cloud.clouddesktop.v1.api.ResourcesSpec\x12V\n\x16network_interface_spec\x18\x16 \x01(\x0b\x32\x36.yandex.cloud.clouddesktop.v1.api.NetworkInterfaceSpec\x12J\n\x06labels\x18\x17 \x03(\x0b\x32:.yandex.cloud.clouddesktop.v1.api.DesktopGroup.LabelsEntry\x12\x42\n\x0e\x62oot_disk_spec\x18\x18 \x01(\x0b\x32*.yandex.cloud.clouddesktop.v1.api.DiskSpec\x12\x42\n\x0e\x64\x61ta_disk_spec\x18\x19 \x01(\x0b\x32*.yandex.cloud.clouddesktop.v1.api.DiskSpec\x12Q\n\x0cgroup_config\x18\x1a \x01(\x0b\x32;.yandex.cloud.clouddesktop.v1.api.DesktopGroupConfiguration\x12P\n\x12\x61uto_update_policy\x18\x1b \x01(\x0b\x32\x32.yandex.cloud.clouddesktop.v1.api.AutoUpdatePolicyH\x00\x12T\n\x14manual_update_policy\x18\x1c \x01(\x0b\x32\x34.yandex.cloud.clouddesktop.v1.api.ManualUpdatePolicyH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x42\x15\n\rupdate_policy\x12\x04\xc0\xc1\x31\x01J\x04\x08\r\x10\x15J\x04\x08\x05\x10\x0b\"\xd3\x02\n\x19\x44\x65sktopGroupConfiguration\x12%\n\x12min_ready_desktops\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12&\n\x13max_desktops_amount\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12]\n\x0c\x64\x65sktop_type\x18\x03 \x01(\x0e\x32G.yandex.cloud.clouddesktop.v1.api.DesktopGroupConfiguration.DesktopType\x12\x37\n\x07members\x18\x04 \x03(\x0b\x32\x1c.yandex.cloud.access.SubjectB\x08\x82\xc8\x31\x04\x30-10\"O\n\x0b\x44\x65sktopType\x12\x1c\n\x18\x44\x45SKTOP_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPERSISTENT\x10\x01\x12\x12\n\x0eNON_PERSISTENT\x10\x02\"b\n\rResourcesSpec\x12\x17\n\x06memory\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x16\n\x05\x63ores\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12 \n\rcore_fraction\x18\x03 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\"`\n\x14NetworkInterfaceSpec\x12 \n\nnetwork_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\nsubnet_ids\x18\x02 \x03(\tB\x12\x82\xc8\x31\x02>0\x8a\xc8\x31\x04<=50\x90\xc8\x31\x01\"\x14\n\x12ManualUpdatePolicy\"\x12\n\x10\x41utoUpdatePolicyBq\n yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktopb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,21 +57,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_NETWORKINTERFACESPEC'].fields_by_name['subnet_ids']._loaded_options = None
|
|
58
58
|
_globals['_NETWORKINTERFACESPEC'].fields_by_name['subnet_ids']._serialized_options = b'\202\3101\002>0\212\3101\004<=50\220\3101\001'
|
|
59
59
|
_globals['_DESKTOPGROUP']._serialized_start=226
|
|
60
|
-
_globals['_DESKTOPGROUP']._serialized_end=
|
|
60
|
+
_globals['_DESKTOPGROUP']._serialized_end=1219
|
|
61
61
|
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_start=1051
|
|
62
62
|
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_end=1096
|
|
63
63
|
_globals['_DESKTOPGROUP_STATUS']._serialized_start=1098
|
|
64
|
-
_globals['_DESKTOPGROUP_STATUS']._serialized_end=
|
|
65
|
-
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_start=
|
|
66
|
-
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_end=
|
|
67
|
-
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_start=
|
|
68
|
-
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_end=
|
|
69
|
-
_globals['_RESOURCESSPEC']._serialized_start=
|
|
70
|
-
_globals['_RESOURCESSPEC']._serialized_end=
|
|
71
|
-
_globals['_NETWORKINTERFACESPEC']._serialized_start=
|
|
72
|
-
_globals['_NETWORKINTERFACESPEC']._serialized_end=
|
|
73
|
-
_globals['_MANUALUPDATEPOLICY']._serialized_start=
|
|
74
|
-
_globals['_MANUALUPDATEPOLICY']._serialized_end=
|
|
75
|
-
_globals['_AUTOUPDATEPOLICY']._serialized_start=
|
|
76
|
-
_globals['_AUTOUPDATEPOLICY']._serialized_end=
|
|
64
|
+
_globals['_DESKTOPGROUP_STATUS']._serialized_end=1184
|
|
65
|
+
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_start=1222
|
|
66
|
+
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_end=1561
|
|
67
|
+
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_start=1482
|
|
68
|
+
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_end=1561
|
|
69
|
+
_globals['_RESOURCESSPEC']._serialized_start=1563
|
|
70
|
+
_globals['_RESOURCESSPEC']._serialized_end=1661
|
|
71
|
+
_globals['_NETWORKINTERFACESPEC']._serialized_start=1663
|
|
72
|
+
_globals['_NETWORKINTERFACESPEC']._serialized_end=1759
|
|
73
|
+
_globals['_MANUALUPDATEPOLICY']._serialized_start=1761
|
|
74
|
+
_globals['_MANUALUPDATEPOLICY']._serialized_end=1781
|
|
75
|
+
_globals['_AUTOUPDATEPOLICY']._serialized_start=1783
|
|
76
|
+
_globals['_AUTOUPDATEPOLICY']._serialized_end=1801
|
|
77
77
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -41,6 +41,8 @@ class DesktopGroup(google.protobuf.message.Message):
|
|
|
41
41
|
"""Desktop group is ready to use."""
|
|
42
42
|
DELETING: DesktopGroup._Status.ValueType # 3
|
|
43
43
|
"""Desktop group is being deleted."""
|
|
44
|
+
UPDATING: DesktopGroup._Status.ValueType # 4
|
|
45
|
+
"""Desktop group is updating."""
|
|
44
46
|
|
|
45
47
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
46
48
|
STATUS_UNSPECIFIED: DesktopGroup.Status.ValueType # 0
|
|
@@ -50,6 +52,8 @@ class DesktopGroup(google.protobuf.message.Message):
|
|
|
50
52
|
"""Desktop group is ready to use."""
|
|
51
53
|
DELETING: DesktopGroup.Status.ValueType # 3
|
|
52
54
|
"""Desktop group is being deleted."""
|
|
55
|
+
UPDATING: DesktopGroup.Status.ValueType # 4
|
|
56
|
+
"""Desktop group is updating."""
|
|
53
57
|
|
|
54
58
|
@typing.final
|
|
55
59
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/clouddesktop/v1/desktop.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/clouddesktop/v1/desktop.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xcf\x05\n\x07\x44\x65sktop\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65sktop_group_id\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x06status\x18\x05 \x01(\x0e\x32\x30.yandex.cloud.clouddesktop.v1.api.Desktop.Status\x12\x0c\n\x04name\x18\x0b \x01(\t\x12>\n\tresources\x18\x15 \x01(\x0b\x32+.yandex.cloud.clouddesktop.v1.api.Resources\x12N\n\x12network_interfaces\x18\x16 \x03(\x0b\x32\x32.yandex.cloud.clouddesktop.v1.api.NetworkInterface\x12\x35\n\x05users\x18\x17 \x03(\x0b\x32&.yandex.cloud.clouddesktop.v1.api.User\x12\x45\n\x06labels\x18\x18 \x03(\x0b\x32\x35.yandex.cloud.clouddesktop.v1.api.Desktop.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc1\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0e\n\nRESTARTING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08STOPPING\x10\x07\x12\x0b\n\x07STOPPED\x10\x08\x12\t\n\x05\x45RROR\x10\t\x12\x13\n\x0f\x43REATION_FAILED\x10\n\x12\x10\n\x0cHEALTH_CHECK\x10\x0bJ\x04\x08\x0c\x10\x15J\x04\x08\x06\x10\x0b\"^\n\tResources\x12\x17\n\x06memory\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x16\n\x05\x63ores\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12 \n\rcore_fraction\x18\x03 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\"N\n\x04User\x12!\n\nsubject_id\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=100\x12#\n\x0csubject_type\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=100\"U\n\x10NetworkInterface\x12 \n\nnetwork_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1f\n\tsubnet_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50Bq\n yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktopb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -51,15 +51,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
51
|
_globals['_NETWORKINTERFACE'].fields_by_name['subnet_id']._loaded_options = None
|
|
52
52
|
_globals['_NETWORKINTERFACE'].fields_by_name['subnet_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
53
53
|
_globals['_DESKTOP']._serialized_start=145
|
|
54
|
-
_globals['_DESKTOP']._serialized_end=
|
|
54
|
+
_globals['_DESKTOP']._serialized_end=864
|
|
55
55
|
_globals['_DESKTOP_LABELSENTRY']._serialized_start=611
|
|
56
56
|
_globals['_DESKTOP_LABELSENTRY']._serialized_end=656
|
|
57
57
|
_globals['_DESKTOP_STATUS']._serialized_start=659
|
|
58
|
-
_globals['_DESKTOP_STATUS']._serialized_end=
|
|
59
|
-
_globals['_RESOURCES']._serialized_start=
|
|
60
|
-
_globals['_RESOURCES']._serialized_end=
|
|
61
|
-
_globals['_USER']._serialized_start=
|
|
62
|
-
_globals['_USER']._serialized_end=
|
|
63
|
-
_globals['_NETWORKINTERFACE']._serialized_start=
|
|
64
|
-
_globals['_NETWORKINTERFACE']._serialized_end=
|
|
58
|
+
_globals['_DESKTOP_STATUS']._serialized_end=852
|
|
59
|
+
_globals['_RESOURCES']._serialized_start=866
|
|
60
|
+
_globals['_RESOURCES']._serialized_end=960
|
|
61
|
+
_globals['_USER']._serialized_start=962
|
|
62
|
+
_globals['_USER']._serialized_end=1040
|
|
63
|
+
_globals['_NETWORKINTERFACE']._serialized_start=1042
|
|
64
|
+
_globals['_NETWORKINTERFACE']._serialized_end=1127
|
|
65
65
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -53,6 +53,8 @@ class Desktop(google.protobuf.message.Message):
|
|
|
53
53
|
"""Desktop did not manage start or restart."""
|
|
54
54
|
CREATION_FAILED: Desktop._Status.ValueType # 10
|
|
55
55
|
"""Desktop did not manage to get created or updated."""
|
|
56
|
+
HEALTH_CHECK: Desktop._Status.ValueType # 11
|
|
57
|
+
"""Desktop in the process of health check."""
|
|
56
58
|
|
|
57
59
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
58
60
|
STATUS_UNSPECIFIED: Desktop.Status.ValueType # 0
|
|
@@ -76,6 +78,8 @@ class Desktop(google.protobuf.message.Message):
|
|
|
76
78
|
"""Desktop did not manage start or restart."""
|
|
77
79
|
CREATION_FAILED: Desktop.Status.ValueType # 10
|
|
78
80
|
"""Desktop did not manage to get created or updated."""
|
|
81
|
+
HEALTH_CHECK: Desktop.Status.ValueType # 11
|
|
82
|
+
"""Desktop in the process of health check."""
|
|
79
83
|
|
|
80
84
|
@typing.final
|
|
81
85
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/iam/v1/access_analyzer_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/iam/v1/access_analyzer_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from yandex.cloud.iam.v1 import resource_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_resource__pb2
|
|
27
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/iam/v1/access_analyzer_service.proto\x12\x13yandex.cloud.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a\"yandex/cloud/iam/v1/resource.proto\x1a\x1dyandex/cloud/validation.proto\"\xab\x01\n ListSubjectAccessBindingsRequest\x12!\n\nsubject_id\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=100\x12%\n\x0forganization_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1e\n\npage_token\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"\x88\x01\n!ListSubjectAccessBindingsResponse\x12J\n\x17subject_access_bindings\x18\x01 \x03(\x0b\x32).yandex.cloud.iam.v1.SubjectAccessBinding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"l\n\x14SubjectAccessBinding\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.yandex.cloud.iam.v1.Resource\x12\x12\n\nsubject_id\x18\x03 \x01(\t2\xcf\x01\n\x15\x41\x63\x63\x65ssAnalyzerService\x12\xb5\x01\n\x19ListSubjectAccessBindings\x12\x35.yandex.cloud.iam.v1.ListSubjectAccessBindingsRequest\x1a\x36.yandex.cloud.iam.v1.ListSubjectAccessBindingsResponse\")\x82\xd3\xe4\x93\x02#\x12!/iam/v1/listSubjectAccessBindingsBV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.access_analyzer_service_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam'
|
|
38
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['subject_id']._loaded_options = None
|
|
39
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['subject_id']._serialized_options = b'\350\3071\001\212\3101\005<=100'
|
|
40
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
41
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
43
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
44
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
45
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
46
|
+
_globals['_ACCESSANALYZERSERVICE'].methods_by_name['ListSubjectAccessBindings']._loaded_options = None
|
|
47
|
+
_globals['_ACCESSANALYZERSERVICE'].methods_by_name['ListSubjectAccessBindings']._serialized_options = b'\202\323\344\223\002#\022!/iam/v1/listSubjectAccessBindings'
|
|
48
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST']._serialized_start=172
|
|
49
|
+
_globals['_LISTSUBJECTACCESSBINDINGSREQUEST']._serialized_end=343
|
|
50
|
+
_globals['_LISTSUBJECTACCESSBINDINGSRESPONSE']._serialized_start=346
|
|
51
|
+
_globals['_LISTSUBJECTACCESSBINDINGSRESPONSE']._serialized_end=482
|
|
52
|
+
_globals['_SUBJECTACCESSBINDING']._serialized_start=484
|
|
53
|
+
_globals['_SUBJECTACCESSBINDING']._serialized_end=592
|
|
54
|
+
_globals['_ACCESSANALYZERSERVICE']._serialized_start=595
|
|
55
|
+
_globals['_ACCESSANALYZERSERVICE']._serialized_end=802
|
|
56
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -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)
|
|
@@ -648,6 +652,8 @@ class Service(google.protobuf.message.Message):
|
|
|
648
652
|
"""The host is a ClickHouse server."""
|
|
649
653
|
ZOOKEEPER: Service._Type.ValueType # 2
|
|
650
654
|
"""The host is a ZooKeeper server."""
|
|
655
|
+
KEEPER: Service._Type.ValueType # 3
|
|
656
|
+
"""The host is a ClickHouse Keeper server."""
|
|
651
657
|
|
|
652
658
|
class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
|
|
653
659
|
TYPE_UNSPECIFIED: Service.Type.ValueType # 0
|
|
@@ -656,6 +662,8 @@ class Service(google.protobuf.message.Message):
|
|
|
656
662
|
"""The host is a ClickHouse server."""
|
|
657
663
|
ZOOKEEPER: Service.Type.ValueType # 2
|
|
658
664
|
"""The host is a ZooKeeper server."""
|
|
665
|
+
KEEPER: Service.Type.ValueType # 3
|
|
666
|
+
"""The host is a ClickHouse Keeper server."""
|
|
659
667
|
|
|
660
668
|
class _Health:
|
|
661
669
|
ValueType = typing.NewType("ValueType", builtins.int)
|