google-apis-batch_v1 0.14.0 → 0.15.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/batch_v1/classes.rb +253 -1
- data/lib/google/apis/batch_v1/gem_version.rb +2 -2
- data/lib/google/apis/batch_v1/representations.rb +102 -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: e091421f7fe7aa14c44ebe508e801845f7ad48defdbd98c931d7df94c8abafb6
|
4
|
+
data.tar.gz: 45f952d90c8938c7d0628139046a86d0ea6f89a24726513416e93b56e5b161e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 739b2e9f4481ecbb46999fe394de1a57b8b3279afc9f5e983cded9e68b9621379f8c7fd89d9c7731570c8704a73ffdc4b794bcd72f4d8ea0ef5fddc7ed287755
|
7
|
+
data.tar.gz: 21a7c4dbb5d94ae5146f5c979becee8ccad6baa579d98f8de78606b813825de84e33095c965970990fe0ddcce099e129107e127fb1220619a457ac235dab4eaa
|
data/CHANGELOG.md
CHANGED
@@ -76,6 +76,88 @@ module Google
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
# Container runnable representation on the agent side.
|
80
|
+
class AgentContainer
|
81
|
+
include Google::Apis::Core::Hashable
|
82
|
+
|
83
|
+
# Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (
|
84
|
+
# either in the container image or with the entrypoint field below) then
|
85
|
+
# commands are appended as arguments to the ENTRYPOINT.
|
86
|
+
# Corresponds to the JSON property `commands`
|
87
|
+
# @return [Array<String>]
|
88
|
+
attr_accessor :commands
|
89
|
+
|
90
|
+
# Overrides the `ENTRYPOINT` specified in the container.
|
91
|
+
# Corresponds to the JSON property `entrypoint`
|
92
|
+
# @return [String]
|
93
|
+
attr_accessor :entrypoint
|
94
|
+
|
95
|
+
# The URI to pull the container image from.
|
96
|
+
# Corresponds to the JSON property `imageUri`
|
97
|
+
# @return [String]
|
98
|
+
attr_accessor :image_uri
|
99
|
+
|
100
|
+
# Arbitrary additional options to include in the "docker run" command when
|
101
|
+
# running this container, e.g. "--network host".
|
102
|
+
# Corresponds to the JSON property `options`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :options
|
105
|
+
|
106
|
+
# Volumes to mount (bind mount) from the host machine files or directories into
|
107
|
+
# the container, formatted to match docker run's --volume option, e.g. /foo:/bar,
|
108
|
+
# or /foo:/bar:ro
|
109
|
+
# Corresponds to the JSON property `volumes`
|
110
|
+
# @return [Array<String>]
|
111
|
+
attr_accessor :volumes
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@commands = args[:commands] if args.key?(:commands)
|
120
|
+
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
121
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
122
|
+
@options = args[:options] if args.key?(:options)
|
123
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# AgentEnvironment is the Environment representation between Agent and CLH
|
128
|
+
# communication. The environment is used in both task level and agent level.
|
129
|
+
class AgentEnvironment
|
130
|
+
include Google::Apis::Core::Hashable
|
131
|
+
|
132
|
+
# AgentKMSEnvMap contains the encrypted key/value pair to be used in the
|
133
|
+
# environment on the Agent side.
|
134
|
+
# Corresponds to the JSON property `encryptedVariables`
|
135
|
+
# @return [Google::Apis::BatchV1::AgentKmsEnvMap]
|
136
|
+
attr_accessor :encrypted_variables
|
137
|
+
|
138
|
+
# A map of environment variable names to Secret Manager secret names. The VM
|
139
|
+
# will access the named secrets to set the value of each environment variable.
|
140
|
+
# Corresponds to the JSON property `secretVariables`
|
141
|
+
# @return [Hash<String,String>]
|
142
|
+
attr_accessor :secret_variables
|
143
|
+
|
144
|
+
# A map of environment variable names to values.
|
145
|
+
# Corresponds to the JSON property `variables`
|
146
|
+
# @return [Hash<String,String>]
|
147
|
+
attr_accessor :variables
|
148
|
+
|
149
|
+
def initialize(**args)
|
150
|
+
update!(**args)
|
151
|
+
end
|
152
|
+
|
153
|
+
# Update properties of this object
|
154
|
+
def update!(**args)
|
155
|
+
@encrypted_variables = args[:encrypted_variables] if args.key?(:encrypted_variables)
|
156
|
+
@secret_variables = args[:secret_variables] if args.key?(:secret_variables)
|
157
|
+
@variables = args[:variables] if args.key?(:variables)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
79
161
|
# VM Agent Info.
|
80
162
|
class AgentInfo
|
81
163
|
include Google::Apis::Core::Hashable
|
@@ -119,6 +201,32 @@ module Google
|
|
119
201
|
end
|
120
202
|
end
|
121
203
|
|
204
|
+
# AgentKMSEnvMap contains the encrypted key/value pair to be used in the
|
205
|
+
# environment on the Agent side.
|
206
|
+
class AgentKmsEnvMap
|
207
|
+
include Google::Apis::Core::Hashable
|
208
|
+
|
209
|
+
# The value of the cipherText response from the `encrypt` method.
|
210
|
+
# Corresponds to the JSON property `cipherText`
|
211
|
+
# @return [String]
|
212
|
+
attr_accessor :cipher_text
|
213
|
+
|
214
|
+
# The name of the KMS key that will be used to decrypt the cipher text.
|
215
|
+
# Corresponds to the JSON property `keyName`
|
216
|
+
# @return [String]
|
217
|
+
attr_accessor :key_name
|
218
|
+
|
219
|
+
def initialize(**args)
|
220
|
+
update!(**args)
|
221
|
+
end
|
222
|
+
|
223
|
+
# Update properties of this object
|
224
|
+
def update!(**args)
|
225
|
+
@cipher_text = args[:cipher_text] if args.key?(:cipher_text)
|
226
|
+
@key_name = args[:key_name] if args.key?(:key_name)
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
122
230
|
# VM Agent Metadata.
|
123
231
|
class AgentMetadata
|
124
232
|
include Google::Apis::Core::Hashable
|
@@ -189,11 +297,51 @@ module Google
|
|
189
297
|
end
|
190
298
|
end
|
191
299
|
|
300
|
+
# Script runnable representation on the agent side.
|
301
|
+
class AgentScript
|
302
|
+
include Google::Apis::Core::Hashable
|
303
|
+
|
304
|
+
# Script file path on the host VM. To specify an interpreter, please add a `#!`(
|
305
|
+
# also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as
|
306
|
+
# the first line of the file.(For example, to execute the script using bash, `#!/
|
307
|
+
# bin/bash` should be the first line of the file. To execute the script using`
|
308
|
+
# Python3`, `#!/usr/bin/env python3` should be the first line of the file.)
|
309
|
+
# Otherwise, the file will by default be excuted by `/bin/sh`.
|
310
|
+
# Corresponds to the JSON property `path`
|
311
|
+
# @return [String]
|
312
|
+
attr_accessor :path
|
313
|
+
|
314
|
+
# Shell script text. To specify an interpreter, please add a `#!\n` at the
|
315
|
+
# beginning of the text.(For example, to execute the script using bash, `#!/bin/
|
316
|
+
# bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env
|
317
|
+
# python3\n` should be added.) Otherwise, the script will by default be excuted
|
318
|
+
# by `/bin/sh`.
|
319
|
+
# Corresponds to the JSON property `text`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :text
|
322
|
+
|
323
|
+
def initialize(**args)
|
324
|
+
update!(**args)
|
325
|
+
end
|
326
|
+
|
327
|
+
# Update properties of this object
|
328
|
+
def update!(**args)
|
329
|
+
@path = args[:path] if args.key?(:path)
|
330
|
+
@text = args[:text] if args.key?(:text)
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
192
334
|
# TODO(b/182501497) The message needs to be redefined when the Agent API server
|
193
335
|
# updates data in storage per the backend design.
|
194
336
|
class AgentTask
|
195
337
|
include Google::Apis::Core::Hashable
|
196
338
|
|
339
|
+
# AgentTaskSpec is the user's TaskSpec representation between Agent and CLH
|
340
|
+
# communication.
|
341
|
+
# Corresponds to the JSON property `agentTaskSpec`
|
342
|
+
# @return [Google::Apis::BatchV1::AgentTaskSpec]
|
343
|
+
attr_accessor :agent_task_spec
|
344
|
+
|
197
345
|
# The intended state of the task.
|
198
346
|
# Corresponds to the JSON property `intendedState`
|
199
347
|
# @return [String]
|
@@ -230,6 +378,7 @@ module Google
|
|
230
378
|
|
231
379
|
# Update properties of this object
|
232
380
|
def update!(**args)
|
381
|
+
@agent_task_spec = args[:agent_task_spec] if args.key?(:agent_task_spec)
|
233
382
|
@intended_state = args[:intended_state] if args.key?(:intended_state)
|
234
383
|
@reached_barrier = args[:reached_barrier] if args.key?(:reached_barrier)
|
235
384
|
@spec = args[:spec] if args.key?(:spec)
|
@@ -271,6 +420,108 @@ module Google
|
|
271
420
|
end
|
272
421
|
end
|
273
422
|
|
423
|
+
# AgentTaskRunnable is the Runnable representation between Agent and CLH
|
424
|
+
# communication.
|
425
|
+
class AgentTaskRunnable
|
426
|
+
include Google::Apis::Core::Hashable
|
427
|
+
|
428
|
+
# By default, after a Runnable fails, no further Runnable are executed. This
|
429
|
+
# flag indicates that this Runnable must be run even if the Task has already
|
430
|
+
# failed. This is useful for Runnables that copy output files off of the VM or
|
431
|
+
# for debugging. The always_run flag does not override the Task's overall
|
432
|
+
# max_run_duration. If the max_run_duration has expired then no further
|
433
|
+
# Runnables will execute, not even always_run Runnables.
|
434
|
+
# Corresponds to the JSON property `alwaysRun`
|
435
|
+
# @return [Boolean]
|
436
|
+
attr_accessor :always_run
|
437
|
+
alias_method :always_run?, :always_run
|
438
|
+
|
439
|
+
# This flag allows a Runnable to continue running in the background while the
|
440
|
+
# Task executes subsequent Runnables. This is useful to provide services to
|
441
|
+
# other Runnables (or to provide debugging support tools like SSH servers).
|
442
|
+
# Corresponds to the JSON property `background`
|
443
|
+
# @return [Boolean]
|
444
|
+
attr_accessor :background
|
445
|
+
alias_method :background?, :background
|
446
|
+
|
447
|
+
# Container runnable representation on the agent side.
|
448
|
+
# Corresponds to the JSON property `container`
|
449
|
+
# @return [Google::Apis::BatchV1::AgentContainer]
|
450
|
+
attr_accessor :container
|
451
|
+
|
452
|
+
# AgentEnvironment is the Environment representation between Agent and CLH
|
453
|
+
# communication. The environment is used in both task level and agent level.
|
454
|
+
# Corresponds to the JSON property `environment`
|
455
|
+
# @return [Google::Apis::BatchV1::AgentEnvironment]
|
456
|
+
attr_accessor :environment
|
457
|
+
|
458
|
+
# Normally, a non-zero exit status causes the Task to fail. This flag allows
|
459
|
+
# execution of other Runnables to continue instead.
|
460
|
+
# Corresponds to the JSON property `ignoreExitStatus`
|
461
|
+
# @return [Boolean]
|
462
|
+
attr_accessor :ignore_exit_status
|
463
|
+
alias_method :ignore_exit_status?, :ignore_exit_status
|
464
|
+
|
465
|
+
# Script runnable representation on the agent side.
|
466
|
+
# Corresponds to the JSON property `script`
|
467
|
+
# @return [Google::Apis::BatchV1::AgentScript]
|
468
|
+
attr_accessor :script
|
469
|
+
|
470
|
+
# Timeout for this Runnable.
|
471
|
+
# Corresponds to the JSON property `timeout`
|
472
|
+
# @return [String]
|
473
|
+
attr_accessor :timeout
|
474
|
+
|
475
|
+
def initialize(**args)
|
476
|
+
update!(**args)
|
477
|
+
end
|
478
|
+
|
479
|
+
# Update properties of this object
|
480
|
+
def update!(**args)
|
481
|
+
@always_run = args[:always_run] if args.key?(:always_run)
|
482
|
+
@background = args[:background] if args.key?(:background)
|
483
|
+
@container = args[:container] if args.key?(:container)
|
484
|
+
@environment = args[:environment] if args.key?(:environment)
|
485
|
+
@ignore_exit_status = args[:ignore_exit_status] if args.key?(:ignore_exit_status)
|
486
|
+
@script = args[:script] if args.key?(:script)
|
487
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# AgentTaskSpec is the user's TaskSpec representation between Agent and CLH
|
492
|
+
# communication.
|
493
|
+
class AgentTaskSpec
|
494
|
+
include Google::Apis::Core::Hashable
|
495
|
+
|
496
|
+
# AgentEnvironment is the Environment representation between Agent and CLH
|
497
|
+
# communication. The environment is used in both task level and agent level.
|
498
|
+
# Corresponds to the JSON property `environment`
|
499
|
+
# @return [Google::Apis::BatchV1::AgentEnvironment]
|
500
|
+
attr_accessor :environment
|
501
|
+
|
502
|
+
# Maximum duration the task should run. The task will be killed and marked as
|
503
|
+
# FAILED if over this limit.
|
504
|
+
# Corresponds to the JSON property `maxRunDuration`
|
505
|
+
# @return [String]
|
506
|
+
attr_accessor :max_run_duration
|
507
|
+
|
508
|
+
# AgentTaskRunnable is runanbles that will be executed on the agent.
|
509
|
+
# Corresponds to the JSON property `runnables`
|
510
|
+
# @return [Array<Google::Apis::BatchV1::AgentTaskRunnable>]
|
511
|
+
attr_accessor :runnables
|
512
|
+
|
513
|
+
def initialize(**args)
|
514
|
+
update!(**args)
|
515
|
+
end
|
516
|
+
|
517
|
+
# Update properties of this object
|
518
|
+
def update!(**args)
|
519
|
+
@environment = args[:environment] if args.key?(:environment)
|
520
|
+
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
521
|
+
@runnables = args[:runnables] if args.key?(:runnables)
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
274
525
|
# VM timing information
|
275
526
|
class AgentTimingInfo
|
276
527
|
include Google::Apis::Core::Hashable
|
@@ -551,7 +802,8 @@ module Google
|
|
551
802
|
# projects/`project`/global/images/`image_version` You can also use Batch
|
552
803
|
# customized image in short names. The following image values are supported for
|
553
804
|
# a boot disk: * "batch-debian": use Batch Debian images. * "batch-centos": use
|
554
|
-
# Batch CentOS images. * "batch-cos": use Batch Container-Optimized images.
|
805
|
+
# Batch CentOS images. * "batch-cos": use Batch Container-Optimized images. * "
|
806
|
+
# batch-hpc-centos": use Batch HPC CentOS images.
|
555
807
|
# Corresponds to the JSON property `image`
|
556
808
|
# @return [String]
|
557
809
|
attr_accessor :image
|
@@ -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.15.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 = "20230607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,18 +34,42 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AgentContainer
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AgentEnvironment
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class AgentInfo
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
40
52
|
include Google::Apis::Core::JsonObjectSupport
|
41
53
|
end
|
42
54
|
|
55
|
+
class AgentKmsEnvMap
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
43
61
|
class AgentMetadata
|
44
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
63
|
|
46
64
|
include Google::Apis::Core::JsonObjectSupport
|
47
65
|
end
|
48
66
|
|
67
|
+
class AgentScript
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
49
73
|
class AgentTask
|
50
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
75
|
|
@@ -58,6 +82,18 @@ module Google
|
|
58
82
|
include Google::Apis::Core::JsonObjectSupport
|
59
83
|
end
|
60
84
|
|
85
|
+
class AgentTaskRunnable
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class AgentTaskSpec
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
61
97
|
class AgentTimingInfo
|
62
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
99
|
|
@@ -356,6 +392,27 @@ module Google
|
|
356
392
|
end
|
357
393
|
end
|
358
394
|
|
395
|
+
class AgentContainer
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
collection :commands, as: 'commands'
|
399
|
+
property :entrypoint, as: 'entrypoint'
|
400
|
+
property :image_uri, as: 'imageUri'
|
401
|
+
property :options, as: 'options'
|
402
|
+
collection :volumes, as: 'volumes'
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
class AgentEnvironment
|
407
|
+
# @private
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
property :encrypted_variables, as: 'encryptedVariables', class: Google::Apis::BatchV1::AgentKmsEnvMap, decorator: Google::Apis::BatchV1::AgentKmsEnvMap::Representation
|
410
|
+
|
411
|
+
hash :secret_variables, as: 'secretVariables'
|
412
|
+
hash :variables, as: 'variables'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
359
416
|
class AgentInfo
|
360
417
|
# @private
|
361
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -368,6 +425,14 @@ module Google
|
|
368
425
|
end
|
369
426
|
end
|
370
427
|
|
428
|
+
class AgentKmsEnvMap
|
429
|
+
# @private
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
+
property :cipher_text, as: 'cipherText'
|
432
|
+
property :key_name, as: 'keyName'
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
371
436
|
class AgentMetadata
|
372
437
|
# @private
|
373
438
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -383,9 +448,19 @@ module Google
|
|
383
448
|
end
|
384
449
|
end
|
385
450
|
|
451
|
+
class AgentScript
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
property :path, as: 'path'
|
455
|
+
property :text, as: 'text'
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
386
459
|
class AgentTask
|
387
460
|
# @private
|
388
461
|
class Representation < Google::Apis::Core::JsonRepresentation
|
462
|
+
property :agent_task_spec, as: 'agentTaskSpec', class: Google::Apis::BatchV1::AgentTaskSpec, decorator: Google::Apis::BatchV1::AgentTaskSpec::Representation
|
463
|
+
|
389
464
|
property :intended_state, as: 'intendedState'
|
390
465
|
property :reached_barrier, :numeric_string => true, as: 'reachedBarrier'
|
391
466
|
property :spec, as: 'spec', class: Google::Apis::BatchV1::TaskSpec, decorator: Google::Apis::BatchV1::TaskSpec::Representation
|
@@ -407,6 +482,33 @@ module Google
|
|
407
482
|
end
|
408
483
|
end
|
409
484
|
|
485
|
+
class AgentTaskRunnable
|
486
|
+
# @private
|
487
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
488
|
+
property :always_run, as: 'alwaysRun'
|
489
|
+
property :background, as: 'background'
|
490
|
+
property :container, as: 'container', class: Google::Apis::BatchV1::AgentContainer, decorator: Google::Apis::BatchV1::AgentContainer::Representation
|
491
|
+
|
492
|
+
property :environment, as: 'environment', class: Google::Apis::BatchV1::AgentEnvironment, decorator: Google::Apis::BatchV1::AgentEnvironment::Representation
|
493
|
+
|
494
|
+
property :ignore_exit_status, as: 'ignoreExitStatus'
|
495
|
+
property :script, as: 'script', class: Google::Apis::BatchV1::AgentScript, decorator: Google::Apis::BatchV1::AgentScript::Representation
|
496
|
+
|
497
|
+
property :timeout, as: 'timeout'
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
class AgentTaskSpec
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :environment, as: 'environment', class: Google::Apis::BatchV1::AgentEnvironment, decorator: Google::Apis::BatchV1::AgentEnvironment::Representation
|
505
|
+
|
506
|
+
property :max_run_duration, as: 'maxRunDuration'
|
507
|
+
collection :runnables, as: 'runnables', class: Google::Apis::BatchV1::AgentTaskRunnable, decorator: Google::Apis::BatchV1::AgentTaskRunnable::Representation
|
508
|
+
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
410
512
|
class AgentTimingInfo
|
411
513
|
# @private
|
412
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.15.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-06-18 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.15.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: []
|