google-apis-batch_v1 0.36.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/batch_v1/classes.rb +29 -14
- data/lib/google/apis/batch_v1/gem_version.rb +2 -2
- data/lib/google/apis/batch_v1/representations.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0947f6f11462afb3f0c0ae0d7b498c5d139e3397f473f2be679dede6f9d14c3
|
4
|
+
data.tar.gz: 24494f22ea88c303d4e7fc6fce3e1d112ee80eb243906c0ff292d6a5ca30445e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60f6852b0b733466c079096a545789bd1e7d7f502a7fa3860322986cc6632760e34a4dac87499b8905d97aae4470fe32f1680178a560f22dea4495aea4911602
|
7
|
+
data.tar.gz: b1b6152f3e1fe9462f8922ddb52c8c7a81135d81af9bc2173f2f8b3ae06379a189700125856790aa28075550ba382517f95e48489812f0d30ffd7559e68bc727
|
data/CHANGELOG.md
CHANGED
@@ -274,6 +274,11 @@ module Google
|
|
274
274
|
attr_accessor :instance_preemption_notice_received
|
275
275
|
alias_method :instance_preemption_notice_received?, :instance_preemption_notice_received
|
276
276
|
|
277
|
+
# Optional. machine type of the VM
|
278
|
+
# Corresponds to the JSON property `machineType`
|
279
|
+
# @return [String]
|
280
|
+
attr_accessor :machine_type
|
281
|
+
|
277
282
|
# parsed contents of /etc/os-release
|
278
283
|
# Corresponds to the JSON property `osRelease`
|
279
284
|
# @return [Hash<String,String>]
|
@@ -301,6 +306,7 @@ module Google
|
|
301
306
|
@instance = args[:instance] if args.key?(:instance)
|
302
307
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
303
308
|
@instance_preemption_notice_received = args[:instance_preemption_notice_received] if args.key?(:instance_preemption_notice_received)
|
309
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
304
310
|
@os_release = args[:os_release] if args.key?(:os_release)
|
305
311
|
@version = args[:version] if args.key?(:version)
|
306
312
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -509,9 +515,14 @@ module Google
|
|
509
515
|
# @return [Google::Apis::BatchV1::AgentEnvironment]
|
510
516
|
attr_accessor :environment
|
511
517
|
|
512
|
-
# Maximum duration the task should run
|
513
|
-
#
|
514
|
-
# seconds
|
518
|
+
# Maximum duration the task should run before being automatically retried (if
|
519
|
+
# enabled) or automatically failed. Format the value of this field as a time
|
520
|
+
# limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field
|
521
|
+
# accepts any value between 0 and the maximum listed for the `Duration` field
|
522
|
+
# type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration;
|
523
|
+
# however, the actual maximum run time for a job will be limited to the maximum
|
524
|
+
# run time for a job listed at https://cloud.google.com/batch/quotas#max-job-
|
525
|
+
# duration.
|
515
526
|
# Corresponds to the JSON property `maxRunDuration`
|
516
527
|
# @return [String]
|
517
528
|
attr_accessor :max_run_duration
|
@@ -1139,9 +1150,9 @@ module Google
|
|
1139
1150
|
class InstancePolicyOrTemplate
|
1140
1151
|
include Google::Apis::Core::Hashable
|
1141
1152
|
|
1142
|
-
# Set this field true if
|
1143
|
-
#
|
1144
|
-
# instance_template on
|
1153
|
+
# Set this field true if you want Batch to help fetch drivers from a third party
|
1154
|
+
# location and install them for GPUs specified in `policy.accelerators` or `
|
1155
|
+
# instance_template` on your behalf. Default is false. For Container-Optimized
|
1145
1156
|
# Image cases, Batch will install the accelerator driver following milestones of
|
1146
1157
|
# https://cloud.google.com/container-optimized-os/docs/release-notes. For non
|
1147
1158
|
# Container-Optimized Image cases, following https://github.com/
|
@@ -2259,12 +2270,11 @@ module Google
|
|
2259
2270
|
|
2260
2271
|
# The exit code of a finished task. If the task succeeded, the exit code will be
|
2261
2272
|
# 0. If the task failed but not due to the following reasons, the exit code will
|
2262
|
-
# be 50000. Otherwise, it can be from different sources:
|
2263
|
-
#
|
2264
|
-
# Batch runnable execution failures
|
2273
|
+
# be 50000. Otherwise, it can be from different sources: * Batch known failures:
|
2274
|
+
# https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. *
|
2275
|
+
# Batch runnable execution failures; you can rely on Batch logs to further
|
2265
2276
|
# diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there
|
2266
|
-
# are multiple runnables failures, Batch only exposes the first error
|
2267
|
-
# now.
|
2277
|
+
# are multiple runnables failures, Batch only exposes the first error.
|
2268
2278
|
# Corresponds to the JSON property `exitCode`
|
2269
2279
|
# @return [Fixnum]
|
2270
2280
|
attr_accessor :exit_code
|
@@ -2443,9 +2453,14 @@ module Google
|
|
2443
2453
|
# @return [Fixnum]
|
2444
2454
|
attr_accessor :max_retry_count
|
2445
2455
|
|
2446
|
-
# Maximum duration the task should run
|
2447
|
-
#
|
2448
|
-
# seconds
|
2456
|
+
# Maximum duration the task should run before being automatically retried (if
|
2457
|
+
# enabled) or automatically failed. Format the value of this field as a time
|
2458
|
+
# limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field
|
2459
|
+
# accepts any value between 0 and the maximum listed for the `Duration` field
|
2460
|
+
# type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration;
|
2461
|
+
# however, the actual maximum run time for a job will be limited to the maximum
|
2462
|
+
# run time for a job listed at https://cloud.google.com/batch/quotas#max-job-
|
2463
|
+
# duration.
|
2449
2464
|
# Corresponds to the JSON property `maxRunDuration`
|
2450
2465
|
# @return [String]
|
2451
2466
|
attr_accessor :max_run_duration
|
@@ -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.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -455,6 +455,7 @@ module Google
|
|
455
455
|
property :instance, as: 'instance'
|
456
456
|
property :instance_id, :numeric_string => true, as: 'instanceId'
|
457
457
|
property :instance_preemption_notice_received, as: 'instancePreemptionNoticeReceived'
|
458
|
+
property :machine_type, as: 'machineType'
|
458
459
|
hash :os_release, as: 'osRelease'
|
459
460
|
property :version, as: 'version'
|
460
461
|
property :zone, as: 'zone'
|
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.37.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: 2024-05-
|
11
|
+
date: 2024-05-26 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.37.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: []
|