|
|
|
@ -105,9 +105,9 @@ message Instance { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Definition of a hardware accelerator. Note that not all combinations |
|
|
|
|
// of `type` and `core_count` are valid. Check [GPUs on |
|
|
|
|
// Compute Engine](/compute/docs/gpus/#gpus-list) to find a valid |
|
|
|
|
// combination. TPUs are not supported. |
|
|
|
|
// of `type` and `core_count` are valid. Check [GPUs on Compute |
|
|
|
|
// Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a |
|
|
|
|
// valid combination. TPUs are not supported. |
|
|
|
|
message AcceleratorConfig { |
|
|
|
|
// Type of this accelerator. |
|
|
|
|
AcceleratorType type = 1; |
|
|
|
@ -194,12 +194,12 @@ message Instance { |
|
|
|
|
// features to see a list of available options. |
|
|
|
|
// Valid values: |
|
|
|
|
// |
|
|
|
|
// * FEATURE_TYPE_UNSPECIFIED |
|
|
|
|
// * MULTI_IP_SUBNET |
|
|
|
|
// * SECURE_BOOT |
|
|
|
|
// * UEFI_COMPATIBLE |
|
|
|
|
// * VIRTIO_SCSI_MULTIQUEUE |
|
|
|
|
// * WINDOWS |
|
|
|
|
// * `FEATURE_TYPE_UNSPECIFIED` |
|
|
|
|
// * `MULTI_IP_SUBNET` |
|
|
|
|
// * `SECURE_BOOT` |
|
|
|
|
// * `UEFI_COMPATIBLE` |
|
|
|
|
// * `VIRTIO_SCSI_MULTIQUEUE` |
|
|
|
|
// * `WINDOWS` |
|
|
|
|
string type = 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -212,9 +212,9 @@ message Instance { |
|
|
|
|
bool boot = 2; |
|
|
|
|
|
|
|
|
|
// Indicates a unique device name of your choice that is reflected into the |
|
|
|
|
// /dev/disk/by-id/google-* tree of a Linux operating system running within |
|
|
|
|
// the instance. This name can be used to reference the device for mounting, |
|
|
|
|
// resizing, and so on, from within the instance. |
|
|
|
|
// `/dev/disk/by-id/google-*` tree of a Linux operating system running |
|
|
|
|
// within the instance. This name can be used to reference the device for |
|
|
|
|
// mounting, resizing, and so on, from within the instance. |
|
|
|
|
// |
|
|
|
|
// If not specified, the server chooses a default device name to apply to |
|
|
|
|
// this disk, in the form persistent-disk-x, where x is a number assigned by |
|
|
|
@ -242,8 +242,8 @@ message Instance { |
|
|
|
|
// performance. |
|
|
|
|
// Valid values: |
|
|
|
|
// |
|
|
|
|
// * NVME |
|
|
|
|
// * SCSI |
|
|
|
|
// * `NVME` |
|
|
|
|
// * `SCSI` |
|
|
|
|
string interface = 7; |
|
|
|
|
|
|
|
|
|
// Type of the resource. Always compute#attachedDisk for attached |
|
|
|
@ -255,28 +255,29 @@ message Instance { |
|
|
|
|
// and marketplace images. |
|
|
|
|
repeated string licenses = 9; |
|
|
|
|
|
|
|
|
|
// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If |
|
|
|
|
// not specified, the default is to attach the disk in READ_WRITE mode. |
|
|
|
|
// Valid values: |
|
|
|
|
// The mode in which to attach this disk, either `READ_WRITE` or |
|
|
|
|
// `READ_ONLY`. If not specified, the default is to attach the disk in |
|
|
|
|
// `READ_WRITE` mode. Valid values: |
|
|
|
|
// |
|
|
|
|
// * READ_ONLY |
|
|
|
|
// * READ_WRITE |
|
|
|
|
// * `READ_ONLY` |
|
|
|
|
// * `READ_WRITE` |
|
|
|
|
string mode = 10; |
|
|
|
|
|
|
|
|
|
// Indicates a valid partial or full URL to an existing Persistent Disk |
|
|
|
|
// resource. |
|
|
|
|
string source = 11; |
|
|
|
|
|
|
|
|
|
// Indicates the type of the disk, either SCRATCH or PERSISTENT. |
|
|
|
|
// Indicates the type of the disk, either `SCRATCH` or `PERSISTENT`. |
|
|
|
|
// Valid values: |
|
|
|
|
// |
|
|
|
|
// * PERSISTENT |
|
|
|
|
// * SCRATCH |
|
|
|
|
// * `PERSISTENT` |
|
|
|
|
// * `SCRATCH` |
|
|
|
|
string type = 12; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// A set of Shielded Instance options. |
|
|
|
|
// Check [Images using supported Shielded VM features] |
|
|
|
|
// Check [Images using supported Shielded VM |
|
|
|
|
// features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). |
|
|
|
|
// Not all combinations are valid. |
|
|
|
|
message ShieldedInstanceConfig { |
|
|
|
|
// Defines whether the instance has Secure Boot enabled. |
|
|
|
@ -348,7 +349,7 @@ message Instance { |
|
|
|
|
// The time that this instance upgrade history entry is created. |
|
|
|
|
google.protobuf.Timestamp create_time = 7; |
|
|
|
|
|
|
|
|
|
// Target VM Image. Format: ainotebooks-vm/project/image-name/name. |
|
|
|
|
// Target VM Image. Format: `ainotebooks-vm/project/image-name/name`. |
|
|
|
|
string target_image = 8 [deprecated = true]; |
|
|
|
|
|
|
|
|
|
// Action. Rolloback or Upgrade. |
|
|
|
@ -421,14 +422,15 @@ message Instance { |
|
|
|
|
// https://www.googleapis.com/auth/compute |
|
|
|
|
repeated string service_account_scopes = 31 [(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
|
|
|
|
|
// Required. The [Compute Engine machine type](/compute/docs/machine-types) of this |
|
|
|
|
// Required. The [Compute Engine machine |
|
|
|
|
// type](https://cloud.google.com/compute/docs/machine-types) of this |
|
|
|
|
// instance. |
|
|
|
|
string machine_type = 8 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The hardware accelerator used on this instance. If you use |
|
|
|
|
// accelerators, make sure that your configuration has |
|
|
|
|
// [enough vCPUs and memory to support the `machine_type` you |
|
|
|
|
// have selected](/compute/docs/gpus/#gpus-list). |
|
|
|
|
// [enough vCPUs and memory to support the `machine_type` you have |
|
|
|
|
// selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). |
|
|
|
|
AcceleratorConfig accelerator_config = 9; |
|
|
|
|
|
|
|
|
|
// Output only. The state of this instance. |
|
|
|
@ -449,8 +451,8 @@ message Instance { |
|
|
|
|
DiskType boot_disk_type = 13 [(google.api.field_behavior) = INPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// Input only. The size of the boot disk in GB attached to this instance, up to a maximum |
|
|
|
|
// of 64000 GB (64 TB). The minimum recommended value is |
|
|
|
|
// 100 GB. If not specified, this defaults to 100. |
|
|
|
|
// of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not |
|
|
|
|
// specified, this defaults to 100. |
|
|
|
|
int64 boot_disk_size_gb = 14 [(google.api.field_behavior) = INPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// Input only. The type of the data disk attached to this instance, defaults to |
|
|
|
@ -458,9 +460,8 @@ message Instance { |
|
|
|
|
DiskType data_disk_type = 25 [(google.api.field_behavior) = INPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// Input only. The size of the data disk in GB attached to this instance, up to a maximum |
|
|
|
|
// of 64000 GB (64 TB). You can choose the size of the data disk |
|
|
|
|
// based on how big your notebooks and data are. If not specified, this |
|
|
|
|
// defaults to 100. |
|
|
|
|
// of 64000 GB (64 TB). You can choose the size of the data disk based on how |
|
|
|
|
// big your notebooks and data are. If not specified, this defaults to 100. |
|
|
|
|
int64 data_disk_size_gb = 26 [(google.api.field_behavior) = INPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// Input only. If true, the data disk will not be auto deleted when deleting the instance. |
|
|
|
|