google-cloud-batch-v1 1.8.0 → 1.8.2

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: 78151d1064c14b34ab26db7733b3d8b54d7a095f14c3e54a9a833784ed782af7
4
- data.tar.gz: 7946c2bf95463d62aeb00727d8b228e4d6cc096cb5d933e96489e24e4cdcc2df
3
+ metadata.gz: 679105ecbc0614dc5ec1885712897988aa20bf0296d8872dc921003618abf96d
4
+ data.tar.gz: ee3c72a498104487db6a8a1efd30429bbe8d3eb986c73ce9232901189a2b008c
5
5
  SHA512:
6
- metadata.gz: 1e5571a53ed169deab5224ddf2e1396083abd0cd2ca7aa7ca67d2bc8ec42104d867181440857f816bd67aec1c2b20e7240b1eba827ce292fce243f517343b007
7
- data.tar.gz: b74001be349c2918575b0afa4bf7b98d135e879821c0e9013ae7aba75596971906e6bc9a18ca2d8d992a07cf90215a96602c6afb8153d27a6fcf678451f17f8a
6
+ metadata.gz: 6d4e24caebfb70bb7b47c5d6b7b9ba5a7a1100b32651d36f52eb7f074e2f9ec19f071d5b5c41305959932bdd845894689e8f9339757397b0ace8b2623d8e8fdf
7
+ data.tar.gz: b2b0a63e971b37b8865af072031577aa51e7187b6ca8d627539cd4eed1893273f93ef6865e8228e3fe686c2b36946e92c92fee21d1a20bdeb79f75c8d211950a
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Batch
23
23
  module V1
24
- VERSION = "1.8.0"
24
+ VERSION = "1.8.2"
25
25
  end
26
26
  end
27
27
  end
@@ -208,7 +208,7 @@ module Google
208
208
  uri_template: "/v1/{resource}:setIamPolicy",
209
209
  body: "*",
210
210
  matches: [
211
- ["resource", %r{^.*$}, true]
211
+ ["resource", %r{^(?<__wildcard__>.*)$}, true]
212
212
  ]
213
213
  )
214
214
  transcoder.transcode request_pb
@@ -230,7 +230,7 @@ module Google
230
230
  uri_template: "/v1/{resource}:getIamPolicy",
231
231
  body: "*",
232
232
  matches: [
233
- ["resource", %r{^.*$}, true]
233
+ ["resource", %r{^(?<__wildcard__>.*)$}, true]
234
234
  ]
235
235
  )
236
236
  transcoder.transcode request_pb
@@ -252,7 +252,7 @@ module Google
252
252
  uri_template: "/v1/{resource}:testIamPermissions",
253
253
  body: "*",
254
254
  matches: [
255
- ["resource", %r{^.*$}, true]
255
+ ["resource", %r{^(?<__wildcard__>.*)$}, true]
256
256
  ]
257
257
  )
258
258
  transcoder.transcode request_pb
@@ -361,20 +361,32 @@ module Google
361
361
 
362
362
  # @!attribute [rw] allowed_locations
363
363
  # @return [::Array<::String>]
364
- # A list of allowed location names represented by internal URLs.
364
+ # A list of location names that are allowed for the job's VMs formatted
365
+ # as URLs. Each location can be a region or a zone, but you can only
366
+ # specify one region or multiple zones in one region per job. For example,
367
+ # `["regions/us-central1"]` allow VMs in any zones in region
368
+ # `us-central1`, and `["zones/us-central1-a", "zones/us-central1-c"]`
369
+ # only allow VMs in zones `us-central1-a` and `us-central1-c`. However,
370
+ # `["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
371
+ # "zones/us-west1-a"]` causes an error because it contains multiple regions
372
+ # (`us-central1` and `us-west1`).
365
373
  #
366
- # Each location can be a region or a zone.
367
- # Only one region or multiple zones in one region is supported now.
368
- # For example,
369
- # ["regions/us-central1"] allow VMs in any zones in region us-central1.
370
- # ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
371
- # in zones us-central1-a and us-central1-c.
374
+ # The specified region or zones must be in the same region in
375
+ # which the job is created starting on the following dates:
372
376
  #
373
- # Mixing locations from different regions would cause errors.
374
- # For example,
375
- # ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
376
- # "zones/us-west1-a"] contains locations from two distinct regions:
377
- # us-central1 and us-west1. This combination will trigger an error.
377
+ # + For projects that have successfully submitted before
378
+ # July 31, 2026 at least one job that uses the
379
+ # `allowedLocations[]` field with any region or zones
380
+ # outside of the job's location, the changes are starting
381
+ # on _June 30, 2027_.
382
+ #
383
+ # + For all other projects, the changes are starting on
384
+ # _July 31, 2026_.
385
+ #
386
+ # For example, for job `projects/123/locations/us-central1/jobs/jobid`,
387
+ # the specified region or zones must be in `us-central1`. Using a
388
+ # different region (e.g. `regions/us-west1`) or a zone not in
389
+ # `us-central1` (e.g. `zones/us-west1-a`) causes an error.
378
390
  class LocationPolicy
379
391
  include ::Google::Protobuf::MessageExts
380
392
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-batch-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC