runtime.proto 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. // Copyright 2022 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.cloud.notebooks.v1;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. import "google/cloud/notebooks/v1/environment.proto";
  19. import "google/protobuf/timestamp.proto";
  20. option csharp_namespace = "Google.Cloud.Notebooks.V1";
  21. option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "RuntimeProto";
  24. option java_package = "com.google.cloud.notebooks.v1";
  25. option php_namespace = "Google\\Cloud\\Notebooks\\V1";
  26. option ruby_package = "Google::Cloud::Notebooks::V1";
  27. // The definition of a Runtime for a managed notebook instance.
  28. message Runtime {
  29. option (google.api.resource) = {
  30. type: "notebooks.googleapis.com/Runtime"
  31. pattern: "projects/{project}/locations/{location}/runtimes/{runtime}"
  32. };
  33. // The definition of the states of this runtime.
  34. enum State {
  35. // State is not specified.
  36. STATE_UNSPECIFIED = 0;
  37. // The compute layer is starting the runtime. It is not ready for use.
  38. STARTING = 1;
  39. // The compute layer is installing required frameworks and registering the
  40. // runtime with notebook proxy. It cannot be used.
  41. PROVISIONING = 2;
  42. // The runtime is currently running. It is ready for use.
  43. ACTIVE = 3;
  44. // The control logic is stopping the runtime. It cannot be used.
  45. STOPPING = 4;
  46. // The runtime is stopped. It cannot be used.
  47. STOPPED = 5;
  48. // The runtime is being deleted. It cannot be used.
  49. DELETING = 6;
  50. // The runtime is upgrading. It cannot be used.
  51. UPGRADING = 7;
  52. // The runtime is being created and set up. It is not ready for use.
  53. INITIALIZING = 8;
  54. }
  55. // The runtime substate.
  56. enum HealthState {
  57. // The runtime substate is unknown.
  58. HEALTH_STATE_UNSPECIFIED = 0;
  59. // The runtime is known to be in an healthy state
  60. // (for example, critical daemons are running)
  61. // Applies to ACTIVE state.
  62. HEALTHY = 1;
  63. // The runtime is known to be in an unhealthy state
  64. // (for example, critical daemons are not running)
  65. // Applies to ACTIVE state.
  66. UNHEALTHY = 2;
  67. // The runtime has not installed health monitoring agent.
  68. // Applies to ACTIVE state.
  69. AGENT_NOT_INSTALLED = 3;
  70. // The runtime health monitoring agent is not running.
  71. // Applies to ACTIVE state.
  72. AGENT_NOT_RUNNING = 4;
  73. }
  74. // Output only. The resource name of the runtime.
  75. // Format:
  76. // `projects/{project}/locations/{location}/runtimes/{runtimeId}`
  77. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  78. // Type of the runtime; currently only supports Compute Engine VM.
  79. oneof runtime_type {
  80. // Use a Compute Engine VM image to start the managed notebook instance.
  81. VirtualMachine virtual_machine = 2;
  82. }
  83. // Output only. Runtime state.
  84. State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  85. // Output only. Runtime health_state.
  86. HealthState health_state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  87. // The config settings for accessing runtime.
  88. RuntimeAccessConfig access_config = 5;
  89. // The config settings for software inside the runtime.
  90. RuntimeSoftwareConfig software_config = 6;
  91. // Output only. Contains Runtime daemon metrics such as Service status and JupyterLab
  92. // stats.
  93. RuntimeMetrics metrics = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
  94. // Output only. Runtime creation time.
  95. google.protobuf.Timestamp create_time = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
  96. // Output only. Runtime update time.
  97. google.protobuf.Timestamp update_time = 21 [(google.api.field_behavior) = OUTPUT_ONLY];
  98. }
  99. // Definition of the types of hardware accelerators that can be used.
  100. // Definition of the types of hardware accelerators that can be used.
  101. // See [Compute Engine
  102. // AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
  103. // Examples:
  104. //
  105. // * `nvidia-tesla-k80`
  106. // * `nvidia-tesla-p100`
  107. // * `nvidia-tesla-v100`
  108. // * `nvidia-tesla-p4`
  109. // * `nvidia-tesla-t4`
  110. // * `nvidia-tesla-a100`
  111. message RuntimeAcceleratorConfig {
  112. // Type of this accelerator.
  113. enum AcceleratorType {
  114. // Accelerator type is not specified.
  115. ACCELERATOR_TYPE_UNSPECIFIED = 0;
  116. // Accelerator type is Nvidia Tesla K80.
  117. NVIDIA_TESLA_K80 = 1 [deprecated = true];
  118. // Accelerator type is Nvidia Tesla P100.
  119. NVIDIA_TESLA_P100 = 2;
  120. // Accelerator type is Nvidia Tesla V100.
  121. NVIDIA_TESLA_V100 = 3;
  122. // Accelerator type is Nvidia Tesla P4.
  123. NVIDIA_TESLA_P4 = 4;
  124. // Accelerator type is Nvidia Tesla T4.
  125. NVIDIA_TESLA_T4 = 5;
  126. // Accelerator type is Nvidia Tesla A100.
  127. NVIDIA_TESLA_A100 = 6;
  128. // (Coming soon) Accelerator type is TPU V2.
  129. TPU_V2 = 7;
  130. // (Coming soon) Accelerator type is TPU V3.
  131. TPU_V3 = 8;
  132. // Accelerator type is NVIDIA Tesla T4 Virtual Workstations.
  133. NVIDIA_TESLA_T4_VWS = 9;
  134. // Accelerator type is NVIDIA Tesla P100 Virtual Workstations.
  135. NVIDIA_TESLA_P100_VWS = 10;
  136. // Accelerator type is NVIDIA Tesla P4 Virtual Workstations.
  137. NVIDIA_TESLA_P4_VWS = 11;
  138. }
  139. // Accelerator model.
  140. AcceleratorType type = 1;
  141. // Count of cores of this accelerator.
  142. int64 core_count = 2;
  143. }
  144. // Represents a custom encryption key configuration that can be applied to
  145. // a resource. This will encrypt all disks in Virtual Machine.
  146. message EncryptionConfig {
  147. // The Cloud KMS resource identifier of the customer-managed encryption key
  148. // used to protect a resource, such as a disks. It has the following
  149. // format:
  150. // `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
  151. string kms_key = 1;
  152. }
  153. // A Local attached disk resource.
  154. message LocalDisk {
  155. // Optional. A list of features to enable on the guest operating system.
  156. // Applicable only for bootable images.
  157. // Read [Enabling guest operating system
  158. // features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
  159. // to see a list of available options.
  160. // Guest OS features for boot disk.
  161. message RuntimeGuestOsFeature {
  162. // The ID of a supported feature. Read [Enabling guest operating system
  163. // features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
  164. // to see a list of available options.
  165. //
  166. // Valid values:
  167. //
  168. // * FEATURE_TYPE_UNSPECIFIED
  169. // * MULTI_IP_SUBNET
  170. // * SECURE_BOOT
  171. // * UEFI_COMPATIBLE
  172. // * VIRTIO_SCSI_MULTIQUEUE
  173. // * WINDOWS
  174. string type = 1;
  175. }
  176. // Optional. Output only. Specifies whether the disk will be auto-deleted when the
  177. // instance is deleted (but not when the disk is detached from the instance).
  178. bool auto_delete = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  179. // Optional. Output only. Indicates that this is a boot disk. The virtual machine
  180. // will use the first partition of the disk for its root filesystem.
  181. bool boot = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  182. // Optional. Output only. Specifies a unique device name
  183. // of your choice that is reflected into the
  184. // /dev/disk/by-id/google-* tree of a Linux operating system running within
  185. // the instance. This name can be used to reference the device for mounting,
  186. // resizing, and so on, from within the instance.
  187. //
  188. // If not specified, the server chooses a default device name to apply to this
  189. // disk, in the form persistent-disk-x, where x is a number assigned by Google
  190. // Compute Engine. This field is only applicable for persistent disks.
  191. string device_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  192. // Output only. Indicates a list of features to enable on the guest operating system.
  193. // Applicable only for bootable images. Read Enabling guest operating
  194. // system features to see a list of available options.
  195. repeated RuntimeGuestOsFeature guest_os_features = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  196. // Output only. A zero-based index to this disk, where 0 is reserved for the
  197. // boot disk. If you have many disks attached to an instance, each disk would
  198. // have a unique index number.
  199. int32 index = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
  200. // Input only. Specifies the parameters for a new disk that will be created
  201. // alongside the new instance. Use initialization parameters to create boot
  202. // disks or local SSDs attached to the new instance.
  203. //
  204. // This property is mutually exclusive with the source property; you can only
  205. // define one or the other, but not both.
  206. LocalDiskInitializeParams initialize_params = 6 [(google.api.field_behavior) = INPUT_ONLY];
  207. // Specifies the disk interface to use for attaching this disk, which is
  208. // either SCSI or NVME. The default is SCSI. Persistent disks must always use
  209. // SCSI and the request will fail if you attempt to attach a persistent disk
  210. // in any other format than SCSI. Local SSDs can use either NVME or SCSI. For
  211. // performance characteristics of SCSI over NVMe, see Local SSD performance.
  212. // Valid values:
  213. //
  214. // * NVME
  215. // * SCSI
  216. string interface = 7;
  217. // Output only. Type of the resource. Always compute#attachedDisk for attached disks.
  218. string kind = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
  219. // Output only. Any valid publicly visible licenses.
  220. repeated string licenses = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
  221. // The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If
  222. // not specified, the default is to attach the disk in READ_WRITE mode.
  223. // Valid values:
  224. //
  225. // * READ_ONLY
  226. // * READ_WRITE
  227. string mode = 10;
  228. // Specifies a valid partial or full URL to an existing Persistent Disk
  229. // resource.
  230. string source = 11;
  231. // Specifies the type of the disk, either SCRATCH or PERSISTENT. If not
  232. // specified, the default is PERSISTENT.
  233. // Valid values:
  234. //
  235. // * PERSISTENT
  236. // * SCRATCH
  237. string type = 12;
  238. }
  239. // Input only. Specifies the parameters for a new disk that will be created
  240. // alongside the new instance. Use initialization parameters to create boot
  241. // disks or local SSDs attached to the new runtime.
  242. // This property is mutually exclusive with the source property; you can only
  243. // define one or the other, but not both.
  244. message LocalDiskInitializeParams {
  245. // Possible disk types.
  246. enum DiskType {
  247. // Disk type not set.
  248. DISK_TYPE_UNSPECIFIED = 0;
  249. // Standard persistent disk type.
  250. PD_STANDARD = 1;
  251. // SSD persistent disk type.
  252. PD_SSD = 2;
  253. // Balanced persistent disk type.
  254. PD_BALANCED = 3;
  255. // Extreme persistent disk type.
  256. PD_EXTREME = 4;
  257. }
  258. // Optional. Provide this property when creating the disk.
  259. string description = 1 [(google.api.field_behavior) = OPTIONAL];
  260. // Optional. Specifies the disk name. If not specified, the default is to use the name
  261. // of the instance. If the disk with the instance name exists already in the
  262. // given zone/region, a new name will be automatically generated.
  263. string disk_name = 2 [(google.api.field_behavior) = OPTIONAL];
  264. // Optional. Specifies the size of the disk in base-2 GB. If not specified, the disk
  265. // will be the same size as the image (usually 10GB). If specified, the size
  266. // must be equal to or larger than 10GB. Default 100 GB.
  267. int64 disk_size_gb = 3 [(google.api.field_behavior) = OPTIONAL];
  268. // Input only. The type of the boot disk attached to this instance, defaults to
  269. // standard persistent disk (`PD_STANDARD`).
  270. DiskType disk_type = 4 [(google.api.field_behavior) = INPUT_ONLY];
  271. // Optional. Labels to apply to this disk. These can be later modified by the
  272. // disks.setLabels method. This field is only applicable for persistent disks.
  273. map<string, string> labels = 5 [(google.api.field_behavior) = OPTIONAL];
  274. }
  275. // Specifies the login configuration for Runtime
  276. message RuntimeAccessConfig {
  277. // Possible ways to access runtime. Authentication mode.
  278. // Currently supports: Single User only.
  279. enum RuntimeAccessType {
  280. // Unspecified access.
  281. RUNTIME_ACCESS_TYPE_UNSPECIFIED = 0;
  282. // Single user login.
  283. SINGLE_USER = 1;
  284. // Service Account mode.
  285. // In Service Account mode, Runtime creator will specify a SA that exists
  286. // in the consumer project. Using Runtime Service Account field.
  287. // Users accessing the Runtime need ActAs (Service Account User) permission.
  288. SERVICE_ACCOUNT = 2;
  289. }
  290. // The type of access mode this instance.
  291. RuntimeAccessType access_type = 1;
  292. // The owner of this runtime after creation. Format: `alias@example.com`
  293. // Currently supports one owner only.
  294. string runtime_owner = 2;
  295. // Output only. The proxy endpoint that is used to access the runtime.
  296. string proxy_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  297. }
  298. // Specifies the selection and configuration of software inside the runtime.
  299. // The properties to set on runtime.
  300. // Properties keys are specified in `key:value` format, for example:
  301. //
  302. // * `idle_shutdown: true`
  303. // * `idle_shutdown_timeout: 180`
  304. // * `enable_health_monitoring: true`
  305. message RuntimeSoftwareConfig {
  306. // Behavior for the post startup script.
  307. enum PostStartupScriptBehavior {
  308. // Unspecified post startup script behavior. Will run only once at creation.
  309. POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0;
  310. // Runs the post startup script provided during creation at every start.
  311. RUN_EVERY_START = 1;
  312. // Downloads and runs the provided post startup script at every start.
  313. DOWNLOAD_AND_RUN_EVERY_START = 2;
  314. }
  315. // Cron expression in UTC timezone, used to schedule instance auto upgrade.
  316. // Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).
  317. string notebook_upgrade_schedule = 1;
  318. // Verifies core internal services are running.
  319. // Default: True
  320. optional bool enable_health_monitoring = 2;
  321. // Runtime will automatically shutdown after idle_shutdown_time.
  322. // Default: True
  323. optional bool idle_shutdown = 3;
  324. // Time in minutes to wait before shutting down runtime. Default: 180 minutes
  325. int32 idle_shutdown_timeout = 4;
  326. // Install Nvidia Driver automatically.
  327. // Default: True
  328. bool install_gpu_driver = 5;
  329. // Specify a custom Cloud Storage path where the GPU driver is stored.
  330. // If not specified, we'll automatically choose from official GPU drivers.
  331. string custom_gpu_driver_path = 6;
  332. // Path to a Bash script that automatically runs after a notebook instance
  333. // fully boots up. The path must be a URL or
  334. // Cloud Storage path (`gs://path-to-file/file-name`).
  335. string post_startup_script = 7;
  336. // Optional. Use a list of container images to use as Kernels in the notebook instance.
  337. repeated ContainerImage kernels = 8 [(google.api.field_behavior) = OPTIONAL];
  338. // Output only. Bool indicating whether an newer image is available in an image family.
  339. optional bool upgradeable = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
  340. // Behavior for the post startup script.
  341. PostStartupScriptBehavior post_startup_script_behavior = 10;
  342. // Bool indicating whether JupyterLab terminal will be available or not.
  343. // Default: False
  344. optional bool disable_terminal = 11;
  345. // Output only. version of boot image such as M100, from release label of the image.
  346. optional string version = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
  347. }
  348. // Contains runtime daemon metrics, such as OS and kernels and sessions stats.
  349. message RuntimeMetrics {
  350. // Output only. The system metrics.
  351. map<string, string> system_metrics = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  352. }
  353. // A set of Shielded Instance options.
  354. // Check [Images using supported Shielded VM
  355. // features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
  356. // Not all combinations are valid.
  357. message RuntimeShieldedInstanceConfig {
  358. // Defines whether the instance has Secure Boot enabled.
  359. //
  360. // Secure Boot helps ensure that the system only runs authentic software by
  361. // verifying the digital signature of all boot components, and halting the
  362. // boot process if signature verification fails. Disabled by default.
  363. bool enable_secure_boot = 1;
  364. // Defines whether the instance has the vTPM enabled. Enabled by default.
  365. bool enable_vtpm = 2;
  366. // Defines whether the instance has integrity monitoring enabled.
  367. //
  368. // Enables monitoring and attestation of the boot integrity of the instance.
  369. // The attestation is performed against the integrity policy baseline. This
  370. // baseline is initially derived from the implicitly trusted boot image when
  371. // the instance is created. Enabled by default.
  372. bool enable_integrity_monitoring = 3;
  373. }
  374. // Runtime using Virtual Machine for computing.
  375. message VirtualMachine {
  376. // Output only. The user-friendly name of the Managed Compute Engine instance.
  377. string instance_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  378. // Output only. The unique identifier of the Managed Compute Engine instance.
  379. string instance_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  380. // Virtual Machine configuration settings.
  381. VirtualMachineConfig virtual_machine_config = 3;
  382. }
  383. // The config settings for virtual machine.
  384. message VirtualMachineConfig {
  385. // The type of vNIC driver.
  386. // Default should be UNSPECIFIED_NIC_TYPE.
  387. enum NicType {
  388. // No type specified.
  389. UNSPECIFIED_NIC_TYPE = 0;
  390. // VIRTIO
  391. VIRTIO_NET = 1;
  392. // GVNIC
  393. GVNIC = 2;
  394. }
  395. // Definition of the boot image used by the Runtime.
  396. // Used to facilitate runtime upgradeability.
  397. message BootImage {
  398. }
  399. // Output only. The zone where the virtual machine is located.
  400. // If using regional request, the notebooks service will pick a location
  401. // in the corresponding runtime region.
  402. // On a get request, zone will always be present. Example:
  403. // * `us-central1-b`
  404. string zone = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  405. // Required. The Compute Engine machine type used for runtimes.
  406. // Short name is valid. Examples:
  407. // * `n1-standard-2`
  408. // * `e2-standard-8`
  409. string machine_type = 2 [(google.api.field_behavior) = REQUIRED];
  410. // Optional. Use a list of container images to use as Kernels in the notebook instance.
  411. repeated ContainerImage container_images = 3 [(google.api.field_behavior) = OPTIONAL];
  412. // Required. Data disk option configuration settings.
  413. LocalDisk data_disk = 4 [(google.api.field_behavior) = REQUIRED];
  414. // Optional. Encryption settings for virtual machine data disk.
  415. EncryptionConfig encryption_config = 5 [(google.api.field_behavior) = OPTIONAL];
  416. // Optional. Shielded VM Instance configuration settings.
  417. RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(google.api.field_behavior) = OPTIONAL];
  418. // Optional. The Compute Engine accelerator configuration for this runtime.
  419. RuntimeAcceleratorConfig accelerator_config = 7 [(google.api.field_behavior) = OPTIONAL];
  420. // Optional. The Compute Engine network to be used for machine
  421. // communications. Cannot be specified with subnetwork. If neither
  422. // `network` nor `subnet` is specified, the "default" network of
  423. // the project is used, if it exists.
  424. //
  425. // A full URL or partial URI. Examples:
  426. //
  427. // * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default`
  428. // * `projects/[project_id]/global/networks/default`
  429. //
  430. // Runtimes are managed resources inside Google Infrastructure.
  431. // Runtimes support the following network configurations:
  432. //
  433. // * Google Managed Network (Network & subnet are empty)
  434. // * Consumer Project VPC (network & subnet are required). Requires
  435. // configuring Private Service Access.
  436. // * Shared VPC (network & subnet are required). Requires configuring Private
  437. // Service Access.
  438. string network = 8 [(google.api.field_behavior) = OPTIONAL];
  439. // Optional. The Compute Engine subnetwork to be used for machine
  440. // communications. Cannot be specified with network.
  441. //
  442. // A full URL or partial URI are valid. Examples:
  443. //
  444. // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`
  445. // * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
  446. string subnet = 9 [(google.api.field_behavior) = OPTIONAL];
  447. // Optional. If true, runtime will only have internal IP
  448. // addresses. By default, runtimes are not restricted to internal IP
  449. // addresses, and will have ephemeral external IP addresses assigned to each
  450. // vm. This `internal_ip_only` restriction can only be enabled for
  451. // subnetwork enabled networks, and all dependencies must be
  452. // configured to be accessible without external IP addresses.
  453. bool internal_ip_only = 10 [(google.api.field_behavior) = OPTIONAL];
  454. // Optional. The Compute Engine tags to add to runtime (see [Tagging
  455. // instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
  456. repeated string tags = 13 [(google.api.field_behavior) = OPTIONAL];
  457. // Output only. The Compute Engine guest attributes. (see
  458. // [Project and instance
  459. // guest
  460. // attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
  461. map<string, string> guest_attributes = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
  462. // Optional. The Compute Engine metadata entries to add to virtual machine. (see
  463. // [Project and instance
  464. // metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
  465. map<string, string> metadata = 15 [(google.api.field_behavior) = OPTIONAL];
  466. // Optional. The labels to associate with this runtime.
  467. // Label **keys** must contain 1 to 63 characters, and must conform to
  468. // [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
  469. // Label **values** may be empty, but, if present, must contain 1 to 63
  470. // characters, and must conform to [RFC
  471. // 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
  472. // associated with a cluster.
  473. map<string, string> labels = 16 [(google.api.field_behavior) = OPTIONAL];
  474. // Optional. The type of vNIC to be used on this interface. This may be gVNIC or
  475. // VirtioNet.
  476. NicType nic_type = 17 [(google.api.field_behavior) = OPTIONAL];
  477. // Optional. Reserved IP Range name is used for VPC Peering.
  478. // The subnetwork allocation will use the range *name* if it's assigned.
  479. //
  480. // Example: managed-notebooks-range-c
  481. // PEERING_RANGE_NAME_3=managed-notebooks-range-c
  482. // gcloud compute addresses create $PEERING_RANGE_NAME_3 \
  483. // --global \
  484. // --prefix-length=24 \
  485. // --description="Google Cloud Managed Notebooks Range 24 c" \
  486. // --network=$NETWORK \
  487. // --addresses=192.168.0.0 \
  488. // --purpose=VPC_PEERING
  489. //
  490. // Field value will be: `managed-notebooks-range-c`
  491. string reserved_ip_range = 18 [(google.api.field_behavior) = OPTIONAL];
  492. // Optional. Boot image metadata used for runtime upgradeability.
  493. BootImage boot_image = 19 [(google.api.field_behavior) = OPTIONAL];
  494. }