yandexcloud 0.349.0__py3-none-any.whl → 0.351.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +4 -4
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +26 -26
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +14 -4
- yandex/cloud/ai/assistants/v1/common_pb2.py +5 -1
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +50 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +28 -28
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +8 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +2 -2
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +20 -16
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +62 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +24 -23
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +15 -2
- yandex/cloud/ai/ocr/v1/ocr_pb2.py +24 -20
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +72 -2
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/backup/v1/policy_pb2.py +56 -52
- yandex/cloud/backup/v1/policy_pb2.pyi +64 -1
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +8 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
- yandex/cloud/gitlab/v1/instance_pb2.pyi +58 -4
- yandex/cloud/gitlab/v1/instance_service_pb2.py +50 -27
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +163 -2
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +62 -9
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +50 -6
- yandex/cloud/gitlab/v1/maintenance_pb2.pyi +10 -3
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +34 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +86 -63
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +86 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +52 -46
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +63 -8
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +54 -10
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +3 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +142 -142
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +234 -234
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +38 -32
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +24 -6
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +140 -139
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +42 -42
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +36 -36
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +114 -114
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/metastore/v1/cluster_pb2.py +16 -20
- yandex/cloud/metastore/v1/cluster_pb2.pyi +1 -31
- yandex/cloud/metastore/v1/cluster_service_pb2.py +44 -50
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +3 -35
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +12 -12
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +8 -8
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +1 -5
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/storage/v1/bucket_pb2.py +78 -78
- yandex/cloud/storage/v1/bucket_pb2.pyi +5 -1
- yandex/cloud/storage/v1/bucket_service_pb2.py +4 -2
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +43 -0
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/channel_service_pb2.py +34 -28
- yandex/cloud/video/v1/episode_service_pb2.py +58 -52
- yandex/cloud/video/v1/playlist_pb2.py +14 -5
- yandex/cloud/video/v1/playlist_service_pb2.py +36 -30
- yandex/cloud/video/v1/stream_line_service_pb2.py +46 -46
- yandex/cloud/video/v1/stream_service_pb2.py +50 -44
- yandex/cloud/video/v1/subtitle_pb2.pyi +1 -4
- yandex/cloud/video/v1/subtitle_service_pb2.py +19 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +1 -4
- yandex/cloud/video/v1/video_pb2.pyi +1 -1
- yandex/cloud/video/v1/video_service_pb2.py +90 -84
- yandex/cloud/video/v1/video_service_pb2.pyi +4 -12
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +10 -2
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/RECORD +160 -160
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/top_level.txt +0 -0
|
@@ -150,6 +150,7 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
150
150
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
151
151
|
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
152
152
|
SHARD_SPECS_FIELD_NUMBER: builtins.int
|
|
153
|
+
DISK_ENCRYPTION_KEY_ID_FIELD_NUMBER: builtins.int
|
|
153
154
|
folder_id: builtins.str
|
|
154
155
|
"""ID of the folder to create the ClickHouse cluster in."""
|
|
155
156
|
name: builtins.str
|
|
@@ -200,6 +201,10 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
200
201
|
def shard_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ShardSpec]:
|
|
201
202
|
"""Configuration(s) of the shard(s) to be created."""
|
|
202
203
|
|
|
204
|
+
@property
|
|
205
|
+
def disk_encryption_key_id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
206
|
+
"""ID of the key to encrypt cluster disks."""
|
|
207
|
+
|
|
203
208
|
def __init__(
|
|
204
209
|
self,
|
|
205
210
|
*,
|
|
@@ -219,9 +224,10 @@ class CreateClusterRequest(google.protobuf.message.Message):
|
|
|
219
224
|
deletion_protection: builtins.bool = ...,
|
|
220
225
|
maintenance_window: yandex.cloud.mdb.clickhouse.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
221
226
|
shard_specs: collections.abc.Iterable[global___ShardSpec] | None = ...,
|
|
227
|
+
disk_encryption_key_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
222
228
|
) -> None: ...
|
|
223
|
-
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "maintenance_window", b"maintenance_window"]) -> builtins.bool: ...
|
|
224
|
-
def ClearField(self, field_name: typing.Literal["config_spec", b"config_spec", "database_specs", b"database_specs", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "service_account_id", b"service_account_id", "shard_name", b"shard_name", "shard_specs", b"shard_specs", "user_specs", b"user_specs"]) -> None: ...
|
|
229
|
+
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "disk_encryption_key_id", b"disk_encryption_key_id", "maintenance_window", b"maintenance_window"]) -> builtins.bool: ...
|
|
230
|
+
def ClearField(self, field_name: typing.Literal["config_spec", b"config_spec", "database_specs", b"database_specs", "deletion_protection", b"deletion_protection", "description", b"description", "disk_encryption_key_id", b"disk_encryption_key_id", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "service_account_id", b"service_account_id", "shard_name", b"shard_name", "shard_specs", b"shard_specs", "user_specs", b"user_specs"]) -> None: ...
|
|
225
231
|
|
|
226
232
|
global___CreateClusterRequest = CreateClusterRequest
|
|
227
233
|
|
|
@@ -608,6 +614,8 @@ class RestoreClusterRequest(google.protobuf.message.Message):
|
|
|
608
614
|
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
609
615
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
610
616
|
SHARD_SPECS_FIELD_NUMBER: builtins.int
|
|
617
|
+
DISK_ENCRYPTION_KEY_ID_FIELD_NUMBER: builtins.int
|
|
618
|
+
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
611
619
|
backup_id: builtins.str
|
|
612
620
|
"""ID of the backup to restore from. This backup will be used to create one cluster shard.
|
|
613
621
|
To get the backup ID, use a [ClusterService.ListBackups] request.
|
|
@@ -658,6 +666,14 @@ class RestoreClusterRequest(google.protobuf.message.Message):
|
|
|
658
666
|
def shard_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ShardSpec]:
|
|
659
667
|
"""Configuration(s) of the shard(s) in the restored cluster."""
|
|
660
668
|
|
|
669
|
+
@property
|
|
670
|
+
def disk_encryption_key_id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
671
|
+
"""ID of the key to encrypt cluster disks."""
|
|
672
|
+
|
|
673
|
+
@property
|
|
674
|
+
def maintenance_window(self) -> yandex.cloud.mdb.clickhouse.v1.maintenance_pb2.MaintenanceWindow:
|
|
675
|
+
"""Window of maintenance operations."""
|
|
676
|
+
|
|
661
677
|
def __init__(
|
|
662
678
|
self,
|
|
663
679
|
*,
|
|
@@ -675,9 +691,11 @@ class RestoreClusterRequest(google.protobuf.message.Message):
|
|
|
675
691
|
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
676
692
|
deletion_protection: builtins.bool = ...,
|
|
677
693
|
shard_specs: collections.abc.Iterable[global___ShardSpec] | None = ...,
|
|
694
|
+
disk_encryption_key_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
695
|
+
maintenance_window: yandex.cloud.mdb.clickhouse.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
678
696
|
) -> None: ...
|
|
679
|
-
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec"]) -> builtins.bool: ...
|
|
680
|
-
def ClearField(self, field_name: typing.Literal["additional_backup_ids", b"additional_backup_ids", "backup_id", b"backup_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "service_account_id", b"service_account_id", "shard_specs", b"shard_specs"]) -> None: ...
|
|
697
|
+
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "disk_encryption_key_id", b"disk_encryption_key_id", "maintenance_window", b"maintenance_window"]) -> builtins.bool: ...
|
|
698
|
+
def ClearField(self, field_name: typing.Literal["additional_backup_ids", b"additional_backup_ids", "backup_id", b"backup_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "disk_encryption_key_id", b"disk_encryption_key_id", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "service_account_id", b"service_account_id", "shard_specs", b"shard_specs"]) -> None: ...
|
|
681
699
|
|
|
682
700
|
global___RestoreClusterRequest = RestoreClusterRequest
|
|
683
701
|
|
|
@@ -830,11 +848,15 @@ class ListClusterLogsRequest(google.protobuf.message.Message):
|
|
|
830
848
|
SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest._ServiceType.ValueType # 0
|
|
831
849
|
CLICKHOUSE: ListClusterLogsRequest._ServiceType.ValueType # 1
|
|
832
850
|
"""Logs of ClickHouse activity."""
|
|
851
|
+
CLICKHOUSE_KEEPER: ListClusterLogsRequest._ServiceType.ValueType # 2
|
|
852
|
+
"""Logs of ClickHouse Keeper activity."""
|
|
833
853
|
|
|
834
854
|
class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
|
|
835
855
|
SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest.ServiceType.ValueType # 0
|
|
836
856
|
CLICKHOUSE: ListClusterLogsRequest.ServiceType.ValueType # 1
|
|
837
857
|
"""Logs of ClickHouse activity."""
|
|
858
|
+
CLICKHOUSE_KEEPER: ListClusterLogsRequest.ServiceType.ValueType # 2
|
|
859
|
+
"""Logs of ClickHouse Keeper activity."""
|
|
838
860
|
|
|
839
861
|
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
840
862
|
COLUMN_FILTER_FIELD_NUMBER: builtins.int
|
|
@@ -955,11 +977,15 @@ class StreamClusterLogsRequest(google.protobuf.message.Message):
|
|
|
955
977
|
SERVICE_TYPE_UNSPECIFIED: StreamClusterLogsRequest._ServiceType.ValueType # 0
|
|
956
978
|
CLICKHOUSE: StreamClusterLogsRequest._ServiceType.ValueType # 1
|
|
957
979
|
"""Logs of ClickHouse activity."""
|
|
980
|
+
CLICKHOUSE_KEEPER: StreamClusterLogsRequest._ServiceType.ValueType # 2
|
|
981
|
+
"""Logs of ClickHouse Keeper activity."""
|
|
958
982
|
|
|
959
983
|
class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
|
|
960
984
|
SERVICE_TYPE_UNSPECIFIED: StreamClusterLogsRequest.ServiceType.ValueType # 0
|
|
961
985
|
CLICKHOUSE: StreamClusterLogsRequest.ServiceType.ValueType # 1
|
|
962
986
|
"""Logs of ClickHouse activity."""
|
|
987
|
+
CLICKHOUSE_KEEPER: StreamClusterLogsRequest.ServiceType.ValueType # 2
|
|
988
|
+
"""Logs of ClickHouse Keeper activity."""
|
|
963
989
|
|
|
964
990
|
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
965
991
|
COLUMN_FILTER_FIELD_NUMBER: builtins.int
|
|
@@ -2252,6 +2278,7 @@ class ConfigSpec(google.protobuf.message.Message):
|
|
|
2252
2278
|
|
|
2253
2279
|
CONFIG_FIELD_NUMBER: builtins.int
|
|
2254
2280
|
RESOURCES_FIELD_NUMBER: builtins.int
|
|
2281
|
+
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
2255
2282
|
@property
|
|
2256
2283
|
def config(self) -> yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfig:
|
|
2257
2284
|
"""Configuration for a ClickHouse server."""
|
|
@@ -2260,33 +2287,44 @@ class ConfigSpec(google.protobuf.message.Message):
|
|
|
2260
2287
|
def resources(self) -> yandex.cloud.mdb.clickhouse.v1.cluster_pb2.Resources:
|
|
2261
2288
|
"""Resources allocated to ClickHouse hosts."""
|
|
2262
2289
|
|
|
2290
|
+
@property
|
|
2291
|
+
def disk_size_autoscaling(self) -> yandex.cloud.mdb.clickhouse.v1.cluster_pb2.DiskSizeAutoscaling:
|
|
2292
|
+
"""Disk size autoscaling settings."""
|
|
2293
|
+
|
|
2263
2294
|
def __init__(
|
|
2264
2295
|
self,
|
|
2265
2296
|
*,
|
|
2266
2297
|
config: yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfig | None = ...,
|
|
2267
2298
|
resources: yandex.cloud.mdb.clickhouse.v1.cluster_pb2.Resources | None = ...,
|
|
2299
|
+
disk_size_autoscaling: yandex.cloud.mdb.clickhouse.v1.cluster_pb2.DiskSizeAutoscaling | None = ...,
|
|
2268
2300
|
) -> None: ...
|
|
2269
|
-
def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> builtins.bool: ...
|
|
2270
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> None: ...
|
|
2301
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> builtins.bool: ...
|
|
2302
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> None: ...
|
|
2271
2303
|
|
|
2272
2304
|
@typing.final
|
|
2273
2305
|
class Zookeeper(google.protobuf.message.Message):
|
|
2274
2306
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2275
2307
|
|
|
2276
2308
|
RESOURCES_FIELD_NUMBER: builtins.int
|
|
2309
|
+
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
2277
2310
|
@property
|
|
2278
2311
|
def resources(self) -> yandex.cloud.mdb.clickhouse.v1.cluster_pb2.Resources:
|
|
2279
2312
|
"""Resources allocated to ZooKeeper hosts. If not set, minimal available resources will be used.
|
|
2280
2313
|
All available resource presets can be retrieved with a [ResourcePresetService.List] request.
|
|
2281
2314
|
"""
|
|
2282
2315
|
|
|
2316
|
+
@property
|
|
2317
|
+
def disk_size_autoscaling(self) -> yandex.cloud.mdb.clickhouse.v1.cluster_pb2.DiskSizeAutoscaling:
|
|
2318
|
+
"""Disk size autoscaling settings."""
|
|
2319
|
+
|
|
2283
2320
|
def __init__(
|
|
2284
2321
|
self,
|
|
2285
2322
|
*,
|
|
2286
2323
|
resources: yandex.cloud.mdb.clickhouse.v1.cluster_pb2.Resources | None = ...,
|
|
2324
|
+
disk_size_autoscaling: yandex.cloud.mdb.clickhouse.v1.cluster_pb2.DiskSizeAutoscaling | None = ...,
|
|
2287
2325
|
) -> None: ...
|
|
2288
|
-
def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
|
|
2289
|
-
def ClearField(self, field_name: typing.Literal["resources", b"resources"]) -> None: ...
|
|
2326
|
+
def HasField(self, field_name: typing.Literal["disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> builtins.bool: ...
|
|
2327
|
+
def ClearField(self, field_name: typing.Literal["disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> None: ...
|
|
2290
2328
|
|
|
2291
2329
|
VERSION_FIELD_NUMBER: builtins.int
|
|
2292
2330
|
CLICKHOUSE_FIELD_NUMBER: builtins.int
|
|
@@ -2371,6 +2409,7 @@ class ShardConfigSpec(google.protobuf.message.Message):
|
|
|
2371
2409
|
CONFIG_FIELD_NUMBER: builtins.int
|
|
2372
2410
|
RESOURCES_FIELD_NUMBER: builtins.int
|
|
2373
2411
|
WEIGHT_FIELD_NUMBER: builtins.int
|
|
2412
|
+
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
2374
2413
|
@property
|
|
2375
2414
|
def config(self) -> yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfig:
|
|
2376
2415
|
"""ClickHouse settings for the shard."""
|
|
@@ -2385,15 +2424,20 @@ class ShardConfigSpec(google.protobuf.message.Message):
|
|
|
2385
2424
|
For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/operations/table_engines/distributed/).
|
|
2386
2425
|
"""
|
|
2387
2426
|
|
|
2427
|
+
@property
|
|
2428
|
+
def disk_size_autoscaling(self) -> yandex.cloud.mdb.clickhouse.v1.cluster_pb2.DiskSizeAutoscaling:
|
|
2429
|
+
"""Disk size autoscaling settings."""
|
|
2430
|
+
|
|
2388
2431
|
def __init__(
|
|
2389
2432
|
self,
|
|
2390
2433
|
*,
|
|
2391
2434
|
config: yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfig | None = ...,
|
|
2392
2435
|
resources: yandex.cloud.mdb.clickhouse.v1.cluster_pb2.Resources | None = ...,
|
|
2393
2436
|
weight: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
2437
|
+
disk_size_autoscaling: yandex.cloud.mdb.clickhouse.v1.cluster_pb2.DiskSizeAutoscaling | None = ...,
|
|
2394
2438
|
) -> None: ...
|
|
2395
|
-
def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources", "weight", b"weight"]) -> builtins.bool: ...
|
|
2396
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources", "weight", b"weight"]) -> None: ...
|
|
2439
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources", "weight", b"weight"]) -> builtins.bool: ...
|
|
2440
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources", "weight", b"weight"]) -> None: ...
|
|
2397
2441
|
|
|
2398
2442
|
CLICKHOUSE_FIELD_NUMBER: builtins.int
|
|
2399
2443
|
@property
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/mdb/clickhouse/v1/database.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1dyandex/cloud/validation.proto\"
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/mdb/clickhouse/v1/database.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1dyandex/cloud/validation.proto\"l\n\x08\x44\x61tabase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12>\n\x06\x65ngine\x18\x03 \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.DatabaseEngine\"|\n\x0c\x44\x61tabaseSpec\x12,\n\x04name\x18\x01 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12>\n\x06\x65ngine\x18\x02 \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.DatabaseEngine*m\n\x0e\x44\x61tabaseEngine\x12\x1f\n\x1b\x44\x41TABASE_ENGINE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44\x41TABASE_ENGINE_ATOMIC\x10\x01\x12\x1e\n\x1a\x44\x41TABASE_ENGINE_REPLICATED\x10\x02\x42s\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,8 +35,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouse'
|
|
36
36
|
_globals['_DATABASESPEC'].fields_by_name['name']._loaded_options = None
|
|
37
37
|
_globals['_DATABASESPEC'].fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\016[a-zA-Z0-9_-]*\212\3101\004<=63'
|
|
38
|
+
_globals['_DATABASEENGINE']._serialized_start=348
|
|
39
|
+
_globals['_DATABASEENGINE']._serialized_end=457
|
|
38
40
|
_globals['_DATABASE']._serialized_start=112
|
|
39
|
-
_globals['_DATABASE']._serialized_end=
|
|
40
|
-
_globals['_DATABASESPEC']._serialized_start=
|
|
41
|
-
_globals['_DATABASESPEC']._serialized_end=
|
|
41
|
+
_globals['_DATABASE']._serialized_end=220
|
|
42
|
+
_globals['_DATABASESPEC']._serialized_start=222
|
|
43
|
+
_globals['_DATABASESPEC']._serialized_end=346
|
|
42
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -5,14 +5,38 @@ isort:skip_file
|
|
|
5
5
|
|
|
6
6
|
import builtins
|
|
7
7
|
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
8
9
|
import google.protobuf.message
|
|
10
|
+
import sys
|
|
9
11
|
import typing
|
|
10
12
|
|
|
13
|
+
if sys.version_info >= (3, 10):
|
|
14
|
+
import typing as typing_extensions
|
|
15
|
+
else:
|
|
16
|
+
import typing_extensions
|
|
17
|
+
|
|
11
18
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
12
19
|
|
|
20
|
+
class _DatabaseEngine:
|
|
21
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
22
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
23
|
+
|
|
24
|
+
class _DatabaseEngineEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DatabaseEngine.ValueType], builtins.type):
|
|
25
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
26
|
+
DATABASE_ENGINE_UNSPECIFIED: _DatabaseEngine.ValueType # 0
|
|
27
|
+
DATABASE_ENGINE_ATOMIC: _DatabaseEngine.ValueType # 1
|
|
28
|
+
DATABASE_ENGINE_REPLICATED: _DatabaseEngine.ValueType # 2
|
|
29
|
+
|
|
30
|
+
class DatabaseEngine(_DatabaseEngine, metaclass=_DatabaseEngineEnumTypeWrapper): ...
|
|
31
|
+
|
|
32
|
+
DATABASE_ENGINE_UNSPECIFIED: DatabaseEngine.ValueType # 0
|
|
33
|
+
DATABASE_ENGINE_ATOMIC: DatabaseEngine.ValueType # 1
|
|
34
|
+
DATABASE_ENGINE_REPLICATED: DatabaseEngine.ValueType # 2
|
|
35
|
+
global___DatabaseEngine = DatabaseEngine
|
|
36
|
+
|
|
13
37
|
@typing.final
|
|
14
38
|
class Database(google.protobuf.message.Message):
|
|
15
|
-
"""A ClickHouse Database resource. For more information, see the
|
|
39
|
+
"""A ClickHouse Database resource. For more information, see the
|
|
16
40
|
[Developer's Guide](/docs/managed-clickhouse/concepts).
|
|
17
41
|
"""
|
|
18
42
|
|
|
@@ -20,17 +44,21 @@ class Database(google.protobuf.message.Message):
|
|
|
20
44
|
|
|
21
45
|
NAME_FIELD_NUMBER: builtins.int
|
|
22
46
|
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
47
|
+
ENGINE_FIELD_NUMBER: builtins.int
|
|
23
48
|
name: builtins.str
|
|
24
49
|
"""Name of the database."""
|
|
25
50
|
cluster_id: builtins.str
|
|
26
51
|
"""ID of the ClickHouse cluster that the database belongs to."""
|
|
52
|
+
engine: global___DatabaseEngine.ValueType
|
|
53
|
+
"""Database engine. For details, see [ClickHouse documentation](https://clickhouse.com/docs/engines/database-engines)."""
|
|
27
54
|
def __init__(
|
|
28
55
|
self,
|
|
29
56
|
*,
|
|
30
57
|
name: builtins.str = ...,
|
|
31
58
|
cluster_id: builtins.str = ...,
|
|
59
|
+
engine: global___DatabaseEngine.ValueType = ...,
|
|
32
60
|
) -> None: ...
|
|
33
|
-
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "name", b"name"]) -> None: ...
|
|
61
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "engine", b"engine", "name", b"name"]) -> None: ...
|
|
34
62
|
|
|
35
63
|
global___Database = Database
|
|
36
64
|
|
|
@@ -39,13 +67,17 @@ class DatabaseSpec(google.protobuf.message.Message):
|
|
|
39
67
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
40
68
|
|
|
41
69
|
NAME_FIELD_NUMBER: builtins.int
|
|
70
|
+
ENGINE_FIELD_NUMBER: builtins.int
|
|
42
71
|
name: builtins.str
|
|
43
72
|
"""Name of the ClickHouse database. 1-63 characters long."""
|
|
73
|
+
engine: global___DatabaseEngine.ValueType
|
|
74
|
+
"""Database engine. For details, see [ClickHouse documentation](https://clickhouse.com/docs/engines/database-engines)."""
|
|
44
75
|
def __init__(
|
|
45
76
|
self,
|
|
46
77
|
*,
|
|
47
78
|
name: builtins.str = ...,
|
|
79
|
+
engine: global___DatabaseEngine.ValueType = ...,
|
|
48
80
|
) -> None: ...
|
|
49
|
-
def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ...
|
|
81
|
+
def ClearField(self, field_name: typing.Literal["engine", b"engine", "name", b"name"]) -> None: ...
|
|
50
82
|
|
|
51
83
|
global___DatabaseSpec = DatabaseSpec
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/greenplum/v1/hba_rule.proto\x12\x1dyandex.cloud.mdb.greenplum.v1\x1a\x1dyandex/cloud/validation.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/greenplum/v1/hba_rule.proto\x12\x1dyandex.cloud.mdb.greenplum.v1\x1a\x1dyandex/cloud/validation.proto\"\xae\x03\n\x07HBARule\x12\x1c\n\x08priority\x18\x01 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12N\n\x0f\x63onnection_type\x18\x02 \x01(\x0e\x32\x35.yandex.cloud.mdb.greenplum.v1.HBARule.ConnectionType\x12\x16\n\x08\x64\x61tabase\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04user\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07\x61\x64\x64ress\x18\x05 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x46\n\x0b\x61uth_method\x18\x06 \x01(\x0e\x32\x31.yandex.cloud.mdb.greenplum.v1.HBARule.AuthMethod\"W\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04HOST\x10\x01\x12\x0b\n\x07HOSTSSL\x10\x02\x12\r\n\tHOSTNOSSL\x10\x03\"Q\n\nAuthMethod\x12\x1b\n\x17\x41UTH_METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03MD5\x10\x01\x12\x08\n\x04LDAP\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x07\n\x03IAM\x10\x04\x42p\n!yandex.cloud.api.mdb.greenplum.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplumb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,9 +42,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_HBARULE'].fields_by_name['address']._loaded_options = None
|
|
43
43
|
_globals['_HBARULE'].fields_by_name['address']._serialized_options = b'\350\3071\001'
|
|
44
44
|
_globals['_HBARULE']._serialized_start=111
|
|
45
|
-
_globals['_HBARULE']._serialized_end=
|
|
45
|
+
_globals['_HBARULE']._serialized_end=541
|
|
46
46
|
_globals['_HBARULE_CONNECTIONTYPE']._serialized_start=371
|
|
47
47
|
_globals['_HBARULE_CONNECTIONTYPE']._serialized_end=458
|
|
48
48
|
_globals['_HBARULE_AUTHMETHOD']._serialized_start=460
|
|
49
|
-
_globals['_HBARULE_AUTHMETHOD']._serialized_end=
|
|
49
|
+
_globals['_HBARULE_AUTHMETHOD']._serialized_end=541
|
|
50
50
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -57,6 +57,8 @@ class HBARule(google.protobuf.message.Message):
|
|
|
57
57
|
"""Perform LDAP authentication, if MDB_GREENPLUM_LDAP flag is set"""
|
|
58
58
|
REJECT: HBARule._AuthMethod.ValueType # 3
|
|
59
59
|
"""Disable authentication"""
|
|
60
|
+
IAM: HBARule._AuthMethod.ValueType # 4
|
|
61
|
+
"""Perform authentication with IAM token"""
|
|
60
62
|
|
|
61
63
|
class AuthMethod(_AuthMethod, metaclass=_AuthMethodEnumTypeWrapper): ...
|
|
62
64
|
AUTH_METHOD_UNSPECIFIED: HBARule.AuthMethod.ValueType # 0
|
|
@@ -66,6 +68,8 @@ class HBARule(google.protobuf.message.Message):
|
|
|
66
68
|
"""Perform LDAP authentication, if MDB_GREENPLUM_LDAP flag is set"""
|
|
67
69
|
REJECT: HBARule.AuthMethod.ValueType # 3
|
|
68
70
|
"""Disable authentication"""
|
|
71
|
+
IAM: HBARule.AuthMethod.ValueType # 4
|
|
72
|
+
"""Perform authentication with IAM token"""
|
|
69
73
|
|
|
70
74
|
PRIORITY_FIELD_NUMBER: builtins.int
|
|
71
75
|
CONNECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
@@ -30,7 +30,7 @@ from yandex.cloud.mdb.kafka.v1 import maintenance_pb2 as yandex_dot_cloud_dot_md
|
|
|
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/kafka/v1/cluster.proto\x12\x19yandex.cloud.mdb.kafka.v1\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&yandex/cloud/mdb/kafka/v1/common.proto\x1a+yandex/cloud/mdb/kafka/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/mdb/kafka/v1/cluster.proto\x12\x19yandex.cloud.mdb.kafka.v1\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&yandex/cloud/mdb/kafka/v1/common.proto\x1a+yandex/cloud/mdb/kafka/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\xef\x08\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12>\n\x06labels\x18\x06 \x03(\x0b\x32..yandex.cloud.mdb.kafka.v1.Cluster.LabelsEntry\x12\x43\n\x0b\x65nvironment\x18\x07 \x01(\x0e\x32..yandex.cloud.mdb.kafka.v1.Cluster.Environment\x12\x39\n\nmonitoring\x18\x08 \x03(\x0b\x32%.yandex.cloud.mdb.kafka.v1.Monitoring\x12\x35\n\x06\x63onfig\x18\t \x01(\x0b\x32%.yandex.cloud.mdb.kafka.v1.ConfigSpec\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12\x39\n\x06health\x18\x0b \x01(\x0e\x32).yandex.cloud.mdb.kafka.v1.Cluster.Health\x12\x39\n\x06status\x18\x0c \x01(\x0e\x32).yandex.cloud.mdb.kafka.v1.Cluster.Status\x12\x1a\n\x12security_group_ids\x18\r \x03(\t\x12\x16\n\x0ehost_group_ids\x18\x0e \x03(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x0f \x01(\x08\x12H\n\x12maintenance_window\x18\x10 \x01(\x0b\x32,.yandex.cloud.mdb.kafka.v1.MaintenanceWindow\x12J\n\x11planned_operation\x18\x11 \x01(\x0b\x32/.yandex.cloud.mdb.kafka.v1.MaintenanceOperation\x12<\n\x08kafka_ui\x18\x12 \x01(\x0b\x32*.yandex.cloud.mdb.kafka.v1.Cluster.KafkaUI\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x16\n\x07KafkaUI\x12\x0b\n\x03url\x18\x01 \x01(\t\"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\x07\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xdc\x08\n\nConfigSpec\x12\x0f\n\x07version\x18\x01 \x01(\t\x12:\n\x05kafka\x18\x02 \x01(\x0b\x32+.yandex.cloud.mdb.kafka.v1.ConfigSpec.Kafka\x12\x42\n\tzookeeper\x18\x03 \x01(\x0b\x32/.yandex.cloud.mdb.kafka.v1.ConfigSpec.Zookeeper\x12\x0f\n\x07zone_id\x18\x04 \x03(\t\x12\x32\n\rbrokers_count\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x18\n\x10\x61ssign_public_ip\x18\x06 \x01(\x08\x12\x1c\n\x10unmanaged_topics\x18\x07 \x01(\x08\x42\x02\x18\x01\x12\x17\n\x0fschema_registry\x18\x08 \x01(\x08\x12\x31\n\x06\x61\x63\x63\x65ss\x18\t \x01(\x0b\x32!.yandex.cloud.mdb.kafka.v1.Access\x12L\n\x0frest_api_config\x18\n \x01(\x0b\x32\x33.yandex.cloud.mdb.kafka.v1.ConfigSpec.RestAPIConfig\x12M\n\x15\x64isk_size_autoscaling\x18\x0b \x01(\x0b\x32..yandex.cloud.mdb.kafka.v1.DiskSizeAutoscaling\x12:\n\x05kraft\x18\x0c \x01(\x0b\x32+.yandex.cloud.mdb.kafka.v1.ConfigSpec.KRaft\x12L\n\x0fkafka_ui_config\x18\r \x01(\x0b\x32\x33.yandex.cloud.mdb.kafka.v1.ConfigSpec.KafkaUIConfig\x1a\x80\x02\n\x05Kafka\x12\x37\n\tresources\x18\x01 \x01(\x0b\x32$.yandex.cloud.mdb.kafka.v1.Resources\x12V\n\x10kafka_config_2_8\x18\x04 \x01(\x0b\x32).yandex.cloud.mdb.kafka.v1.KafkaConfig2_8H\x00R\x0fkafkaConfig_2_8\x12P\n\x0ekafka_config_3\x18\x05 \x01(\x0b\x32\'.yandex.cloud.mdb.kafka.v1.KafkaConfig3H\x00R\rkafkaConfig_3B\x0e\n\x0ckafka_configJ\x04\x08\x02\x10\x04\x1a\x44\n\tZookeeper\x12\x37\n\tresources\x18\x01 \x01(\x0b\x32$.yandex.cloud.mdb.kafka.v1.Resources\x1a@\n\x05KRaft\x12\x37\n\tresources\x18\x01 \x01(\x0b\x32$.yandex.cloud.mdb.kafka.v1.Resources\x1a \n\rRestAPIConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x1a \n\rKafkaUIConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"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\"\xc4\t\n\x0eKafkaConfig2_8\x12\x44\n\x10\x63ompression_type\x18\x01 \x01(\x0e\x32*.yandex.cloud.mdb.kafka.v1.CompressionType\x12@\n\x1blog_flush_interval_messages\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15log_flush_interval_ms\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x44\n\x1flog_flush_scheduler_interval_ms\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13log_retention_bytes\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13log_retention_hours\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15log_retention_minutes\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x35\n\x10log_retention_ms\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11log_segment_bytes\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x0flog_preallocate\x18\n \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x02\x18\x01\x12=\n\x18socket_send_buffer_bytes\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1bsocket_receive_buffer_bytes\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x19\x61uto_create_topics_enable\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0enum_partitions\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x1a\x64\x65\x66\x61ult_replication_factor\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11message_max_bytes\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12<\n\x17replica_fetch_max_bytes\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x19\n\x11ssl_cipher_suites\x18\x12 \x03(\t\x12>\n\x19offsets_retention_minutes\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12I\n\x17sasl_enabled_mechanisms\x18\x14 \x03(\x0e\x32(.yandex.cloud.mdb.kafka.v1.SaslMechanism\"\xc2\t\n\x0cKafkaConfig3\x12\x44\n\x10\x63ompression_type\x18\x01 \x01(\x0e\x32*.yandex.cloud.mdb.kafka.v1.CompressionType\x12@\n\x1blog_flush_interval_messages\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15log_flush_interval_ms\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x44\n\x1flog_flush_scheduler_interval_ms\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13log_retention_bytes\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13log_retention_hours\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15log_retention_minutes\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x35\n\x10log_retention_ms\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11log_segment_bytes\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x0flog_preallocate\x18\n \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x02\x18\x01\x12=\n\x18socket_send_buffer_bytes\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1bsocket_receive_buffer_bytes\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x19\x61uto_create_topics_enable\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0enum_partitions\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x1a\x64\x65\x66\x61ult_replication_factor\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11message_max_bytes\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12<\n\x17replica_fetch_max_bytes\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x19\n\x11ssl_cipher_suites\x18\x12 \x03(\t\x12>\n\x19offsets_retention_minutes\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12I\n\x17sasl_enabled_mechanisms\x18\x14 \x03(\x0e\x32(.yandex.cloud.mdb.kafka.v1.SaslMechanism\"\x8e\x03\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\x32\n\x04role\x18\x04 \x01(\x0e\x32$.yandex.cloud.mdb.kafka.v1.Host.Role\x12\x37\n\tresources\x18\x05 \x01(\x0b\x32$.yandex.cloud.mdb.kafka.v1.Resources\x12\x36\n\x06health\x18\x06 \x01(\x0e\x32&.yandex.cloud.mdb.kafka.v1.Host.Health\x12\x11\n\tsubnet_id\x18\x08 \x01(\t\x12\x18\n\x10\x61ssign_public_ip\x18\t \x01(\x08\"A\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\t\n\x05KAFKA\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\x12\t\n\x05KRAFT\x10\x03\"8\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\x03J\x04\x08\x07\x10\x08\"\x1f\n\x06\x41\x63\x63\x65ss\x12\x15\n\rdata_transfer\x18\x01 \x01(\x08\"\x90\x01\n\x13\x44iskSizeAutoscaling\x12.\n\x17planned_usage_threshold\x18\x01 \x01(\x03\x42\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12\x30\n\x19\x65mergency_usage_threshold\x18\x02 \x01(\x03\x42\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12\x17\n\x0f\x64isk_size_limit\x18\x03 \x01(\x03\x42\x64\n\x1dyandex.cloud.api.mdb.kafka.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/kafka/v1;kafkab\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -51,41 +51,45 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
51
|
_globals['_DISKSIZEAUTOSCALING'].fields_by_name['emergency_usage_threshold']._loaded_options = None
|
|
52
52
|
_globals['_DISKSIZEAUTOSCALING'].fields_by_name['emergency_usage_threshold']._serialized_options = b'\350\3071\000\372\3071\0050-100'
|
|
53
53
|
_globals['_CLUSTER']._serialized_start=286
|
|
54
|
-
_globals['_CLUSTER']._serialized_end=
|
|
55
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_start=
|
|
56
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_end=
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
54
|
+
_globals['_CLUSTER']._serialized_end=1421
|
|
55
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=1089
|
|
56
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=1134
|
|
57
|
+
_globals['_CLUSTER_KAFKAUI']._serialized_start=1136
|
|
58
|
+
_globals['_CLUSTER_KAFKAUI']._serialized_end=1158
|
|
59
|
+
_globals['_CLUSTER_ENVIRONMENT']._serialized_start=1160
|
|
60
|
+
_globals['_CLUSTER_ENVIRONMENT']._serialized_end=1233
|
|
61
|
+
_globals['_CLUSTER_HEALTH']._serialized_start=1235
|
|
62
|
+
_globals['_CLUSTER_HEALTH']._serialized_end=1298
|
|
63
|
+
_globals['_CLUSTER_STATUS']._serialized_start=1300
|
|
64
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1421
|
|
65
|
+
_globals['_MONITORING']._serialized_start=1423
|
|
66
|
+
_globals['_MONITORING']._serialized_end=1484
|
|
67
|
+
_globals['_CONFIGSPEC']._serialized_start=1487
|
|
68
|
+
_globals['_CONFIGSPEC']._serialized_end=2603
|
|
69
|
+
_globals['_CONFIGSPEC_KAFKA']._serialized_start=2143
|
|
70
|
+
_globals['_CONFIGSPEC_KAFKA']._serialized_end=2399
|
|
71
|
+
_globals['_CONFIGSPEC_ZOOKEEPER']._serialized_start=2401
|
|
72
|
+
_globals['_CONFIGSPEC_ZOOKEEPER']._serialized_end=2469
|
|
73
|
+
_globals['_CONFIGSPEC_KRAFT']._serialized_start=2471
|
|
74
|
+
_globals['_CONFIGSPEC_KRAFT']._serialized_end=2535
|
|
75
|
+
_globals['_CONFIGSPEC_RESTAPICONFIG']._serialized_start=2537
|
|
76
|
+
_globals['_CONFIGSPEC_RESTAPICONFIG']._serialized_end=2569
|
|
77
|
+
_globals['_CONFIGSPEC_KAFKAUICONFIG']._serialized_start=2571
|
|
78
|
+
_globals['_CONFIGSPEC_KAFKAUICONFIG']._serialized_end=2603
|
|
79
|
+
_globals['_RESOURCES']._serialized_start=2605
|
|
80
|
+
_globals['_RESOURCES']._serialized_end=2685
|
|
81
|
+
_globals['_KAFKACONFIG2_8']._serialized_start=2688
|
|
82
|
+
_globals['_KAFKACONFIG2_8']._serialized_end=3908
|
|
83
|
+
_globals['_KAFKACONFIG3']._serialized_start=3911
|
|
84
|
+
_globals['_KAFKACONFIG3']._serialized_end=5129
|
|
85
|
+
_globals['_HOST']._serialized_start=5132
|
|
86
|
+
_globals['_HOST']._serialized_end=5530
|
|
87
|
+
_globals['_HOST_ROLE']._serialized_start=5401
|
|
88
|
+
_globals['_HOST_ROLE']._serialized_end=5466
|
|
89
|
+
_globals['_HOST_HEALTH']._serialized_start=5468
|
|
90
|
+
_globals['_HOST_HEALTH']._serialized_end=5524
|
|
91
|
+
_globals['_ACCESS']._serialized_start=5532
|
|
92
|
+
_globals['_ACCESS']._serialized_end=5563
|
|
93
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_start=5566
|
|
94
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_end=5710
|
|
91
95
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -132,6 +132,20 @@ class Cluster(google.protobuf.message.Message):
|
|
|
132
132
|
) -> None: ...
|
|
133
133
|
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
134
134
|
|
|
135
|
+
@typing.final
|
|
136
|
+
class KafkaUI(google.protobuf.message.Message):
|
|
137
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
+
|
|
139
|
+
URL_FIELD_NUMBER: builtins.int
|
|
140
|
+
url: builtins.str
|
|
141
|
+
"""URL for connection to kafka ui"""
|
|
142
|
+
def __init__(
|
|
143
|
+
self,
|
|
144
|
+
*,
|
|
145
|
+
url: builtins.str = ...,
|
|
146
|
+
) -> None: ...
|
|
147
|
+
def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
|
|
148
|
+
|
|
135
149
|
ID_FIELD_NUMBER: builtins.int
|
|
136
150
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
137
151
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
@@ -149,6 +163,7 @@ class Cluster(google.protobuf.message.Message):
|
|
|
149
163
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
150
164
|
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
151
165
|
PLANNED_OPERATION_FIELD_NUMBER: builtins.int
|
|
166
|
+
KAFKA_UI_FIELD_NUMBER: builtins.int
|
|
152
167
|
id: builtins.str
|
|
153
168
|
"""ID of the Apache Kafka® cluster.
|
|
154
169
|
This ID is assigned at creation time.
|
|
@@ -209,6 +224,10 @@ class Cluster(google.protobuf.message.Message):
|
|
|
209
224
|
def planned_operation(self) -> yandex.cloud.mdb.kafka.v1.maintenance_pb2.MaintenanceOperation:
|
|
210
225
|
"""Scheduled maintenance operation."""
|
|
211
226
|
|
|
227
|
+
@property
|
|
228
|
+
def kafka_ui(self) -> global___Cluster.KafkaUI:
|
|
229
|
+
"""KafkaUI state."""
|
|
230
|
+
|
|
212
231
|
def __init__(
|
|
213
232
|
self,
|
|
214
233
|
*,
|
|
@@ -229,9 +248,10 @@ class Cluster(google.protobuf.message.Message):
|
|
|
229
248
|
deletion_protection: builtins.bool = ...,
|
|
230
249
|
maintenance_window: yandex.cloud.mdb.kafka.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
231
250
|
planned_operation: yandex.cloud.mdb.kafka.v1.maintenance_pb2.MaintenanceOperation | None = ...,
|
|
251
|
+
kafka_ui: global___Cluster.KafkaUI | None = ...,
|
|
232
252
|
) -> None: ...
|
|
233
|
-
def HasField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "maintenance_window", b"maintenance_window", "planned_operation", b"planned_operation"]) -> builtins.bool: ...
|
|
234
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "health", b"health", "host_group_ids", b"host_group_ids", "id", b"id", "labels", b"labels", "maintenance_window", b"maintenance_window", "monitoring", b"monitoring", "name", b"name", "network_id", b"network_id", "planned_operation", b"planned_operation", "security_group_ids", b"security_group_ids", "status", b"status"]) -> None: ...
|
|
253
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "kafka_ui", b"kafka_ui", "maintenance_window", b"maintenance_window", "planned_operation", b"planned_operation"]) -> builtins.bool: ...
|
|
254
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "health", b"health", "host_group_ids", b"host_group_ids", "id", b"id", "kafka_ui", b"kafka_ui", "labels", b"labels", "maintenance_window", b"maintenance_window", "monitoring", b"monitoring", "name", b"name", "network_id", b"network_id", "planned_operation", b"planned_operation", "security_group_ids", b"security_group_ids", "status", b"status"]) -> None: ...
|
|
235
255
|
|
|
236
256
|
global___Cluster = Cluster
|
|
237
257
|
|
|
@@ -339,6 +359,20 @@ class ConfigSpec(google.protobuf.message.Message):
|
|
|
339
359
|
) -> None: ...
|
|
340
360
|
def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ...
|
|
341
361
|
|
|
362
|
+
@typing.final
|
|
363
|
+
class KafkaUIConfig(google.protobuf.message.Message):
|
|
364
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
365
|
+
|
|
366
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
367
|
+
enabled: builtins.bool
|
|
368
|
+
"""Is Kafka UI enabled for this cluster."""
|
|
369
|
+
def __init__(
|
|
370
|
+
self,
|
|
371
|
+
*,
|
|
372
|
+
enabled: builtins.bool = ...,
|
|
373
|
+
) -> None: ...
|
|
374
|
+
def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ...
|
|
375
|
+
|
|
342
376
|
VERSION_FIELD_NUMBER: builtins.int
|
|
343
377
|
KAFKA_FIELD_NUMBER: builtins.int
|
|
344
378
|
ZOOKEEPER_FIELD_NUMBER: builtins.int
|
|
@@ -351,6 +385,7 @@ class ConfigSpec(google.protobuf.message.Message):
|
|
|
351
385
|
REST_API_CONFIG_FIELD_NUMBER: builtins.int
|
|
352
386
|
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
353
387
|
KRAFT_FIELD_NUMBER: builtins.int
|
|
388
|
+
KAFKA_UI_CONFIG_FIELD_NUMBER: builtins.int
|
|
354
389
|
version: builtins.str
|
|
355
390
|
"""Version of Apache Kafka® used in the cluster. Possible values: `2.8`, `3.0`, `3.1`, `3.2`, `3.3`, `3.4`, `3.5`, `3.6`."""
|
|
356
391
|
assign_public_ip: builtins.bool
|
|
@@ -395,6 +430,10 @@ class ConfigSpec(google.protobuf.message.Message):
|
|
|
395
430
|
def kraft(self) -> global___ConfigSpec.KRaft:
|
|
396
431
|
"""Configuration and resource allocation for KRaft-controller hosts."""
|
|
397
432
|
|
|
433
|
+
@property
|
|
434
|
+
def kafka_ui_config(self) -> global___ConfigSpec.KafkaUIConfig:
|
|
435
|
+
"""Configuration of Kafka UI."""
|
|
436
|
+
|
|
398
437
|
def __init__(
|
|
399
438
|
self,
|
|
400
439
|
*,
|
|
@@ -410,9 +449,10 @@ class ConfigSpec(google.protobuf.message.Message):
|
|
|
410
449
|
rest_api_config: global___ConfigSpec.RestAPIConfig | None = ...,
|
|
411
450
|
disk_size_autoscaling: global___DiskSizeAutoscaling | None = ...,
|
|
412
451
|
kraft: global___ConfigSpec.KRaft | None = ...,
|
|
452
|
+
kafka_ui_config: global___ConfigSpec.KafkaUIConfig | None = ...,
|
|
413
453
|
) -> None: ...
|
|
414
|
-
def HasField(self, field_name: typing.Literal["access", b"access", "brokers_count", b"brokers_count", "disk_size_autoscaling", b"disk_size_autoscaling", "kafka", b"kafka", "kraft", b"kraft", "rest_api_config", b"rest_api_config", "zookeeper", b"zookeeper"]) -> builtins.bool: ...
|
|
415
|
-
def ClearField(self, field_name: typing.Literal["access", b"access", "assign_public_ip", b"assign_public_ip", "brokers_count", b"brokers_count", "disk_size_autoscaling", b"disk_size_autoscaling", "kafka", b"kafka", "kraft", b"kraft", "rest_api_config", b"rest_api_config", "schema_registry", b"schema_registry", "unmanaged_topics", b"unmanaged_topics", "version", b"version", "zone_id", b"zone_id", "zookeeper", b"zookeeper"]) -> None: ...
|
|
454
|
+
def HasField(self, field_name: typing.Literal["access", b"access", "brokers_count", b"brokers_count", "disk_size_autoscaling", b"disk_size_autoscaling", "kafka", b"kafka", "kafka_ui_config", b"kafka_ui_config", "kraft", b"kraft", "rest_api_config", b"rest_api_config", "zookeeper", b"zookeeper"]) -> builtins.bool: ...
|
|
455
|
+
def ClearField(self, field_name: typing.Literal["access", b"access", "assign_public_ip", b"assign_public_ip", "brokers_count", b"brokers_count", "disk_size_autoscaling", b"disk_size_autoscaling", "kafka", b"kafka", "kafka_ui_config", b"kafka_ui_config", "kraft", b"kraft", "rest_api_config", b"rest_api_config", "schema_registry", b"schema_registry", "unmanaged_topics", b"unmanaged_topics", "version", b"version", "zone_id", b"zone_id", "zookeeper", b"zookeeper"]) -> None: ...
|
|
416
456
|
|
|
417
457
|
global___ConfigSpec = ConfigSpec
|
|
418
458
|
|
|
@@ -782,6 +822,8 @@ class Host(google.protobuf.message.Message):
|
|
|
782
822
|
"""The host is a Kafka broker."""
|
|
783
823
|
ZOOKEEPER: Host._Role.ValueType # 2
|
|
784
824
|
"""The host is a ZooKeeper server."""
|
|
825
|
+
KRAFT: Host._Role.ValueType # 3
|
|
826
|
+
"""The host is a Kafka KRaft controller broker."""
|
|
785
827
|
|
|
786
828
|
class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
|
|
787
829
|
ROLE_UNSPECIFIED: Host.Role.ValueType # 0
|
|
@@ -790,6 +832,8 @@ class Host(google.protobuf.message.Message):
|
|
|
790
832
|
"""The host is a Kafka broker."""
|
|
791
833
|
ZOOKEEPER: Host.Role.ValueType # 2
|
|
792
834
|
"""The host is a ZooKeeper server."""
|
|
835
|
+
KRAFT: Host.Role.ValueType # 3
|
|
836
|
+
"""The host is a Kafka KRaft controller broker."""
|
|
793
837
|
|
|
794
838
|
class _Health:
|
|
795
839
|
ValueType = typing.NewType("ValueType", builtins.int)
|