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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f512c378b58a6fb623e23feca5f4a09d1a7a03c1f7138aad0c618df3dd42867f
4
- data.tar.gz: 1400c4ac750b958fb7267bd4ffac6ace94c18794239b65a284cdbfb34d204333
3
+ metadata.gz: b0947f6f11462afb3f0c0ae0d7b498c5d139e3397f473f2be679dede6f9d14c3
4
+ data.tar.gz: 24494f22ea88c303d4e7fc6fce3e1d112ee80eb243906c0ff292d6a5ca30445e
5
5
  SHA512:
6
- metadata.gz: 808ee77740944869da4f8656c4d66de1b35af887f07e52980ca2c324a335a7ab3969fea933f8e1be22764839db42d311537b44b5802b7102091a18e0b2bc5ba1
7
- data.tar.gz: ebb570490b9530cad2af227ad9340786279d795af219a5294a2fcb2abb0a3ba816bae88b547c3549fdb925dbd606d01dd1426eaa814315ee2eefad49a0c35af8
6
+ metadata.gz: 60f6852b0b733466c079096a545789bd1e7d7f502a7fa3860322986cc6632760e34a4dac87499b8905d97aae4470fe32f1680178a560f22dea4495aea4911602
7
+ data.tar.gz: b1b6152f3e1fe9462f8922ddb52c8c7a81135d81af9bc2173f2f8b3ae06379a189700125856790aa28075550ba382517f95e48489812f0d30ffd7559e68bc727
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.37.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240517
6
+
3
7
  ### v0.36.0 (2024-05-19)
4
8
 
5
9
  * Regenerated using generator version 0.15.0
@@ -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. The task will be killed and marked as
513
- # FAILED if over this limit. The valid value range for max_run_duration in
514
- # seconds is [0, 315576000000.999999999],
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 users want Batch to help fetch drivers from a third
1143
- # party location and install them for GPUs specified in policy.accelerators or
1144
- # instance_template on their behalf. Default is false. For Container-Optimized
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: - Batch known failures
2263
- # as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. -
2264
- # Batch runnable execution failures: You can rely on Batch logs for further
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 caught for
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. The task will be killed and marked as
2447
- # FAILED if over this limit. The valid value range for max_run_duration in
2448
- # seconds is [0, 315576000000.999999999],
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.36.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 = "20240425"
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.36.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-19 00:00:00.000000000 Z
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.36.0
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: []