yandexcloud 0.311.0__py3-none-any.whl → 0.313.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.

Files changed (64) hide show
  1. yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.py +6 -0
  2. yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.pyi +12 -3
  3. yandex/cloud/audittrails/v1/trail_pb2.py +57 -37
  4. yandex/cloud/audittrails/v1/trail_pb2.pyi +115 -4
  5. yandex/cloud/audittrails/v1/trail_service_pb2.py +25 -23
  6. yandex/cloud/audittrails/v1/trail_service_pb2.pyi +22 -6
  7. yandex/cloud/backup/v1/resource_pb2.py +9 -9
  8. yandex/cloud/backup/v1/resource_pb2.pyi +4 -0
  9. yandex/cloud/compute/v1/disk_pb2.py +12 -11
  10. yandex/cloud/compute/v1/disk_pb2.pyi +11 -2
  11. yandex/cloud/compute/v1/disk_service_pb2.py +42 -41
  12. yandex/cloud/compute/v1/disk_service_pb2.pyi +11 -2
  13. yandex/cloud/compute/v1/hardware_generation_pb2.py +32 -0
  14. yandex/cloud/compute/v1/hardware_generation_pb2.pyi +96 -0
  15. yandex/cloud/compute/v1/hardware_generation_pb2_grpc.py +4 -0
  16. yandex/cloud/compute/v1/hardware_generation_pb2_grpc.pyi +17 -0
  17. yandex/cloud/compute/v1/image_pb2.py +12 -11
  18. yandex/cloud/compute/v1/image_pb2.pyi +11 -2
  19. yandex/cloud/compute/v1/image_service_pb2.py +32 -31
  20. yandex/cloud/compute/v1/image_service_pb2.pyi +11 -2
  21. yandex/cloud/compute/v1/instance_pb2.py +54 -53
  22. yandex/cloud/compute/v1/instance_pb2.pyi +9 -2
  23. yandex/cloud/compute/v1/snapshot_pb2.py +8 -7
  24. yandex/cloud/compute/v1/snapshot_pb2.pyi +11 -2
  25. yandex/cloud/compute/v1/snapshot_service_pb2.py +30 -29
  26. yandex/cloud/compute/v1/snapshot_service_pb2.pyi +11 -1
  27. yandex/cloud/iam/v1/service_account_pb2.py +4 -4
  28. yandex/cloud/iam/v1/service_account_pb2.pyi +8 -2
  29. yandex/cloud/iam/v1/workload/__init__.py +0 -0
  30. yandex/cloud/iam/v1/workload/federated_credential_pb2.py +27 -0
  31. yandex/cloud/iam/v1/workload/federated_credential_pb2.pyi +49 -0
  32. yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.py +4 -0
  33. yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.pyi +17 -0
  34. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +69 -0
  35. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.pyi +170 -0
  36. yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.py +176 -0
  37. yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.pyi +121 -0
  38. yandex/cloud/iam/v1/workload/oidc/__init__.py +0 -0
  39. yandex/cloud/iam/v1/workload/oidc/federation_pb2.py +31 -0
  40. yandex/cloud/iam/v1/workload/oidc/federation_pb2.pyi +95 -0
  41. yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.py +4 -0
  42. yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.pyi +17 -0
  43. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +100 -0
  44. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.pyi +304 -0
  45. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +210 -0
  46. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +141 -0
  47. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +92 -60
  48. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +304 -10
  49. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +34 -26
  50. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +84 -2
  51. yandex/cloud/serverless/containers/v1/container_pb2.py +44 -26
  52. yandex/cloud/serverless/containers/v1/container_pb2.pyi +99 -2
  53. yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
  54. yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
  55. yandex/cloud/serverless/functions/v1/function_pb2.py +46 -28
  56. yandex/cloud/serverless/functions/v1/function_pb2.pyi +98 -1
  57. yandex/cloud/serverless/functions/v1/function_service_pb2.py +36 -36
  58. yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +7 -1
  59. {yandexcloud-0.311.0.dist-info → yandexcloud-0.313.0.dist-info}/METADATA +1 -1
  60. {yandexcloud-0.311.0.dist-info → yandexcloud-0.313.0.dist-info}/RECORD +64 -42
  61. {yandexcloud-0.311.0.dist-info → yandexcloud-0.313.0.dist-info}/AUTHORS +0 -0
  62. {yandexcloud-0.311.0.dist-info → yandexcloud-0.313.0.dist-info}/LICENSE +0 -0
  63. {yandexcloud-0.311.0.dist-info → yandexcloud-0.313.0.dist-info}/WHEEL +0 -0
  64. {yandexcloud-0.311.0.dist-info → yandexcloud-0.313.0.dist-info}/top_level.txt +0 -0
@@ -15,12 +15,13 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
15
  from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
16
16
  from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
17
17
  from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
18
+ from yandex.cloud.compute.v1 import hardware_generation_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_hardware__generation__pb2
18
19
  from yandex.cloud.compute.v1 import image_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_image__pb2
19
20
  from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
20
21
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
21
22
 
22
23
 
23
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/compute/v1/image_service.proto\x12\x17yandex.cloud.compute.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a#yandex/cloud/compute/v1/image.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"1\n\x0fGetImageRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"s\n\x1dGetImageLatestByFamilyRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\x06\x66\x61mily\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\"\xab\x01\n\x11ListImagesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x1b\n\x08order_by\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"]\n\x12ListImagesResponse\x12.\n\x06images\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.compute.v1.Image\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x85\x05\n\x12\x43reateImageRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8c\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.compute.v1.CreateImageRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x31\n\x06\x66\x61mily\x18\x05 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x30\n\rmin_disk_size\x18\x06 \x01(\x03\x42\x19\xfa\xc7\x31\x15\x34\x31\x39\x34\x33\x30\x34-4398046511104\x12\x1d\n\x0bproduct_ids\x18\x07 \x03(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1c\n\x08image_id\x18\x08 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07\x64isk_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1f\n\x0bsnapshot_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\r\n\x03uri\x18\x0b \x01(\tH\x00\x12\'\n\x02os\x18\x0c \x01(\x0b\x32\x1b.yandex.cloud.compute.v1.Os\x12\x0e\n\x06pooled\x18\x11 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01J\x04\x08\r\x10\x11\"\'\n\x13\x43reateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"\xa9\x03\n\x12UpdateImageRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x30\n\rmin_disk_size\x18\x05 \x01(\x03\x42\x19\xfa\xc7\x31\x15\x34\x31\x39\x34\x33\x30\x34-4398046511104\x12\x8c\x01\n\x06labels\x18\x06 \x03(\x0b\x32\x37.yandex.cloud.compute.v1.UpdateImageRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x13UpdateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"4\n\x12\x44\x65leteImageRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\'\n\x13\x44\x65leteImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"z\n\x1aListImageOperationsRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"m\n\x1bListImageOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe6\r\n\x0cImageService\x12v\n\x03Get\x12(.yandex.cloud.compute.v1.GetImageRequest\x1a\x1e.yandex.cloud.compute.v1.Image\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/compute/v1/images/{image_id}\x12\x96\x01\n\x11GetLatestByFamily\x12\x36.yandex.cloud.compute.v1.GetImageLatestByFamilyRequest\x1a\x1e.yandex.cloud.compute.v1.Image\")\x82\xd3\xe4\x93\x02#\x12!/compute/v1/images:latestByFamily\x12{\n\x04List\x12*.yandex.cloud.compute.v1.ListImagesRequest\x1a+.yandex.cloud.compute.v1.ListImagesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/compute/v1/images\x12\x97\x01\n\x06\x43reate\x12+.yandex.cloud.compute.v1.CreateImageRequest\x1a!.yandex.cloud.operation.Operation\"=\xb2\xd2*\x1c\n\x13\x43reateImageMetadata\x12\x05Image\x82\xd3\xe4\x93\x02\x17\"\x12/compute/v1/images:\x01*\x12\xa2\x01\n\x06Update\x12+.yandex.cloud.compute.v1.UpdateImageRequest\x1a!.yandex.cloud.operation.Operation\"H\xb2\xd2*\x1c\n\x13UpdateImageMetadata\x12\x05Image\x82\xd3\xe4\x93\x02\"2\x1d/compute/v1/images/{image_id}:\x01*\x12\xaf\x01\n\x06\x44\x65lete\x12+.yandex.cloud.compute.v1.DeleteImageRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*,\n\x13\x44\x65leteImageMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1f*\x1d/compute/v1/images/{image_id}\x12\xad\x01\n\x0eListOperations\x12\x33.yandex.cloud.compute.v1.ListImageOperationsRequest\x1a\x34.yandex.cloud.compute.v1.ListImageOperationsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/compute/v1/images/{image_id}/operations\x12\xb2\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/compute/v1/images/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02\x37\"2/compute/v1/images/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:\"5/compute/v1/images/{resource_id}:updateAccessBindings:\x01*Bb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/compute/v1/image_service.proto\x12\x17yandex.cloud.compute.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\x1a#yandex/cloud/compute/v1/image.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"1\n\x0fGetImageRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"s\n\x1dGetImageLatestByFamilyRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\x06\x66\x61mily\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\"\xab\x01\n\x11ListImagesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x1b\n\x08order_by\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"]\n\x12ListImagesResponse\x12.\n\x06images\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.compute.v1.Image\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcf\x05\n\x12\x43reateImageRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8c\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.compute.v1.CreateImageRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x31\n\x06\x66\x61mily\x18\x05 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x30\n\rmin_disk_size\x18\x06 \x01(\x03\x42\x19\xfa\xc7\x31\x15\x34\x31\x39\x34\x33\x30\x34-4398046511104\x12\x1d\n\x0bproduct_ids\x18\x07 \x03(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1c\n\x08image_id\x18\x08 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07\x64isk_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1f\n\x0bsnapshot_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\r\n\x03uri\x18\x0b \x01(\tH\x00\x12\'\n\x02os\x18\x0c \x01(\x0b\x32\x1b.yandex.cloud.compute.v1.Os\x12\x0e\n\x06pooled\x18\x11 \x01(\x08\x12H\n\x13hardware_generation\x18\x12 \x01(\x0b\x32+.yandex.cloud.compute.v1.HardwareGeneration\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01J\x04\x08\r\x10\x11\"\'\n\x13\x43reateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"\xa9\x03\n\x12UpdateImageRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x30\n\rmin_disk_size\x18\x05 \x01(\x03\x42\x19\xfa\xc7\x31\x15\x34\x31\x39\x34\x33\x30\x34-4398046511104\x12\x8c\x01\n\x06labels\x18\x06 \x03(\x0b\x32\x37.yandex.cloud.compute.v1.UpdateImageRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x13UpdateImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"4\n\x12\x44\x65leteImageRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\'\n\x13\x44\x65leteImageMetadata\x12\x10\n\x08image_id\x18\x01 \x01(\t\"z\n\x1aListImageOperationsRequest\x12\x1e\n\x08image_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"m\n\x1bListImageOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe6\r\n\x0cImageService\x12v\n\x03Get\x12(.yandex.cloud.compute.v1.GetImageRequest\x1a\x1e.yandex.cloud.compute.v1.Image\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/compute/v1/images/{image_id}\x12\x96\x01\n\x11GetLatestByFamily\x12\x36.yandex.cloud.compute.v1.GetImageLatestByFamilyRequest\x1a\x1e.yandex.cloud.compute.v1.Image\")\x82\xd3\xe4\x93\x02#\x12!/compute/v1/images:latestByFamily\x12{\n\x04List\x12*.yandex.cloud.compute.v1.ListImagesRequest\x1a+.yandex.cloud.compute.v1.ListImagesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/compute/v1/images\x12\x97\x01\n\x06\x43reate\x12+.yandex.cloud.compute.v1.CreateImageRequest\x1a!.yandex.cloud.operation.Operation\"=\xb2\xd2*\x1c\n\x13\x43reateImageMetadata\x12\x05Image\x82\xd3\xe4\x93\x02\x17\"\x12/compute/v1/images:\x01*\x12\xa2\x01\n\x06Update\x12+.yandex.cloud.compute.v1.UpdateImageRequest\x1a!.yandex.cloud.operation.Operation\"H\xb2\xd2*\x1c\n\x13UpdateImageMetadata\x12\x05Image\x82\xd3\xe4\x93\x02\"2\x1d/compute/v1/images/{image_id}:\x01*\x12\xaf\x01\n\x06\x44\x65lete\x12+.yandex.cloud.compute.v1.DeleteImageRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*,\n\x13\x44\x65leteImageMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1f*\x1d/compute/v1/images/{image_id}\x12\xad\x01\n\x0eListOperations\x12\x33.yandex.cloud.compute.v1.ListImageOperationsRequest\x1a\x34.yandex.cloud.compute.v1.ListImageOperationsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/compute/v1/images/{image_id}/operations\x12\xb2\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/compute/v1/images/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02\x37\"2/compute/v1/images/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:\"5/compute/v1/images/{resource_id}:updateAccessBindings:\x01*Bb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
24
25
 
25
26
  _globals = globals()
26
27
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -108,34 +109,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
108
109
  _IMAGESERVICE.methods_by_name['SetAccessBindings']._serialized_options = b'\262\322*H\n access.SetAccessBindingsMetadata\022$access.AccessBindingsOperationResult\202\323\344\223\0027\"2/compute/v1/images/{resource_id}:setAccessBindings:\001*'
109
110
  _IMAGESERVICE.methods_by_name['UpdateAccessBindings']._options = None
110
111
  _IMAGESERVICE.methods_by_name['UpdateAccessBindings']._serialized_options = b'\262\322*K\n#access.UpdateAccessBindingsMetadata\022$access.AccessBindingsOperationResult\202\323\344\223\002:\"5/compute/v1/images/{resource_id}:updateAccessBindings:\001*'
111
- _globals['_GETIMAGEREQUEST']._serialized_start=312
112
- _globals['_GETIMAGEREQUEST']._serialized_end=361
113
- _globals['_GETIMAGELATESTBYFAMILYREQUEST']._serialized_start=363
114
- _globals['_GETIMAGELATESTBYFAMILYREQUEST']._serialized_end=478
115
- _globals['_LISTIMAGESREQUEST']._serialized_start=481
116
- _globals['_LISTIMAGESREQUEST']._serialized_end=652
117
- _globals['_LISTIMAGESRESPONSE']._serialized_start=654
118
- _globals['_LISTIMAGESRESPONSE']._serialized_end=747
119
- _globals['_CREATEIMAGEREQUEST']._serialized_start=750
120
- _globals['_CREATEIMAGEREQUEST']._serialized_end=1395
121
- _globals['_CREATEIMAGEREQUEST_LABELSENTRY']._serialized_start=1328
122
- _globals['_CREATEIMAGEREQUEST_LABELSENTRY']._serialized_end=1373
123
- _globals['_CREATEIMAGEMETADATA']._serialized_start=1397
124
- _globals['_CREATEIMAGEMETADATA']._serialized_end=1436
125
- _globals['_UPDATEIMAGEREQUEST']._serialized_start=1439
126
- _globals['_UPDATEIMAGEREQUEST']._serialized_end=1864
127
- _globals['_UPDATEIMAGEREQUEST_LABELSENTRY']._serialized_start=1328
128
- _globals['_UPDATEIMAGEREQUEST_LABELSENTRY']._serialized_end=1373
129
- _globals['_UPDATEIMAGEMETADATA']._serialized_start=1866
130
- _globals['_UPDATEIMAGEMETADATA']._serialized_end=1905
131
- _globals['_DELETEIMAGEREQUEST']._serialized_start=1907
132
- _globals['_DELETEIMAGEREQUEST']._serialized_end=1959
133
- _globals['_DELETEIMAGEMETADATA']._serialized_start=1961
134
- _globals['_DELETEIMAGEMETADATA']._serialized_end=2000
135
- _globals['_LISTIMAGEOPERATIONSREQUEST']._serialized_start=2002
136
- _globals['_LISTIMAGEOPERATIONSREQUEST']._serialized_end=2124
137
- _globals['_LISTIMAGEOPERATIONSRESPONSE']._serialized_start=2126
138
- _globals['_LISTIMAGEOPERATIONSRESPONSE']._serialized_end=2235
139
- _globals['_IMAGESERVICE']._serialized_start=2238
140
- _globals['_IMAGESERVICE']._serialized_end=4004
112
+ _globals['_GETIMAGEREQUEST']._serialized_start=363
113
+ _globals['_GETIMAGEREQUEST']._serialized_end=412
114
+ _globals['_GETIMAGELATESTBYFAMILYREQUEST']._serialized_start=414
115
+ _globals['_GETIMAGELATESTBYFAMILYREQUEST']._serialized_end=529
116
+ _globals['_LISTIMAGESREQUEST']._serialized_start=532
117
+ _globals['_LISTIMAGESREQUEST']._serialized_end=703
118
+ _globals['_LISTIMAGESRESPONSE']._serialized_start=705
119
+ _globals['_LISTIMAGESRESPONSE']._serialized_end=798
120
+ _globals['_CREATEIMAGEREQUEST']._serialized_start=801
121
+ _globals['_CREATEIMAGEREQUEST']._serialized_end=1520
122
+ _globals['_CREATEIMAGEREQUEST_LABELSENTRY']._serialized_start=1453
123
+ _globals['_CREATEIMAGEREQUEST_LABELSENTRY']._serialized_end=1498
124
+ _globals['_CREATEIMAGEMETADATA']._serialized_start=1522
125
+ _globals['_CREATEIMAGEMETADATA']._serialized_end=1561
126
+ _globals['_UPDATEIMAGEREQUEST']._serialized_start=1564
127
+ _globals['_UPDATEIMAGEREQUEST']._serialized_end=1989
128
+ _globals['_UPDATEIMAGEREQUEST_LABELSENTRY']._serialized_start=1453
129
+ _globals['_UPDATEIMAGEREQUEST_LABELSENTRY']._serialized_end=1498
130
+ _globals['_UPDATEIMAGEMETADATA']._serialized_start=1991
131
+ _globals['_UPDATEIMAGEMETADATA']._serialized_end=2030
132
+ _globals['_DELETEIMAGEREQUEST']._serialized_start=2032
133
+ _globals['_DELETEIMAGEREQUEST']._serialized_end=2084
134
+ _globals['_DELETEIMAGEMETADATA']._serialized_start=2086
135
+ _globals['_DELETEIMAGEMETADATA']._serialized_end=2125
136
+ _globals['_LISTIMAGEOPERATIONSREQUEST']._serialized_start=2127
137
+ _globals['_LISTIMAGEOPERATIONSREQUEST']._serialized_end=2249
138
+ _globals['_LISTIMAGEOPERATIONSRESPONSE']._serialized_start=2251
139
+ _globals['_LISTIMAGEOPERATIONSRESPONSE']._serialized_end=2360
140
+ _globals['_IMAGESERVICE']._serialized_start=2363
141
+ _globals['_IMAGESERVICE']._serialized_end=4129
141
142
  # @@protoc_insertion_point(module_scope)
@@ -10,6 +10,7 @@ import google.protobuf.field_mask_pb2
10
10
  import google.protobuf.internal.containers
11
11
  import google.protobuf.message
12
12
  import typing
13
+ import yandex.cloud.compute.v1.hardware_generation_pb2
13
14
  import yandex.cloud.compute.v1.image_pb2
14
15
  import yandex.cloud.operation.operation_pb2
15
16
 
@@ -167,6 +168,7 @@ class CreateImageRequest(google.protobuf.message.Message):
167
168
  URI_FIELD_NUMBER: builtins.int
168
169
  OS_FIELD_NUMBER: builtins.int
169
170
  POOLED_FIELD_NUMBER: builtins.int
171
+ HARDWARE_GENERATION_FIELD_NUMBER: builtins.int
170
172
  folder_id: builtins.str
171
173
  """ID of the folder to create an image in.
172
174
  To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
@@ -221,6 +223,12 @@ class CreateImageRequest(google.protobuf.message.Message):
221
223
  If not specified and you used the `image_id` or `disk_id` field to set the source, then the value can be inherited from the source resource.
222
224
  """
223
225
 
226
+ @property
227
+ def hardware_generation(self) -> yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration:
228
+ """Specify the overrides to hardware_generation of a source disk, image or snapshot,
229
+ or to the default values if the source does not define it.
230
+ """
231
+
224
232
  def __init__(
225
233
  self,
226
234
  *,
@@ -237,9 +245,10 @@ class CreateImageRequest(google.protobuf.message.Message):
237
245
  uri: builtins.str = ...,
238
246
  os: yandex.cloud.compute.v1.image_pb2.Os | None = ...,
239
247
  pooled: builtins.bool = ...,
248
+ hardware_generation: yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration | None = ...,
240
249
  ) -> None: ...
241
- def HasField(self, field_name: typing.Literal["disk_id", b"disk_id", "image_id", b"image_id", "os", b"os", "snapshot_id", b"snapshot_id", "source", b"source", "uri", b"uri"]) -> builtins.bool: ...
242
- def ClearField(self, field_name: typing.Literal["description", b"description", "disk_id", b"disk_id", "family", b"family", "folder_id", b"folder_id", "image_id", b"image_id", "labels", b"labels", "min_disk_size", b"min_disk_size", "name", b"name", "os", b"os", "pooled", b"pooled", "product_ids", b"product_ids", "snapshot_id", b"snapshot_id", "source", b"source", "uri", b"uri"]) -> None: ...
250
+ def HasField(self, field_name: typing.Literal["disk_id", b"disk_id", "hardware_generation", b"hardware_generation", "image_id", b"image_id", "os", b"os", "snapshot_id", b"snapshot_id", "source", b"source", "uri", b"uri"]) -> builtins.bool: ...
251
+ def ClearField(self, field_name: typing.Literal["description", b"description", "disk_id", b"disk_id", "family", b"family", "folder_id", b"folder_id", "hardware_generation", b"hardware_generation", "image_id", b"image_id", "labels", b"labels", "min_disk_size", b"min_disk_size", "name", b"name", "os", b"os", "pooled", b"pooled", "product_ids", b"product_ids", "snapshot_id", b"snapshot_id", "source", b"source", "uri", b"uri"]) -> None: ...
243
252
  def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["image_id", "disk_id", "snapshot_id", "uri"] | None: ...
244
253
 
245
254
  global___CreateImageRequest = CreateImageRequest
@@ -13,10 +13,11 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
  from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
15
15
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
+ from yandex.cloud.compute.v1 import hardware_generation_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_hardware__generation__pb2
16
17
  from yandex.cloud.compute.v1 import maintenance_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_maintenance__pb2
17
18
 
18
19
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/compute/v1/instance.proto\x12\x17yandex.cloud.compute.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)yandex/cloud/compute/v1/maintenance.proto\"\xe4\x0c\n\x08Instance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.compute.v1.Instance.LabelsEntry\x12\x0f\n\x07zone_id\x18\x07 \x01(\t\x12\x13\n\x0bplatform_id\x18\x08 \x01(\t\x12\x35\n\tresources\x18\t \x01(\x0b\x32\".yandex.cloud.compute.v1.Resources\x12\x38\n\x06status\x18\n \x01(\x0e\x32(.yandex.cloud.compute.v1.Instance.Status\x12\x41\n\x08metadata\x18\x0b \x03(\x0b\x32/.yandex.cloud.compute.v1.Instance.MetadataEntry\x12\x42\n\x10metadata_options\x18\x17 \x01(\x0b\x32(.yandex.cloud.compute.v1.MetadataOptions\x12\x38\n\tboot_disk\x18\x0c \x01(\x0b\x32%.yandex.cloud.compute.v1.AttachedDisk\x12>\n\x0fsecondary_disks\x18\r \x03(\x0b\x32%.yandex.cloud.compute.v1.AttachedDisk\x12?\n\x0blocal_disks\x18\x16 \x03(\x0b\x32*.yandex.cloud.compute.v1.AttachedLocalDisk\x12@\n\x0b\x66ilesystems\x18\x15 \x03(\x0b\x32+.yandex.cloud.compute.v1.AttachedFilesystem\x12\x45\n\x12network_interfaces\x18\x0e \x03(\x0b\x32).yandex.cloud.compute.v1.NetworkInterface\x12I\n\x14serial_port_settings\x18\x18 \x01(\x0b\x32+.yandex.cloud.compute.v1.SerialPortSettings\x12:\n\x0cgpu_settings\x18\x1a \x01(\x0b\x32$.yandex.cloud.compute.v1.GpuSettings\x12\x0c\n\x04\x66qdn\x18\x10 \x01(\t\x12\x44\n\x11scheduling_policy\x18\x11 \x01(\x0b\x32).yandex.cloud.compute.v1.SchedulingPolicy\x12\x1a\n\x12service_account_id\x18\x12 \x01(\t\x12\x42\n\x10network_settings\x18\x13 \x01(\x0b\x32(.yandex.cloud.compute.v1.NetworkSettings\x12\x42\n\x10placement_policy\x18\x14 \x01(\x0b\x32(.yandex.cloud.compute.v1.PlacementPolicy\x12\x15\n\rhost_group_id\x18\x1b \x01(\t\x12\x0f\n\x07host_id\x18\x1c \x01(\t\x12\x46\n\x12maintenance_policy\x18\x1d \x01(\x0e\x32*.yandex.cloud.compute.v1.MaintenancePolicy\x12;\n\x18maintenance_grace_period\x18\x1e \x01(\x0b\x32\x19.google.protobuf.Duration\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\t\n\x05\x45RROR\x10\x08\x12\x0b\n\x07\x43RASHED\x10\t\x12\x0c\n\x08\x44\x45LETING\x10\nJ\x04\x08\x0f\x10\x10J\x04\x08\x19\x10\x1a\"O\n\tResources\x12\x0e\n\x06memory\x18\x01 \x01(\x03\x12\r\n\x05\x63ores\x18\x02 \x01(\x03\x12\x15\n\rcore_fraction\x18\x03 \x01(\x03\x12\x0c\n\x04gpus\x18\x04 \x01(\x03\"\xc0\x01\n\x0c\x41ttachedDisk\x12\x38\n\x04mode\x18\x01 \x01(\x0e\x32*.yandex.cloud.compute.v1.AttachedDisk.Mode\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x13\n\x0b\x61uto_delete\x18\x03 \x01(\x08\x12\x0f\n\x07\x64isk_id\x18\x04 \x01(\t\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"6\n\x11\x41ttachedLocalDisk\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\"\xbd\x01\n\x12\x41ttachedFilesystem\x12>\n\x04mode\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.compute.v1.AttachedFilesystem.Mode\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x15\n\rfilesystem_id\x18\x03 \x01(\t\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"\xef\x01\n\x10NetworkInterface\x12\r\n\x05index\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12\x11\n\tsubnet_id\x18\x03 \x01(\t\x12\x43\n\x12primary_v4_address\x18\x04 \x01(\x0b\x32\'.yandex.cloud.compute.v1.PrimaryAddress\x12\x43\n\x12primary_v6_address\x18\x05 \x01(\x0b\x32\'.yandex.cloud.compute.v1.PrimaryAddress\x12\x1a\n\x12security_group_ids\x18\x06 \x03(\t\"\x98\x01\n\x0ePrimaryAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0eone_to_one_nat\x18\x02 \x01(\x0b\x32$.yandex.cloud.compute.v1.OneToOneNat\x12\x37\n\x0b\x64ns_records\x18\x03 \x03(\x0b\x32\".yandex.cloud.compute.v1.DnsRecord\"\x8f\x01\n\x0bOneToOneNat\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\nip_version\x18\x02 \x01(\x0e\x32\".yandex.cloud.compute.v1.IpVersion\x12\x37\n\x0b\x64ns_records\x18\x03 \x03(\x0b\x32\".yandex.cloud.compute.v1.DnsRecord\"H\n\tDnsRecord\x12\x0c\n\x04\x66qdn\x18\x01 \x01(\t\x12\x13\n\x0b\x64ns_zone_id\x18\x02 \x01(\t\x12\x0b\n\x03ttl\x18\x03 \x01(\x03\x12\x0b\n\x03ptr\x18\x04 \x01(\x08\"\'\n\x10SchedulingPolicy\x12\x13\n\x0bpreemptible\x18\x01 \x01(\x08\"\xae\x01\n\x0fNetworkSettings\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.yandex.cloud.compute.v1.NetworkSettings.Type\"^\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x18\n\x14SOFTWARE_ACCELERATED\x10\x02\x12\x18\n\x14HARDWARE_ACCELERATED\x10\x03\"%\n\x0bGpuSettings\x12\x16\n\x0egpu_cluster_id\x18\x01 \x01(\t\"\xe4\x02\n\x0fPlacementPolicy\x12\x1a\n\x12placement_group_id\x18\x01 \x01(\t\x12V\n\x13host_affinity_rules\x18\x02 \x03(\x0b\x32\x39.yandex.cloud.compute.v1.PlacementPolicy.HostAffinityRule\x12!\n\x19placement_group_partition\x18\x03 \x01(\x03\x1a\xb9\x01\n\x10HostAffinityRule\x12\x0b\n\x03key\x18\x01 \x01(\t\x12N\n\x02op\x18\x02 \x01(\x0e\x32\x42.yandex.cloud.compute.v1.PlacementPolicy.HostAffinityRule.Operator\x12\x0e\n\x06values\x18\x03 \x03(\t\"8\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x06\n\x02IN\x10\x01\x12\n\n\x06NOT_IN\x10\x02\"\xa1\x02\n\x0fMetadataOptions\x12\x42\n\x11gce_http_endpoint\x18\x01 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12\x45\n\x14\x61ws_v1_http_endpoint\x18\x02 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12?\n\x0egce_http_token\x18\x03 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12\x42\n\x11\x61ws_v1_http_token\x18\x04 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\"\xc9\x01\n\x12SerialPortSettings\x12W\n\x11ssh_authorization\x18\x01 \x01(\x0e\x32<.yandex.cloud.compute.v1.SerialPortSettings.SSHAuthorization\"Z\n\x10SSHAuthorization\x12!\n\x1dSSH_AUTHORIZATION_UNSPECIFIED\x10\x00\x12\x15\n\x11INSTANCE_METADATA\x10\x01\x12\x0c\n\x08OS_LOGIN\x10\x02*;\n\tIpVersion\x12\x1a\n\x16IP_VERSION_UNSPECIFIED\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02*L\n\x0eMetadataOption\x12\x1f\n\x1bMETADATA_OPTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x42\x62\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/compute/v1/instance.proto\x12\x17yandex.cloud.compute.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\x1a)yandex/cloud/compute/v1/maintenance.proto\"\xae\r\n\x08Instance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.compute.v1.Instance.LabelsEntry\x12\x0f\n\x07zone_id\x18\x07 \x01(\t\x12\x13\n\x0bplatform_id\x18\x08 \x01(\t\x12\x35\n\tresources\x18\t \x01(\x0b\x32\".yandex.cloud.compute.v1.Resources\x12\x38\n\x06status\x18\n \x01(\x0e\x32(.yandex.cloud.compute.v1.Instance.Status\x12\x41\n\x08metadata\x18\x0b \x03(\x0b\x32/.yandex.cloud.compute.v1.Instance.MetadataEntry\x12\x42\n\x10metadata_options\x18\x17 \x01(\x0b\x32(.yandex.cloud.compute.v1.MetadataOptions\x12\x38\n\tboot_disk\x18\x0c \x01(\x0b\x32%.yandex.cloud.compute.v1.AttachedDisk\x12>\n\x0fsecondary_disks\x18\r \x03(\x0b\x32%.yandex.cloud.compute.v1.AttachedDisk\x12?\n\x0blocal_disks\x18\x16 \x03(\x0b\x32*.yandex.cloud.compute.v1.AttachedLocalDisk\x12@\n\x0b\x66ilesystems\x18\x15 \x03(\x0b\x32+.yandex.cloud.compute.v1.AttachedFilesystem\x12\x45\n\x12network_interfaces\x18\x0e \x03(\x0b\x32).yandex.cloud.compute.v1.NetworkInterface\x12I\n\x14serial_port_settings\x18\x18 \x01(\x0b\x32+.yandex.cloud.compute.v1.SerialPortSettings\x12:\n\x0cgpu_settings\x18\x1a \x01(\x0b\x32$.yandex.cloud.compute.v1.GpuSettings\x12\x0c\n\x04\x66qdn\x18\x10 \x01(\t\x12\x44\n\x11scheduling_policy\x18\x11 \x01(\x0b\x32).yandex.cloud.compute.v1.SchedulingPolicy\x12\x1a\n\x12service_account_id\x18\x12 \x01(\t\x12\x42\n\x10network_settings\x18\x13 \x01(\x0b\x32(.yandex.cloud.compute.v1.NetworkSettings\x12\x42\n\x10placement_policy\x18\x14 \x01(\x0b\x32(.yandex.cloud.compute.v1.PlacementPolicy\x12\x15\n\rhost_group_id\x18\x1b \x01(\t\x12\x0f\n\x07host_id\x18\x1c \x01(\t\x12\x46\n\x12maintenance_policy\x18\x1d \x01(\x0e\x32*.yandex.cloud.compute.v1.MaintenancePolicy\x12;\n\x18maintenance_grace_period\x18\x1e \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x13hardware_generation\x18\x1f \x01(\x0b\x32+.yandex.cloud.compute.v1.HardwareGeneration\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\t\n\x05\x45RROR\x10\x08\x12\x0b\n\x07\x43RASHED\x10\t\x12\x0c\n\x08\x44\x45LETING\x10\nJ\x04\x08\x0f\x10\x10J\x04\x08\x19\x10\x1a\"O\n\tResources\x12\x0e\n\x06memory\x18\x01 \x01(\x03\x12\r\n\x05\x63ores\x18\x02 \x01(\x03\x12\x15\n\rcore_fraction\x18\x03 \x01(\x03\x12\x0c\n\x04gpus\x18\x04 \x01(\x03\"\xc0\x01\n\x0c\x41ttachedDisk\x12\x38\n\x04mode\x18\x01 \x01(\x0e\x32*.yandex.cloud.compute.v1.AttachedDisk.Mode\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x13\n\x0b\x61uto_delete\x18\x03 \x01(\x08\x12\x0f\n\x07\x64isk_id\x18\x04 \x01(\t\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"6\n\x11\x41ttachedLocalDisk\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\"\xbd\x01\n\x12\x41ttachedFilesystem\x12>\n\x04mode\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.compute.v1.AttachedFilesystem.Mode\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x15\n\rfilesystem_id\x18\x03 \x01(\t\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"\xef\x01\n\x10NetworkInterface\x12\r\n\x05index\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12\x11\n\tsubnet_id\x18\x03 \x01(\t\x12\x43\n\x12primary_v4_address\x18\x04 \x01(\x0b\x32\'.yandex.cloud.compute.v1.PrimaryAddress\x12\x43\n\x12primary_v6_address\x18\x05 \x01(\x0b\x32\'.yandex.cloud.compute.v1.PrimaryAddress\x12\x1a\n\x12security_group_ids\x18\x06 \x03(\t\"\x98\x01\n\x0ePrimaryAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0eone_to_one_nat\x18\x02 \x01(\x0b\x32$.yandex.cloud.compute.v1.OneToOneNat\x12\x37\n\x0b\x64ns_records\x18\x03 \x03(\x0b\x32\".yandex.cloud.compute.v1.DnsRecord\"\x8f\x01\n\x0bOneToOneNat\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\nip_version\x18\x02 \x01(\x0e\x32\".yandex.cloud.compute.v1.IpVersion\x12\x37\n\x0b\x64ns_records\x18\x03 \x03(\x0b\x32\".yandex.cloud.compute.v1.DnsRecord\"H\n\tDnsRecord\x12\x0c\n\x04\x66qdn\x18\x01 \x01(\t\x12\x13\n\x0b\x64ns_zone_id\x18\x02 \x01(\t\x12\x0b\n\x03ttl\x18\x03 \x01(\x03\x12\x0b\n\x03ptr\x18\x04 \x01(\x08\"\'\n\x10SchedulingPolicy\x12\x13\n\x0bpreemptible\x18\x01 \x01(\x08\"\xae\x01\n\x0fNetworkSettings\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.yandex.cloud.compute.v1.NetworkSettings.Type\"^\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x18\n\x14SOFTWARE_ACCELERATED\x10\x02\x12\x18\n\x14HARDWARE_ACCELERATED\x10\x03\"%\n\x0bGpuSettings\x12\x16\n\x0egpu_cluster_id\x18\x01 \x01(\t\"\xe4\x02\n\x0fPlacementPolicy\x12\x1a\n\x12placement_group_id\x18\x01 \x01(\t\x12V\n\x13host_affinity_rules\x18\x02 \x03(\x0b\x32\x39.yandex.cloud.compute.v1.PlacementPolicy.HostAffinityRule\x12!\n\x19placement_group_partition\x18\x03 \x01(\x03\x1a\xb9\x01\n\x10HostAffinityRule\x12\x0b\n\x03key\x18\x01 \x01(\t\x12N\n\x02op\x18\x02 \x01(\x0e\x32\x42.yandex.cloud.compute.v1.PlacementPolicy.HostAffinityRule.Operator\x12\x0e\n\x06values\x18\x03 \x03(\t\"8\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x06\n\x02IN\x10\x01\x12\n\n\x06NOT_IN\x10\x02\"\xa1\x02\n\x0fMetadataOptions\x12\x42\n\x11gce_http_endpoint\x18\x01 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12\x45\n\x14\x61ws_v1_http_endpoint\x18\x02 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12?\n\x0egce_http_token\x18\x03 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12\x42\n\x11\x61ws_v1_http_token\x18\x04 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\"\xc9\x01\n\x12SerialPortSettings\x12W\n\x11ssh_authorization\x18\x01 \x01(\x0e\x32<.yandex.cloud.compute.v1.SerialPortSettings.SSHAuthorization\"Z\n\x10SSHAuthorization\x12!\n\x1dSSH_AUTHORIZATION_UNSPECIFIED\x10\x00\x12\x15\n\x11INSTANCE_METADATA\x10\x01\x12\x0c\n\x08OS_LOGIN\x10\x02*;\n\tIpVersion\x12\x1a\n\x16IP_VERSION_UNSPECIFIED\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02*L\n\x0eMetadataOption\x12\x1f\n\x1bMETADATA_OPTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x42\x62\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
20
21
 
21
22
  _globals = globals()
22
23
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -28,56 +29,56 @@ if _descriptor._USE_C_DESCRIPTORS == False:
28
29
  _INSTANCE_LABELSENTRY._serialized_options = b'8\001'
29
30
  _INSTANCE_METADATAENTRY._options = None
30
31
  _INSTANCE_METADATAENTRY._serialized_options = b'8\001'
31
- _globals['_IPVERSION']._serialized_start=4067
32
- _globals['_IPVERSION']._serialized_end=4126
33
- _globals['_METADATAOPTION']._serialized_start=4128
34
- _globals['_METADATAOPTION']._serialized_end=4204
35
- _globals['_INSTANCE']._serialized_start=176
36
- _globals['_INSTANCE']._serialized_end=1812
37
- _globals['_INSTANCE_LABELSENTRY']._serialized_start=1531
38
- _globals['_INSTANCE_LABELSENTRY']._serialized_end=1576
39
- _globals['_INSTANCE_METADATAENTRY']._serialized_start=1578
40
- _globals['_INSTANCE_METADATAENTRY']._serialized_end=1625
41
- _globals['_INSTANCE_STATUS']._serialized_start=1628
42
- _globals['_INSTANCE_STATUS']._serialized_end=1800
43
- _globals['_RESOURCES']._serialized_start=1814
44
- _globals['_RESOURCES']._serialized_end=1893
45
- _globals['_ATTACHEDDISK']._serialized_start=1896
46
- _globals['_ATTACHEDDISK']._serialized_end=2088
47
- _globals['_ATTACHEDDISK_MODE']._serialized_start=2029
48
- _globals['_ATTACHEDDISK_MODE']._serialized_end=2088
49
- _globals['_ATTACHEDLOCALDISK']._serialized_start=2090
50
- _globals['_ATTACHEDLOCALDISK']._serialized_end=2144
51
- _globals['_ATTACHEDFILESYSTEM']._serialized_start=2147
52
- _globals['_ATTACHEDFILESYSTEM']._serialized_end=2336
53
- _globals['_ATTACHEDFILESYSTEM_MODE']._serialized_start=2029
54
- _globals['_ATTACHEDFILESYSTEM_MODE']._serialized_end=2088
55
- _globals['_NETWORKINTERFACE']._serialized_start=2339
56
- _globals['_NETWORKINTERFACE']._serialized_end=2578
57
- _globals['_PRIMARYADDRESS']._serialized_start=2581
58
- _globals['_PRIMARYADDRESS']._serialized_end=2733
59
- _globals['_ONETOONENAT']._serialized_start=2736
60
- _globals['_ONETOONENAT']._serialized_end=2879
61
- _globals['_DNSRECORD']._serialized_start=2881
62
- _globals['_DNSRECORD']._serialized_end=2953
63
- _globals['_SCHEDULINGPOLICY']._serialized_start=2955
64
- _globals['_SCHEDULINGPOLICY']._serialized_end=2994
65
- _globals['_NETWORKSETTINGS']._serialized_start=2997
66
- _globals['_NETWORKSETTINGS']._serialized_end=3171
67
- _globals['_NETWORKSETTINGS_TYPE']._serialized_start=3077
68
- _globals['_NETWORKSETTINGS_TYPE']._serialized_end=3171
69
- _globals['_GPUSETTINGS']._serialized_start=3173
70
- _globals['_GPUSETTINGS']._serialized_end=3210
71
- _globals['_PLACEMENTPOLICY']._serialized_start=3213
72
- _globals['_PLACEMENTPOLICY']._serialized_end=3569
73
- _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_start=3384
74
- _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_end=3569
75
- _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_start=3513
76
- _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_end=3569
77
- _globals['_METADATAOPTIONS']._serialized_start=3572
78
- _globals['_METADATAOPTIONS']._serialized_end=3861
79
- _globals['_SERIALPORTSETTINGS']._serialized_start=3864
80
- _globals['_SERIALPORTSETTINGS']._serialized_end=4065
81
- _globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_start=3975
82
- _globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_end=4065
32
+ _globals['_IPVERSION']._serialized_start=4192
33
+ _globals['_IPVERSION']._serialized_end=4251
34
+ _globals['_METADATAOPTION']._serialized_start=4253
35
+ _globals['_METADATAOPTION']._serialized_end=4329
36
+ _globals['_INSTANCE']._serialized_start=227
37
+ _globals['_INSTANCE']._serialized_end=1937
38
+ _globals['_INSTANCE_LABELSENTRY']._serialized_start=1656
39
+ _globals['_INSTANCE_LABELSENTRY']._serialized_end=1701
40
+ _globals['_INSTANCE_METADATAENTRY']._serialized_start=1703
41
+ _globals['_INSTANCE_METADATAENTRY']._serialized_end=1750
42
+ _globals['_INSTANCE_STATUS']._serialized_start=1753
43
+ _globals['_INSTANCE_STATUS']._serialized_end=1925
44
+ _globals['_RESOURCES']._serialized_start=1939
45
+ _globals['_RESOURCES']._serialized_end=2018
46
+ _globals['_ATTACHEDDISK']._serialized_start=2021
47
+ _globals['_ATTACHEDDISK']._serialized_end=2213
48
+ _globals['_ATTACHEDDISK_MODE']._serialized_start=2154
49
+ _globals['_ATTACHEDDISK_MODE']._serialized_end=2213
50
+ _globals['_ATTACHEDLOCALDISK']._serialized_start=2215
51
+ _globals['_ATTACHEDLOCALDISK']._serialized_end=2269
52
+ _globals['_ATTACHEDFILESYSTEM']._serialized_start=2272
53
+ _globals['_ATTACHEDFILESYSTEM']._serialized_end=2461
54
+ _globals['_ATTACHEDFILESYSTEM_MODE']._serialized_start=2154
55
+ _globals['_ATTACHEDFILESYSTEM_MODE']._serialized_end=2213
56
+ _globals['_NETWORKINTERFACE']._serialized_start=2464
57
+ _globals['_NETWORKINTERFACE']._serialized_end=2703
58
+ _globals['_PRIMARYADDRESS']._serialized_start=2706
59
+ _globals['_PRIMARYADDRESS']._serialized_end=2858
60
+ _globals['_ONETOONENAT']._serialized_start=2861
61
+ _globals['_ONETOONENAT']._serialized_end=3004
62
+ _globals['_DNSRECORD']._serialized_start=3006
63
+ _globals['_DNSRECORD']._serialized_end=3078
64
+ _globals['_SCHEDULINGPOLICY']._serialized_start=3080
65
+ _globals['_SCHEDULINGPOLICY']._serialized_end=3119
66
+ _globals['_NETWORKSETTINGS']._serialized_start=3122
67
+ _globals['_NETWORKSETTINGS']._serialized_end=3296
68
+ _globals['_NETWORKSETTINGS_TYPE']._serialized_start=3202
69
+ _globals['_NETWORKSETTINGS_TYPE']._serialized_end=3296
70
+ _globals['_GPUSETTINGS']._serialized_start=3298
71
+ _globals['_GPUSETTINGS']._serialized_end=3335
72
+ _globals['_PLACEMENTPOLICY']._serialized_start=3338
73
+ _globals['_PLACEMENTPOLICY']._serialized_end=3694
74
+ _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_start=3509
75
+ _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_end=3694
76
+ _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_start=3638
77
+ _globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_end=3694
78
+ _globals['_METADATAOPTIONS']._serialized_start=3697
79
+ _globals['_METADATAOPTIONS']._serialized_end=3986
80
+ _globals['_SERIALPORTSETTINGS']._serialized_start=3989
81
+ _globals['_SERIALPORTSETTINGS']._serialized_end=4190
82
+ _globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_start=4100
83
+ _globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_end=4190
83
84
  # @@protoc_insertion_point(module_scope)
@@ -13,6 +13,7 @@ import google.protobuf.message
13
13
  import google.protobuf.timestamp_pb2
14
14
  import sys
15
15
  import typing
16
+ import yandex.cloud.compute.v1.hardware_generation_pb2
16
17
  import yandex.cloud.compute.v1.maintenance_pb2
17
18
 
18
19
  if sys.version_info >= (3, 10):
@@ -181,6 +182,7 @@ class Instance(google.protobuf.message.Message):
181
182
  HOST_ID_FIELD_NUMBER: builtins.int
182
183
  MAINTENANCE_POLICY_FIELD_NUMBER: builtins.int
183
184
  MAINTENANCE_GRACE_PERIOD_FIELD_NUMBER: builtins.int
185
+ HARDWARE_GENERATION_FIELD_NUMBER: builtins.int
184
186
  id: builtins.str
185
187
  """ID of the instance."""
186
188
  folder_id: builtins.str
@@ -277,6 +279,10 @@ class Instance(google.protobuf.message.Message):
277
279
  def maintenance_grace_period(self) -> google.protobuf.duration_pb2.Duration:
278
280
  """Time between notification via metadata service and maintenance"""
279
281
 
282
+ @property
283
+ def hardware_generation(self) -> yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration:
284
+ """This feature set is inherited from the image/disk used as a boot one at the creation of the instance."""
285
+
280
286
  def __init__(
281
287
  self,
282
288
  *,
@@ -308,9 +314,10 @@ class Instance(google.protobuf.message.Message):
308
314
  host_id: builtins.str = ...,
309
315
  maintenance_policy: yandex.cloud.compute.v1.maintenance_pb2.MaintenancePolicy.ValueType = ...,
310
316
  maintenance_grace_period: google.protobuf.duration_pb2.Duration | None = ...,
317
+ hardware_generation: yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration | None = ...,
311
318
  ) -> None: ...
312
- def HasField(self, field_name: typing.Literal["boot_disk", b"boot_disk", "created_at", b"created_at", "gpu_settings", b"gpu_settings", "maintenance_grace_period", b"maintenance_grace_period", "metadata_options", b"metadata_options", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "serial_port_settings", b"serial_port_settings"]) -> builtins.bool: ...
313
- def ClearField(self, field_name: typing.Literal["boot_disk", b"boot_disk", "created_at", b"created_at", "description", b"description", "filesystems", b"filesystems", "folder_id", b"folder_id", "fqdn", b"fqdn", "gpu_settings", b"gpu_settings", "host_group_id", b"host_group_id", "host_id", b"host_id", "id", b"id", "labels", b"labels", "local_disks", b"local_disks", "maintenance_grace_period", b"maintenance_grace_period", "maintenance_policy", b"maintenance_policy", "metadata", b"metadata", "metadata_options", b"metadata_options", "name", b"name", "network_interfaces", b"network_interfaces", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "platform_id", b"platform_id", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "secondary_disks", b"secondary_disks", "serial_port_settings", b"serial_port_settings", "service_account_id", b"service_account_id", "status", b"status", "zone_id", b"zone_id"]) -> None: ...
319
+ def HasField(self, field_name: typing.Literal["boot_disk", b"boot_disk", "created_at", b"created_at", "gpu_settings", b"gpu_settings", "hardware_generation", b"hardware_generation", "maintenance_grace_period", b"maintenance_grace_period", "metadata_options", b"metadata_options", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "serial_port_settings", b"serial_port_settings"]) -> builtins.bool: ...
320
+ def ClearField(self, field_name: typing.Literal["boot_disk", b"boot_disk", "created_at", b"created_at", "description", b"description", "filesystems", b"filesystems", "folder_id", b"folder_id", "fqdn", b"fqdn", "gpu_settings", b"gpu_settings", "hardware_generation", b"hardware_generation", "host_group_id", b"host_group_id", "host_id", b"host_id", "id", b"id", "labels", b"labels", "local_disks", b"local_disks", "maintenance_grace_period", b"maintenance_grace_period", "maintenance_policy", b"maintenance_policy", "metadata", b"metadata", "metadata_options", b"metadata_options", "name", b"name", "network_interfaces", b"network_interfaces", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "platform_id", b"platform_id", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "secondary_disks", b"secondary_disks", "serial_port_settings", b"serial_port_settings", "service_account_id", b"service_account_id", "status", b"status", "zone_id", b"zone_id"]) -> None: ...
314
321
 
315
322
  global___Instance = Instance
316
323
 
@@ -12,9 +12,10 @@ _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
14
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+ from yandex.cloud.compute.v1 import hardware_generation_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_hardware__generation__pb2
15
16
 
16
17
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/compute/v1/snapshot.proto\x12\x17yandex.cloud.compute.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x03\n\x08Snapshot\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.compute.v1.Snapshot.LabelsEntry\x12\x14\n\x0cstorage_size\x18\x07 \x01(\x03\x12\x11\n\tdisk_size\x18\x08 \x01(\x03\x12\x13\n\x0bproduct_ids\x18\t \x03(\t\x12\x38\n\x06status\x18\n \x01(\x0e\x32(.yandex.cloud.compute.v1.Snapshot.Status\x12\x16\n\x0esource_disk_id\x18\x0b \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x42\x62\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/compute/v1/snapshot.proto\x12\x17yandex.cloud.compute.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\"\x98\x04\n\x08Snapshot\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.compute.v1.Snapshot.LabelsEntry\x12\x14\n\x0cstorage_size\x18\x07 \x01(\x03\x12\x11\n\tdisk_size\x18\x08 \x01(\x03\x12\x13\n\x0bproduct_ids\x18\t \x03(\t\x12\x38\n\x06status\x18\n \x01(\x0e\x32(.yandex.cloud.compute.v1.Snapshot.Status\x12\x16\n\x0esource_disk_id\x18\x0b \x01(\t\x12H\n\x13hardware_generation\x18\x0c \x01(\x0b\x32+.yandex.cloud.compute.v1.HardwareGeneration\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x42\x62\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
18
19
 
19
20
  _globals = globals()
20
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,10 +25,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
24
25
  DESCRIPTOR._serialized_options = b'\n\033yandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;compute'
25
26
  _SNAPSHOT_LABELSENTRY._options = None
26
27
  _SNAPSHOT_LABELSENTRY._serialized_options = b'8\001'
27
- _globals['_SNAPSHOT']._serialized_start=101
28
- _globals['_SNAPSHOT']._serialized_end=563
29
- _globals['_SNAPSHOT_LABELSENTRY']._serialized_start=434
30
- _globals['_SNAPSHOT_LABELSENTRY']._serialized_end=479
31
- _globals['_SNAPSHOT_STATUS']._serialized_start=481
32
- _globals['_SNAPSHOT_STATUS']._serialized_end=563
28
+ _globals['_SNAPSHOT']._serialized_start=152
29
+ _globals['_SNAPSHOT']._serialized_end=688
30
+ _globals['_SNAPSHOT_LABELSENTRY']._serialized_start=559
31
+ _globals['_SNAPSHOT_LABELSENTRY']._serialized_end=604
32
+ _globals['_SNAPSHOT_STATUS']._serialized_start=606
33
+ _globals['_SNAPSHOT_STATUS']._serialized_end=688
33
34
  # @@protoc_insertion_point(module_scope)
@@ -12,6 +12,7 @@ import google.protobuf.message
12
12
  import google.protobuf.timestamp_pb2
13
13
  import sys
14
14
  import typing
15
+ import yandex.cloud.compute.v1.hardware_generation_pb2
15
16
 
16
17
  if sys.version_info >= (3, 10):
17
18
  import typing as typing_extensions
@@ -80,6 +81,7 @@ class Snapshot(google.protobuf.message.Message):
80
81
  PRODUCT_IDS_FIELD_NUMBER: builtins.int
81
82
  STATUS_FIELD_NUMBER: builtins.int
82
83
  SOURCE_DISK_ID_FIELD_NUMBER: builtins.int
84
+ HARDWARE_GENERATION_FIELD_NUMBER: builtins.int
83
85
  id: builtins.str
84
86
  """ID of the snapshot."""
85
87
  folder_id: builtins.str
@@ -118,6 +120,12 @@ class Snapshot(google.protobuf.message.Message):
118
120
  You can specify them in the [yandex.cloud.compute.v1.ImageService.Create] request.
119
121
  """
120
122
 
123
+ @property
124
+ def hardware_generation(self) -> yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration:
125
+ """If specified, forces the same HardwareGeneration features to be applied to the instance
126
+ created using this snapshot as source for the boot disk. Otherwise the current default will be used.
127
+ """
128
+
121
129
  def __init__(
122
130
  self,
123
131
  *,
@@ -132,8 +140,9 @@ class Snapshot(google.protobuf.message.Message):
132
140
  product_ids: collections.abc.Iterable[builtins.str] | None = ...,
133
141
  status: global___Snapshot.Status.ValueType = ...,
134
142
  source_disk_id: builtins.str = ...,
143
+ hardware_generation: yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration | None = ...,
135
144
  ) -> None: ...
136
- def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
137
- def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "disk_size", b"disk_size", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "product_ids", b"product_ids", "source_disk_id", b"source_disk_id", "status", b"status", "storage_size", b"storage_size"]) -> None: ...
145
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "hardware_generation", b"hardware_generation"]) -> builtins.bool: ...
146
+ def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "disk_size", b"disk_size", "folder_id", b"folder_id", "hardware_generation", b"hardware_generation", "id", b"id", "labels", b"labels", "name", b"name", "product_ids", b"product_ids", "source_disk_id", b"source_disk_id", "status", b"status", "storage_size", b"storage_size"]) -> None: ...
138
147
 
139
148
  global___Snapshot = Snapshot
@@ -15,12 +15,13 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
15
  from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
16
16
  from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
17
17
  from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
18
+ from yandex.cloud.compute.v1 import hardware_generation_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_hardware__generation__pb2
18
19
  from yandex.cloud.compute.v1 import snapshot_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_snapshot__pb2
19
20
  from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
20
21
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
21
22
 
22
23
 
23
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/compute/v1/snapshot_service.proto\x12\x17yandex.cloud.compute.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/compute/v1/snapshot.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"7\n\x12GetSnapshotRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xae\x01\n\x14ListSnapshotsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x1b\n\x08order_by\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"f\n\x15ListSnapshotsResponse\x12\x34\n\tsnapshots\x18\x01 \x03(\x0b\x32!.yandex.cloud.compute.v1.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf2\x02\n\x15\x43reateSnapshotRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x07\x64isk_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8f\x01\n\x06labels\x18\x06 \x03(\x0b\x32:.yandex.cloud.compute.v1.CreateSnapshotRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x06\">\n\x16\x43reateSnapshotMetadata\x12\x13\n\x0bsnapshot_id\x18\x01 \x01(\t\x12\x0f\n\x07\x64isk_id\x18\x02 \x01(\t\"\x80\x03\n\x15UpdateSnapshotRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8f\x01\n\x06labels\x18\x05 \x03(\x0b\x32:.yandex.cloud.compute.v1.UpdateSnapshotRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateSnapshotMetadata\x12\x13\n\x0bsnapshot_id\x18\x01 \x01(\t\":\n\x15\x44\x65leteSnapshotRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteSnapshotMetadata\x12\x13\n\x0bsnapshot_id\x18\x01 \x01(\t\"\x80\x01\n\x1dListSnapshotOperationsRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"p\n\x1eListSnapshotOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xa3\r\n\x0fSnapshotService\x12\x82\x01\n\x03Get\x12+.yandex.cloud.compute.v1.GetSnapshotRequest\x1a!.yandex.cloud.compute.v1.Snapshot\"+\x82\xd3\xe4\x93\x02%\x12#/compute/v1/snapshots/{snapshot_id}\x12\x84\x01\n\x04List\x12-.yandex.cloud.compute.v1.ListSnapshotsRequest\x1a..yandex.cloud.compute.v1.ListSnapshotsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/compute/v1/snapshots\x12\xa3\x01\n\x06\x43reate\x12..yandex.cloud.compute.v1.CreateSnapshotRequest\x1a!.yandex.cloud.operation.Operation\"F\xb2\xd2*\"\n\x16\x43reateSnapshotMetadata\x12\x08Snapshot\x82\xd3\xe4\x93\x02\x1a\"\x15/compute/v1/snapshots:\x01*\x12\xb1\x01\n\x06Update\x12..yandex.cloud.compute.v1.UpdateSnapshotRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2*\"\n\x16UpdateSnapshotMetadata\x12\x08Snapshot\x82\xd3\xe4\x93\x02(2#/compute/v1/snapshots/{snapshot_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12..yandex.cloud.compute.v1.DeleteSnapshotRequest\x1a!.yandex.cloud.operation.Operation\"^\xb2\xd2*/\n\x16\x44\x65leteSnapshotMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/compute/v1/snapshots/{snapshot_id}\x12\xb9\x01\n\x0eListOperations\x12\x36.yandex.cloud.compute.v1.ListSnapshotOperationsRequest\x1a\x37.yandex.cloud.compute.v1.ListSnapshotOperationsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./compute/v1/snapshots/{snapshot_id}/operations\x12\xb5\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/compute/v1/snapshots/{resource_id}:listAccessBindings\x12\xf4\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8c\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:\"5/compute/v1/snapshots/{resource_id}:setAccessBindings:\x01*\x12\x80\x02\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x92\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02=\"8/compute/v1/snapshots/{resource_id}:updateAccessBindings:\x01*Bb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/compute/v1/snapshot_service.proto\x12\x17yandex.cloud.compute.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\x1a&yandex/cloud/compute/v1/snapshot.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"7\n\x12GetSnapshotRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xae\x01\n\x14ListSnapshotsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x1b\n\x08order_by\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"f\n\x15ListSnapshotsResponse\x12\x34\n\tsnapshots\x18\x01 \x03(\x0b\x32!.yandex.cloud.compute.v1.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x03\n\x15\x43reateSnapshotRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x07\x64isk_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8f\x01\n\x06labels\x18\x06 \x03(\x0b\x32:.yandex.cloud.compute.v1.CreateSnapshotRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12H\n\x13hardware_generation\x18\x07 \x01(\x0b\x32+.yandex.cloud.compute.v1.HardwareGeneration\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x06\">\n\x16\x43reateSnapshotMetadata\x12\x13\n\x0bsnapshot_id\x18\x01 \x01(\t\x12\x0f\n\x07\x64isk_id\x18\x02 \x01(\t\"\x80\x03\n\x15UpdateSnapshotRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x32\n\x04name\x18\x03 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x8f\x01\n\x06labels\x18\x05 \x03(\x0b\x32:.yandex.cloud.compute.v1.UpdateSnapshotRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateSnapshotMetadata\x12\x13\n\x0bsnapshot_id\x18\x01 \x01(\t\":\n\x15\x44\x65leteSnapshotRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteSnapshotMetadata\x12\x13\n\x0bsnapshot_id\x18\x01 \x01(\t\"\x80\x01\n\x1dListSnapshotOperationsRequest\x12!\n\x0bsnapshot_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"p\n\x1eListSnapshotOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xa3\r\n\x0fSnapshotService\x12\x82\x01\n\x03Get\x12+.yandex.cloud.compute.v1.GetSnapshotRequest\x1a!.yandex.cloud.compute.v1.Snapshot\"+\x82\xd3\xe4\x93\x02%\x12#/compute/v1/snapshots/{snapshot_id}\x12\x84\x01\n\x04List\x12-.yandex.cloud.compute.v1.ListSnapshotsRequest\x1a..yandex.cloud.compute.v1.ListSnapshotsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/compute/v1/snapshots\x12\xa3\x01\n\x06\x43reate\x12..yandex.cloud.compute.v1.CreateSnapshotRequest\x1a!.yandex.cloud.operation.Operation\"F\xb2\xd2*\"\n\x16\x43reateSnapshotMetadata\x12\x08Snapshot\x82\xd3\xe4\x93\x02\x1a\"\x15/compute/v1/snapshots:\x01*\x12\xb1\x01\n\x06Update\x12..yandex.cloud.compute.v1.UpdateSnapshotRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2*\"\n\x16UpdateSnapshotMetadata\x12\x08Snapshot\x82\xd3\xe4\x93\x02(2#/compute/v1/snapshots/{snapshot_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12..yandex.cloud.compute.v1.DeleteSnapshotRequest\x1a!.yandex.cloud.operation.Operation\"^\xb2\xd2*/\n\x16\x44\x65leteSnapshotMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/compute/v1/snapshots/{snapshot_id}\x12\xb9\x01\n\x0eListOperations\x12\x36.yandex.cloud.compute.v1.ListSnapshotOperationsRequest\x1a\x37.yandex.cloud.compute.v1.ListSnapshotOperationsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./compute/v1/snapshots/{snapshot_id}/operations\x12\xb5\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/compute/v1/snapshots/{resource_id}:listAccessBindings\x12\xf4\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8c\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:\"5/compute/v1/snapshots/{resource_id}:setAccessBindings:\x01*\x12\x80\x02\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x92\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02=\"8/compute/v1/snapshots/{resource_id}:updateAccessBindings:\x01*Bb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
24
25
 
25
26
  _globals = globals()
26
27
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -88,32 +89,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
88
89
  _SNAPSHOTSERVICE.methods_by_name['SetAccessBindings']._serialized_options = b'\262\322*H\n access.SetAccessBindingsMetadata\022$access.AccessBindingsOperationResult\202\323\344\223\002:\"5/compute/v1/snapshots/{resource_id}:setAccessBindings:\001*'
89
90
  _SNAPSHOTSERVICE.methods_by_name['UpdateAccessBindings']._options = None
90
91
  _SNAPSHOTSERVICE.methods_by_name['UpdateAccessBindings']._serialized_options = b'\262\322*K\n#access.UpdateAccessBindingsMetadata\022$access.AccessBindingsOperationResult\202\323\344\223\002=\"8/compute/v1/snapshots/{resource_id}:updateAccessBindings:\001*'
91
- _globals['_GETSNAPSHOTREQUEST']._serialized_start=318
92
- _globals['_GETSNAPSHOTREQUEST']._serialized_end=373
93
- _globals['_LISTSNAPSHOTSREQUEST']._serialized_start=376
94
- _globals['_LISTSNAPSHOTSREQUEST']._serialized_end=550
95
- _globals['_LISTSNAPSHOTSRESPONSE']._serialized_start=552
96
- _globals['_LISTSNAPSHOTSRESPONSE']._serialized_end=654
97
- _globals['_CREATESNAPSHOTREQUEST']._serialized_start=657
98
- _globals['_CREATESNAPSHOTREQUEST']._serialized_end=1027
99
- _globals['_CREATESNAPSHOTREQUEST_LABELSENTRY']._serialized_start=976
100
- _globals['_CREATESNAPSHOTREQUEST_LABELSENTRY']._serialized_end=1021
101
- _globals['_CREATESNAPSHOTMETADATA']._serialized_start=1029
102
- _globals['_CREATESNAPSHOTMETADATA']._serialized_end=1091
103
- _globals['_UPDATESNAPSHOTREQUEST']._serialized_start=1094
104
- _globals['_UPDATESNAPSHOTREQUEST']._serialized_end=1478
105
- _globals['_UPDATESNAPSHOTREQUEST_LABELSENTRY']._serialized_start=976
106
- _globals['_UPDATESNAPSHOTREQUEST_LABELSENTRY']._serialized_end=1021
107
- _globals['_UPDATESNAPSHOTMETADATA']._serialized_start=1480
108
- _globals['_UPDATESNAPSHOTMETADATA']._serialized_end=1525
109
- _globals['_DELETESNAPSHOTREQUEST']._serialized_start=1527
110
- _globals['_DELETESNAPSHOTREQUEST']._serialized_end=1585
111
- _globals['_DELETESNAPSHOTMETADATA']._serialized_start=1587
112
- _globals['_DELETESNAPSHOTMETADATA']._serialized_end=1632
113
- _globals['_LISTSNAPSHOTOPERATIONSREQUEST']._serialized_start=1635
114
- _globals['_LISTSNAPSHOTOPERATIONSREQUEST']._serialized_end=1763
115
- _globals['_LISTSNAPSHOTOPERATIONSRESPONSE']._serialized_start=1765
116
- _globals['_LISTSNAPSHOTOPERATIONSRESPONSE']._serialized_end=1877
117
- _globals['_SNAPSHOTSERVICE']._serialized_start=1880
118
- _globals['_SNAPSHOTSERVICE']._serialized_end=3579
92
+ _globals['_GETSNAPSHOTREQUEST']._serialized_start=369
93
+ _globals['_GETSNAPSHOTREQUEST']._serialized_end=424
94
+ _globals['_LISTSNAPSHOTSREQUEST']._serialized_start=427
95
+ _globals['_LISTSNAPSHOTSREQUEST']._serialized_end=601
96
+ _globals['_LISTSNAPSHOTSRESPONSE']._serialized_start=603
97
+ _globals['_LISTSNAPSHOTSRESPONSE']._serialized_end=705
98
+ _globals['_CREATESNAPSHOTREQUEST']._serialized_start=708
99
+ _globals['_CREATESNAPSHOTREQUEST']._serialized_end=1152
100
+ _globals['_CREATESNAPSHOTREQUEST_LABELSENTRY']._serialized_start=1101
101
+ _globals['_CREATESNAPSHOTREQUEST_LABELSENTRY']._serialized_end=1146
102
+ _globals['_CREATESNAPSHOTMETADATA']._serialized_start=1154
103
+ _globals['_CREATESNAPSHOTMETADATA']._serialized_end=1216
104
+ _globals['_UPDATESNAPSHOTREQUEST']._serialized_start=1219
105
+ _globals['_UPDATESNAPSHOTREQUEST']._serialized_end=1603
106
+ _globals['_UPDATESNAPSHOTREQUEST_LABELSENTRY']._serialized_start=1101
107
+ _globals['_UPDATESNAPSHOTREQUEST_LABELSENTRY']._serialized_end=1146
108
+ _globals['_UPDATESNAPSHOTMETADATA']._serialized_start=1605
109
+ _globals['_UPDATESNAPSHOTMETADATA']._serialized_end=1650
110
+ _globals['_DELETESNAPSHOTREQUEST']._serialized_start=1652
111
+ _globals['_DELETESNAPSHOTREQUEST']._serialized_end=1710
112
+ _globals['_DELETESNAPSHOTMETADATA']._serialized_start=1712
113
+ _globals['_DELETESNAPSHOTMETADATA']._serialized_end=1757
114
+ _globals['_LISTSNAPSHOTOPERATIONSREQUEST']._serialized_start=1760
115
+ _globals['_LISTSNAPSHOTOPERATIONSREQUEST']._serialized_end=1888
116
+ _globals['_LISTSNAPSHOTOPERATIONSRESPONSE']._serialized_start=1890
117
+ _globals['_LISTSNAPSHOTOPERATIONSRESPONSE']._serialized_end=2002
118
+ _globals['_SNAPSHOTSERVICE']._serialized_start=2005
119
+ _globals['_SNAPSHOTSERVICE']._serialized_end=3704
119
120
  # @@protoc_insertion_point(module_scope)
@@ -10,6 +10,7 @@ import google.protobuf.field_mask_pb2
10
10
  import google.protobuf.internal.containers
11
11
  import google.protobuf.message
12
12
  import typing
13
+ import yandex.cloud.compute.v1.hardware_generation_pb2
13
14
  import yandex.cloud.compute.v1.snapshot_pb2
14
15
  import yandex.cloud.operation.operation_pb2
15
16
 
@@ -137,6 +138,7 @@ class CreateSnapshotRequest(google.protobuf.message.Message):
137
138
  NAME_FIELD_NUMBER: builtins.int
138
139
  DESCRIPTION_FIELD_NUMBER: builtins.int
139
140
  LABELS_FIELD_NUMBER: builtins.int
141
+ HARDWARE_GENERATION_FIELD_NUMBER: builtins.int
140
142
  folder_id: builtins.str
141
143
  """ID of the folder to create a snapshot in.
142
144
  To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
@@ -153,6 +155,12 @@ class CreateSnapshotRequest(google.protobuf.message.Message):
153
155
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
154
156
  """Resource labels as `key:value` pairs."""
155
157
 
158
+ @property
159
+ def hardware_generation(self) -> yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration:
160
+ """Specify the overrides to hardware_generation of a source disk, image or snapshot,
161
+ or to the default values if the source does not define it.
162
+ """
163
+
156
164
  def __init__(
157
165
  self,
158
166
  *,
@@ -161,8 +169,10 @@ class CreateSnapshotRequest(google.protobuf.message.Message):
161
169
  name: builtins.str = ...,
162
170
  description: builtins.str = ...,
163
171
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
172
+ hardware_generation: yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration | None = ...,
164
173
  ) -> None: ...
165
- def ClearField(self, field_name: typing.Literal["description", b"description", "disk_id", b"disk_id", "folder_id", b"folder_id", "labels", b"labels", "name", b"name"]) -> None: ...
174
+ def HasField(self, field_name: typing.Literal["hardware_generation", b"hardware_generation"]) -> builtins.bool: ...
175
+ def ClearField(self, field_name: typing.Literal["description", b"description", "disk_id", b"disk_id", "folder_id", b"folder_id", "hardware_generation", b"hardware_generation", "labels", b"labels", "name", b"name"]) -> None: ...
166
176
 
167
177
  global___CreateSnapshotRequest = CreateSnapshotRequest
168
178
 
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/iam/v1/service_account.proto\x12\x13yandex.cloud.iam.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf2\x01\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12?\n\x06labels\x18\x06 \x03(\x0b\x32/.yandex.cloud.iam.v1.ServiceAccount.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42V\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/iam/v1/service_account.proto\x12\x13yandex.cloud.iam.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12?\n\x06labels\x18\x06 \x03(\x0b\x32/.yandex.cloud.iam.v1.ServiceAccount.LabelsEntry\x12\x39\n\x15last_authenticated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42V\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -25,7 +25,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
25
25
  _SERVICEACCOUNT_LABELSENTRY._options = None
26
26
  _SERVICEACCOUNT_LABELSENTRY._serialized_options = b'8\001'
27
27
  _globals['_SERVICEACCOUNT']._serialized_start=100
28
- _globals['_SERVICEACCOUNT']._serialized_end=342
29
- _globals['_SERVICEACCOUNT_LABELSENTRY']._serialized_start=297
30
- _globals['_SERVICEACCOUNT_LABELSENTRY']._serialized_end=342
28
+ _globals['_SERVICEACCOUNT']._serialized_end=401
29
+ _globals['_SERVICEACCOUNT_LABELSENTRY']._serialized_start=356
30
+ _globals['_SERVICEACCOUNT_LABELSENTRY']._serialized_end=401
31
31
  # @@protoc_insertion_point(module_scope)