@@ -31,6 +31,15 @@ class Accelerator
3131 # @return [Fixnum]
3232 attr_accessor :count
3333
34+ # Optional. The NVIDIA GPU driver version that should be installed for this type.
35+ # You can define the specific driver version such as "470.103.01", following
36+ # the driver version requirements in https://cloud.google.com/compute/docs/gpus/
37+ # install-drivers-gpu#minimum-driver. Batch will install the specific
38+ # accelerator driver if qualified.
39+ # Corresponds to the JSON property `driverVersion`
40+ # @return [String]
41+ attr_accessor :driver_version
42+
3443 # Deprecated: please use instances[0].install_gpu_drivers instead.
3544 # Corresponds to the JSON property `installGpuDrivers`
3645 # @return [Boolean]
@@ -50,6 +59,7 @@ def initialize(**args)
5059 # Update properties of this object
5160 def update! ( **args )
5261 @count = args [ :count ] if args . key? ( :count )
62+ @driver_version = args [ :driver_version ] if args . key? ( :driver_version )
5363 @install_gpu_drivers = args [ :install_gpu_drivers ] if args . key? ( :install_gpu_drivers )
5464 @type = args [ :type ] if args . key? ( :type )
5565 end
@@ -162,7 +172,7 @@ def update!(**args)
162172 class AgentInfo
163173 include Google ::Apis ::Core ::Hashable
164174
165- # The assigned Job ID
175+ # Optional. The assigned Job ID
166176 # Corresponds to the JSON property `jobId`
167177 # @return [String]
168178 attr_accessor :job_id
@@ -796,14 +806,14 @@ class Disk
796806 # @return [String]
797807 attr_accessor :disk_interface
798808
799- # Name of a public or custom image used as the data source. For example, the
800- # following are all valid URLs: * Specify the image by its family name: projects/
801- # `project`/global/ images/family/` image_family` * Specify the image version:
802- # projects/`project`/ global/images/` image_version` You can also use Batch
803- # customized image in short names. The following image values are supported for
804- # a boot disk: * "batch- debian" : use Batch Debian images. * " batch-centos" : use
805- # Batch CentOS images. * " batch-cos" : use Batch Container-Optimized images. * "
806- # batch-hpc-centos": use Batch HPC CentOS images.
809+ # Name of an image used as the data source. For example, the following are all
810+ # valid URLs: * Specify the image by its family name: projects/project/global /
811+ # images/family/image_family * Specify the image version: projects/project/
812+ # global/images/image_version You can also use Batch customized image in short
813+ # names. The following image values are supported for a boot disk: * `batch-
814+ # debian` : use Batch Debian images. * ` batch-centos` : use Batch CentOS images. *
815+ # ` batch-cos` : use Batch Container-Optimized images. * `batch-hpc-centos`: use
816+ # Batch HPC CentOS images.
807817 # Corresponds to the JSON property `image`
808818 # @return [String]
809819 attr_accessor :image
@@ -976,7 +986,12 @@ class InstancePolicyOrTemplate
976986
977987 # Set this field true if users want Batch to help fetch drivers from a third
978988 # party location and install them for GPUs specified in policy.accelerators or
979- # instance_template on their behalf. Default is false.
989+ # instance_template on their behalf. Default is false. For Container-Optimized
990+ # Image cases, Batch will install the accelerator driver following milestones of
991+ # https://cloud.google.com/container-optimized-os/docs/release-notes. For non
992+ # Container-Optimized Image cases, following https://github.com/
993+ # GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/
994+ # install_gpu_driver.py.
980995 # Corresponds to the JSON property `installGpuDrivers`
981996 # @return [Boolean]
982997 attr_accessor :install_gpu_drivers
@@ -1529,9 +1544,9 @@ class NetworkInterface
15291544 include Google ::Apis ::Core ::Hashable
15301545
15311546 # The URL of an existing network resource. You can specify the network as a full
1532- # or partial URL. For example, the following are all valid URLs: * https://www.
1533- # googleapis.com/compute/v1/projects/` project` /global/networks/` network` *
1534- # projects/` project` /global/networks/` network` * global/networks/` network`
1547+ # or partial URL. For example, the following are all valid URLs: https://www.
1548+ # googleapis.com/compute/v1/projects/project/global/networks/network projects/
1549+ # project/global/networks/network global/networks/network
15351550 # Corresponds to the JSON property `network`
15361551 # @return [String]
15371552 attr_accessor :network
@@ -1548,9 +1563,9 @@ class NetworkInterface
15481563
15491564 # The URL of an existing subnetwork resource in the network. You can specify the
15501565 # subnetwork as a full or partial URL. For example, the following are all valid
1551- # URLs: * https://www.googleapis.com/compute/v1/projects/` project` /regions/`
1552- # region`/ subnetworks/` subnetwork` * projects/` project` /regions/` region`/
1553- # subnetworks/`subnetwork` * regions/` region` /subnetworks/` subnetwork`
1566+ # URLs: https://www.googleapis.com/compute/v1/projects/project/regions/region/
1567+ # subnetworks/subnetwork projects/project/regions/region/subnetworks/subnetwork
1568+ # regions/region/subnetworks/subnetwork
15541569 # Corresponds to the JSON property `subnetwork`
15551570 # @return [String]
15561571 attr_accessor :subnetwork
0 commit comments