google-apis-batch_v1 0.40.0 → 0.41.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 999b0e75e4924e5e55ec86e8d8ed9e4bdddef5b53c9eb1cc6b23ed31e48ee330
4
- data.tar.gz: 132271704627c632cc84ad6f27255ffc2d62fdc1bd9f9c077114d88e429436c6
3
+ metadata.gz: 0c21c3421136e80383337bea4fd081937e0479e2931d4900d03c40ed090d4d2f
4
+ data.tar.gz: 0451b2385d94678d940f2c5ef2fdd8f95248c167fe7884f7e14d4939de210ae8
5
5
  SHA512:
6
- metadata.gz: 85249d78cfc770acb45bcce7a38d62be779dd589ddd77f2a62b16264d4fdfaf92931f0fe019529a43722c5f53315b2c395e855de35d9d3e7b70f946e77db8985
7
- data.tar.gz: 73ab705973bc9fb7cb5ecd3012fdf6b9a769a25af9bddd4616bdf5be18885db4a389dc3489477ba7a32104deb2c97cea3e650b08bfa4671f87af227d26e1b19b
6
+ metadata.gz: 39e6a91df53bd9454bbeff85588cb3398d091d087703a7e0d02b367f0d3b38b3b0d628be72e2a5df0d405869d3b46cc19cbc0ab0d8e3207de6f66b741f1f9817
7
+ data.tar.gz: debe87f1e260688cfd2da67de16286810210c880c0e518cbef62bd692b0e7152d5687808f5030c0ba3b32523480d3c044725796b4d91bf160cbc0a1d8f3c9ea9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.41.0 (2024-08-25)
4
+
5
+ * Regenerated from discovery document revision 20240813
6
+
3
7
  ### v0.40.0 (2024-08-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240801
@@ -1156,6 +1156,22 @@ module Google
1156
1156
  class InstancePolicyOrTemplate
1157
1157
  include Google::Apis::Core::Hashable
1158
1158
 
1159
+ # Optional. Set this field to `true` if you want Batch to block project-level
1160
+ # SSH keys from accessing this job's VMs. Alternatively, you can configure the
1161
+ # job to specify a VM instance template that blocks project-level SSH keys. In
1162
+ # either case, Batch blocks project-level SSH keys while creating the VMs for
1163
+ # this job. Batch allows project-level SSH keys for a job's VMs only if all the
1164
+ # following are true: + This field is undefined or set to `false`. + The job's
1165
+ # VM instance template (if any) doesn't block project-level SSH keys. Notably,
1166
+ # you can override this behavior by manually updating a VM to block or allow
1167
+ # project-level SSH keys. For more information about blocking project-level SSH
1168
+ # keys, see the Compute Engine documentation: https://cloud.google.com/compute/
1169
+ # docs/connect/restrict-ssh-keys#block-keys
1170
+ # Corresponds to the JSON property `blockProjectSshKeys`
1171
+ # @return [Boolean]
1172
+ attr_accessor :block_project_ssh_keys
1173
+ alias_method :block_project_ssh_keys?, :block_project_ssh_keys
1174
+
1159
1175
  # Set this field true if you want Batch to help fetch drivers from a third party
1160
1176
  # location and install them for GPUs specified in `policy.accelerators` or `
1161
1177
  # instance_template` on your behalf. Default is false. For Container-Optimized
@@ -1194,6 +1210,7 @@ module Google
1194
1210
 
1195
1211
  # Update properties of this object
1196
1212
  def update!(**args)
1213
+ @block_project_ssh_keys = args[:block_project_ssh_keys] if args.key?(:block_project_ssh_keys)
1197
1214
  @install_gpu_drivers = args[:install_gpu_drivers] if args.key?(:install_gpu_drivers)
1198
1215
  @install_ops_agent = args[:install_ops_agent] if args.key?(:install_ops_agent)
1199
1216
  @instance_template = args[:instance_template] if args.key?(:instance_template)
@@ -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.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240801"
25
+ REVISION = "20240813"
26
26
  end
27
27
  end
28
28
  end
@@ -667,6 +667,7 @@ module Google
667
667
  class InstancePolicyOrTemplate
668
668
  # @private
669
669
  class Representation < Google::Apis::Core::JsonRepresentation
670
+ property :block_project_ssh_keys, as: 'blockProjectSshKeys'
670
671
  property :install_gpu_drivers, as: 'installGpuDrivers'
671
672
  property :install_ops_agent, as: 'installOpsAgent'
672
673
  property :instance_template, as: 'instanceTemplate'
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.40.0
4
+ version: 0.41.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: 2024-08-11 00:00:00.000000000 Z
11
+ date: 2024-08-25 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.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.41.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: []