google-apis-batch_v1 0.41.0 → 0.42.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 +25 -0
- data/lib/google/apis/batch_v1/gem_version.rb +2 -2
- data/lib/google/apis/batch_v1/representations.rb +15 -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: 72bd4958d620b731bb2aa6f68713031b48d2ffe0a915e3f7994e361834fa47fb
|
4
|
+
data.tar.gz: fe7d721aa1b0710066406b57239d18d4c328de9e46aaab4e819be610dd69bbf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ae247bb72f888d146f915d18958c27fc195d70281c99a8a2a042cd54b22b46912b44a3f946137967bd188f52fb7b7e78bce8ec769daa1ac0f643685b5e87c3d
|
7
|
+
data.tar.gz: b3df45db4df34fc25af34b5f9a25f42284d84b631657913747ece2a77932583bdcfcddf879a6d91ff1bc67077566f8f623ee117c9403f6970476f967f35e008f
|
data/CHANGELOG.md
CHANGED
@@ -436,6 +436,25 @@ module Google
|
|
436
436
|
end
|
437
437
|
end
|
438
438
|
|
439
|
+
# AgentTaskLoggingOption contains the options for the logging of the task.
|
440
|
+
class AgentTaskLoggingOption
|
441
|
+
include Google::Apis::Core::Hashable
|
442
|
+
|
443
|
+
# Labels to be added to the log entry. Now only cloud logging is supported.
|
444
|
+
# Corresponds to the JSON property `labels`
|
445
|
+
# @return [Hash<String,String>]
|
446
|
+
attr_accessor :labels
|
447
|
+
|
448
|
+
def initialize(**args)
|
449
|
+
update!(**args)
|
450
|
+
end
|
451
|
+
|
452
|
+
# Update properties of this object
|
453
|
+
def update!(**args)
|
454
|
+
@labels = args[:labels] if args.key?(:labels)
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
439
458
|
# AgentTaskRunnable is the Runnable representation between Agent and CLH
|
440
459
|
# communication.
|
441
460
|
class AgentTaskRunnable
|
@@ -515,6 +534,11 @@ module Google
|
|
515
534
|
# @return [Google::Apis::BatchV1::AgentEnvironment]
|
516
535
|
attr_accessor :environment
|
517
536
|
|
537
|
+
# AgentTaskLoggingOption contains the options for the logging of the task.
|
538
|
+
# Corresponds to the JSON property `loggingOption`
|
539
|
+
# @return [Google::Apis::BatchV1::AgentTaskLoggingOption]
|
540
|
+
attr_accessor :logging_option
|
541
|
+
|
518
542
|
# Maximum duration the task should run before being automatically retried (if
|
519
543
|
# enabled) or automatically failed. Format the value of this field as a time
|
520
544
|
# limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field
|
@@ -545,6 +569,7 @@ module Google
|
|
545
569
|
# Update properties of this object
|
546
570
|
def update!(**args)
|
547
571
|
@environment = args[:environment] if args.key?(:environment)
|
572
|
+
@logging_option = args[:logging_option] if args.key?(:logging_option)
|
548
573
|
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
549
574
|
@runnables = args[:runnables] if args.key?(:runnables)
|
550
575
|
@user_account = args[:user_account] if args.key?(:user_account)
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240821"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class AgentTaskLoggingOption
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class AgentTaskRunnable
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -496,6 +502,13 @@ module Google
|
|
496
502
|
end
|
497
503
|
end
|
498
504
|
|
505
|
+
class AgentTaskLoggingOption
|
506
|
+
# @private
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
508
|
+
hash :labels, as: 'labels'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
499
512
|
class AgentTaskRunnable
|
500
513
|
# @private
|
501
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -517,6 +530,8 @@ module Google
|
|
517
530
|
class Representation < Google::Apis::Core::JsonRepresentation
|
518
531
|
property :environment, as: 'environment', class: Google::Apis::BatchV1::AgentEnvironment, decorator: Google::Apis::BatchV1::AgentEnvironment::Representation
|
519
532
|
|
533
|
+
property :logging_option, as: 'loggingOption', class: Google::Apis::BatchV1::AgentTaskLoggingOption, decorator: Google::Apis::BatchV1::AgentTaskLoggingOption::Representation
|
534
|
+
|
520
535
|
property :max_run_duration, as: 'maxRunDuration'
|
521
536
|
collection :runnables, as: 'runnables', class: Google::Apis::BatchV1::AgentTaskRunnable, decorator: Google::Apis::BatchV1::AgentTaskRunnable::Representation
|
522
537
|
|
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.42.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-
|
11
|
+
date: 2024-09-01 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.42.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: []
|