yandexcloud 0.354.0__py3-none-any.whl → 0.356.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 +58 -30
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +178 -3
- yandex/cloud/airflow/v1/cluster_pb2.py +12 -8
- yandex/cloud/airflow/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +32 -32
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +5 -1
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +6 -6
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +5 -1
- yandex/cloud/backup/v1/backup_service_pb2.py +46 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +26 -4
- yandex/cloud/backup/v1/resource_pb2.py +2 -2
- yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +18 -9
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +14 -9
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.py +29 -24
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +43 -36
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +3 -2
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +83 -76
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +16 -11
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +14 -9
- yandex/cloud/compute/v1/maintenance_service_pb2.py +47 -0
- yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
- yandex/cloud/datatransfer/v1/transfer_pb2.py +50 -48
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +23 -4
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +12 -4
- yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
- yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/maintenance/__init__.py +0 -0
- yandex/cloud/maintenance/v2/__init__.py +0 -0
- yandex/cloud/maintenance/v2/common_pb2.py +73 -0
- yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +196 -152
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1779 -1066
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +76 -76
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +4 -0
- yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
- yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +12 -2
- yandex/cloud/serverless/containers/v1/container_pb2.py +46 -44
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +25 -3
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
- yandex/cloud/storage/v1/presign_service_pb2.py +47 -0
- yandex/cloud/storage/v1/presign_service_pb2.pyi +117 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.py +101 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.pyi +50 -0
- yandex/cloud/trino/v1/access_control_pb2.py +212 -0
- yandex/cloud/trino/v1/access_control_pb2.pyi +926 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/cluster_pb2.py +44 -43
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +29 -4
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +40 -37
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +32 -18
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/RECORD +102 -68
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/top_level.txt +0 -0
|
@@ -441,6 +441,7 @@ class UpdateRouteRequest(google.protobuf.message.Message):
|
|
|
441
441
|
HTTP_FIELD_NUMBER: builtins.int
|
|
442
442
|
GRPC_FIELD_NUMBER: builtins.int
|
|
443
443
|
ROUTE_OPTIONS_FIELD_NUMBER: builtins.int
|
|
444
|
+
DISABLE_SECURITY_PROFILE_FIELD_NUMBER: builtins.int
|
|
444
445
|
http_router_id: builtins.str
|
|
445
446
|
"""ID of the HTTP router to update a route in.
|
|
446
447
|
|
|
@@ -456,6 +457,8 @@ class UpdateRouteRequest(google.protobuf.message.Message):
|
|
|
456
457
|
|
|
457
458
|
To get the route name, make a [VirtualHostService.Get] request.
|
|
458
459
|
"""
|
|
460
|
+
disable_security_profile: builtins.bool
|
|
461
|
+
"""Whether set to 'true' disable security profile for the route."""
|
|
459
462
|
@property
|
|
460
463
|
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
461
464
|
"""Field mask that specifies which attributes of the route should be updated."""
|
|
@@ -482,9 +485,10 @@ class UpdateRouteRequest(google.protobuf.message.Message):
|
|
|
482
485
|
http: yandex.cloud.apploadbalancer.v1.virtual_host_pb2.HttpRoute | None = ...,
|
|
483
486
|
grpc: yandex.cloud.apploadbalancer.v1.virtual_host_pb2.GrpcRoute | None = ...,
|
|
484
487
|
route_options: yandex.cloud.apploadbalancer.v1.virtual_host_pb2.RouteOptions | None = ...,
|
|
488
|
+
disable_security_profile: builtins.bool = ...,
|
|
485
489
|
) -> None: ...
|
|
486
490
|
def HasField(self, field_name: typing.Literal["grpc", b"grpc", "http", b"http", "route", b"route", "route_options", b"route_options", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
487
|
-
def ClearField(self, field_name: typing.Literal["grpc", b"grpc", "http", b"http", "http_router_id", b"http_router_id", "route", b"route", "route_name", b"route_name", "route_options", b"route_options", "update_mask", b"update_mask", "virtual_host_name", b"virtual_host_name"]) -> None: ...
|
|
491
|
+
def ClearField(self, field_name: typing.Literal["disable_security_profile", b"disable_security_profile", "grpc", b"grpc", "http", b"http", "http_router_id", b"http_router_id", "route", b"route", "route_name", b"route_name", "route_options", b"route_options", "update_mask", b"update_mask", "virtual_host_name", b"virtual_host_name"]) -> None: ...
|
|
488
492
|
def WhichOneof(self, oneof_group: typing.Literal["route", b"route"]) -> typing.Literal["http", "grpc"] | None: ...
|
|
489
493
|
|
|
490
494
|
global___UpdateRouteRequest = UpdateRouteRequest
|
|
@@ -30,7 +30,7 @@ from yandex.cloud.backup.v1 import resource_pb2 as yandex_dot_cloud_dot_backup_d
|
|
|
30
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/backup/v1/backup_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a#yandex/cloud/backup/v1/backup.proto\x1a&yandex/cloud/operation/operation.proto\x1a%yandex/cloud/backup/v1/resource.proto\x1a\x1dyandex/cloud/validation.proto\"U\n\x13ListArchivesRequest\x12\x13\n\tfolder_id\x18\x01 \x01(\tH\x00\x12\x1d\n\x13\x63ompute_instance_id\x18\x02 \x01(\tH\x00\x42\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"I\n\x14ListArchivesResponse\x12\x31\n\x08\x61rchives\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.backup.v1.Archive\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/backup/v1/backup_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a#yandex/cloud/backup/v1/backup.proto\x1a&yandex/cloud/operation/operation.proto\x1a%yandex/cloud/backup/v1/resource.proto\x1a\x1dyandex/cloud/validation.proto\"U\n\x13ListArchivesRequest\x12\x13\n\tfolder_id\x18\x01 \x01(\tH\x00\x12\x1d\n\x13\x63ompute_instance_id\x18\x02 \x01(\tH\x00\x42\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"I\n\x14ListArchivesResponse\x12\x31\n\x08\x61rchives\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.backup.v1.Archive\"\xda\x05\n\x12ListBackupsRequest\x12\x1d\n\x13\x63ompute_instance_id\x18\x01 \x01(\tH\x00\x12O\n\x07\x61rchive\x18\x02 \x01(\x0b\x32<.yandex.cloud.backup.v1.ListBackupsRequest.ArchiveParametersH\x00\x12\x13\n\tfolder_id\x18\x03 \x01(\tH\x00\x12T\n\x0finstance_policy\x18\x04 \x01(\x0b\x32\x39.yandex.cloud.backup.v1.ListBackupsRequest.InstancePolicyH\x00\x12\x15\n\x0bresource_id\x18\x06 \x01(\tH\x00\x12\x13\n\tpolicy_id\x18\x07 \x01(\tH\x00\x12M\n\x06\x62\x61\x63kup\x18\x0c \x01(\x0b\x32;.yandex.cloud.backup.v1.ListBackupsRequest.BackupParametersH\x00\x12\x10\n\x08order_by\x18\x05 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x08 \x01(\t\x12\x32\n\x04type\x18\t \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\x12\x1d\n\tpage_size\x18\n \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x0b \x01(\tB\t\x8a\xc8\x31\x05<=100\x1a\x46\n\x11\x41rchiveParameters\x12\x18\n\narchive_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x1a@\n\x0eInstancePolicy\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12\x11\n\tpolicy_id\x18\x02 \x01(\t\x1a\x44\n\x10\x42\x61\x63kupParameters\x12\x17\n\tbackup_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x42\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"_\n\x13ListBackupsResponse\x12/\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.backup.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x10ListFilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tbackup_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tsource_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x00\"F\n\x11ListFilesResponse\x12\x31\n\x05\x66iles\x18\x01 \x03(\x0b\x32\".yandex.cloud.backup.v1.BackupFile\"D\n\x10GetBackupRequest\x12\x17\n\tbackup_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"Z\n\x14StartRecoveryRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x17\n\tbackup_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"l\n\x15StartRecoveryMetadata\x12\x1b\n\x13progress_percentage\x18\x01 \x01(\x01\x12\x15\n\rsrc_backup_id\x18\x02 \x01(\t\x12\x1f\n\x17\x64st_compute_instance_id\x18\x03 \x01(\t\"\x14\n\x12TargetPathOriginal\" \n\x10TargetPathCustom\x12\x0c\n\x04path\x18\x01 \x01(\t\"\xfb\x02\n\x14\x46ilesRecoveryOptions\x12O\n\toverwrite\x18\x01 \x01(\x0e\x32\x36.yandex.cloud.backup.v1.FilesRecoveryOptions.OverwriteB\x04\xe8\xc7\x31\x00\x12\x1e\n\x10reboot_if_needed\x18\x02 \x01(\x08\x42\x04\xe8\xc7\x31\x00\x12>\n\x08original\x18\x64 \x01(\x0b\x32*.yandex.cloud.backup.v1.TargetPathOriginalH\x00\x12:\n\x06\x63ustom\x18\x65 \x01(\x0b\x32(.yandex.cloud.backup.v1.TargetPathCustomH\x00\"b\n\tOverwrite\x12\x19\n\x15OVERWRITE_UNSPECIFIED\x10\x00\x12\x11\n\rOVERWRITE_ALL\x10\x01\x12\x13\n\x0fOVERWRITE_OLDER\x10\x02\x12\x12\n\x0eOVERWRITE_NONE\x10\x03\x42\x0c\n\x04type\x12\x04\xc0\xc1\x31\x01J\x04\x08\x03\x10\x64\"\xb5\x01\n\x19StartFilesRecoveryRequest\x12!\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tbackup_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12@\n\x04opts\x18\x03 \x01(\x0b\x32,.yandex.cloud.backup.v1.FilesRecoveryOptionsB\x04\xe8\xc7\x31\x01\x12\x1a\n\nsource_ids\x18\x04 \x03(\tB\x06\x82\xc8\x31\x02>0\"\x91\x01\n\x1aStartFilesRecoveryMetadata\x12\x1b\n\x13progress_percentage\x18\x01 \x01(\x01\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tbackup_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1a\n\nsource_ids\x18\x04 \x03(\tB\x06\x82\xc8\x31\x02>0\"Y\n\x13\x44\x65leteBackupRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x17\n\tbackup_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"F\n\x14\x44\x65leteBackupMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12\x11\n\tbackup_id\x18\x02 \x01(\t\"\x95\x01\n\x14\x44\x65leteArchiveRequest\x12\x18\n\narchive_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x00\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x00\x8a\xc8\x31\x04<=50\x12!\n\x0binstance_id\x18\x03 \x01(\tB\x0c\xe8\xc7\x31\x00\x8a\xc8\x31\x04<=50\x12\x1f\n\tpolicy_id\x18\x04 \x01(\tB\x0c\xe8\xc7\x31\x00\x8a\xc8\x31\x04<=50\">\n\x15\x44\x65leteArchiveMetadata\x12\x12\n\narchive_id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t2\x92\n\n\rBackupService\x12{\n\x04List\x12*.yandex.cloud.backup.v1.ListBackupsRequest\x1a+.yandex.cloud.backup.v1.ListBackupsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/backup/v1/backups\x12\xa4\x01\n\x0cListArchives\x12+.yandex.cloud.backup.v1.ListArchivesRequest\x1a,.yandex.cloud.backup.v1.ListArchivesResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/backup/v1/backups/{compute_instance_id}/archives\x12\x8e\x01\n\tListFiles\x12(.yandex.cloud.backup.v1.ListFilesRequest\x1a).yandex.cloud.backup.v1.ListFilesResponse\",\x82\xd3\xe4\x93\x02&\x12$/backup/v1/backups/{backup_id}/files\x12w\n\x03Get\x12(.yandex.cloud.backup.v1.GetBackupRequest\x1a\x1e.yandex.cloud.backup.v1.Backup\"&\x82\xd3\xe4\x93\x02 \x12\x1e/backup/v1/backups/{backup_id}\x12\xcb\x01\n\rStartRecovery\x12,.yandex.cloud.backup.v1.StartRecoveryRequest\x1a!.yandex.cloud.operation.Operation\"i\xb2\xd2*.\n\x15StartRecoveryMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x31\",/backup/v1/backups/{backup_id}:startRecovery:\x01*\x12\xa3\x01\n\x12StartFilesRecovery\x12\x31.yandex.cloud.backup.v1.StartFilesRecoveryRequest\x1a!.yandex.cloud.operation.Operation\"7\xb2\xd2*3\n\x1aStartFilesRecoveryMetadata\x12\x15google.protobuf.Empty\x12\xc7\x01\n\x06\x44\x65lete\x12+.yandex.cloud.backup.v1.DeleteBackupRequest\x1a!.yandex.cloud.operation.Operation\"m\xb2\xd2*-\n\x14\x44\x65leteBackupMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x36*4/backup/v1/backups/{compute_instance_id}/{backup_id}\x12\x94\x01\n\rDeleteArchive\x12,.yandex.cloud.backup.v1.DeleteArchiveRequest\x1a!.yandex.cloud.operation.Operation\"2\xb2\xd2*.\n\x15\x44\x65leteArchiveMetadata\x12\x15google.protobuf.EmptyB_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -44,6 +44,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS'].fields_by_name['archive_id']._serialized_options = b'\350\3071\001'
|
|
45
45
|
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS'].fields_by_name['folder_id']._loaded_options = None
|
|
46
46
|
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS'].fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
47
|
+
_globals['_LISTBACKUPSREQUEST_BACKUPPARAMETERS'].fields_by_name['backup_id']._loaded_options = None
|
|
48
|
+
_globals['_LISTBACKUPSREQUEST_BACKUPPARAMETERS'].fields_by_name['backup_id']._serialized_options = b'\350\3071\001'
|
|
49
|
+
_globals['_LISTBACKUPSREQUEST_BACKUPPARAMETERS'].fields_by_name['folder_id']._loaded_options = None
|
|
50
|
+
_globals['_LISTBACKUPSREQUEST_BACKUPPARAMETERS'].fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
47
51
|
_globals['_LISTBACKUPSREQUEST'].oneofs_by_name['id']._loaded_options = None
|
|
48
52
|
_globals['_LISTBACKUPSREQUEST'].oneofs_by_name['id']._serialized_options = b'\300\3011\001'
|
|
49
53
|
_globals['_LISTBACKUPSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
@@ -117,43 +121,45 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
117
121
|
_globals['_LISTARCHIVESRESPONSE']._serialized_start=369
|
|
118
122
|
_globals['_LISTARCHIVESRESPONSE']._serialized_end=442
|
|
119
123
|
_globals['_LISTBACKUPSREQUEST']._serialized_start=445
|
|
120
|
-
_globals['_LISTBACKUPSREQUEST']._serialized_end=
|
|
121
|
-
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS']._serialized_start=
|
|
122
|
-
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS']._serialized_end=
|
|
123
|
-
_globals['_LISTBACKUPSREQUEST_INSTANCEPOLICY']._serialized_start=
|
|
124
|
-
_globals['_LISTBACKUPSREQUEST_INSTANCEPOLICY']._serialized_end=
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
130
|
-
_globals['
|
|
131
|
-
_globals['
|
|
132
|
-
_globals['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
153
|
-
_globals['
|
|
154
|
-
_globals['
|
|
155
|
-
_globals['
|
|
156
|
-
_globals['
|
|
157
|
-
_globals['
|
|
158
|
-
_globals['
|
|
124
|
+
_globals['_LISTBACKUPSREQUEST']._serialized_end=1175
|
|
125
|
+
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS']._serialized_start=957
|
|
126
|
+
_globals['_LISTBACKUPSREQUEST_ARCHIVEPARAMETERS']._serialized_end=1027
|
|
127
|
+
_globals['_LISTBACKUPSREQUEST_INSTANCEPOLICY']._serialized_start=1029
|
|
128
|
+
_globals['_LISTBACKUPSREQUEST_INSTANCEPOLICY']._serialized_end=1093
|
|
129
|
+
_globals['_LISTBACKUPSREQUEST_BACKUPPARAMETERS']._serialized_start=1095
|
|
130
|
+
_globals['_LISTBACKUPSREQUEST_BACKUPPARAMETERS']._serialized_end=1163
|
|
131
|
+
_globals['_LISTBACKUPSRESPONSE']._serialized_start=1177
|
|
132
|
+
_globals['_LISTBACKUPSRESPONSE']._serialized_end=1272
|
|
133
|
+
_globals['_LISTFILESREQUEST']._serialized_start=1274
|
|
134
|
+
_globals['_LISTFILESREQUEST']._serialized_end=1367
|
|
135
|
+
_globals['_LISTFILESRESPONSE']._serialized_start=1369
|
|
136
|
+
_globals['_LISTFILESRESPONSE']._serialized_end=1439
|
|
137
|
+
_globals['_GETBACKUPREQUEST']._serialized_start=1441
|
|
138
|
+
_globals['_GETBACKUPREQUEST']._serialized_end=1509
|
|
139
|
+
_globals['_STARTRECOVERYREQUEST']._serialized_start=1511
|
|
140
|
+
_globals['_STARTRECOVERYREQUEST']._serialized_end=1601
|
|
141
|
+
_globals['_STARTRECOVERYMETADATA']._serialized_start=1603
|
|
142
|
+
_globals['_STARTRECOVERYMETADATA']._serialized_end=1711
|
|
143
|
+
_globals['_TARGETPATHORIGINAL']._serialized_start=1713
|
|
144
|
+
_globals['_TARGETPATHORIGINAL']._serialized_end=1733
|
|
145
|
+
_globals['_TARGETPATHCUSTOM']._serialized_start=1735
|
|
146
|
+
_globals['_TARGETPATHCUSTOM']._serialized_end=1767
|
|
147
|
+
_globals['_FILESRECOVERYOPTIONS']._serialized_start=1770
|
|
148
|
+
_globals['_FILESRECOVERYOPTIONS']._serialized_end=2149
|
|
149
|
+
_globals['_FILESRECOVERYOPTIONS_OVERWRITE']._serialized_start=2031
|
|
150
|
+
_globals['_FILESRECOVERYOPTIONS_OVERWRITE']._serialized_end=2129
|
|
151
|
+
_globals['_STARTFILESRECOVERYREQUEST']._serialized_start=2152
|
|
152
|
+
_globals['_STARTFILESRECOVERYREQUEST']._serialized_end=2333
|
|
153
|
+
_globals['_STARTFILESRECOVERYMETADATA']._serialized_start=2336
|
|
154
|
+
_globals['_STARTFILESRECOVERYMETADATA']._serialized_end=2481
|
|
155
|
+
_globals['_DELETEBACKUPREQUEST']._serialized_start=2483
|
|
156
|
+
_globals['_DELETEBACKUPREQUEST']._serialized_end=2572
|
|
157
|
+
_globals['_DELETEBACKUPMETADATA']._serialized_start=2574
|
|
158
|
+
_globals['_DELETEBACKUPMETADATA']._serialized_end=2644
|
|
159
|
+
_globals['_DELETEARCHIVEREQUEST']._serialized_start=2647
|
|
160
|
+
_globals['_DELETEARCHIVEREQUEST']._serialized_end=2796
|
|
161
|
+
_globals['_DELETEARCHIVEMETADATA']._serialized_start=2798
|
|
162
|
+
_globals['_DELETEARCHIVEMETADATA']._serialized_end=2860
|
|
163
|
+
_globals['_BACKUPSERVICE']._serialized_start=2863
|
|
164
|
+
_globals['_BACKUPSERVICE']._serialized_end=4161
|
|
159
165
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -99,12 +99,29 @@ class ListBackupsRequest(google.protobuf.message.Message):
|
|
|
99
99
|
) -> None: ...
|
|
100
100
|
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "policy_id", b"policy_id"]) -> None: ...
|
|
101
101
|
|
|
102
|
+
@typing.final
|
|
103
|
+
class BackupParameters(google.protobuf.message.Message):
|
|
104
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
105
|
+
|
|
106
|
+
BACKUP_ID_FIELD_NUMBER: builtins.int
|
|
107
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
108
|
+
backup_id: builtins.str
|
|
109
|
+
folder_id: builtins.str
|
|
110
|
+
def __init__(
|
|
111
|
+
self,
|
|
112
|
+
*,
|
|
113
|
+
backup_id: builtins.str = ...,
|
|
114
|
+
folder_id: builtins.str = ...,
|
|
115
|
+
) -> None: ...
|
|
116
|
+
def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "folder_id", b"folder_id"]) -> None: ...
|
|
117
|
+
|
|
102
118
|
COMPUTE_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
103
119
|
ARCHIVE_FIELD_NUMBER: builtins.int
|
|
104
120
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
105
121
|
INSTANCE_POLICY_FIELD_NUMBER: builtins.int
|
|
106
122
|
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
107
123
|
POLICY_ID_FIELD_NUMBER: builtins.int
|
|
124
|
+
BACKUP_FIELD_NUMBER: builtins.int
|
|
108
125
|
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
109
126
|
FILTER_FIELD_NUMBER: builtins.int
|
|
110
127
|
TYPE_FIELD_NUMBER: builtins.int
|
|
@@ -144,6 +161,10 @@ class ListBackupsRequest(google.protobuf.message.Message):
|
|
|
144
161
|
def instance_policy(self) -> global___ListBackupsRequest.InstancePolicy:
|
|
145
162
|
"""List backups that belongs to specific instance and policy at the same time."""
|
|
146
163
|
|
|
164
|
+
@property
|
|
165
|
+
def backup(self) -> global___ListBackupsRequest.BackupParameters:
|
|
166
|
+
"""List backups by specific backup ID."""
|
|
167
|
+
|
|
147
168
|
def __init__(
|
|
148
169
|
self,
|
|
149
170
|
*,
|
|
@@ -153,15 +174,16 @@ class ListBackupsRequest(google.protobuf.message.Message):
|
|
|
153
174
|
instance_policy: global___ListBackupsRequest.InstancePolicy | None = ...,
|
|
154
175
|
resource_id: builtins.str = ...,
|
|
155
176
|
policy_id: builtins.str = ...,
|
|
177
|
+
backup: global___ListBackupsRequest.BackupParameters | None = ...,
|
|
156
178
|
order_by: builtins.str = ...,
|
|
157
179
|
filter: builtins.str = ...,
|
|
158
180
|
type: yandex.cloud.backup.v1.resource_pb2.ResourceType.ValueType = ...,
|
|
159
181
|
page_size: builtins.int = ...,
|
|
160
182
|
page_token: builtins.str = ...,
|
|
161
183
|
) -> None: ...
|
|
162
|
-
def HasField(self, field_name: typing.Literal["archive", b"archive", "compute_instance_id", b"compute_instance_id", "folder_id", b"folder_id", "id", b"id", "instance_policy", b"instance_policy", "policy_id", b"policy_id", "resource_id", b"resource_id"]) -> builtins.bool: ...
|
|
163
|
-
def ClearField(self, field_name: typing.Literal["archive", b"archive", "compute_instance_id", b"compute_instance_id", "filter", b"filter", "folder_id", b"folder_id", "id", b"id", "instance_policy", b"instance_policy", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token", "policy_id", b"policy_id", "resource_id", b"resource_id", "type", b"type"]) -> None: ...
|
|
164
|
-
def WhichOneof(self, oneof_group: typing.Literal["id", b"id"]) -> typing.Literal["compute_instance_id", "archive", "folder_id", "instance_policy", "resource_id", "policy_id"] | None: ...
|
|
184
|
+
def HasField(self, field_name: typing.Literal["archive", b"archive", "backup", b"backup", "compute_instance_id", b"compute_instance_id", "folder_id", b"folder_id", "id", b"id", "instance_policy", b"instance_policy", "policy_id", b"policy_id", "resource_id", b"resource_id"]) -> builtins.bool: ...
|
|
185
|
+
def ClearField(self, field_name: typing.Literal["archive", b"archive", "backup", b"backup", "compute_instance_id", b"compute_instance_id", "filter", b"filter", "folder_id", b"folder_id", "id", b"id", "instance_policy", b"instance_policy", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token", "policy_id", b"policy_id", "resource_id", b"resource_id", "type", b"type"]) -> None: ...
|
|
186
|
+
def WhichOneof(self, oneof_group: typing.Literal["id", b"id"]) -> typing.Literal["compute_instance_id", "archive", "folder_id", "instance_policy", "resource_id", "policy_id", "backup"] | None: ...
|
|
165
187
|
|
|
166
188
|
global___ListBackupsRequest = ListBackupsRequest
|
|
167
189
|
|
|
@@ -472,7 +494,7 @@ global___DeleteBackupMetadata = DeleteBackupMetadata
|
|
|
472
494
|
|
|
473
495
|
@typing.final
|
|
474
496
|
class DeleteArchiveRequest(google.protobuf.message.Message):
|
|
475
|
-
"""must be specified archive_id and folder/instance_id
|
|
497
|
+
"""must be specified archive_id and folder/instance_id
|
|
476
498
|
or pair of policy id and instance_id
|
|
477
499
|
"""
|
|
478
500
|
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/backup/v1/resource.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\nTenantInfo\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1a\n\x12personal_tenant_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"P\n\tAgentInfo\x12\x17\n\x0f\x63urrent_version\x18\x01 \x01(\t\x12\x16\n\x0elatest_version\x18\x02 \x01(\t\x12\x12\n\ncan_update\x18\x03 \x01(\x08\"\xf7\x06\n\x08Resource\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06online\x18\x04 \x01(\x08\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.backup.v1.Resource.Status\x12\x16\n\x0estatus_details\x18\x07 \x01(\t\x12\x17\n\x0fstatus_progress\x18\x08 \x01(\x03\x12\x34\n\x10last_backup_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10next_backup_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x11\n\tis_active\x18\x0c \x01(\x08\x12@\n\x0binit_status\x18\r \x01(\x0e\x32+.yandex.cloud.backup.v1.Resource.InitStatus\x12\x10\n\x08metadata\x18\x0e \x01(\t\x12\x32\n\x04type\x18\x0f \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\x12\x37\n\x0btenant_info\x18\x10 \x01(\x0b\x32\".yandex.cloud.backup.v1.TenantInfo\x12\x35\n\nagent_info\x18\x12 \x01(\x0b\x32!.yandex.cloud.backup.v1.AgentInfo\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04IDLE\x10\x01\x12\r\n\tBACKUPING\x10\x02\x12\x0e\n\nRECOVERING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\t\n\x05OTHER\x10\x05\"o\n\nInitStatus\x12\x1b\n\x17INIT_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\r\n\tREGISTRED\x10\x02\x12\x17\n\x13\x46\x41ILED_REGISTRATION\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04J\x04\x08\x11\x10\x12\"*\n\x08Progress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x03\x12\r\n\x05total\x18\x02 \x01(\x03\"\xb7\x06\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x11\n\tpolicy_id\x18\x03 \x01(\t\x12/\n\x04type\x18\x04 \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Type\x12\x32\n\x08progress\x18\x05 \x01(\x0b\x32 .yandex.cloud.backup.v1.Progress\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32#.yandex.cloud.backup.v1.Task.Status\x12/\n\x0b\x65nqueued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13\x63ompute_instance_id\x18\x0b \x01(\t\x12\x36\n\x0bresult_code\x18\x0c \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Code\x12\r\n\x05\x65rror\x18\r \x01(\t\"j\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x12\r\n\tRETENTION\x10\x02\x12\x0c\n\x08RECOVERY\x10\x03\x12\x10\n\x0c\x41PPLY_POLICY\x10\x04\x12\x11\n\rREVOKE_POLICY\x10\x05\"d\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NQUEUED\x10\x01\x12\x0c\n\x08\x41SSIGNED\x10\x02\x12\x0b\n\x07STARTED\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\r\n\tCOMPLETED\x10\x05\"h\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\r\n\tABANDONED\x10\x05\x12\x0c\n\x08TIMEDOUT\x10\x06*
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/backup/v1/resource.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\nTenantInfo\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1a\n\x12personal_tenant_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"P\n\tAgentInfo\x12\x17\n\x0f\x63urrent_version\x18\x01 \x01(\t\x12\x16\n\x0elatest_version\x18\x02 \x01(\t\x12\x12\n\ncan_update\x18\x03 \x01(\x08\"\xf7\x06\n\x08Resource\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06online\x18\x04 \x01(\x08\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.backup.v1.Resource.Status\x12\x16\n\x0estatus_details\x18\x07 \x01(\t\x12\x17\n\x0fstatus_progress\x18\x08 \x01(\x03\x12\x34\n\x10last_backup_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10next_backup_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x11\n\tis_active\x18\x0c \x01(\x08\x12@\n\x0binit_status\x18\r \x01(\x0e\x32+.yandex.cloud.backup.v1.Resource.InitStatus\x12\x10\n\x08metadata\x18\x0e \x01(\t\x12\x32\n\x04type\x18\x0f \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\x12\x37\n\x0btenant_info\x18\x10 \x01(\x0b\x32\".yandex.cloud.backup.v1.TenantInfo\x12\x35\n\nagent_info\x18\x12 \x01(\x0b\x32!.yandex.cloud.backup.v1.AgentInfo\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04IDLE\x10\x01\x12\r\n\tBACKUPING\x10\x02\x12\x0e\n\nRECOVERING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\t\n\x05OTHER\x10\x05\"o\n\nInitStatus\x12\x1b\n\x17INIT_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\r\n\tREGISTRED\x10\x02\x12\x17\n\x13\x46\x41ILED_REGISTRATION\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04J\x04\x08\x11\x10\x12\"*\n\x08Progress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x03\x12\r\n\x05total\x18\x02 \x01(\x03\"\xb7\x06\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x11\n\tpolicy_id\x18\x03 \x01(\t\x12/\n\x04type\x18\x04 \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Type\x12\x32\n\x08progress\x18\x05 \x01(\x0b\x32 .yandex.cloud.backup.v1.Progress\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32#.yandex.cloud.backup.v1.Task.Status\x12/\n\x0b\x65nqueued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13\x63ompute_instance_id\x18\x0b \x01(\t\x12\x36\n\x0bresult_code\x18\x0c \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Code\x12\r\n\x05\x65rror\x18\r \x01(\t\"j\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x12\r\n\tRETENTION\x10\x02\x12\x0c\n\x08RECOVERY\x10\x03\x12\x10\n\x0c\x41PPLY_POLICY\x10\x04\x12\x11\n\rREVOKE_POLICY\x10\x05\"d\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NQUEUED\x10\x01\x12\x0c\n\x08\x41SSIGNED\x10\x02\x12\x0b\n\x07STARTED\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\r\n\tCOMPLETED\x10\x05\"h\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\r\n\tABANDONED\x10\x05\x12\x0c\n\x08TIMEDOUT\x10\x06*i\n\x0cResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OMPUTE\x10\x01\x12\x07\n\x03\x42MS\x10\x02\x12\x0f\n\x0b\x45XTERNAL_VM\x10\x03\x12\x13\n\x0f\x45XTERNAL_SERVER\x10\x04\x42_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,7 +34,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\032yandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backup'
|
|
36
36
|
_globals['_RESOURCETYPE']._serialized_start=2018
|
|
37
|
-
_globals['_RESOURCETYPE']._serialized_end=
|
|
37
|
+
_globals['_RESOURCETYPE']._serialized_end=2123
|
|
38
38
|
_globals['_TENANTINFO']._serialized_start=98
|
|
39
39
|
_globals['_TENANTINFO']._serialized_end=174
|
|
40
40
|
_globals['_AGENTINFO']._serialized_start=176
|
|
@@ -29,6 +29,10 @@ class _ResourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._E
|
|
|
29
29
|
"""Resource is Compute Cloud VM"""
|
|
30
30
|
BMS: _ResourceType.ValueType # 2
|
|
31
31
|
"""Resource is baremetal server"""
|
|
32
|
+
EXTERNAL_VM: _ResourceType.ValueType # 3
|
|
33
|
+
"""Resource is VM"""
|
|
34
|
+
EXTERNAL_SERVER: _ResourceType.ValueType # 4
|
|
35
|
+
"""Resource is server"""
|
|
32
36
|
|
|
33
37
|
class ResourceType(_ResourceType, metaclass=_ResourceTypeEnumTypeWrapper): ...
|
|
34
38
|
|
|
@@ -37,6 +41,10 @@ COMPUTE: ResourceType.ValueType # 1
|
|
|
37
41
|
"""Resource is Compute Cloud VM"""
|
|
38
42
|
BMS: ResourceType.ValueType # 2
|
|
39
43
|
"""Resource is baremetal server"""
|
|
44
|
+
EXTERNAL_VM: ResourceType.ValueType # 3
|
|
45
|
+
"""Resource is VM"""
|
|
46
|
+
EXTERNAL_SERVER: ResourceType.ValueType # 4
|
|
47
|
+
"""Resource is server"""
|
|
40
48
|
global___ResourceType = ResourceType
|
|
41
49
|
|
|
42
50
|
@typing.final
|
|
@@ -22,11 +22,12 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
25
26
|
from yandex.cloud.baremetal.v1alpha import configuration_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_configuration__pb2
|
|
26
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/baremetal/v1alpha/configuration_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x32yandex/cloud/baremetal/v1alpha/configuration.proto\x1a\x1dyandex/cloud/validation.proto\"
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/baremetal/v1alpha/configuration_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x32yandex/cloud/baremetal/v1alpha/configuration.proto\x1a\x1dyandex/cloud/validation.proto\"~\n\x17GetConfigurationRequest\x12\x32\n\x10\x63onfiguration_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\x12/\n\tfolder_id\x18\x02 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50\"\xa6\x01\n\x19ListConfigurationsRequest\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(\t\x12/\n\tfolder_id\x18h \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50J\x04\x08\x01\x10\x64\"\x82\x01\n\x1aListConfigurationsResponse\x12\x45\n\x0e\x63onfigurations\x18\x01 \x03(\x0b\x32-.yandex.cloud.baremetal.v1alpha.Configuration\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\x32\xef\x02\n\x14\x43onfigurationService\x12\xab\x01\n\x03Get\x12\x37.yandex.cloud.baremetal.v1alpha.GetConfigurationRequest\x1a-.yandex.cloud.baremetal.v1alpha.Configuration\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/baremetal/v1alpha/configurations/{configuration_id}\x12\xa8\x01\n\x04List\x12\x39.yandex.cloud.baremetal.v1alpha.ListConfigurationsRequest\x1a:.yandex.cloud.baremetal.v1alpha.ListConfigurationsResponse\")\x82\xd3\xe4\x93\x02#\x12!/baremetal/v1alpha/configurationsBr\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,14 +37,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
37
38
|
_globals['_GETCONFIGURATIONREQUEST'].fields_by_name['configuration_id']._loaded_options = None
|
|
38
39
|
_globals['_GETCONFIGURATIONREQUEST'].fields_by_name['configuration_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
40
|
+
_globals['_GETCONFIGURATIONREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
41
|
+
_globals['_GETCONFIGURATIONREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
|
|
39
42
|
_globals['_LISTCONFIGURATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
40
43
|
_globals['_LISTCONFIGURATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
44
|
+
_globals['_LISTCONFIGURATIONSREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
45
|
+
_globals['_LISTCONFIGURATIONSREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
|
|
46
|
+
_globals['_CONFIGURATIONSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
47
|
+
_globals['_CONFIGURATIONSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0026\0224/baremetal/v1alpha/configurations/{configuration_id}'
|
|
48
|
+
_globals['_CONFIGURATIONSERVICE'].methods_by_name['List']._loaded_options = None
|
|
49
|
+
_globals['_CONFIGURATIONSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002#\022!/baremetal/v1alpha/configurations'
|
|
50
|
+
_globals['_GETCONFIGURATIONREQUEST']._serialized_start=207
|
|
51
|
+
_globals['_GETCONFIGURATIONREQUEST']._serialized_end=333
|
|
52
|
+
_globals['_LISTCONFIGURATIONSREQUEST']._serialized_start=336
|
|
53
|
+
_globals['_LISTCONFIGURATIONSREQUEST']._serialized_end=502
|
|
54
|
+
_globals['_LISTCONFIGURATIONSRESPONSE']._serialized_start=505
|
|
55
|
+
_globals['_LISTCONFIGURATIONSRESPONSE']._serialized_end=635
|
|
56
|
+
_globals['_CONFIGURATIONSERVICE']._serialized_start=638
|
|
57
|
+
_globals['_CONFIGURATIONSERVICE']._serialized_end=1005
|
|
49
58
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -18,17 +18,24 @@ class GetConfigurationRequest(google.protobuf.message.Message):
|
|
|
18
18
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
19
|
|
|
20
20
|
CONFIGURATION_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
21
22
|
configuration_id: builtins.str
|
|
22
23
|
"""ID of the Configuration resource to return.
|
|
23
24
|
|
|
24
25
|
To get the configuration ID, use a [ConfigurationService.List] request.
|
|
25
26
|
"""
|
|
27
|
+
folder_id: builtins.str
|
|
28
|
+
"""ID of the folder to return a Configuration resource for.
|
|
29
|
+
|
|
30
|
+
To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
31
|
+
"""
|
|
26
32
|
def __init__(
|
|
27
33
|
self,
|
|
28
34
|
*,
|
|
29
35
|
configuration_id: builtins.str = ...,
|
|
36
|
+
folder_id: builtins.str = ...,
|
|
30
37
|
) -> None: ...
|
|
31
|
-
def ClearField(self, field_name: typing.Literal["configuration_id", b"configuration_id"]) -> None: ...
|
|
38
|
+
def ClearField(self, field_name: typing.Literal["configuration_id", b"configuration_id", "folder_id", b"folder_id"]) -> None: ...
|
|
32
39
|
|
|
33
40
|
global___GetConfigurationRequest = GetConfigurationRequest
|
|
34
41
|
|
|
@@ -40,6 +47,7 @@ class ListConfigurationsRequest(google.protobuf.message.Message):
|
|
|
40
47
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
41
48
|
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
42
49
|
FILTER_FIELD_NUMBER: builtins.int
|
|
50
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
43
51
|
page_size: builtins.int
|
|
44
52
|
"""The maximum number of results per page to return. If the number of available
|
|
45
53
|
results is greater than `page_size`,
|
|
@@ -71,6 +79,11 @@ class ListConfigurationsRequest(google.protobuf.message.Message):
|
|
|
71
79
|
Supported fields: ["id", "name"].
|
|
72
80
|
Both snake_case and camelCase are supported for fields.
|
|
73
81
|
"""
|
|
82
|
+
folder_id: builtins.str
|
|
83
|
+
"""ID of the folder to return a Configuration resource for.
|
|
84
|
+
|
|
85
|
+
To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
86
|
+
"""
|
|
74
87
|
def __init__(
|
|
75
88
|
self,
|
|
76
89
|
*,
|
|
@@ -78,8 +91,9 @@ class ListConfigurationsRequest(google.protobuf.message.Message):
|
|
|
78
91
|
page_token: builtins.str = ...,
|
|
79
92
|
order_by: builtins.str = ...,
|
|
80
93
|
filter: builtins.str = ...,
|
|
94
|
+
folder_id: builtins.str = ...,
|
|
81
95
|
) -> None: ...
|
|
82
|
-
def ClearField(self, field_name: typing.Literal["filter", b"filter", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
96
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
83
97
|
|
|
84
98
|
global___ListConfigurationsRequest = ListConfigurationsRequest
|
|
85
99
|
|
|
@@ -22,11 +22,12 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
25
26
|
from yandex.cloud.baremetal.v1alpha import hardware_pool_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_hardware__pool__pb2
|
|
26
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/baremetal/v1alpha/hardware_pool_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x32yandex/cloud/baremetal/v1alpha/hardware_pool.proto\x1a\x1dyandex/cloud/validation.proto\"<\n\x16GetHardwarePoolRequest\x12\"\n\x10hardware_pool_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=20\"R\n\x18ListHardwarePoolsRequest\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\x01\x10\x64\"\x80\x01\n\x19ListHardwarePoolsResponse\x12\x44\n\x0ehardware_pools\x18\x01 \x03(\x0b\x32,.yandex.cloud.baremetal.v1alpha.HardwarePool\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\x32\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/baremetal/v1alpha/hardware_pool_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x32yandex/cloud/baremetal/v1alpha/hardware_pool.proto\x1a\x1dyandex/cloud/validation.proto\"<\n\x16GetHardwarePoolRequest\x12\"\n\x10hardware_pool_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=20\"R\n\x18ListHardwarePoolsRequest\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\x01\x10\x64\"\x80\x01\n\x19ListHardwarePoolsResponse\x12\x44\n\x0ehardware_pools\x18\x01 \x03(\x0b\x32,.yandex.cloud.baremetal.v1alpha.HardwarePool\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\x32\xe8\x02\n\x13HardwarePoolService\x12\xa8\x01\n\x03Get\x12\x36.yandex.cloud.baremetal.v1alpha.GetHardwarePoolRequest\x1a,.yandex.cloud.baremetal.v1alpha.HardwarePool\";\x82\xd3\xe4\x93\x02\x35\x12\x33/baremetal/v1alpha/hardwarePools/{hardware_pool_id}\x12\xa5\x01\n\x04List\x12\x38.yandex.cloud.baremetal.v1alpha.ListHardwarePoolsRequest\x1a\x39.yandex.cloud.baremetal.v1alpha.ListHardwarePoolsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /baremetal/v1alpha/hardwarePoolsBr\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,12 +39,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
39
|
_globals['_GETHARDWAREPOOLREQUEST'].fields_by_name['hardware_pool_id']._serialized_options = b'\212\3101\004<=20'
|
|
39
40
|
_globals['_LISTHARDWAREPOOLSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
40
41
|
_globals['_LISTHARDWAREPOOLSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
42
|
+
_globals['_HARDWAREPOOLSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
43
|
+
_globals['_HARDWAREPOOLSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0025\0223/baremetal/v1alpha/hardwarePools/{hardware_pool_id}'
|
|
44
|
+
_globals['_HARDWAREPOOLSERVICE'].methods_by_name['List']._loaded_options = None
|
|
45
|
+
_globals['_HARDWAREPOOLSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\"\022 /baremetal/v1alpha/hardwarePools'
|
|
46
|
+
_globals['_GETHARDWAREPOOLREQUEST']._serialized_start=207
|
|
47
|
+
_globals['_GETHARDWAREPOOLREQUEST']._serialized_end=267
|
|
48
|
+
_globals['_LISTHARDWAREPOOLSREQUEST']._serialized_start=269
|
|
49
|
+
_globals['_LISTHARDWAREPOOLSREQUEST']._serialized_end=351
|
|
50
|
+
_globals['_LISTHARDWAREPOOLSRESPONSE']._serialized_start=354
|
|
51
|
+
_globals['_LISTHARDWAREPOOLSRESPONSE']._serialized_end=482
|
|
52
|
+
_globals['_HARDWAREPOOLSERVICE']._serialized_start=485
|
|
53
|
+
_globals['_HARDWAREPOOLSERVICE']._serialized_end=845
|
|
49
54
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,6 +22,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
25
26
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
26
27
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
27
28
|
from yandex.cloud.baremetal.v1alpha import image_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_image__pb2
|
|
@@ -29,7 +30,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
29
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/image_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a*yandex/cloud/baremetal/v1alpha/image.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"=\n\x0fGetImageRequest\x12*\n\x08image_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"\x9e\x01\n\x11ListImagesRequest\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\"j\n\x12ListImagesResponse\x12\x35\n\x06images\x18\x01 \x03(\x0b\x32%.yandex.cloud.baremetal.v1alpha.Image\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\x84\x03\n\x12\x43reateImageRequest\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\x1b\n\x03uri\x18\x0b \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32>.yandex.cloud.baremetal.v1alpha.CreateImageRequest.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\x04\x08\x04\x10\x0bJ\x05\x08\x0c\x10\xc8\x01\"\'\n\x13\x43reateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"\x8d\x03\n\x12UpdateImageRequest\x12*\n\x08image_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\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32>.yandex.cloud.baremetal.v1alpha.UpdateImageRequest.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\x13UpdateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"@\n\x12\x44\x65leteImageRequest\x12*\n\x08image_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"\'\n\x13\x44\x65leteImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"\x80\x01\n\x1aListImageOperationsRequest\x12*\n\x08image_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\"s\n\x1bListImageOperationsResponse\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\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/image_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a*yandex/cloud/baremetal/v1alpha/image.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"=\n\x0fGetImageRequest\x12*\n\x08image_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"\x9e\x01\n\x11ListImagesRequest\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\"j\n\x12ListImagesResponse\x12\x35\n\x06images\x18\x01 \x03(\x0b\x32%.yandex.cloud.baremetal.v1alpha.Image\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\x84\x03\n\x12\x43reateImageRequest\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\x1b\n\x03uri\x18\x0b \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32>.yandex.cloud.baremetal.v1alpha.CreateImageRequest.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\x04\x08\x04\x10\x0bJ\x05\x08\x0c\x10\xc8\x01\"\'\n\x13\x43reateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"\x8d\x03\n\x12UpdateImageRequest\x12*\n\x08image_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\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32>.yandex.cloud.baremetal.v1alpha.UpdateImageRequest.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\x13UpdateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"@\n\x12\x44\x65leteImageRequest\x12*\n\x08image_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"\'\n\x13\x44\x65leteImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"\x80\x01\n\x1aListImageOperationsRequest\x12*\n\x08image_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\"s\n\x1bListImageOperationsResponse\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\x8f\x08\n\x0cImageService\x12\x8b\x01\n\x03Get\x12/.yandex.cloud.baremetal.v1alpha.GetImageRequest\x1a%.yandex.cloud.baremetal.v1alpha.Image\",\x82\xd3\xe4\x93\x02&\x12$/baremetal/v1alpha/images/{image_id}\x12\x90\x01\n\x04List\x12\x31.yandex.cloud.baremetal.v1alpha.ListImagesRequest\x1a\x32.yandex.cloud.baremetal.v1alpha.ListImagesResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/baremetal/v1alpha/images\x12\xa5\x01\n\x06\x43reate\x12\x32.yandex.cloud.baremetal.v1alpha.CreateImageRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\x1c\n\x13\x43reateImageMetadata\x12\x05Image\x82\xd3\xe4\x93\x02\x1e\"\x19/baremetal/v1alpha/images:\x01*\x12\xb0\x01\n\x06Update\x12\x32.yandex.cloud.baremetal.v1alpha.UpdateImageRequest\x1a!.yandex.cloud.operation.Operation\"O\xb2\xd2*\x1c\n\x13UpdateImageMetadata\x12\x05Image\x82\xd3\xe4\x93\x02)2$/baremetal/v1alpha/images/{image_id}:\x01*\x12\xbd\x01\n\x06\x44\x65lete\x12\x32.yandex.cloud.baremetal.v1alpha.DeleteImageRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*,\n\x13\x44\x65leteImageMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02&*$/baremetal/v1alpha/images/{image_id}\x12\xc2\x01\n\x0eListOperations\x12:.yandex.cloud.baremetal.v1alpha.ListImageOperationsRequest\x1a;.yandex.cloud.baremetal.v1alpha.ListImageOperationsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//baremetal/v1alpha/images/{image_id}/operationsBr\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
33
34
|
|
|
34
35
|
_globals = globals()
|
|
35
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -71,38 +72,44 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
71
72
|
_globals['_LISTIMAGEOPERATIONSREQUEST'].fields_by_name['image_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
72
73
|
_globals['_LISTIMAGEOPERATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
73
74
|
_globals['_LISTIMAGEOPERATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
75
|
+
_globals['_IMAGESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
76
|
+
_globals['_IMAGESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002&\022$/baremetal/v1alpha/images/{image_id}'
|
|
77
|
+
_globals['_IMAGESERVICE'].methods_by_name['List']._loaded_options = None
|
|
78
|
+
_globals['_IMAGESERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\033\022\031/baremetal/v1alpha/images'
|
|
74
79
|
_globals['_IMAGESERVICE'].methods_by_name['Create']._loaded_options = None
|
|
75
|
-
_globals['_IMAGESERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*\034\n\023CreateImageMetadata\022\005Image'
|
|
80
|
+
_globals['_IMAGESERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*\034\n\023CreateImageMetadata\022\005Image\202\323\344\223\002\036\"\031/baremetal/v1alpha/images:\001*'
|
|
76
81
|
_globals['_IMAGESERVICE'].methods_by_name['Update']._loaded_options = None
|
|
77
|
-
_globals['_IMAGESERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*\034\n\023UpdateImageMetadata\022\005Image'
|
|
82
|
+
_globals['_IMAGESERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*\034\n\023UpdateImageMetadata\022\005Image\202\323\344\223\002)2$/baremetal/v1alpha/images/{image_id}:\001*'
|
|
78
83
|
_globals['_IMAGESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
79
|
-
_globals['_IMAGESERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*,\n\023DeleteImageMetadata\022\025google.protobuf.Empty'
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
84
|
+
_globals['_IMAGESERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*,\n\023DeleteImageMetadata\022\025google.protobuf.Empty\202\323\344\223\002&*$/baremetal/v1alpha/images/{image_id}'
|
|
85
|
+
_globals['_IMAGESERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
86
|
+
_globals['_IMAGESERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\0021\022//baremetal/v1alpha/images/{image_id}/operations'
|
|
87
|
+
_globals['_GETIMAGEREQUEST']._serialized_start=299
|
|
88
|
+
_globals['_GETIMAGEREQUEST']._serialized_end=360
|
|
89
|
+
_globals['_LISTIMAGESREQUEST']._serialized_start=363
|
|
90
|
+
_globals['_LISTIMAGESREQUEST']._serialized_end=521
|
|
91
|
+
_globals['_LISTIMAGESRESPONSE']._serialized_start=523
|
|
92
|
+
_globals['_LISTIMAGESRESPONSE']._serialized_end=629
|
|
93
|
+
_globals['_CREATEIMAGEREQUEST']._serialized_start=632
|
|
94
|
+
_globals['_CREATEIMAGEREQUEST']._serialized_end=1020
|
|
95
|
+
_globals['_CREATEIMAGEREQUEST_LABELSENTRY']._serialized_start=962
|
|
96
|
+
_globals['_CREATEIMAGEREQUEST_LABELSENTRY']._serialized_end=1007
|
|
97
|
+
_globals['_CREATEIMAGEMETADATA']._serialized_start=1022
|
|
98
|
+
_globals['_CREATEIMAGEMETADATA']._serialized_end=1061
|
|
99
|
+
_globals['_UPDATEIMAGEREQUEST']._serialized_start=1064
|
|
100
|
+
_globals['_UPDATEIMAGEREQUEST']._serialized_end=1461
|
|
101
|
+
_globals['_UPDATEIMAGEREQUEST_LABELSENTRY']._serialized_start=962
|
|
102
|
+
_globals['_UPDATEIMAGEREQUEST_LABELSENTRY']._serialized_end=1007
|
|
103
|
+
_globals['_UPDATEIMAGEMETADATA']._serialized_start=1463
|
|
104
|
+
_globals['_UPDATEIMAGEMETADATA']._serialized_end=1502
|
|
105
|
+
_globals['_DELETEIMAGEREQUEST']._serialized_start=1504
|
|
106
|
+
_globals['_DELETEIMAGEREQUEST']._serialized_end=1568
|
|
107
|
+
_globals['_DELETEIMAGEMETADATA']._serialized_start=1570
|
|
108
|
+
_globals['_DELETEIMAGEMETADATA']._serialized_end=1609
|
|
109
|
+
_globals['_LISTIMAGEOPERATIONSREQUEST']._serialized_start=1612
|
|
110
|
+
_globals['_LISTIMAGEOPERATIONSREQUEST']._serialized_end=1740
|
|
111
|
+
_globals['_LISTIMAGEOPERATIONSRESPONSE']._serialized_start=1742
|
|
112
|
+
_globals['_LISTIMAGEOPERATIONSRESPONSE']._serialized_end=1857
|
|
113
|
+
_globals['_IMAGESERVICE']._serialized_start=1860
|
|
114
|
+
_globals['_IMAGESERVICE']._serialized_end=2899
|
|
108
115
|
# @@protoc_insertion_point(module_scope)
|