google-apis-batch_v1 0.24.0 → 0.26.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 +8 -0
- data/lib/google/apis/batch_v1/classes.rb +47 -0
- data/lib/google/apis/batch_v1/gem_version.rb +2 -2
- data/lib/google/apis/batch_v1/representations.rb +17 -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: c2402f431057ab0968d3992841750b90ad7cc175ab61df3f11c5a3bd63f28a8e
|
4
|
+
data.tar.gz: 8232170ee4503f5c259adce004b345227ee752a5d3abb8004b2116bbfd847818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3bf869df56dac5948f1a09bab8e196668bc0fac1ad0a35e27846a23001ce20b8b69bb0ca8b4ddf14c8b9a8d77bd91cf52a53085304e2d6d1ff6e8339df8caed
|
7
|
+
data.tar.gz: f51c9fdff40061bc0d8d4c5e7c637935019b53ae33ac40d2b8e79a6f422fdc9c55faf80f607ba3981c9a04665bbe03de79cb616dcf484d2e91a94e7926624ac7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-batch_v1
|
2
2
|
|
3
|
+
### v0.26.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231122
|
6
|
+
|
7
|
+
### v0.25.0 (2023-11-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231029
|
10
|
+
|
3
11
|
### v0.24.0 (2023-10-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231018
|
@@ -520,6 +520,12 @@ module Google
|
|
520
520
|
# @return [Array<Google::Apis::BatchV1::AgentTaskRunnable>]
|
521
521
|
attr_accessor :runnables
|
522
522
|
|
523
|
+
# AgentTaskUserAccount contains the information of a POSIX account on the guest
|
524
|
+
# os which is used to execute the runnables.
|
525
|
+
# Corresponds to the JSON property `userAccount`
|
526
|
+
# @return [Google::Apis::BatchV1::AgentTaskUserAccount]
|
527
|
+
attr_accessor :user_account
|
528
|
+
|
523
529
|
def initialize(**args)
|
524
530
|
update!(**args)
|
525
531
|
end
|
@@ -529,6 +535,35 @@ module Google
|
|
529
535
|
@environment = args[:environment] if args.key?(:environment)
|
530
536
|
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
531
537
|
@runnables = args[:runnables] if args.key?(:runnables)
|
538
|
+
@user_account = args[:user_account] if args.key?(:user_account)
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
# AgentTaskUserAccount contains the information of a POSIX account on the guest
|
543
|
+
# os which is used to execute the runnables.
|
544
|
+
class AgentTaskUserAccount
|
545
|
+
include Google::Apis::Core::Hashable
|
546
|
+
|
547
|
+
# gid id an unique identifier of the POSIX account group corresponding to the
|
548
|
+
# user account.
|
549
|
+
# Corresponds to the JSON property `gid`
|
550
|
+
# @return [Fixnum]
|
551
|
+
attr_accessor :gid
|
552
|
+
|
553
|
+
# uid is an unique identifier of the POSIX account corresponding to the user
|
554
|
+
# account.
|
555
|
+
# Corresponds to the JSON property `uid`
|
556
|
+
# @return [Fixnum]
|
557
|
+
attr_accessor :uid
|
558
|
+
|
559
|
+
def initialize(**args)
|
560
|
+
update!(**args)
|
561
|
+
end
|
562
|
+
|
563
|
+
# Update properties of this object
|
564
|
+
def update!(**args)
|
565
|
+
@gid = args[:gid] if args.key?(:gid)
|
566
|
+
@uid = args[:uid] if args.key?(:uid)
|
532
567
|
end
|
533
568
|
end
|
534
569
|
|
@@ -767,6 +802,17 @@ module Google
|
|
767
802
|
# @return [Array<String>]
|
768
803
|
attr_accessor :commands
|
769
804
|
|
805
|
+
# Optional. If set to true, container will run with Image streaming. The
|
806
|
+
# container runtime will be changed to containerd instead of docker. Currently,
|
807
|
+
# only imageUri, commands, entrypoint and volumes are supported and any other
|
808
|
+
# fields will be ignored. Please refer [here](https://github.com/
|
809
|
+
# GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming) for
|
810
|
+
# the feature requirements and limitations.
|
811
|
+
# Corresponds to the JSON property `enableImageStreaming`
|
812
|
+
# @return [Boolean]
|
813
|
+
attr_accessor :enable_image_streaming
|
814
|
+
alias_method :enable_image_streaming?, :enable_image_streaming
|
815
|
+
|
770
816
|
# Overrides the `ENTRYPOINT` specified in the container.
|
771
817
|
# Corresponds to the JSON property `entrypoint`
|
772
818
|
# @return [String]
|
@@ -818,6 +864,7 @@ module Google
|
|
818
864
|
def update!(**args)
|
819
865
|
@block_external_network = args[:block_external_network] if args.key?(:block_external_network)
|
820
866
|
@commands = args[:commands] if args.key?(:commands)
|
867
|
+
@enable_image_streaming = args[:enable_image_streaming] if args.key?(:enable_image_streaming)
|
821
868
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
822
869
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
823
870
|
@options = args[:options] if args.key?(:options)
|
@@ -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.26.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 = "20231122"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class AgentTaskUserAccount
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class AgentTimingInfo
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -507,6 +513,16 @@ module Google
|
|
507
513
|
property :max_run_duration, as: 'maxRunDuration'
|
508
514
|
collection :runnables, as: 'runnables', class: Google::Apis::BatchV1::AgentTaskRunnable, decorator: Google::Apis::BatchV1::AgentTaskRunnable::Representation
|
509
515
|
|
516
|
+
property :user_account, as: 'userAccount', class: Google::Apis::BatchV1::AgentTaskUserAccount, decorator: Google::Apis::BatchV1::AgentTaskUserAccount::Representation
|
517
|
+
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
class AgentTaskUserAccount
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
property :gid, :numeric_string => true, as: 'gid'
|
525
|
+
property :uid, :numeric_string => true, as: 'uid'
|
510
526
|
end
|
511
527
|
end
|
512
528
|
|
@@ -573,6 +589,7 @@ module Google
|
|
573
589
|
class Representation < Google::Apis::Core::JsonRepresentation
|
574
590
|
property :block_external_network, as: 'blockExternalNetwork'
|
575
591
|
collection :commands, as: 'commands'
|
592
|
+
property :enable_image_streaming, as: 'enableImageStreaming'
|
576
593
|
property :entrypoint, as: 'entrypoint'
|
577
594
|
property :image_uri, as: 'imageUri'
|
578
595
|
property :options, as: 'options'
|
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.26.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-10
|
11
|
+
date: 2023-12-10 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.26.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: []
|