google-apis-batch_v1 0.20.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9e9e6571d993b032abb2778f1a73564b108377cce934ff719eb926d28f7e28f
4
- data.tar.gz: 51295b80a09645e751b36c1077c3f7cba05d47692d74c41316a3e08241e602f9
3
+ metadata.gz: 64e2b8b43898f48e4316279fa9b1abc7bb3bbddd29c9868b589364f8c5d4857d
4
+ data.tar.gz: 522b6632b6463b75ae14bd4754820691ec3bb5437f14ff414c6c77049f8929ab
5
5
  SHA512:
6
- metadata.gz: c0d219389191a03b4e22c26e8ee1b17f5c568f6072aaa8b06cd26baf33ab7bbf20efa7b07b1c197dc97b5ec67e7dc2425784105b80b302220f1b2fa78feabd17
7
- data.tar.gz: f55f1c7ac84d864b2611fffc9df03b94221c8a03ec328b21beb3ea49ab8073966bb5d472210b26ca955d37d51c61e6b0dbbe2381207bd98c3eb219391ec57216
6
+ metadata.gz: eca626982810c7360281c3cbf0227ee20b442fce558978b5c094ecb6a33405023a8129f15be296c387442edcb06d7ec48ce2a85328c38ed4c5e3b8a2927696fd
7
+ data.tar.gz: c6d18ac8b0d6854ad3f3bfa010eb64ebce4bbdeb03937444e4bbec35593abbc84de7b1c27bae7b1e35811fadf09bba4e88d7f0e33997d33d5ee6584609da2f3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.22.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20230929
6
+
7
+ ### v0.21.0 (2023-09-24)
8
+
9
+ * Regenerated from discovery document revision 20230914
10
+
3
11
  ### v0.20.0 (2023-09-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20230826
@@ -799,7 +799,13 @@ module Google
799
799
 
800
800
  # Volumes to mount (bind mount) from the host machine files or directories into
801
801
  # the container, formatted to match docker run's --volume option, e.g. /foo:/bar,
802
- # or /foo:/bar:ro
802
+ # or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field
803
+ # is not, Batch will mount each volume from the host machine to the container
804
+ # with the same mount path by default. In this case, the default mount option
805
+ # for containers will be read-only (ro) for existing persistent disks and read-
806
+ # write (rw) for other volume types, regardless of the original mount options
807
+ # specified in `TaskSpec.Volumes`. If you need different mount settings, you can
808
+ # explicitly configure them in this field.
803
809
  # Corresponds to the JSON property `volumes`
804
810
  # @return [Array<String>]
805
811
  attr_accessor :volumes
@@ -843,7 +849,8 @@ module Google
843
849
  # customized image in short names. The following image values are supported for
844
850
  # a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use
845
851
  # Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `
846
- # batch-hpc-centos`: use Batch HPC CentOS images.
852
+ # batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch
853
+ # HPC Rocky Linux images.
847
854
  # Corresponds to the JSON property `image`
848
855
  # @return [String]
849
856
  attr_accessor :image
@@ -1002,6 +1009,12 @@ module Google
1002
1009
  # @return [String]
1003
1010
  attr_accessor :provisioning_model
1004
1011
 
1012
+ # Optional. If specified, VMs will consume only the specified reservation. If
1013
+ # not specified (default), VMs will consume any applicable reservation.
1014
+ # Corresponds to the JSON property `reservation`
1015
+ # @return [String]
1016
+ attr_accessor :reservation
1017
+
1005
1018
  def initialize(**args)
1006
1019
  update!(**args)
1007
1020
  end
@@ -1014,6 +1027,7 @@ module Google
1014
1027
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1015
1028
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1016
1029
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
1030
+ @reservation = args[:reservation] if args.key?(:reservation)
1017
1031
  end
1018
1032
  end
1019
1033
 
@@ -1897,6 +1911,14 @@ module Google
1897
1911
  # @return [Google::Apis::BatchV1::Container]
1898
1912
  attr_accessor :container
1899
1913
 
1914
+ # Optional. DisplayName is an optional field that can be provided by the caller.
1915
+ # If provided, it will be used in logs and other outputs to identify the script,
1916
+ # making it easier for users to understand the logs. If not provided the index
1917
+ # of the runnable will be used for outputs.
1918
+ # Corresponds to the JSON property `displayName`
1919
+ # @return [String]
1920
+ attr_accessor :display_name
1921
+
1900
1922
  # An Environment describes a collection of environment variables to set when
1901
1923
  # executing Tasks.
1902
1924
  # Corresponds to the JSON property `environment`
@@ -1935,6 +1957,7 @@ module Google
1935
1957
  @background = args[:background] if args.key?(:background)
1936
1958
  @barrier = args[:barrier] if args.key?(:barrier)
1937
1959
  @container = args[:container] if args.key?(:container)
1960
+ @display_name = args[:display_name] if args.key?(:display_name)
1938
1961
  @environment = args[:environment] if args.key?(:environment)
1939
1962
  @ignore_exit_status = args[:ignore_exit_status] if args.key?(:ignore_exit_status)
1940
1963
  @labels = args[:labels] if args.key?(:labels)
@@ -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.20.0"
19
+ GEM_VERSION = "0.22.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 = "20230826"
25
+ REVISION = "20230929"
26
26
  end
27
27
  end
28
28
  end
@@ -628,6 +628,7 @@ module Google
628
628
  property :machine_type, as: 'machineType'
629
629
  property :min_cpu_platform, as: 'minCpuPlatform'
630
630
  property :provisioning_model, as: 'provisioningModel'
631
+ property :reservation, as: 'reservation'
631
632
  end
632
633
  end
633
634
 
@@ -874,6 +875,7 @@ module Google
874
875
 
875
876
  property :container, as: 'container', class: Google::Apis::BatchV1::Container, decorator: Google::Apis::BatchV1::Container::Representation
876
877
 
878
+ property :display_name, as: 'displayName'
877
879
  property :environment, as: 'environment', class: Google::Apis::BatchV1::Environment, decorator: Google::Apis::BatchV1::Environment::Representation
878
880
 
879
881
  property :ignore_exit_status, as: 'ignoreExitStatus'
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.20.0
4
+ version: 0.22.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-09-17 00:00:00.000000000 Z
11
+ date: 2023-10-08 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.22.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: []