@@ -314,17 +314,14 @@ class LocationPolicy
314314 # https://cloud.google.com/compute/docs/disks#localssds.
315315 # @!attribute [rw] image
316316 # @return [::String]
317- # Name of an image used as the data source.
317+ # URL for a VM image to use as the data source for this disk .
318318 # For example, the following are all valid URLs:
319319 #
320320 # * Specify the image by its family name:
321- # <pre><code>projects/<var
322- # class="apiparam">project</var>/global/images/family/<var
323- # class="apiparam">image_family</var></code></pre>
321+ # projects/\\{project}/global/images/family/\\{image_family}
324322 # * Specify the image version:
325- # <pre>projects/<var
326- # class="apiparam">project</var>/global/images/<var
327- # class="apiparam">image_version</var></code></pre>
323+ # projects/\\{project}/global/images/\\{image_version}
324+ #
328325 # You can also use Batch customized image in short names.
329326 # The following image values are supported for a boot disk:
330327 #
@@ -432,12 +429,18 @@ class Accelerator
432429 # @return [::Array<::Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk>]
433430 # Non-boot disks to be attached for each VM created by this InstancePolicy.
434431 # New disks will be deleted when the VM is deleted.
432+ # A non-boot disk is a disk that can be of a device with a
433+ # file system or a raw storage drive that is not ready for data
434+ # storage and accessing.
435435 class InstancePolicy
436436 include ::Google ::Protobuf ::MessageExts
437437 extend ::Google ::Protobuf ::MessageExts ::ClassMethods
438438 end
439439
440- # Either an InstancePolicy or an instance template.
440+ # InstancePolicyOrTemplate lets you define the type of resources to use for
441+ # this job either with an InstancePolicy or an instance template.
442+ # If undefined, Batch picks the type of VM to use and doesn't include
443+ # optional VM resources such as GPUs and extra disks.
441444 # @!attribute [rw] policy
442445 # @return [::Google::Cloud::Batch::V1::AllocationPolicy::InstancePolicy]
443446 # InstancePolicy.
@@ -470,30 +473,20 @@ class InstancePolicyOrTemplate
470473 # You can specify the network as a full or partial URL.
471474 #
472475 # For example, the following are all valid URLs:
473- # <pre><code>https://www.googleapis.com/compute/v1/projects/<var
474- # class="apiparam">project</var>/global/networks/<var
475- # class="apiparam">network</var></code></pre>
476- # <pre><code>projects/<var
477- # class="apiparam">project</var>/global/networks/<var
478- # class="apiparam">network</var></code></pre>
479- # <pre><code>global/networks/<var
480- # class="apiparam">network</var></code></pre>
476+ #
477+ # * https://www.googleapis.com/compute/v1/projects/\\{project}/global/networks/\\{network}
478+ # * projects/\\{project}/global/networks/\\{network}
479+ # * global/networks/\\{network}
481480 # @!attribute [rw] subnetwork
482481 # @return [::String]
483482 # The URL of an existing subnetwork resource in the network.
484483 # You can specify the subnetwork as a full or partial URL.
485484 #
486485 # For example, the following are all valid URLs:
487- # <pre><code>https://www.googleapis.com/compute/v1/projects/<var
488- # class="apiparam">project</var>/regions/<var
489- # class="apiparam">region</var>/subnetworks/<var
490- # class="apiparam">subnetwork</var></code></pre>
491- # <pre><code>projects/<var class="apiparam">project</var>/regions/<var
492- # class="apiparam">region</var>/subnetworks/<var
493- # class="apiparam">subnetwork</var></code></pre>
494- # <pre><code>regions/<var
495- # class="apiparam">region</var>/subnetworks/<var
496- # class="apiparam">subnetwork</var></code></pre>
486+ #
487+ # * https://www.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetwork}
488+ # * projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetwork}
489+ # * regions/\\{region}/subnetworks/\\{subnetwork}
497490 # @!attribute [rw] no_external_ip_address
498491 # @return [::Boolean]
499492 # Default is false (with an external IP address). Required if
0 commit comments