google-apis-batch_v1 0.20.0 → 0.21.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: 868c0e661e6634d82c6bfeb294a39a6c8568acdf20de5ed4f923204d9c389def
4
+ data.tar.gz: 8f7af8268d1179474a17265687ee80ac4ee768da63bc24feee120b0f1eb40d21
5
5
  SHA512:
6
- metadata.gz: c0d219389191a03b4e22c26e8ee1b17f5c568f6072aaa8b06cd26baf33ab7bbf20efa7b07b1c197dc97b5ec67e7dc2425784105b80b302220f1b2fa78feabd17
7
- data.tar.gz: f55f1c7ac84d864b2611fffc9df03b94221c8a03ec328b21beb3ea49ab8073966bb5d472210b26ca955d37d51c61e6b0dbbe2381207bd98c3eb219391ec57216
6
+ metadata.gz: a729eb4979aea761111210d0acb3302789aa46bd0470bf31bf0e7f6a18ea6b20c4cd6276143b2e048fec9e7059a8b68a80e25896f8491a762756e26b5decca64
7
+ data.tar.gz: a7e8f864c880629b0973358d0ee34421983af2c7a88e78046f26e4a33823b9323ed864e891ec8323058a18f1717cb1d27e376bb1e66801e7e75c01527b1bb410
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.21.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230914
6
+
3
7
  ### v0.20.0 (2023-09-17)
4
8
 
5
9
  * 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
 
@@ -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.21.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 = "20230914"
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
 
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.21.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-09-24 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.21.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: []