google-apis-batch_v1 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e091421f7fe7aa14c44ebe508e801845f7ad48defdbd98c931d7df94c8abafb6
4
- data.tar.gz: 45f952d90c8938c7d0628139046a86d0ea6f89a24726513416e93b56e5b161e7
3
+ metadata.gz: 41508d305f309af1cb29aae8b054f55fadb2ee3eba4cb9ec4e3ff6164317d5c6
4
+ data.tar.gz: d08896147862ae1b23bc13f83cff8e6d82939bc697596d0f88a2a9752dcb3208
5
5
  SHA512:
6
- metadata.gz: 739b2e9f4481ecbb46999fe394de1a57b8b3279afc9f5e983cded9e68b9621379f8c7fd89d9c7731570c8704a73ffdc4b794bcd72f4d8ea0ef5fddc7ed287755
7
- data.tar.gz: 21a7c4dbb5d94ae5146f5c979becee8ccad6baa579d98f8de78606b813825de84e33095c965970990fe0ddcce099e129107e127fb1220619a457ac235dab4eaa
6
+ metadata.gz: b75075f42d40541c2ad6270152229c351e346b35995f2db98c399c6e53583d6c700852865426472dbf60210a6b2d9d24c5bb3c6b9df02c97092289b0bc76be5d
7
+ data.tar.gz: 2224278cab6fc191dd4b47a6382800e9e45bae090e0b6d8518f0050c5c2ed51df63d396ba93afd40160ad334ef901185eaca3949abcd329ecbc533bf84c25fe9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.16.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230705
6
+
3
7
  ### v0.15.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230607
@@ -31,6 +31,15 @@ module Google
31
31
  # @return [Fixnum]
32
32
  attr_accessor :count
33
33
 
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
+
34
43
  # Deprecated: please use instances[0].install_gpu_drivers instead.
35
44
  # Corresponds to the JSON property `installGpuDrivers`
36
45
  # @return [Boolean]
@@ -50,6 +59,7 @@ module Google
50
59
  # Update properties of this object
51
60
  def update!(**args)
52
61
  @count = args[:count] if args.key?(:count)
62
+ @driver_version = args[:driver_version] if args.key?(:driver_version)
53
63
  @install_gpu_drivers = args[:install_gpu_drivers] if args.key?(:install_gpu_drivers)
54
64
  @type = args[:type] if args.key?(:type)
55
65
  end
@@ -162,7 +172,7 @@ module Google
162
172
  class AgentInfo
163
173
  include Google::Apis::Core::Hashable
164
174
 
165
- # The assigned Job ID
175
+ # Optional. The assigned Job ID
166
176
  # Corresponds to the JSON property `jobId`
167
177
  # @return [String]
168
178
  attr_accessor :job_id
@@ -796,14 +806,14 @@ module Google
796
806
  # @return [String]
797
807
  attr_accessor :disk_interface
798
808
 
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.
807
817
  # Corresponds to the JSON property `image`
808
818
  # @return [String]
809
819
  attr_accessor :image
@@ -976,7 +986,12 @@ module Google
976
986
 
977
987
  # Set this field true if users want Batch to help fetch drivers from a third
978
988
  # 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.
980
995
  # Corresponds to the JSON property `installGpuDrivers`
981
996
  # @return [Boolean]
982
997
  attr_accessor :install_gpu_drivers
@@ -1529,9 +1544,9 @@ module Google
1529
1544
  include Google::Apis::Core::Hashable
1530
1545
 
1531
1546
  # 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
1535
1550
  # Corresponds to the JSON property `network`
1536
1551
  # @return [String]
1537
1552
  attr_accessor :network
@@ -1548,9 +1563,9 @@ module Google
1548
1563
 
1549
1564
  # The URL of an existing subnetwork resource in the network. You can specify the
1550
1565
  # 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
1554
1569
  # Corresponds to the JSON property `subnetwork`
1555
1570
  # @return [String]
1556
1571
  attr_accessor :subnetwork
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BatchV1
18
18
  # Version of the google-apis-batch_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230607"
25
+ REVISION = "20230705"
26
26
  end
27
27
  end
28
28
  end
@@ -380,6 +380,7 @@ module Google
380
380
  # @private
381
381
  class Representation < Google::Apis::Core::JsonRepresentation
382
382
  property :count, :numeric_string => true, as: 'count'
383
+ property :driver_version, as: 'driverVersion'
383
384
  property :install_gpu_drivers, as: 'installGpuDrivers'
384
385
  property :type, as: 'type'
385
386
  end
@@ -256,6 +256,9 @@ module Google
256
256
  # Parent path.
257
257
  # @param [String] filter
258
258
  # List filter.
259
+ # @param [String] order_by
260
+ # Optional. Sort results. Supported are "name", "name desc", "create_time", and "
261
+ # create_time desc".
259
262
  # @param [Fixnum] page_size
260
263
  # Page size.
261
264
  # @param [String] page_token
@@ -277,12 +280,13 @@ module Google
277
280
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
278
281
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
282
  # @raise [Google::Apis::AuthorizationError] Authorization is required
280
- def list_project_location_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
283
+ def list_project_location_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
281
284
  command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
282
285
  command.response_representation = Google::Apis::BatchV1::ListJobsResponse::Representation
283
286
  command.response_class = Google::Apis::BatchV1::ListJobsResponse
284
287
  command.params['parent'] = parent unless parent.nil?
285
288
  command.query['filter'] = filter unless filter.nil?
289
+ command.query['orderBy'] = order_by unless order_by.nil?
286
290
  command.query['pageSize'] = page_size unless page_size.nil?
287
291
  command.query['pageToken'] = page_token unless page_token.nil?
288
292
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-batch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-batch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-batch_v1
63
63
  post_install_message:
64
64
  rdoc_options: []