yandexcloud 0.331.0__py3-none-any.whl → 0.333.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/threads/message_pb2.py +29 -19
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +104 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +66 -66
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +5 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +50 -38
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +199 -3
- yandex/cloud/backup/v1/backup_service_pb2.py +17 -3
- yandex/cloud/backup/v1/backup_service_pb2.pyi +52 -0
- yandex/cloud/backup/v1/backup_service_pb2_grpc.py +44 -0
- yandex/cloud/backup/v1/backup_service_pb2_grpc.pyi +20 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +9 -7
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +19 -0
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +7 -3
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.py +6 -6
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +11 -4
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +33 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +21 -8
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +41 -5
- yandex/cloud/datatransfer/v1/transfer_pb2.py +48 -46
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +22 -2
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +53 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +20 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +55 -7
- yandex/cloud/k8s/v1/cluster_pb2.py +38 -38
- yandex/cloud/k8s/v1/cluster_pb2.pyi +6 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +74 -63
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +39 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/k8s/v1/maintenance_pb2.py +14 -11
- yandex/cloud/k8s/v1/maintenance_pb2.pyi +36 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +72 -68
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +33 -2
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +36 -34
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +34 -4
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/mysql/v1/user_pb2.py +16 -14
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/mysql/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2.py +47 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2.pyi +82 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2.py +70 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2.pyi +159 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2_grpc.py +189 -0
- yandex/cloud/mdb/postgresql/v1/backup_retention_policy_service_pb2_grpc.pyi +90 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +110 -105
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +41 -1
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +18 -18
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +128 -125
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +22 -3
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +8 -2
- yandex/cloud/quotamanager/__init__.py +0 -0
- yandex/cloud/quotamanager/v1/__init__.py +0 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2.py +79 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2.pyi +193 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2_grpc.py +189 -0
- yandex/cloud/quotamanager/v1/quota_limit_service_pb2_grpc.pyi +90 -0
- yandex/cloud/quotamanager/v1/resource_pb2.py +42 -0
- yandex/cloud/quotamanager/v1/resource_pb2.pyi +31 -0
- yandex/cloud/quotamanager/v1/resource_pb2_grpc.py +24 -0
- yandex/cloud/quotamanager/v1/resource_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +20 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +1 -1
- yandex/cloud/video/v1/episode_service_pb2.py +35 -21
- yandex/cloud/video/v1/episode_service_pb2.pyi +42 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +44 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/RECORD +86 -68
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.333.0.dist-info}/top_level.txt +0 -0
|
@@ -22,6 +22,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
25
26
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
27
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
28
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
@@ -33,7 +34,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
33
34
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
34
35
|
|
|
35
36
|
|
|
36
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/k8s/v1/cluster_service.proto\x12\x13yandex.cloud.k8s.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a!yandex/cloud/k8s/v1/cluster.proto\x1a\x1eyandex/cloud/k8s/v1/node.proto\x1a$yandex/cloud/k8s/v1/node_group.proto\x1a!yandex/cloud/k8s/v1/version.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"-\n\x11GetClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x88\x01\n\x13ListClustersRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"_\n\x14ListClustersResponse\x12.\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.k8s.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"0\n\x14\x44\x65leteClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\".\n\x12StopClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"/\n\x13StartClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\xab\x05\n\x14UpdateClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8a\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x35.yandex.cloud.k8s.v1.UpdateClusterRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12(\n\x14gateway_ipv4_address\x18\x06 \x01(\tB\x08\x8a\xc8\x31\x04<=15H\x00\x12:\n\x0bmaster_spec\x18\x07 \x01(\x0b\x32%.yandex.cloud.k8s.v1.MasterUpdateSpec\x12\x1a\n\x12service_account_id\x18\t \x01(\t\x12\x1f\n\x17node_service_account_id\x18\x08 \x01(\t\x12:\n\x0enetwork_policy\x18\n \x01(\x0b\x32\".yandex.cloud.k8s.v1.NetworkPolicy\x12\x45\n\x14ip_allocation_policy\x18\x0b \x01(\x0b\x32\'.yandex.cloud.k8s.v1.IPAllocationPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10internet_gateway\"\xef\x02\n\x10MasterUpdateSpec\x12\x37\n\x07version\x18\x01 \x01(\x0b\x32&.yandex.cloud.k8s.v1.UpdateVersionSpec\x12H\n\x12maintenance_policy\x18\x02 \x01(\x0b\x32,.yandex.cloud.k8s.v1.MasterMaintenancePolicy\x12\x1a\n\x12security_group_ids\x18\x03 \x03(\t\x12:\n\x0emaster_logging\x18\x04 \x01(\x0b\x32\".yandex.cloud.k8s.v1.MasterLogging\x12\x34\n\tlocations\x18\x05 \x03(\x0b\x32!.yandex.cloud.k8s.v1.LocationSpec\x12J\n\x18\x65xternal_v6_address_spec\x18\x06 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\xd4\x06\n\x14\x43reateClusterRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8a\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x35.yandex.cloud.k8s.v1.CreateClusterRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x18\n\nnetwork_id\x18\x05 \x01(\tB\x04\xe8\xc7\x31\x01\x12:\n\x0bmaster_spec\x18\x06 \x01(\x0b\x32\x1f.yandex.cloud.k8s.v1.MasterSpecB\x04\xe8\xc7\x31\x01\x12\x45\n\x14ip_allocation_policy\x18\x07 \x01(\x0b\x32\'.yandex.cloud.k8s.v1.IPAllocationPolicy\x12\x1e\n\x14gateway_ipv4_address\x18\x08 \x01(\tH\x00\x12 \n\x12service_account_id\x18\t \x01(\tB\x04\xe8\xc7\x31\x01\x12%\n\x17node_service_account_id\x18\n \x01(\tB\x04\xe8\xc7\x31\x01\x12<\n\x0frelease_channel\x18\x0b \x01(\x0e\x32#.yandex.cloud.k8s.v1.ReleaseChannel\x12:\n\x0enetwork_policy\x18\x0c \x01(\x0b\x32\".yandex.cloud.k8s.v1.NetworkPolicy\x12\x36\n\x0ckms_provider\x18\r \x01(\x0b\x32 .yandex.cloud.k8s.v1.KMSProvider\x12-\n\x06\x63ilium\x18\x0e \x01(\x0b\x32\x1b.yandex.cloud.k8s.v1.CiliumH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10internet_gatewayB\x18\n\x16network_implementation\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"/\n\x19\x41utoUpgradeMasterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\x92\x01\n\x1cListClusterOperationsRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n\x1cListClusterNodeGroupsRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"m\n\x1dListClusterNodeGroupsResponse\x12\x33\n\x0bnode_groups\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.k8s.v1.NodeGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x17ListClusterNodesRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"]\n\x18ListClusterNodesResponse\x12(\n\x05nodes\x18\x01 \x03(\x0b\x32\x19.yandex.cloud.k8s.v1.Node\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd4\x04\n\nMasterSpec\x12\x41\n\x11zonal_master_spec\x18\x01 \x01(\x0b\x32$.yandex.cloud.k8s.v1.ZonalMasterSpecH\x00\x12G\n\x14regional_master_spec\x18\x02 \x01(\x0b\x32\'.yandex.cloud.k8s.v1.RegionalMasterSpecH\x00\x12\x34\n\tlocations\x18\x08 \x03(\x0b\x32!.yandex.cloud.k8s.v1.LocationSpec\x12$\n\x11\x65tcd_cluster_size\x18\t \x01(\x03\x42\t\xfa\xc7\x31\x05\x30,1,3\x12J\n\x18\x65xternal_v4_address_spec\x18\n \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\x12J\n\x18\x65xternal_v6_address_spec\x18\x0b \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\x12\x0f\n\x07version\x18\x03 \x01(\t\x12H\n\x12maintenance_policy\x18\x04 \x01(\x0b\x32,.yandex.cloud.k8s.v1.MasterMaintenancePolicy\x12\x1a\n\x12security_group_ids\x18\x06 \x03(\t\x12:\n\x0emaster_logging\x18\x07 \x01(\x0b\x32\".yandex.cloud.k8s.v1.MasterLoggingB\r\n\x0bmaster_typeJ\x04\x08\x05\x10\x06\"\xc0\x01\n\x0fZonalMasterSpec\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12J\n\x18internal_v4_address_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.k8s.v1.InternalAddressSpec\x12J\n\x18\x65xternal_v4_address_spec\x18\x03 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\"\xfd\x01\n\x12RegionalMasterSpec\x12\x17\n\tregion_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x36\n\tlocations\x18\x02 \x03(\x0b\x32#.yandex.cloud.k8s.v1.MasterLocation\x12J\n\x18\x65xternal_v4_address_spec\x18\x03 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\x12J\n\x18\x65xternal_v6_address_spec\x18\x04 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\"(\n\x13InternalAddressSpec\x12\x11\n\tsubnet_id\x18\x02 \x01(\t\"&\n\x13\x45xternalAddressSpec\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"s\n\x0eMasterLocation\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12J\n\x18internal_v4_address_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.k8s.v1.InternalAddressSpec\"8\n\x0cLocationSpec\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tsubnet_id\x18\x02 \x01(\t2\xc6\r\n\x0e\x43lusterService\x12\x81\x01\n\x03Get\x12&.yandex.cloud.k8s.v1.GetClusterRequest\x1a\x1c.yandex.cloud.k8s.v1.Cluster\"4\x82\xd3\xe4\x93\x02.\x12,/managed-kubernetes/v1/clusters/{cluster_id}\x12\x84\x01\n\x04List\x12(.yandex.cloud.k8s.v1.ListClustersRequest\x1a).yandex.cloud.k8s.v1.ListClustersResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/managed-kubernetes/v1/clusters\x12\xa6\x01\n\x06\x43reate\x12).yandex.cloud.k8s.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02$\"\x1f/managed-kubernetes/v1/clusters:\x01*\x12\xb3\x01\n\x06Update\x12).yandex.cloud.k8s.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x31\x32,/managed-kubernetes/v1/clusters/{cluster_id}:\x01*\x12\xbe\x01\n\x06\x44\x65lete\x12).yandex.cloud.k8s.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.*,/managed-kubernetes/v1/clusters/{cluster_id}\x12\xb2\x01\n\x04Stop\x12\'.yandex.cloud.k8s.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"^\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x36\"1/managed-kubernetes/v1/clusters/{cluster_id}:stop:\x01*\x12\xb6\x01\n\x05Start\x12(.yandex.cloud.k8s.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"`\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x37\"2/managed-kubernetes/v1/clusters/{cluster_id}:start:\x01*\x12\xb8\x01\n\x0eListNodeGroups\x12\x31.yandex.cloud.k8s.v1.ListClusterNodeGroupsRequest\x1a\x32.yandex.cloud.k8s.v1.ListClusterNodeGroupsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/managed-kubernetes/v1/clusters/{cluster_id}/nodeGroups\x12\xb8\x01\n\x0eListOperations\x12\x31.yandex.cloud.k8s.v1.ListClusterOperationsRequest\x1a\x32.yandex.cloud.k8s.v1.ListClusterOperationsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/managed-kubernetes/v1/clusters/{cluster_id}/operations\x12\xa4\x01\n\tListNodes\x12,.yandex.cloud.k8s.v1.ListClusterNodesRequest\x1a-.yandex.cloud.k8s.v1.ListClusterNodesResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-kubernetes/v1/clusters/{cluster_id}/nodesBV\n\x17yandex.cloud.api.k8s.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/k8s/v1;k8sb\x06proto3')
|
|
37
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/k8s/v1/cluster_service.proto\x12\x13yandex.cloud.k8s.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a!yandex/cloud/k8s/v1/cluster.proto\x1a\x1eyandex/cloud/k8s/v1/node.proto\x1a$yandex/cloud/k8s/v1/node_group.proto\x1a!yandex/cloud/k8s/v1/version.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"-\n\x11GetClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x88\x01\n\x13ListClustersRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"_\n\x14ListClustersResponse\x12.\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.k8s.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"0\n\x14\x44\x65leteClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\".\n\x12StopClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"/\n\x13StartClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\xab\x05\n\x14UpdateClusterRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8a\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x35.yandex.cloud.k8s.v1.UpdateClusterRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12(\n\x14gateway_ipv4_address\x18\x06 \x01(\tB\x08\x8a\xc8\x31\x04<=15H\x00\x12:\n\x0bmaster_spec\x18\x07 \x01(\x0b\x32%.yandex.cloud.k8s.v1.MasterUpdateSpec\x12\x1a\n\x12service_account_id\x18\t \x01(\t\x12\x1f\n\x17node_service_account_id\x18\x08 \x01(\t\x12:\n\x0enetwork_policy\x18\n \x01(\x0b\x32\".yandex.cloud.k8s.v1.NetworkPolicy\x12\x45\n\x14ip_allocation_policy\x18\x0b \x01(\x0b\x32\'.yandex.cloud.k8s.v1.IPAllocationPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10internet_gateway\"\xef\x02\n\x10MasterUpdateSpec\x12\x37\n\x07version\x18\x01 \x01(\x0b\x32&.yandex.cloud.k8s.v1.UpdateVersionSpec\x12H\n\x12maintenance_policy\x18\x02 \x01(\x0b\x32,.yandex.cloud.k8s.v1.MasterMaintenancePolicy\x12\x1a\n\x12security_group_ids\x18\x03 \x03(\t\x12:\n\x0emaster_logging\x18\x04 \x01(\x0b\x32\".yandex.cloud.k8s.v1.MasterLogging\x12\x34\n\tlocations\x18\x05 \x03(\x0b\x32!.yandex.cloud.k8s.v1.LocationSpec\x12J\n\x18\x65xternal_v6_address_spec\x18\x06 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\xd4\x06\n\x14\x43reateClusterRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8a\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x35.yandex.cloud.k8s.v1.CreateClusterRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x18\n\nnetwork_id\x18\x05 \x01(\tB\x04\xe8\xc7\x31\x01\x12:\n\x0bmaster_spec\x18\x06 \x01(\x0b\x32\x1f.yandex.cloud.k8s.v1.MasterSpecB\x04\xe8\xc7\x31\x01\x12\x45\n\x14ip_allocation_policy\x18\x07 \x01(\x0b\x32\'.yandex.cloud.k8s.v1.IPAllocationPolicy\x12\x1e\n\x14gateway_ipv4_address\x18\x08 \x01(\tH\x00\x12 \n\x12service_account_id\x18\t \x01(\tB\x04\xe8\xc7\x31\x01\x12%\n\x17node_service_account_id\x18\n \x01(\tB\x04\xe8\xc7\x31\x01\x12<\n\x0frelease_channel\x18\x0b \x01(\x0e\x32#.yandex.cloud.k8s.v1.ReleaseChannel\x12:\n\x0enetwork_policy\x18\x0c \x01(\x0b\x32\".yandex.cloud.k8s.v1.NetworkPolicy\x12\x36\n\x0ckms_provider\x18\r \x01(\x0b\x32 .yandex.cloud.k8s.v1.KMSProvider\x12-\n\x06\x63ilium\x18\x0e \x01(\x0b\x32\x1b.yandex.cloud.k8s.v1.CiliumH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10internet_gatewayB\x18\n\x16network_implementation\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"/\n\x19\x41utoUpgradeMasterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\x92\x01\n\x1cListClusterOperationsRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n\x1cListClusterNodeGroupsRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"m\n\x1dListClusterNodeGroupsResponse\x12\x33\n\x0bnode_groups\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.k8s.v1.NodeGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x17ListClusterNodesRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"]\n\x18ListClusterNodesResponse\x12(\n\x05nodes\x18\x01 \x03(\x0b\x32\x19.yandex.cloud.k8s.v1.Node\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd4\x04\n\nMasterSpec\x12\x41\n\x11zonal_master_spec\x18\x01 \x01(\x0b\x32$.yandex.cloud.k8s.v1.ZonalMasterSpecH\x00\x12G\n\x14regional_master_spec\x18\x02 \x01(\x0b\x32\'.yandex.cloud.k8s.v1.RegionalMasterSpecH\x00\x12\x34\n\tlocations\x18\x08 \x03(\x0b\x32!.yandex.cloud.k8s.v1.LocationSpec\x12$\n\x11\x65tcd_cluster_size\x18\t \x01(\x03\x42\t\xfa\xc7\x31\x05\x30,1,3\x12J\n\x18\x65xternal_v4_address_spec\x18\n \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\x12J\n\x18\x65xternal_v6_address_spec\x18\x0b \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\x12\x0f\n\x07version\x18\x03 \x01(\t\x12H\n\x12maintenance_policy\x18\x04 \x01(\x0b\x32,.yandex.cloud.k8s.v1.MasterMaintenancePolicy\x12\x1a\n\x12security_group_ids\x18\x06 \x03(\t\x12:\n\x0emaster_logging\x18\x07 \x01(\x0b\x32\".yandex.cloud.k8s.v1.MasterLoggingB\r\n\x0bmaster_typeJ\x04\x08\x05\x10\x06\"\xc0\x01\n\x0fZonalMasterSpec\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12J\n\x18internal_v4_address_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.k8s.v1.InternalAddressSpec\x12J\n\x18\x65xternal_v4_address_spec\x18\x03 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\"\xfd\x01\n\x12RegionalMasterSpec\x12\x17\n\tregion_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x36\n\tlocations\x18\x02 \x03(\x0b\x32#.yandex.cloud.k8s.v1.MasterLocation\x12J\n\x18\x65xternal_v4_address_spec\x18\x03 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\x12J\n\x18\x65xternal_v6_address_spec\x18\x04 \x01(\x0b\x32(.yandex.cloud.k8s.v1.ExternalAddressSpec\"(\n\x13InternalAddressSpec\x12\x11\n\tsubnet_id\x18\x02 \x01(\t\"&\n\x13\x45xternalAddressSpec\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"s\n\x0eMasterLocation\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12J\n\x18internal_v4_address_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.k8s.v1.InternalAddressSpec\"8\n\x0cLocationSpec\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tsubnet_id\x18\x02 \x01(\t\"q\n\x1cRescheduleMaintenanceRequest\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x37\n\rdelayed_until\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\"3\n\x1dRescheduleMaintenanceMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t2\xc1\x0f\n\x0e\x43lusterService\x12\x81\x01\n\x03Get\x12&.yandex.cloud.k8s.v1.GetClusterRequest\x1a\x1c.yandex.cloud.k8s.v1.Cluster\"4\x82\xd3\xe4\x93\x02.\x12,/managed-kubernetes/v1/clusters/{cluster_id}\x12\x84\x01\n\x04List\x12(.yandex.cloud.k8s.v1.ListClustersRequest\x1a).yandex.cloud.k8s.v1.ListClustersResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/managed-kubernetes/v1/clusters\x12\xa6\x01\n\x06\x43reate\x12).yandex.cloud.k8s.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02$\"\x1f/managed-kubernetes/v1/clusters:\x01*\x12\xb3\x01\n\x06Update\x12).yandex.cloud.k8s.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x31\x32,/managed-kubernetes/v1/clusters/{cluster_id}:\x01*\x12\xbe\x01\n\x06\x44\x65lete\x12).yandex.cloud.k8s.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.*,/managed-kubernetes/v1/clusters/{cluster_id}\x12\xb2\x01\n\x04Stop\x12\'.yandex.cloud.k8s.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"^\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x36\"1/managed-kubernetes/v1/clusters/{cluster_id}:stop:\x01*\x12\xb6\x01\n\x05Start\x12(.yandex.cloud.k8s.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"`\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x37\"2/managed-kubernetes/v1/clusters/{cluster_id}:start:\x01*\x12\xf8\x01\n\x15RescheduleMaintenance\x12\x31.yandex.cloud.k8s.v1.RescheduleMaintenanceRequest\x1a!.yandex.cloud.operation.Operation\"\x88\x01\xb2\xd2*6\n\x1dRescheduleMaintenanceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02H\"C/managed-kubernetes/v1/clusters/{cluster_id}:reschedule-maintenance:\x01*\x12\xb8\x01\n\x0eListNodeGroups\x12\x31.yandex.cloud.k8s.v1.ListClusterNodeGroupsRequest\x1a\x32.yandex.cloud.k8s.v1.ListClusterNodeGroupsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/managed-kubernetes/v1/clusters/{cluster_id}/nodeGroups\x12\xb8\x01\n\x0eListOperations\x12\x31.yandex.cloud.k8s.v1.ListClusterOperationsRequest\x1a\x32.yandex.cloud.k8s.v1.ListClusterOperationsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/managed-kubernetes/v1/clusters/{cluster_id}/operations\x12\xa4\x01\n\tListNodes\x12,.yandex.cloud.k8s.v1.ListClusterNodesRequest\x1a-.yandex.cloud.k8s.v1.ListClusterNodesResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-kubernetes/v1/clusters/{cluster_id}/nodesBV\n\x17yandex.cloud.api.k8s.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/k8s/v1;k8sb\x06proto3')
|
|
37
38
|
|
|
38
39
|
_globals = globals()
|
|
39
40
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -119,6 +120,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
119
120
|
_globals['_MASTERLOCATION'].fields_by_name['zone_id']._serialized_options = b'\350\3071\001'
|
|
120
121
|
_globals['_LOCATIONSPEC'].fields_by_name['zone_id']._loaded_options = None
|
|
121
122
|
_globals['_LOCATIONSPEC'].fields_by_name['zone_id']._serialized_options = b'\350\3071\001'
|
|
123
|
+
_globals['_RESCHEDULEMAINTENANCEREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
124
|
+
_globals['_RESCHEDULEMAINTENANCEREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001'
|
|
125
|
+
_globals['_RESCHEDULEMAINTENANCEREQUEST'].fields_by_name['delayed_until']._loaded_options = None
|
|
126
|
+
_globals['_RESCHEDULEMAINTENANCEREQUEST'].fields_by_name['delayed_until']._serialized_options = b'\350\3071\001'
|
|
122
127
|
_globals['_CLUSTERSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
123
128
|
_globals['_CLUSTERSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002.\022,/managed-kubernetes/v1/clusters/{cluster_id}'
|
|
124
129
|
_globals['_CLUSTERSERVICE'].methods_by_name['List']._loaded_options = None
|
|
@@ -133,72 +138,78 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
133
138
|
_globals['_CLUSTERSERVICE'].methods_by_name['Stop']._serialized_options = b'\262\322*\036\n\023StopClusterMetadata\022\007Cluster\202\323\344\223\0026\"1/managed-kubernetes/v1/clusters/{cluster_id}:stop:\001*'
|
|
134
139
|
_globals['_CLUSTERSERVICE'].methods_by_name['Start']._loaded_options = None
|
|
135
140
|
_globals['_CLUSTERSERVICE'].methods_by_name['Start']._serialized_options = b'\262\322*\037\n\024StartClusterMetadata\022\007Cluster\202\323\344\223\0027\"2/managed-kubernetes/v1/clusters/{cluster_id}:start:\001*'
|
|
141
|
+
_globals['_CLUSTERSERVICE'].methods_by_name['RescheduleMaintenance']._loaded_options = None
|
|
142
|
+
_globals['_CLUSTERSERVICE'].methods_by_name['RescheduleMaintenance']._serialized_options = b'\262\322*6\n\035RescheduleMaintenanceMetadata\022\025google.protobuf.Empty\202\323\344\223\002H\"C/managed-kubernetes/v1/clusters/{cluster_id}:reschedule-maintenance:\001*'
|
|
136
143
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListNodeGroups']._loaded_options = None
|
|
137
144
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListNodeGroups']._serialized_options = b'\202\323\344\223\0029\0227/managed-kubernetes/v1/clusters/{cluster_id}/nodeGroups'
|
|
138
145
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
139
146
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\0029\0227/managed-kubernetes/v1/clusters/{cluster_id}/operations'
|
|
140
147
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListNodes']._loaded_options = None
|
|
141
148
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListNodes']._serialized_options = b'\202\323\344\223\0024\0222/managed-kubernetes/v1/clusters/{cluster_id}/nodes'
|
|
142
|
-
_globals['_GETCLUSTERREQUEST']._serialized_start=
|
|
143
|
-
_globals['_GETCLUSTERREQUEST']._serialized_end=
|
|
144
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_start=
|
|
145
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_end=
|
|
146
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=
|
|
147
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=
|
|
148
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_start=
|
|
149
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_end=
|
|
150
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_start=
|
|
151
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_end=
|
|
152
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_start=
|
|
153
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_end=
|
|
154
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_start=
|
|
155
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_end=
|
|
156
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_start=
|
|
157
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_end=
|
|
158
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_start=
|
|
159
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_end=
|
|
160
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_start=
|
|
161
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_end=
|
|
162
|
-
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
163
|
-
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
164
|
-
_globals['_MASTERUPDATESPEC']._serialized_start=
|
|
165
|
-
_globals['_MASTERUPDATESPEC']._serialized_end=
|
|
166
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_start=
|
|
167
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_end=
|
|
168
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_start=
|
|
169
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_end=
|
|
170
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
171
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
172
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_start=
|
|
173
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_end=
|
|
174
|
-
_globals['_AUTOUPGRADEMASTERMETADATA']._serialized_start=
|
|
175
|
-
_globals['_AUTOUPGRADEMASTERMETADATA']._serialized_end=
|
|
176
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=
|
|
177
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=
|
|
178
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=
|
|
179
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=
|
|
180
|
-
_globals['_LISTCLUSTERNODEGROUPSREQUEST']._serialized_start=
|
|
181
|
-
_globals['_LISTCLUSTERNODEGROUPSREQUEST']._serialized_end=
|
|
182
|
-
_globals['_LISTCLUSTERNODEGROUPSRESPONSE']._serialized_start=
|
|
183
|
-
_globals['_LISTCLUSTERNODEGROUPSRESPONSE']._serialized_end=
|
|
184
|
-
_globals['_LISTCLUSTERNODESREQUEST']._serialized_start=
|
|
185
|
-
_globals['_LISTCLUSTERNODESREQUEST']._serialized_end=
|
|
186
|
-
_globals['_LISTCLUSTERNODESRESPONSE']._serialized_start=
|
|
187
|
-
_globals['_LISTCLUSTERNODESRESPONSE']._serialized_end=
|
|
188
|
-
_globals['_MASTERSPEC']._serialized_start=
|
|
189
|
-
_globals['_MASTERSPEC']._serialized_end=
|
|
190
|
-
_globals['_ZONALMASTERSPEC']._serialized_start=
|
|
191
|
-
_globals['_ZONALMASTERSPEC']._serialized_end=
|
|
192
|
-
_globals['_REGIONALMASTERSPEC']._serialized_start=
|
|
193
|
-
_globals['_REGIONALMASTERSPEC']._serialized_end=
|
|
194
|
-
_globals['_INTERNALADDRESSSPEC']._serialized_start=
|
|
195
|
-
_globals['_INTERNALADDRESSSPEC']._serialized_end=
|
|
196
|
-
_globals['_EXTERNALADDRESSSPEC']._serialized_start=
|
|
197
|
-
_globals['_EXTERNALADDRESSSPEC']._serialized_end=
|
|
198
|
-
_globals['_MASTERLOCATION']._serialized_start=
|
|
199
|
-
_globals['_MASTERLOCATION']._serialized_end=
|
|
200
|
-
_globals['_LOCATIONSPEC']._serialized_start=
|
|
201
|
-
_globals['_LOCATIONSPEC']._serialized_end=
|
|
202
|
-
_globals['
|
|
203
|
-
_globals['
|
|
149
|
+
_globals['_GETCLUSTERREQUEST']._serialized_start=408
|
|
150
|
+
_globals['_GETCLUSTERREQUEST']._serialized_end=453
|
|
151
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_start=456
|
|
152
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_end=592
|
|
153
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=594
|
|
154
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=689
|
|
155
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_start=691
|
|
156
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_end=739
|
|
157
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_start=741
|
|
158
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_end=784
|
|
159
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_start=786
|
|
160
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_end=832
|
|
161
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_start=834
|
|
162
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_end=875
|
|
163
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_start=877
|
|
164
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_end=924
|
|
165
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_start=926
|
|
166
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_end=968
|
|
167
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_start=971
|
|
168
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_end=1654
|
|
169
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1589
|
|
170
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1634
|
|
171
|
+
_globals['_MASTERUPDATESPEC']._serialized_start=1657
|
|
172
|
+
_globals['_MASTERUPDATESPEC']._serialized_end=2024
|
|
173
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_start=2026
|
|
174
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_end=2069
|
|
175
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_start=2072
|
|
176
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_end=2924
|
|
177
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1589
|
|
178
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1634
|
|
179
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_start=2926
|
|
180
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_end=2969
|
|
181
|
+
_globals['_AUTOUPGRADEMASTERMETADATA']._serialized_start=2971
|
|
182
|
+
_globals['_AUTOUPGRADEMASTERMETADATA']._serialized_end=3018
|
|
183
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=3021
|
|
184
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3167
|
|
185
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3169
|
|
186
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3280
|
|
187
|
+
_globals['_LISTCLUSTERNODEGROUPSREQUEST']._serialized_start=3283
|
|
188
|
+
_globals['_LISTCLUSTERNODEGROUPSREQUEST']._serialized_end=3429
|
|
189
|
+
_globals['_LISTCLUSTERNODEGROUPSRESPONSE']._serialized_start=3431
|
|
190
|
+
_globals['_LISTCLUSTERNODEGROUPSRESPONSE']._serialized_end=3540
|
|
191
|
+
_globals['_LISTCLUSTERNODESREQUEST']._serialized_start=3542
|
|
192
|
+
_globals['_LISTCLUSTERNODESREQUEST']._serialized_end=3655
|
|
193
|
+
_globals['_LISTCLUSTERNODESRESPONSE']._serialized_start=3657
|
|
194
|
+
_globals['_LISTCLUSTERNODESRESPONSE']._serialized_end=3750
|
|
195
|
+
_globals['_MASTERSPEC']._serialized_start=3753
|
|
196
|
+
_globals['_MASTERSPEC']._serialized_end=4349
|
|
197
|
+
_globals['_ZONALMASTERSPEC']._serialized_start=4352
|
|
198
|
+
_globals['_ZONALMASTERSPEC']._serialized_end=4544
|
|
199
|
+
_globals['_REGIONALMASTERSPEC']._serialized_start=4547
|
|
200
|
+
_globals['_REGIONALMASTERSPEC']._serialized_end=4800
|
|
201
|
+
_globals['_INTERNALADDRESSSPEC']._serialized_start=4802
|
|
202
|
+
_globals['_INTERNALADDRESSSPEC']._serialized_end=4842
|
|
203
|
+
_globals['_EXTERNALADDRESSSPEC']._serialized_start=4844
|
|
204
|
+
_globals['_EXTERNALADDRESSSPEC']._serialized_end=4882
|
|
205
|
+
_globals['_MASTERLOCATION']._serialized_start=4884
|
|
206
|
+
_globals['_MASTERLOCATION']._serialized_end=4999
|
|
207
|
+
_globals['_LOCATIONSPEC']._serialized_start=5001
|
|
208
|
+
_globals['_LOCATIONSPEC']._serialized_end=5057
|
|
209
|
+
_globals['_RESCHEDULEMAINTENANCEREQUEST']._serialized_start=5059
|
|
210
|
+
_globals['_RESCHEDULEMAINTENANCEREQUEST']._serialized_end=5172
|
|
211
|
+
_globals['_RESCHEDULEMAINTENANCEMETADATA']._serialized_start=5174
|
|
212
|
+
_globals['_RESCHEDULEMAINTENANCEMETADATA']._serialized_end=5225
|
|
213
|
+
_globals['_CLUSTERSERVICE']._serialized_start=5228
|
|
214
|
+
_globals['_CLUSTERSERVICE']._serialized_end=7213
|
|
204
215
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.field_mask_pb2
|
|
10
10
|
import google.protobuf.internal.containers
|
|
11
11
|
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
12
13
|
import typing
|
|
13
14
|
import yandex.cloud.k8s.v1.cluster_pb2
|
|
14
15
|
import yandex.cloud.k8s.v1.node_group_pb2
|
|
@@ -908,3 +909,41 @@ class LocationSpec(google.protobuf.message.Message):
|
|
|
908
909
|
def ClearField(self, field_name: typing.Literal["subnet_id", b"subnet_id", "zone_id", b"zone_id"]) -> None: ...
|
|
909
910
|
|
|
910
911
|
global___LocationSpec = LocationSpec
|
|
912
|
+
|
|
913
|
+
@typing.final
|
|
914
|
+
class RescheduleMaintenanceRequest(google.protobuf.message.Message):
|
|
915
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
916
|
+
|
|
917
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
918
|
+
DELAYED_UNTIL_FIELD_NUMBER: builtins.int
|
|
919
|
+
cluster_id: builtins.str
|
|
920
|
+
"""ID of the Kubernetes cluster to reschedule maintenance."""
|
|
921
|
+
@property
|
|
922
|
+
def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
923
|
+
"""Time until which the update should be postponed."""
|
|
924
|
+
|
|
925
|
+
def __init__(
|
|
926
|
+
self,
|
|
927
|
+
*,
|
|
928
|
+
cluster_id: builtins.str = ...,
|
|
929
|
+
delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
930
|
+
) -> None: ...
|
|
931
|
+
def HasField(self, field_name: typing.Literal["delayed_until", b"delayed_until"]) -> builtins.bool: ...
|
|
932
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "delayed_until", b"delayed_until"]) -> None: ...
|
|
933
|
+
|
|
934
|
+
global___RescheduleMaintenanceRequest = RescheduleMaintenanceRequest
|
|
935
|
+
|
|
936
|
+
@typing.final
|
|
937
|
+
class RescheduleMaintenanceMetadata(google.protobuf.message.Message):
|
|
938
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
939
|
+
|
|
940
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
941
|
+
cluster_id: builtins.str
|
|
942
|
+
def __init__(
|
|
943
|
+
self,
|
|
944
|
+
*,
|
|
945
|
+
cluster_id: builtins.str = ...,
|
|
946
|
+
) -> None: ...
|
|
947
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
948
|
+
|
|
949
|
+
global___RescheduleMaintenanceMetadata = RescheduleMaintenanceMetadata
|
|
@@ -72,6 +72,11 @@ class ClusterServiceStub(object):
|
|
|
72
72
|
request_serializer=yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.StartClusterRequest.SerializeToString,
|
|
73
73
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
74
74
|
_registered_method=True)
|
|
75
|
+
self.RescheduleMaintenance = channel.unary_unary(
|
|
76
|
+
'/yandex.cloud.k8s.v1.ClusterService/RescheduleMaintenance',
|
|
77
|
+
request_serializer=yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.RescheduleMaintenanceRequest.SerializeToString,
|
|
78
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
79
|
+
_registered_method=True)
|
|
75
80
|
self.ListNodeGroups = channel.unary_unary(
|
|
76
81
|
'/yandex.cloud.k8s.v1.ClusterService/ListNodeGroups',
|
|
77
82
|
request_serializer=yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.ListClusterNodeGroupsRequest.SerializeToString,
|
|
@@ -144,6 +149,13 @@ class ClusterServiceServicer(object):
|
|
|
144
149
|
context.set_details('Method not implemented!')
|
|
145
150
|
raise NotImplementedError('Method not implemented!')
|
|
146
151
|
|
|
152
|
+
def RescheduleMaintenance(self, request, context):
|
|
153
|
+
"""Reschedules mandatory maintenance for the specified cluster.
|
|
154
|
+
"""
|
|
155
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
156
|
+
context.set_details('Method not implemented!')
|
|
157
|
+
raise NotImplementedError('Method not implemented!')
|
|
158
|
+
|
|
147
159
|
def ListNodeGroups(self, request, context):
|
|
148
160
|
"""Lists nodegroup for the specified Kubernetes cluster.
|
|
149
161
|
"""
|
|
@@ -203,6 +215,11 @@ def add_ClusterServiceServicer_to_server(servicer, server):
|
|
|
203
215
|
request_deserializer=yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.StartClusterRequest.FromString,
|
|
204
216
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
205
217
|
),
|
|
218
|
+
'RescheduleMaintenance': grpc.unary_unary_rpc_method_handler(
|
|
219
|
+
servicer.RescheduleMaintenance,
|
|
220
|
+
request_deserializer=yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.RescheduleMaintenanceRequest.FromString,
|
|
221
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
222
|
+
),
|
|
206
223
|
'ListNodeGroups': grpc.unary_unary_rpc_method_handler(
|
|
207
224
|
servicer.ListNodeGroups,
|
|
208
225
|
request_deserializer=yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.ListClusterNodeGroupsRequest.FromString,
|
|
@@ -419,6 +436,33 @@ class ClusterService(object):
|
|
|
419
436
|
metadata,
|
|
420
437
|
_registered_method=True)
|
|
421
438
|
|
|
439
|
+
@staticmethod
|
|
440
|
+
def RescheduleMaintenance(request,
|
|
441
|
+
target,
|
|
442
|
+
options=(),
|
|
443
|
+
channel_credentials=None,
|
|
444
|
+
call_credentials=None,
|
|
445
|
+
insecure=False,
|
|
446
|
+
compression=None,
|
|
447
|
+
wait_for_ready=None,
|
|
448
|
+
timeout=None,
|
|
449
|
+
metadata=None):
|
|
450
|
+
return grpc.experimental.unary_unary(
|
|
451
|
+
request,
|
|
452
|
+
target,
|
|
453
|
+
'/yandex.cloud.k8s.v1.ClusterService/RescheduleMaintenance',
|
|
454
|
+
yandex_dot_cloud_dot_k8s_dot_v1_dot_cluster__service__pb2.RescheduleMaintenanceRequest.SerializeToString,
|
|
455
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
456
|
+
options,
|
|
457
|
+
channel_credentials,
|
|
458
|
+
insecure,
|
|
459
|
+
call_credentials,
|
|
460
|
+
compression,
|
|
461
|
+
wait_for_ready,
|
|
462
|
+
timeout,
|
|
463
|
+
metadata,
|
|
464
|
+
_registered_method=True)
|
|
465
|
+
|
|
422
466
|
@staticmethod
|
|
423
467
|
def ListNodeGroups(request,
|
|
424
468
|
target,
|
|
@@ -68,6 +68,12 @@ class ClusterServiceStub:
|
|
|
68
68
|
]
|
|
69
69
|
"""Starts the specified Kubernetes cluster."""
|
|
70
70
|
|
|
71
|
+
RescheduleMaintenance: grpc.UnaryUnaryMultiCallable[
|
|
72
|
+
yandex.cloud.k8s.v1.cluster_service_pb2.RescheduleMaintenanceRequest,
|
|
73
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
74
|
+
]
|
|
75
|
+
"""Reschedules mandatory maintenance for the specified cluster."""
|
|
76
|
+
|
|
71
77
|
ListNodeGroups: grpc.UnaryUnaryMultiCallable[
|
|
72
78
|
yandex.cloud.k8s.v1.cluster_service_pb2.ListClusterNodeGroupsRequest,
|
|
73
79
|
yandex.cloud.k8s.v1.cluster_service_pb2.ListClusterNodeGroupsResponse,
|
|
@@ -134,6 +140,12 @@ class ClusterServiceAsyncStub:
|
|
|
134
140
|
]
|
|
135
141
|
"""Starts the specified Kubernetes cluster."""
|
|
136
142
|
|
|
143
|
+
RescheduleMaintenance: grpc.aio.UnaryUnaryMultiCallable[
|
|
144
|
+
yandex.cloud.k8s.v1.cluster_service_pb2.RescheduleMaintenanceRequest,
|
|
145
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
146
|
+
]
|
|
147
|
+
"""Reschedules mandatory maintenance for the specified cluster."""
|
|
148
|
+
|
|
137
149
|
ListNodeGroups: grpc.aio.UnaryUnaryMultiCallable[
|
|
138
150
|
yandex.cloud.k8s.v1.cluster_service_pb2.ListClusterNodeGroupsRequest,
|
|
139
151
|
yandex.cloud.k8s.v1.cluster_service_pb2.ListClusterNodeGroupsResponse,
|
|
@@ -214,6 +226,14 @@ class ClusterServiceServicer(metaclass=abc.ABCMeta):
|
|
|
214
226
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
215
227
|
"""Starts the specified Kubernetes cluster."""
|
|
216
228
|
|
|
229
|
+
@abc.abstractmethod
|
|
230
|
+
def RescheduleMaintenance(
|
|
231
|
+
self,
|
|
232
|
+
request: yandex.cloud.k8s.v1.cluster_service_pb2.RescheduleMaintenanceRequest,
|
|
233
|
+
context: _ServicerContext,
|
|
234
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
235
|
+
"""Reschedules mandatory maintenance for the specified cluster."""
|
|
236
|
+
|
|
217
237
|
@abc.abstractmethod
|
|
218
238
|
def ListNodeGroups(
|
|
219
239
|
self,
|
|
@@ -25,10 +25,11 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.type import dayofweek_pb2 as google_dot_type_dot_dayofweek__pb2
|
|
26
26
|
from google.type import timeofday_pb2 as google_dot_type_dot_timeofday__pb2
|
|
27
27
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
28
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
29
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/k8s/v1/maintenance.proto\x12\x13yandex.cloud.k8s.v1\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1dyandex/cloud/validation.proto\"\x89\x02\n\x11MaintenanceWindow\x12@\n\x07\x61nytime\x18\x01 \x01(\x0b\x32-.yandex.cloud.k8s.v1.AnytimeMaintenanceWindowH\x00\x12O\n\x18\x64\x61ily_maintenance_window\x18\x02 \x01(\x0b\x32+.yandex.cloud.k8s.v1.DailyMaintenanceWindowH\x00\x12Q\n\x19weekly_maintenance_window\x18\x03 \x01(\x0b\x32,.yandex.cloud.k8s.v1.WeeklyMaintenanceWindowH\x00\x42\x0e\n\x06policy\x12\x04\xc0\xc1\x31\x01\"\x1a\n\x18\x41nytimeMaintenanceWindow\"\x83\x01\n\x16\x44\x61ilyMaintenanceWindow\x12\x30\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x04\xe8\xc7\x31\x01\x12\x37\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06\x31h-24h\"\xb7\x01\n\x1b\x44\x61ysOfWeekMaintenanceWindow\x12-\n\x04\x64\x61ys\x18\x01 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x07\x82\xc8\x31\x03\x31-7\x12\x30\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x04\xe8\xc7\x31\x01\x12\x37\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06\x31h-24h\"j\n\x17WeeklyMaintenanceWindow\x12O\n\x0c\x64\x61ys_of_week\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.k8s.v1.DaysOfWeekMaintenanceWindowB\x07\x82\xc8\x31\x03\x31-
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/k8s/v1/maintenance.proto\x12\x13yandex.cloud.k8s.v1\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x89\x02\n\x11MaintenanceWindow\x12@\n\x07\x61nytime\x18\x01 \x01(\x0b\x32-.yandex.cloud.k8s.v1.AnytimeMaintenanceWindowH\x00\x12O\n\x18\x64\x61ily_maintenance_window\x18\x02 \x01(\x0b\x32+.yandex.cloud.k8s.v1.DailyMaintenanceWindowH\x00\x12Q\n\x19weekly_maintenance_window\x18\x03 \x01(\x0b\x32,.yandex.cloud.k8s.v1.WeeklyMaintenanceWindowH\x00\x42\x0e\n\x06policy\x12\x04\xc0\xc1\x31\x01\"\x1a\n\x18\x41nytimeMaintenanceWindow\"\x83\x01\n\x16\x44\x61ilyMaintenanceWindow\x12\x30\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x04\xe8\xc7\x31\x01\x12\x37\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06\x31h-24h\"\xb7\x01\n\x1b\x44\x61ysOfWeekMaintenanceWindow\x12-\n\x04\x64\x61ys\x18\x01 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x07\x82\xc8\x31\x03\x31-7\x12\x30\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x04\xe8\xc7\x31\x01\x12\x37\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xfa\xc7\x31\x06\x31h-24h\"j\n\x17WeeklyMaintenanceWindow\x12O\n\x0c\x64\x61ys_of_week\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.k8s.v1.DaysOfWeekMaintenanceWindowB\x07\x82\xc8\x31\x03\x31-7\"\xc5\x01\n\x14ScheduledMaintenance\x12\x31\n\rdelayed_until\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0e\x61vailable_from\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rno_later_than\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tBV\n\x17yandex.cloud.api.k8s.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/k8s/v1;k8sb\x06proto3')
|
|
32
33
|
|
|
33
34
|
_globals = globals()
|
|
34
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -50,14 +51,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
50
51
|
_globals['_DAYSOFWEEKMAINTENANCEWINDOW'].fields_by_name['duration']._serialized_options = b'\372\3071\0061h-24h'
|
|
51
52
|
_globals['_WEEKLYMAINTENANCEWINDOW'].fields_by_name['days_of_week']._loaded_options = None
|
|
52
53
|
_globals['_WEEKLYMAINTENANCEWINDOW'].fields_by_name['days_of_week']._serialized_options = b'\202\3101\0031-7'
|
|
53
|
-
_globals['_MAINTENANCEWINDOW']._serialized_start=
|
|
54
|
-
_globals['_MAINTENANCEWINDOW']._serialized_end=
|
|
55
|
-
_globals['_ANYTIMEMAINTENANCEWINDOW']._serialized_start=
|
|
56
|
-
_globals['_ANYTIMEMAINTENANCEWINDOW']._serialized_end=
|
|
57
|
-
_globals['_DAILYMAINTENANCEWINDOW']._serialized_start=
|
|
58
|
-
_globals['_DAILYMAINTENANCEWINDOW']._serialized_end=
|
|
59
|
-
_globals['_DAYSOFWEEKMAINTENANCEWINDOW']._serialized_start=
|
|
60
|
-
_globals['_DAYSOFWEEKMAINTENANCEWINDOW']._serialized_end=
|
|
61
|
-
_globals['_WEEKLYMAINTENANCEWINDOW']._serialized_start=
|
|
62
|
-
_globals['_WEEKLYMAINTENANCEWINDOW']._serialized_end=
|
|
54
|
+
_globals['_MAINTENANCEWINDOW']._serialized_start=217
|
|
55
|
+
_globals['_MAINTENANCEWINDOW']._serialized_end=482
|
|
56
|
+
_globals['_ANYTIMEMAINTENANCEWINDOW']._serialized_start=484
|
|
57
|
+
_globals['_ANYTIMEMAINTENANCEWINDOW']._serialized_end=510
|
|
58
|
+
_globals['_DAILYMAINTENANCEWINDOW']._serialized_start=513
|
|
59
|
+
_globals['_DAILYMAINTENANCEWINDOW']._serialized_end=644
|
|
60
|
+
_globals['_DAYSOFWEEKMAINTENANCEWINDOW']._serialized_start=647
|
|
61
|
+
_globals['_DAYSOFWEEKMAINTENANCEWINDOW']._serialized_end=830
|
|
62
|
+
_globals['_WEEKLYMAINTENANCEWINDOW']._serialized_start=832
|
|
63
|
+
_globals['_WEEKLYMAINTENANCEWINDOW']._serialized_end=938
|
|
64
|
+
_globals['_SCHEDULEDMAINTENANCE']._serialized_start=941
|
|
65
|
+
_globals['_SCHEDULEDMAINTENANCE']._serialized_end=1138
|
|
63
66
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.duration_pb2
|
|
10
10
|
import google.protobuf.internal.containers
|
|
11
11
|
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
12
13
|
import google.type.dayofweek_pb2
|
|
13
14
|
import google.type.timeofday_pb2
|
|
14
15
|
import typing
|
|
@@ -130,3 +131,38 @@ class WeeklyMaintenanceWindow(google.protobuf.message.Message):
|
|
|
130
131
|
def ClearField(self, field_name: typing.Literal["days_of_week", b"days_of_week"]) -> None: ...
|
|
131
132
|
|
|
132
133
|
global___WeeklyMaintenanceWindow = WeeklyMaintenanceWindow
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class ScheduledMaintenance(google.protobuf.message.Message):
|
|
137
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
+
|
|
139
|
+
DELAYED_UNTIL_FIELD_NUMBER: builtins.int
|
|
140
|
+
AVAILABLE_FROM_FIELD_NUMBER: builtins.int
|
|
141
|
+
NO_LATER_THAN_FIELD_NUMBER: builtins.int
|
|
142
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
143
|
+
description: builtins.str
|
|
144
|
+
"""Description of the planned operation, for example, "Infrastructure planned update"."""
|
|
145
|
+
@property
|
|
146
|
+
def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
147
|
+
"""Time until which the update should be postponed."""
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def available_from(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
151
|
+
"""Time when the update became available."""
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def no_later_than(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
155
|
+
"""The latest possible date by which a mandatory update must be applied."""
|
|
156
|
+
|
|
157
|
+
def __init__(
|
|
158
|
+
self,
|
|
159
|
+
*,
|
|
160
|
+
delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
161
|
+
available_from: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
162
|
+
no_later_than: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
163
|
+
description: builtins.str = ...,
|
|
164
|
+
) -> None: ...
|
|
165
|
+
def HasField(self, field_name: typing.Literal["available_from", b"available_from", "delayed_until", b"delayed_until", "no_later_than", b"no_later_than"]) -> builtins.bool: ...
|
|
166
|
+
def ClearField(self, field_name: typing.Literal["available_from", b"available_from", "delayed_until", b"delayed_until", "description", b"description", "no_later_than", b"no_later_than"]) -> None: ...
|
|
167
|
+
|
|
168
|
+
global___ScheduledMaintenance = ScheduledMaintenance
|