yandexcloud 0.338.0__py3-none-any.whl → 0.339.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/common_pb2.py +32 -27
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +29 -2
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +32 -32
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +7 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +39 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +220 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +172 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +68 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +50 -50
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +86 -66
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +98 -2
- 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 +36 -5
- yandex/cloud/backup/v1/resource_pb2.py +21 -19
- yandex/cloud/backup/v1/resource_pb2.pyi +32 -2
- yandex/cloud/backup/v1/resource_service_pb2.py +30 -30
- yandex/cloud/backup/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/baremetal/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +109 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +111 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.pyi +33 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.py +39 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +68 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.pyi +36 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.py +44 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.pyi +125 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +108 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.pyi +364 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.py +47 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.pyi +174 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +112 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +443 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.py +45 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.pyi +143 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +382 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +54 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.pyi +282 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +217 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +850 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.py +589 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.pyi +281 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.py +46 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.pyi +165 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +51 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.pyi +91 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.py +145 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.pyi +70 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.pyi +77 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.pyi +357 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.pyi +29 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +40 -40
- yandex/cloud/dataproc/manager/v1/job_pb2.pyi +26 -26
- yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +7 -7
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.py +2 -2
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +2 -2
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.pyi +3 -3
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -5
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +13 -13
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/job_pb2.pyi +15 -15
- yandex/cloud/dataproc/v1/job_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +2 -2
- yandex/cloud/dataproc/v1/subcluster_pb2.pyi +11 -11
- yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.pyi +3 -3
- yandex/cloud/iam/v1/api_key_pb2.pyi +3 -1
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +3 -1
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +32 -25
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +133 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +61 -0
- yandex/cloud/k8s/v1/cluster_pb2.py +40 -30
- yandex/cloud/k8s/v1/cluster_pb2.pyi +94 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -42
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +70 -4
- yandex/cloud/k8s/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/k8s/v1/resource_preset_pb2.pyi +43 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.py +53 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.pyi +81 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.py +146 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.pyi +71 -0
- yandex/cloud/mdb/mysql/v1/backup_pb2.py +6 -6
- yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +73 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +100 -2
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +30 -3
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +162 -0
- 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 +78 -78
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +29 -29
- yandex/cloud/monitoring/v3/unit_format_pb2.py +2 -2
- yandex/cloud/monitoring/v3/unit_format_pb2.pyi +16 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +28 -22
- yandex/cloud/spark/__init__.py +0 -0
- yandex/cloud/spark/v1/__init__.py +0 -0
- yandex/cloud/spark/v1/cluster_pb2.py +100 -0
- yandex/cloud/spark/v1/cluster_pb2.pyi +444 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +124 -0
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +333 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +366 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +169 -0
- yandex/cloud/spark/v1/job_pb2.py +56 -0
- yandex/cloud/spark/v1/job_pb2.pyi +346 -0
- yandex/cloud/spark/v1/job_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/job_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/job_service_pb2.py +97 -0
- yandex/cloud/spark/v1/job_service_pb2.pyi +224 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.py +279 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.pyi +132 -0
- yandex/cloud/spark/v1/maintenance_pb2.py +53 -0
- yandex/cloud/spark/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/RECORD +216 -104
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.baremetal.v1alpha.storage_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class DefaultStorage(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
CONFIGURATION_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
STORAGES_FIELD_NUMBER: builtins.int
|
|
22
|
+
configuration_id: builtins.str
|
|
23
|
+
"""ID of the configuration.
|
|
24
|
+
|
|
25
|
+
To get the configuration ID, use a [ConfigurationService.List] request.
|
|
26
|
+
"""
|
|
27
|
+
@property
|
|
28
|
+
def storages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.baremetal.v1alpha.storage_pb2.Storage]:
|
|
29
|
+
"""List of default storages."""
|
|
30
|
+
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
*,
|
|
34
|
+
configuration_id: builtins.str = ...,
|
|
35
|
+
storages: collections.abc.Iterable[yandex.cloud.baremetal.v1alpha.storage_pb2.Storage] | None = ...,
|
|
36
|
+
) -> None: ...
|
|
37
|
+
def ClearField(self, field_name: typing.Literal["configuration_id", b"configuration_id", "storages", b"storages"]) -> None: ...
|
|
38
|
+
|
|
39
|
+
global___DefaultStorage = DefaultStorage
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class GetDefaultStorageRequest(google.protobuf.message.Message):
|
|
43
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
44
|
+
|
|
45
|
+
CONFIGURATION_ID_FIELD_NUMBER: builtins.int
|
|
46
|
+
configuration_id: builtins.str
|
|
47
|
+
"""ID of the configuration."""
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
*,
|
|
51
|
+
configuration_id: builtins.str = ...,
|
|
52
|
+
) -> None: ...
|
|
53
|
+
def ClearField(self, field_name: typing.Literal["configuration_id", b"configuration_id"]) -> None: ...
|
|
54
|
+
|
|
55
|
+
global___GetDefaultStorageRequest = GetDefaultStorageRequest
|
|
56
|
+
|
|
57
|
+
@typing.final
|
|
58
|
+
class BatchGetDefaultStoragesRequest(google.protobuf.message.Message):
|
|
59
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
60
|
+
|
|
61
|
+
CONFIGURATION_IDS_FIELD_NUMBER: builtins.int
|
|
62
|
+
@property
|
|
63
|
+
def configuration_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
64
|
+
"""List of configuration IDs."""
|
|
65
|
+
|
|
66
|
+
def __init__(
|
|
67
|
+
self,
|
|
68
|
+
*,
|
|
69
|
+
configuration_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def ClearField(self, field_name: typing.Literal["configuration_ids", b"configuration_ids"]) -> None: ...
|
|
72
|
+
|
|
73
|
+
global___BatchGetDefaultStoragesRequest = BatchGetDefaultStoragesRequest
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class BatchGetDefaultStoragesResponse(google.protobuf.message.Message):
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
|
|
79
|
+
DEFAULT_STORAGES_FIELD_NUMBER: builtins.int
|
|
80
|
+
@property
|
|
81
|
+
def default_storages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DefaultStorage]:
|
|
82
|
+
"""List of default storages."""
|
|
83
|
+
|
|
84
|
+
def __init__(
|
|
85
|
+
self,
|
|
86
|
+
*,
|
|
87
|
+
default_storages: collections.abc.Iterable[global___DefaultStorage] | None = ...,
|
|
88
|
+
) -> None: ...
|
|
89
|
+
def ClearField(self, field_name: typing.Literal["default_storages", b"default_storages"]) -> None: ...
|
|
90
|
+
|
|
91
|
+
global___BatchGetDefaultStoragesResponse = BatchGetDefaultStoragesResponse
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from yandex.cloud.baremetal.v1alpha import storage_service_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
+
except ImportError:
|
|
16
|
+
_version_not_supported = True
|
|
17
|
+
|
|
18
|
+
if _version_not_supported:
|
|
19
|
+
raise RuntimeError(
|
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
+
+ f' but the generated code in yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.py depends on'
|
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class StorageServiceStub(object):
|
|
29
|
+
"""A set of methods to retrieve information about default storages.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
def __init__(self, channel):
|
|
33
|
+
"""Constructor.
|
|
34
|
+
|
|
35
|
+
Args:
|
|
36
|
+
channel: A grpc.Channel.
|
|
37
|
+
"""
|
|
38
|
+
self.GetDefault = channel.unary_unary(
|
|
39
|
+
'/yandex.cloud.baremetal.v1alpha.StorageService/GetDefault',
|
|
40
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.GetDefaultStorageRequest.SerializeToString,
|
|
41
|
+
response_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.DefaultStorage.FromString,
|
|
42
|
+
_registered_method=True)
|
|
43
|
+
self.BatchGetDefault = channel.unary_unary(
|
|
44
|
+
'/yandex.cloud.baremetal.v1alpha.StorageService/BatchGetDefault',
|
|
45
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.BatchGetDefaultStoragesRequest.SerializeToString,
|
|
46
|
+
response_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.BatchGetDefaultStoragesResponse.FromString,
|
|
47
|
+
_registered_method=True)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class StorageServiceServicer(object):
|
|
51
|
+
"""A set of methods to retrieve information about default storages.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def GetDefault(self, request, context):
|
|
55
|
+
"""Returns the default storage for the specified configuration.
|
|
56
|
+
"""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def BatchGetDefault(self, request, context):
|
|
62
|
+
"""Returns the default storages for the specified configurations.
|
|
63
|
+
"""
|
|
64
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
65
|
+
context.set_details('Method not implemented!')
|
|
66
|
+
raise NotImplementedError('Method not implemented!')
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def add_StorageServiceServicer_to_server(servicer, server):
|
|
70
|
+
rpc_method_handlers = {
|
|
71
|
+
'GetDefault': grpc.unary_unary_rpc_method_handler(
|
|
72
|
+
servicer.GetDefault,
|
|
73
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.GetDefaultStorageRequest.FromString,
|
|
74
|
+
response_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.DefaultStorage.SerializeToString,
|
|
75
|
+
),
|
|
76
|
+
'BatchGetDefault': grpc.unary_unary_rpc_method_handler(
|
|
77
|
+
servicer.BatchGetDefault,
|
|
78
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.BatchGetDefaultStoragesRequest.FromString,
|
|
79
|
+
response_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.BatchGetDefaultStoragesResponse.SerializeToString,
|
|
80
|
+
),
|
|
81
|
+
}
|
|
82
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
83
|
+
'yandex.cloud.baremetal.v1alpha.StorageService', rpc_method_handlers)
|
|
84
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
85
|
+
server.add_registered_method_handlers('yandex.cloud.baremetal.v1alpha.StorageService', rpc_method_handlers)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
# This class is part of an EXPERIMENTAL API.
|
|
89
|
+
class StorageService(object):
|
|
90
|
+
"""A set of methods to retrieve information about default storages.
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
@staticmethod
|
|
94
|
+
def GetDefault(request,
|
|
95
|
+
target,
|
|
96
|
+
options=(),
|
|
97
|
+
channel_credentials=None,
|
|
98
|
+
call_credentials=None,
|
|
99
|
+
insecure=False,
|
|
100
|
+
compression=None,
|
|
101
|
+
wait_for_ready=None,
|
|
102
|
+
timeout=None,
|
|
103
|
+
metadata=None):
|
|
104
|
+
return grpc.experimental.unary_unary(
|
|
105
|
+
request,
|
|
106
|
+
target,
|
|
107
|
+
'/yandex.cloud.baremetal.v1alpha.StorageService/GetDefault',
|
|
108
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.GetDefaultStorageRequest.SerializeToString,
|
|
109
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.DefaultStorage.FromString,
|
|
110
|
+
options,
|
|
111
|
+
channel_credentials,
|
|
112
|
+
insecure,
|
|
113
|
+
call_credentials,
|
|
114
|
+
compression,
|
|
115
|
+
wait_for_ready,
|
|
116
|
+
timeout,
|
|
117
|
+
metadata,
|
|
118
|
+
_registered_method=True)
|
|
119
|
+
|
|
120
|
+
@staticmethod
|
|
121
|
+
def BatchGetDefault(request,
|
|
122
|
+
target,
|
|
123
|
+
options=(),
|
|
124
|
+
channel_credentials=None,
|
|
125
|
+
call_credentials=None,
|
|
126
|
+
insecure=False,
|
|
127
|
+
compression=None,
|
|
128
|
+
wait_for_ready=None,
|
|
129
|
+
timeout=None,
|
|
130
|
+
metadata=None):
|
|
131
|
+
return grpc.experimental.unary_unary(
|
|
132
|
+
request,
|
|
133
|
+
target,
|
|
134
|
+
'/yandex.cloud.baremetal.v1alpha.StorageService/BatchGetDefault',
|
|
135
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.BatchGetDefaultStoragesRequest.SerializeToString,
|
|
136
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__service__pb2.BatchGetDefaultStoragesResponse.FromString,
|
|
137
|
+
options,
|
|
138
|
+
channel_credentials,
|
|
139
|
+
insecure,
|
|
140
|
+
call_credentials,
|
|
141
|
+
compression,
|
|
142
|
+
wait_for_ready,
|
|
143
|
+
timeout,
|
|
144
|
+
metadata,
|
|
145
|
+
_registered_method=True)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
import yandex.cloud.baremetal.v1alpha.storage_service_pb2
|
|
12
|
+
|
|
13
|
+
_T = typing.TypeVar("_T")
|
|
14
|
+
|
|
15
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
16
|
+
|
|
17
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
class StorageServiceStub:
|
|
21
|
+
"""A set of methods to retrieve information about default storages."""
|
|
22
|
+
|
|
23
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
|
+
GetDefault: grpc.UnaryUnaryMultiCallable[
|
|
25
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.GetDefaultStorageRequest,
|
|
26
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.DefaultStorage,
|
|
27
|
+
]
|
|
28
|
+
"""Returns the default storage for the specified configuration."""
|
|
29
|
+
|
|
30
|
+
BatchGetDefault: grpc.UnaryUnaryMultiCallable[
|
|
31
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesRequest,
|
|
32
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesResponse,
|
|
33
|
+
]
|
|
34
|
+
"""Returns the default storages for the specified configurations."""
|
|
35
|
+
|
|
36
|
+
class StorageServiceAsyncStub:
|
|
37
|
+
"""A set of methods to retrieve information about default storages."""
|
|
38
|
+
|
|
39
|
+
GetDefault: grpc.aio.UnaryUnaryMultiCallable[
|
|
40
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.GetDefaultStorageRequest,
|
|
41
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.DefaultStorage,
|
|
42
|
+
]
|
|
43
|
+
"""Returns the default storage for the specified configuration."""
|
|
44
|
+
|
|
45
|
+
BatchGetDefault: grpc.aio.UnaryUnaryMultiCallable[
|
|
46
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesRequest,
|
|
47
|
+
yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesResponse,
|
|
48
|
+
]
|
|
49
|
+
"""Returns the default storages for the specified configurations."""
|
|
50
|
+
|
|
51
|
+
class StorageServiceServicer(metaclass=abc.ABCMeta):
|
|
52
|
+
"""A set of methods to retrieve information about default storages."""
|
|
53
|
+
|
|
54
|
+
@abc.abstractmethod
|
|
55
|
+
def GetDefault(
|
|
56
|
+
self,
|
|
57
|
+
request: yandex.cloud.baremetal.v1alpha.storage_service_pb2.GetDefaultStorageRequest,
|
|
58
|
+
context: _ServicerContext,
|
|
59
|
+
) -> typing.Union[yandex.cloud.baremetal.v1alpha.storage_service_pb2.DefaultStorage, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.storage_service_pb2.DefaultStorage]]:
|
|
60
|
+
"""Returns the default storage for the specified configuration."""
|
|
61
|
+
|
|
62
|
+
@abc.abstractmethod
|
|
63
|
+
def BatchGetDefault(
|
|
64
|
+
self,
|
|
65
|
+
request: yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesRequest,
|
|
66
|
+
context: _ServicerContext,
|
|
67
|
+
) -> typing.Union[yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesResponse, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.storage_service_pb2.BatchGetDefaultStoragesResponse]]:
|
|
68
|
+
"""Returns the default storages for the specified configurations."""
|
|
69
|
+
|
|
70
|
+
def add_StorageServiceServicer_to_server(servicer: StorageServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/baremetal/v1alpha/vrf.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/baremetal/v1alpha/vrf.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/baremetal/v1alpha/vrf.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x02\n\x03Vrf\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x06labels\x18\xc8\x01 \x03(\x0b\x32/.yandex.cloud.baremetal.v1alpha.Vrf.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x06\x10\x64J\x05\x08\x65\x10\xc8\x01\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.vrf_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
36
|
+
_globals['_VRF_LABELSENTRY']._loaded_options = None
|
|
37
|
+
_globals['_VRF_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_VRF']._serialized_start=110
|
|
39
|
+
_globals['_VRF']._serialized_end=373
|
|
40
|
+
_globals['_VRF_LABELSENTRY']._serialized_start=315
|
|
41
|
+
_globals['_VRF_LABELSENTRY']._serialized_end=360
|
|
42
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import google.protobuf.timestamp_pb2
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class Vrf(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
@typing.final
|
|
21
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
23
|
+
|
|
24
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
25
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
26
|
+
key: builtins.str
|
|
27
|
+
value: builtins.str
|
|
28
|
+
def __init__(
|
|
29
|
+
self,
|
|
30
|
+
*,
|
|
31
|
+
key: builtins.str = ...,
|
|
32
|
+
value: builtins.str = ...,
|
|
33
|
+
) -> None: ...
|
|
34
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
35
|
+
|
|
36
|
+
ID_FIELD_NUMBER: builtins.int
|
|
37
|
+
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
38
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
40
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
41
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
42
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
43
|
+
id: builtins.str
|
|
44
|
+
"""ID of the VRF."""
|
|
45
|
+
cloud_id: builtins.str
|
|
46
|
+
"""ID of the cloud that the private subnet belongs to."""
|
|
47
|
+
folder_id: builtins.str
|
|
48
|
+
"""ID of the folder that the private subnet belongs to."""
|
|
49
|
+
name: builtins.str
|
|
50
|
+
"""Name of the VRF.
|
|
51
|
+
The name is unique within the folder.
|
|
52
|
+
"""
|
|
53
|
+
description: builtins.str
|
|
54
|
+
"""Optional description of the VRF."""
|
|
55
|
+
@property
|
|
56
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
57
|
+
"""Creation timestamp."""
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
61
|
+
"""Resource labels as `key:value` pairs."""
|
|
62
|
+
|
|
63
|
+
def __init__(
|
|
64
|
+
self,
|
|
65
|
+
*,
|
|
66
|
+
id: builtins.str = ...,
|
|
67
|
+
cloud_id: builtins.str = ...,
|
|
68
|
+
folder_id: builtins.str = ...,
|
|
69
|
+
name: builtins.str = ...,
|
|
70
|
+
description: builtins.str = ...,
|
|
71
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
72
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
73
|
+
) -> None: ...
|
|
74
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
75
|
+
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name"]) -> None: ...
|
|
76
|
+
|
|
77
|
+
global___Vrf = Vrf
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/baremetal/v1alpha/vrf_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/baremetal/v1alpha/vrf_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
26
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
27
|
+
from yandex.cloud.baremetal.v1alpha import vrf_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_vrf__pb2
|
|
28
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
29
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/baremetal/v1alpha/vrf_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a(yandex/cloud/baremetal/v1alpha/vrf.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"9\n\rGetVrfRequest\x12(\n\x06vrf_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"\x9b\x01\n\x0eListVrfRequest\x12/\n\tfolder_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x12\n\npage_token\x18\x65 \x01(\t\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x0e\n\x06\x66ilter\x18g \x01(\tJ\x04\x08\x02\x10\x64\"c\n\x0fListVrfResponse\x12\x31\n\x04vrfs\x18\x01 \x03(\x0b\x32#.yandex.cloud.baremetal.v1alpha.Vrf\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xdd\x02\n\x10\x43reateVrfRequest\x12/\n\tfolder_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50\x12\x34\n\x04name\x18\x02 \x01(\tB&\xf2\xc7\x31\x1a[a-z]([-a-z0-9]*[a-z0-9])?\x8a\xc8\x31\x04\x32-63\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x8a\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32<.yandex.cloud.baremetal.v1alpha.CreateVrfRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x04\x10\xc8\x01\"#\n\x11\x43reateVrfMetadata\x12\x0e\n\x06vrf_id\x18\x01 \x01(\t\"\x87\x03\n\x10UpdateVrfRequest\x12(\n\x06vrf_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x34\n\x04name\x18\x03 \x01(\tB&\xf2\xc7\x31\x1a[a-z]([-a-z0-9]*[a-z0-9])?\x8a\xc8\x31\x04\x32-63\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x8a\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32<.yandex.cloud.baremetal.v1alpha.UpdateVrfRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x05\x10\xc8\x01\"#\n\x11UpdateVrfMetadata\x12\x0e\n\x06vrf_id\x18\x01 \x01(\t\"<\n\x10\x44\x65leteVrfRequest\x12(\n\x06vrf_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"#\n\x11\x44\x65leteVrfMetadata\x12\x0e\n\x06vrf_id\x18\x01 \x01(\t\"|\n\x18ListVrfOperationsRequest\x12(\n\x06vrf_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x12\n\npage_token\x18\x65 \x01(\tJ\x04\x08\x02\x10\x64\"q\n\x19ListVrfOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\x32\xe8\x05\n\nVrfService\x12[\n\x03Get\x12-.yandex.cloud.baremetal.v1alpha.GetVrfRequest\x1a#.yandex.cloud.baremetal.v1alpha.Vrf\"\x00\x12i\n\x04List\x12..yandex.cloud.baremetal.v1alpha.ListVrfRequest\x1a/.yandex.cloud.baremetal.v1alpha.ListVrfResponse\"\x00\x12{\n\x06\x43reate\x12\x30.yandex.cloud.baremetal.v1alpha.CreateVrfRequest\x1a!.yandex.cloud.operation.Operation\"\x1c\xb2\xd2*\x18\n\x11\x43reateVrfMetadata\x12\x03Vrf\x12{\n\x06Update\x12\x30.yandex.cloud.baremetal.v1alpha.UpdateVrfRequest\x1a!.yandex.cloud.operation.Operation\"\x1c\xb2\xd2*\x18\n\x11UpdateVrfMetadata\x12\x03Vrf\x12\x8d\x01\n\x06\x44\x65lete\x12\x30.yandex.cloud.baremetal.v1alpha.DeleteVrfRequest\x1a!.yandex.cloud.operation.Operation\".\xb2\xd2**\n\x11\x44\x65leteVrfMetadata\x12\x15google.protobuf.Empty\x12\x87\x01\n\x0eListOperations\x12\x38.yandex.cloud.baremetal.v1alpha.ListVrfOperationsRequest\x1a\x39.yandex.cloud.baremetal.v1alpha.ListVrfOperationsResponse\"\x00\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.vrf_service_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
40
|
+
_globals['_GETVRFREQUEST'].fields_by_name['vrf_id']._loaded_options = None
|
|
41
|
+
_globals['_GETVRFREQUEST'].fields_by_name['vrf_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
42
|
+
_globals['_LISTVRFREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
43
|
+
_globals['_LISTVRFREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
|
|
44
|
+
_globals['_LISTVRFREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
45
|
+
_globals['_LISTVRFREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
46
|
+
_globals['_CREATEVRFREQUEST_LABELSENTRY']._loaded_options = None
|
|
47
|
+
_globals['_CREATEVRFREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
48
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
49
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
|
|
50
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['name']._loaded_options = None
|
|
51
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\032[a-z]([-a-z0-9]*[a-z0-9])?\212\3101\0042-63'
|
|
52
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['description']._loaded_options = None
|
|
53
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=1024'
|
|
54
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
55
|
+
_globals['_CREATEVRFREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
56
|
+
_globals['_UPDATEVRFREQUEST_LABELSENTRY']._loaded_options = None
|
|
57
|
+
_globals['_UPDATEVRFREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
58
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['vrf_id']._loaded_options = None
|
|
59
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['vrf_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
60
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['name']._loaded_options = None
|
|
61
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\032[a-z]([-a-z0-9]*[a-z0-9])?\212\3101\0042-63'
|
|
62
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['description']._loaded_options = None
|
|
63
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=1024'
|
|
64
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
65
|
+
_globals['_UPDATEVRFREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
66
|
+
_globals['_DELETEVRFREQUEST'].fields_by_name['vrf_id']._loaded_options = None
|
|
67
|
+
_globals['_DELETEVRFREQUEST'].fields_by_name['vrf_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
68
|
+
_globals['_LISTVRFOPERATIONSREQUEST'].fields_by_name['vrf_id']._loaded_options = None
|
|
69
|
+
_globals['_LISTVRFOPERATIONSREQUEST'].fields_by_name['vrf_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
70
|
+
_globals['_LISTVRFOPERATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
71
|
+
_globals['_LISTVRFOPERATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
72
|
+
_globals['_VRFSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
73
|
+
_globals['_VRFSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*\030\n\021CreateVrfMetadata\022\003Vrf'
|
|
74
|
+
_globals['_VRFSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
75
|
+
_globals['_VRFSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*\030\n\021UpdateVrfMetadata\022\003Vrf'
|
|
76
|
+
_globals['_VRFSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
77
|
+
_globals['_VRFSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322**\n\021DeleteVrfMetadata\022\025google.protobuf.Empty'
|
|
78
|
+
_globals['_GETVRFREQUEST']._serialized_start=265
|
|
79
|
+
_globals['_GETVRFREQUEST']._serialized_end=322
|
|
80
|
+
_globals['_LISTVRFREQUEST']._serialized_start=325
|
|
81
|
+
_globals['_LISTVRFREQUEST']._serialized_end=480
|
|
82
|
+
_globals['_LISTVRFRESPONSE']._serialized_start=482
|
|
83
|
+
_globals['_LISTVRFRESPONSE']._serialized_end=581
|
|
84
|
+
_globals['_CREATEVRFREQUEST']._serialized_start=584
|
|
85
|
+
_globals['_CREATEVRFREQUEST']._serialized_end=933
|
|
86
|
+
_globals['_CREATEVRFREQUEST_LABELSENTRY']._serialized_start=881
|
|
87
|
+
_globals['_CREATEVRFREQUEST_LABELSENTRY']._serialized_end=926
|
|
88
|
+
_globals['_CREATEVRFMETADATA']._serialized_start=935
|
|
89
|
+
_globals['_CREATEVRFMETADATA']._serialized_end=970
|
|
90
|
+
_globals['_UPDATEVRFREQUEST']._serialized_start=973
|
|
91
|
+
_globals['_UPDATEVRFREQUEST']._serialized_end=1364
|
|
92
|
+
_globals['_UPDATEVRFREQUEST_LABELSENTRY']._serialized_start=881
|
|
93
|
+
_globals['_UPDATEVRFREQUEST_LABELSENTRY']._serialized_end=926
|
|
94
|
+
_globals['_UPDATEVRFMETADATA']._serialized_start=1366
|
|
95
|
+
_globals['_UPDATEVRFMETADATA']._serialized_end=1401
|
|
96
|
+
_globals['_DELETEVRFREQUEST']._serialized_start=1403
|
|
97
|
+
_globals['_DELETEVRFREQUEST']._serialized_end=1463
|
|
98
|
+
_globals['_DELETEVRFMETADATA']._serialized_start=1465
|
|
99
|
+
_globals['_DELETEVRFMETADATA']._serialized_end=1500
|
|
100
|
+
_globals['_LISTVRFOPERATIONSREQUEST']._serialized_start=1502
|
|
101
|
+
_globals['_LISTVRFOPERATIONSREQUEST']._serialized_end=1626
|
|
102
|
+
_globals['_LISTVRFOPERATIONSRESPONSE']._serialized_start=1628
|
|
103
|
+
_globals['_LISTVRFOPERATIONSRESPONSE']._serialized_end=1741
|
|
104
|
+
_globals['_VRFSERVICE']._serialized_start=1744
|
|
105
|
+
_globals['_VRFSERVICE']._serialized_end=2488
|
|
106
|
+
# @@protoc_insertion_point(module_scope)
|