google-cloud-batch-v1 0.18.1 → 0.18.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 919d70c9ae0a7576e741c83d0abd258b2b1fbf580af57db7b1c4398bccf53f18
|
4
|
+
data.tar.gz: 96733ab04f5e5c2bb74884299df0639efd0b3ee3f33296510dd992e9855c8da7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899c50fcc9236c35c8d1ee34410b45dfc364baf7c0418edaa3c6c485b868f43bc1a166151b0ea0869ee41002fd5914bd7955bfec3e4ebecf82b77ff9b30ee4e4
|
7
|
+
data.tar.gz: 401ac1790dc13ca94e0b7b062e42abc7264b9d9cf0398ae60b819470abe30c2a7796297c8700de5d7427080788d991a7b15fe8f45bc2231cf8d68e9f60b36516
|
@@ -196,9 +196,26 @@ module Google
|
|
196
196
|
# @!attribute [rw] common
|
197
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
199
202
|
class PythonSettings
|
200
203
|
include ::Google::Protobuf::MessageExts
|
201
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
202
219
|
end
|
203
220
|
|
204
221
|
# Settings for Node client libraries.
|
@@ -376,9 +376,7 @@ module Google
|
|
376
376
|
# The following image values are supported for a boot disk:
|
377
377
|
#
|
378
378
|
# * `batch-debian`: use Batch Debian images.
|
379
|
-
# * `batch-centos`: use Batch CentOS images.
|
380
379
|
# * `batch-cos`: use Batch Container-Optimized images.
|
381
|
-
# * `batch-hpc-centos`: use Batch HPC CentOS images.
|
382
380
|
# * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
|
383
381
|
# @!attribute [rw] snapshot
|
384
382
|
# @return [::String]
|
@@ -173,13 +173,24 @@ module Google
|
|
173
173
|
# provided the index of the runnable will be used for outputs.
|
174
174
|
# @!attribute [rw] ignore_exit_status
|
175
175
|
# @return [::Boolean]
|
176
|
-
# Normally, a non-zero exit status
|
177
|
-
#
|
176
|
+
# Normally, a runnable that returns a non-zero exit status fails and causes
|
177
|
+
# the task to fail. However, you can set this field to `true` to allow the
|
178
|
+
# task to continue executing its other runnables even if this runnable
|
179
|
+
# fails.
|
178
180
|
# @!attribute [rw] background
|
179
181
|
# @return [::Boolean]
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
182
|
+
# Normally, a runnable that doesn't exit causes its task to fail. However,
|
183
|
+
# you can set this field to `true` to configure a background runnable.
|
184
|
+
# Background runnables are allowed continue running in the background while
|
185
|
+
# the task executes subsequent runnables. For example, background runnables
|
186
|
+
# are useful for providing services to other runnables or providing
|
187
|
+
# debugging-support tools like SSH servers.
|
188
|
+
#
|
189
|
+
# Specifically, background runnables are killed automatically (if they have
|
190
|
+
# not already exited) a short time after all foreground runnables have
|
191
|
+
# completed. Even though this is likely to result in a non-zero exit status
|
192
|
+
# for the background runnable, these automatic kills are not treated as task
|
193
|
+
# failures.
|
183
194
|
# @!attribute [rw] always_run
|
184
195
|
# @return [::Boolean]
|
185
196
|
# By default, after a Runnable fails, no further Runnable are executed. This
|
@@ -207,32 +218,36 @@ module Google
|
|
207
218
|
# Container runnable.
|
208
219
|
# @!attribute [rw] image_uri
|
209
220
|
# @return [::String]
|
210
|
-
# The URI to pull the container image from.
|
221
|
+
# Required. The URI to pull the container image from.
|
211
222
|
# @!attribute [rw] commands
|
212
223
|
# @return [::Array<::String>]
|
213
|
-
# Overrides the `CMD` specified in the
|
214
|
-
# (either in the container image or
|
215
|
-
# commands are appended as
|
224
|
+
# Required for some container images. Overrides the `CMD` specified in the
|
225
|
+
# container. If there is an `ENTRYPOINT` (either in the container image or
|
226
|
+
# with the `entrypoint` field below) then these commands are appended as
|
227
|
+
# arguments to the `ENTRYPOINT`.
|
216
228
|
# @!attribute [rw] entrypoint
|
217
229
|
# @return [::String]
|
218
|
-
# Overrides the `ENTRYPOINT` specified
|
230
|
+
# Required for some container images. Overrides the `ENTRYPOINT` specified
|
231
|
+
# in the container.
|
219
232
|
# @!attribute [rw] volumes
|
220
233
|
# @return [::Array<::String>]
|
221
234
|
# Volumes to mount (bind mount) from the host machine files or directories
|
222
|
-
# into the container, formatted to match
|
223
|
-
#
|
235
|
+
# into the container, formatted to match `--volume` option for the
|
236
|
+
# `docker run` command—for example, `/foo:/bar` or `/foo:/bar:ro`.
|
224
237
|
#
|
225
238
|
# If the `TaskSpec.Volumes` field is specified but this field is not, Batch
|
226
239
|
# will mount each volume from the host machine to the container with the
|
227
240
|
# same mount path by default. In this case, the default mount option for
|
228
|
-
# containers will be read-only (ro) for existing persistent disks and
|
229
|
-
# read-write (rw) for other volume types, regardless of the original
|
230
|
-
# options specified in `TaskSpec.Volumes`. If you need different
|
231
|
-
# settings, you can explicitly configure them in this field.
|
241
|
+
# containers will be read-only (`ro`) for existing persistent disks and
|
242
|
+
# read-write (`rw`) for other volume types, regardless of the original
|
243
|
+
# mount options specified in `TaskSpec.Volumes`. If you need different
|
244
|
+
# mount settings, you can explicitly configure them in this field.
|
232
245
|
# @!attribute [rw] options
|
233
246
|
# @return [::String]
|
234
|
-
#
|
235
|
-
# running this container
|
247
|
+
# Required for some container images. Arbitrary additional options to
|
248
|
+
# include in the `docker run` command when running this container—for
|
249
|
+
# example, `--network host`. For the `--volume` option, use the `volumes`
|
250
|
+
# field for the container.
|
236
251
|
# @!attribute [rw] block_external_network
|
237
252
|
# @return [::Boolean]
|
238
253
|
# If set to true, external network access to and from container will be
|
@@ -301,30 +316,33 @@ module Google
|
|
301
316
|
# Script runnable.
|
302
317
|
# @!attribute [rw] path
|
303
318
|
# @return [::String]
|
304
|
-
#
|
319
|
+
# The path to a script file that is accessible from the host VM(s).
|
305
320
|
#
|
306
|
-
#
|
307
|
-
#
|
308
|
-
#
|
309
|
-
#
|
310
|
-
#
|
311
|
-
#
|
312
|
-
#
|
321
|
+
# Unless the script file supports the default `#!/bin/sh` shell
|
322
|
+
# interpreter, you must specify an interpreter by including a
|
323
|
+
# [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) as the
|
324
|
+
# first line of the file. For example, to execute the script using bash,
|
325
|
+
# include `#!/bin/bash` as the first line of the file. Alternatively,
|
326
|
+
# to execute the script using Python3, include `#!/usr/bin/env python3`
|
327
|
+
# as the first line of the file.
|
313
328
|
# @!attribute [rw] text
|
314
329
|
# @return [::String]
|
315
|
-
#
|
330
|
+
# The text for a script.
|
316
331
|
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
332
|
+
# Unless the script text supports the default `#!/bin/sh` shell
|
333
|
+
# interpreter, you must specify an interpreter by including a
|
334
|
+
# [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) at the
|
335
|
+
# beginning of the text. For example, to execute the script using bash,
|
336
|
+
# include `#!/bin/bash\n` at the beginning of the text. Alternatively,
|
337
|
+
# to execute the script using Python3, include `#!/usr/bin/env python3\n`
|
338
|
+
# at the beginning of the text.
|
322
339
|
class Script
|
323
340
|
include ::Google::Protobuf::MessageExts
|
324
341
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
325
342
|
end
|
326
343
|
|
327
|
-
#
|
344
|
+
# A barrier runnable automatically blocks the execution of subsequent
|
345
|
+
# runnables until all the tasks in the task group reach the barrier.
|
328
346
|
# @!attribute [rw] name
|
329
347
|
# @return [::String]
|
330
348
|
# Barriers are identified by their index in runnable list.
|
@@ -347,16 +365,16 @@ module Google
|
|
347
365
|
# Spec of a task
|
348
366
|
# @!attribute [rw] runnables
|
349
367
|
# @return [::Array<::Google::Cloud::Batch::V1::Runnable>]
|
350
|
-
# The sequence of
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
368
|
+
# Required. The sequence of one or more runnables (executable scripts,
|
369
|
+
# executable containers, and/or barriers) for each task in this task group to
|
370
|
+
# run. Each task runs this list of runnables in order. For a task to succeed,
|
371
|
+
# all of its script and container runnables each must meet at least one of
|
372
|
+
# the following conditions:
|
354
373
|
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# failures.
|
374
|
+
# + The runnable exited with a zero status.
|
375
|
+
# + The runnable didn't finish, but you enabled its `background` subfield.
|
376
|
+
# + The runnable exited with a non-zero status, but you enabled its
|
377
|
+
# `ignore_exit_status` subfield.
|
360
378
|
# @!attribute [rw] compute_resource
|
361
379
|
# @return [::Google::Cloud::Batch::V1::ComputeResource]
|
362
380
|
# ComputeResource requirements.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-batch-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.3
|
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-08-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|