@@ -253,17 +253,14 @@ message AllocationPolicy {
253253 message Disk {
254254 // A data source from which a PD will be created.
255255 oneof data_source {
256- // Name of an image used as the data source.
256+ // URL for a VM image to use as the data source for this disk .
257257 // For example, the following are all valid URLs:
258258 //
259259 // * Specify the image by its family name:
260- // <pre><code>projects/<var
261- // class="apiparam">project</var>/global/images/family/<var
262- // class="apiparam">image_family</var></code></pre>
260+ // projects/{project}/global/images/family/{image_family}
263261 // * Specify the image version:
264- // <pre>projects/<var
265- // class="apiparam">project</var>/global/images/<var
266- // class="apiparam">image_version</var></code></pre>
262+ // projects/{project}/global/images/{image_version}
263+ //
267264 // You can also use Batch customized image in short names.
268265 // The following image values are supported for a boot disk:
269266 //
@@ -365,10 +362,16 @@ message AllocationPolicy {
365362
366363 // Non-boot disks to be attached for each VM created by this InstancePolicy.
367364 // New disks will be deleted when the VM is deleted.
365+ // A non-boot disk is a disk that can be of a device with a
366+ // file system or a raw storage drive that is not ready for data
367+ // storage and accessing.
368368 repeated AttachedDisk disks = 6 ;
369369 }
370370
371- // Either an InstancePolicy or an instance template.
371+ // InstancePolicyOrTemplate lets you define the type of resources to use for
372+ // this job either with an InstancePolicy or an instance template.
373+ // If undefined, Batch picks the type of VM to use and doesn't include
374+ // optional VM resources such as GPUs and extra disks.
372375 message InstancePolicyOrTemplate {
373376 oneof policy_template {
374377 // InstancePolicy.
@@ -399,30 +402,20 @@ message AllocationPolicy {
399402 // You can specify the network as a full or partial URL.
400403 //
401404 // For example, the following are all valid URLs:
402- // <pre><code>https://www.googleapis.com/compute/v1/projects/<var
403- // class="apiparam">project</var>/global/networks/<var
404- // class="apiparam">network</var></code></pre>
405- // <pre><code>projects/<var
406- // class="apiparam">project</var>/global/networks/<var
407- // class="apiparam">network</var></code></pre>
408- // <pre><code>global/networks/<var
409- // class="apiparam">network</var></code></pre>
405+ //
406+ // * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
407+ // * projects/{project}/global/networks/{network}
408+ // * global/networks/{network}
410409 string network = 1 ;
411410
412411 // The URL of an existing subnetwork resource in the network.
413412 // You can specify the subnetwork as a full or partial URL.
414413 //
415414 // For example, the following are all valid URLs:
416- // <pre><code>https://www.googleapis.com/compute/v1/projects/<var
417- // class="apiparam">project</var>/regions/<var
418- // class="apiparam">region</var>/subnetworks/<var
419- // class="apiparam">subnetwork</var></code></pre>
420- // <pre><code>projects/<var class="apiparam">project</var>/regions/<var
421- // class="apiparam">region</var>/subnetworks/<var
422- // class="apiparam">subnetwork</var></code></pre>
423- // <pre><code>regions/<var
424- // class="apiparam">region</var>/subnetworks/<var
425- // class="apiparam">subnetwork</var></code></pre>
415+ //
416+ // * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
417+ // * projects/{project}/regions/{region}/subnetworks/{subnetwork}
418+ // * regions/{region}/subnetworks/{subnetwork}
426419 string subnetwork = 2 ;
427420
428421 // Default is false (with an external IP address). Required if
0 commit comments