google-apis-batch_v1 0.19.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: 29d2a618a61e2917f753f942b0301599e0dfcecebd0b1398cf165a72091fa386
4
- data.tar.gz: c9e36024015ed125d35c745f80ac53c3b57450894b956861291e6294848c85e3
3
+ metadata.gz: 868c0e661e6634d82c6bfeb294a39a6c8568acdf20de5ed4f923204d9c389def
4
+ data.tar.gz: 8f7af8268d1179474a17265687ee80ac4ee768da63bc24feee120b0f1eb40d21
5
5
  SHA512:
6
- metadata.gz: afb302a261e6cf5bfee56ad05b64b7563e294eae0b30826cfc61c0d0c9628eb7f0d2e77e66a9531877de975dbab3a8f0c137d10a02a059c92ff172a7713df359
7
- data.tar.gz: b529e31a4fd5bb1ddbba073a9115501b4ac9913bb567376ab122b0215ea62399e88a021db0dba64fc63f8049bde9f31d8eddf2c67f8342c1b6e56afcd106a568
6
+ metadata.gz: a729eb4979aea761111210d0acb3302789aa46bd0470bf31bf0e7f6a18ea6b20c4cd6276143b2e048fec9e7059a8b68a80e25896f8491a762756e26b5decca64
7
+ data.tar.gz: a7e8f864c880629b0973358d0ee34421983af2c7a88e78046f26e4a33823b9323ed864e891ec8323058a18f1717cb1d27e376bb1e66801e7e75c01527b1bb410
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.20.0 (2023-09-17)
8
+
9
+ * Regenerated from discovery document revision 20230826
10
+
3
11
  ### v0.19.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230807
@@ -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
@@ -828,8 +834,10 @@ module Google
828
834
  include Google::Apis::Core::Hashable
829
835
 
830
836
  # Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not
831
- # indicated, "NVMe" will be the default one for local ssds. We only support "
832
- # SCSI" for persistent disks now.
837
+ # indicated, "NVMe" will be the default one for local ssds. This field is
838
+ # ignored for persistent disks as the interface is chosen automatically. See
839
+ # https://cloud.google.com/compute/docs/disks/persistent-disks#
840
+ # choose_an_interface.
833
841
  # Corresponds to the JSON property `diskInterface`
834
842
  # @return [String]
835
843
  attr_accessor :disk_interface
@@ -841,7 +849,8 @@ module Google
841
849
  # customized image in short names. The following image values are supported for
842
850
  # a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use
843
851
  # Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `
844
- # 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.
845
854
  # Corresponds to the JSON property `image`
846
855
  # @return [String]
847
856
  attr_accessor :image
@@ -1000,6 +1009,12 @@ module Google
1000
1009
  # @return [String]
1001
1010
  attr_accessor :provisioning_model
1002
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
+
1003
1018
  def initialize(**args)
1004
1019
  update!(**args)
1005
1020
  end
@@ -1012,6 +1027,7 @@ module Google
1012
1027
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1013
1028
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1014
1029
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
1030
+ @reservation = args[:reservation] if args.key?(:reservation)
1015
1031
  end
1016
1032
  end
1017
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.19.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 = "20230807"
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.19.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-03 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.19.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: []