google-apis-batch_v1 0.25.0 → 0.26.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 +12 -21
- data/lib/google/apis/batch_v1/gem_version.rb +2 -2
- data/lib/google/apis/batch_v1/representations.rb +1 -14
- 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
@@ -724,20 +724,6 @@ module Google
|
|
724
724
|
end
|
725
725
|
end
|
726
726
|
|
727
|
-
# CloudLoggingOption contains additional settings for cloud logging generated by
|
728
|
-
# Batch job.
|
729
|
-
class CloudLoggingOption
|
730
|
-
include Google::Apis::Core::Hashable
|
731
|
-
|
732
|
-
def initialize(**args)
|
733
|
-
update!(**args)
|
734
|
-
end
|
735
|
-
|
736
|
-
# Update properties of this object
|
737
|
-
def update!(**args)
|
738
|
-
end
|
739
|
-
end
|
740
|
-
|
741
727
|
# Compute resource requirements. ComputeResource defines the amount of resources
|
742
728
|
# required for each task. Make sure your tasks have enough resources to
|
743
729
|
# successfully run. If you also define the types of resources for a job to use
|
@@ -816,6 +802,17 @@ module Google
|
|
816
802
|
# @return [Array<String>]
|
817
803
|
attr_accessor :commands
|
818
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
|
+
|
819
816
|
# Overrides the `ENTRYPOINT` specified in the container.
|
820
817
|
# Corresponds to the JSON property `entrypoint`
|
821
818
|
# @return [String]
|
@@ -867,6 +864,7 @@ module Google
|
|
867
864
|
def update!(**args)
|
868
865
|
@block_external_network = args[:block_external_network] if args.key?(:block_external_network)
|
869
866
|
@commands = args[:commands] if args.key?(:commands)
|
867
|
+
@enable_image_streaming = args[:enable_image_streaming] if args.key?(:enable_image_streaming)
|
870
868
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
871
869
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
872
870
|
@options = args[:options] if args.key?(:options)
|
@@ -1565,12 +1563,6 @@ module Google
|
|
1565
1563
|
class LogsPolicy
|
1566
1564
|
include Google::Apis::Core::Hashable
|
1567
1565
|
|
1568
|
-
# CloudLoggingOption contains additional settings for cloud logging generated by
|
1569
|
-
# Batch job.
|
1570
|
-
# Corresponds to the JSON property `cloudLoggingOption`
|
1571
|
-
# @return [Google::Apis::BatchV1::CloudLoggingOption]
|
1572
|
-
attr_accessor :cloud_logging_option
|
1573
|
-
|
1574
1566
|
# Where logs should be saved.
|
1575
1567
|
# Corresponds to the JSON property `destination`
|
1576
1568
|
# @return [String]
|
@@ -1589,7 +1581,6 @@ module Google
|
|
1589
1581
|
|
1590
1582
|
# Update properties of this object
|
1591
1583
|
def update!(**args)
|
1592
|
-
@cloud_logging_option = args[:cloud_logging_option] if args.key?(:cloud_logging_option)
|
1593
1584
|
@destination = args[:destination] if args.key?(:destination)
|
1594
1585
|
@logs_path = args[:logs_path] if args.key?(:logs_path)
|
1595
1586
|
end
|
@@ -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
|
@@ -130,12 +130,6 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class CloudLoggingOption
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
-
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
137
|
-
end
|
138
|
-
|
139
133
|
class ComputeResource
|
140
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
135
|
|
@@ -581,12 +575,6 @@ module Google
|
|
581
575
|
end
|
582
576
|
end
|
583
577
|
|
584
|
-
class CloudLoggingOption
|
585
|
-
# @private
|
586
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
587
|
-
end
|
588
|
-
end
|
589
|
-
|
590
578
|
class ComputeResource
|
591
579
|
# @private
|
592
580
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -601,6 +589,7 @@ module Google
|
|
601
589
|
class Representation < Google::Apis::Core::JsonRepresentation
|
602
590
|
property :block_external_network, as: 'blockExternalNetwork'
|
603
591
|
collection :commands, as: 'commands'
|
592
|
+
property :enable_image_streaming, as: 'enableImageStreaming'
|
604
593
|
property :entrypoint, as: 'entrypoint'
|
605
594
|
property :image_uri, as: 'imageUri'
|
606
595
|
property :options, as: 'options'
|
@@ -800,8 +789,6 @@ module Google
|
|
800
789
|
class LogsPolicy
|
801
790
|
# @private
|
802
791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
803
|
-
property :cloud_logging_option, as: 'cloudLoggingOption', class: Google::Apis::BatchV1::CloudLoggingOption, decorator: Google::Apis::BatchV1::CloudLoggingOption::Representation
|
804
|
-
|
805
792
|
property :destination, as: 'destination'
|
806
793
|
property :logs_path, as: 'logsPath'
|
807
794
|
end
|
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-
|
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: []
|