google-apis-batch_v1 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41508d305f309af1cb29aae8b054f55fadb2ee3eba4cb9ec4e3ff6164317d5c6
|
4
|
+
data.tar.gz: d08896147862ae1b23bc13f83cff8e6d82939bc697596d0f88a2a9752dcb3208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75075f42d40541c2ad6270152229c351e346b35995f2db98c399c6e53583d6c700852865426472dbf60210a6b2d9d24c5bb3c6b9df02c97092289b0bc76be5d
|
7
|
+
data.tar.gz: 2224278cab6fc191dd4b47a6382800e9e45bae090e0b6d8518f0050c5c2ed51df63d396ba93afd40160ad334ef901185eaca3949abcd329ecbc533bf84c25fe9
|
data/CHANGELOG.md
CHANGED
@@ -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
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
#
|
804
|
-
#
|
805
|
-
#
|
806
|
-
#
|
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:
|
1533
|
-
# googleapis.com/compute/v1/projects
|
1534
|
-
#
|
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:
|
1552
|
-
#
|
1553
|
-
#
|
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.
|
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 = "
|
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.
|
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-
|
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.
|
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: []
|