google-cloud-batch-v1 1.7.0 → 1.8.1

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: 84122014d2a5c762fcde7ded3cc4bf890fe5babf8f3a41b5b4cf074ef618c423
4
- data.tar.gz: e6d944a688d5de451b7c414c92962f38b24e73309199f4608137aaeb3a67c78e
3
+ metadata.gz: 0ccfedfd765f5bade74f111e88cfe2be55b7cc2159ddd271e8282b7473127696
4
+ data.tar.gz: 67f113b402cd1931e0f95139fd5c474cc985888121e427fd8a4e22ef5deb0674
5
5
  SHA512:
6
- metadata.gz: 7def2a6ba149fbe7da083cdd5d86a5bbbf3575d3242144aec5e287465b67434dc842256b498e31caa11e0454653b91cb9061e960195fafa0eeaec4e13d4019bb
7
- data.tar.gz: 8ff0f1ebc07ad7e9e63c3a32d4cf7f78eb82e2ce1f9234a7960869bfdcda4cdffb86a0558aa15960ab1a6f98917ec93062ab5fb485999e3b29e8e976b56dbfdf
6
+ metadata.gz: 6fadffa82a9feb79ef4f540d4fe8006a9bc9c7bf94f0f3b449bc9b4d95d4d9a1b24bc2fab685a5b23dd8932de65c81a820e074aca272cb61dcb50eefebd117b7
7
+ data.tar.gz: dfd4500f7ecc1a3e1a8353b4e08ed5f1424b4634559e9926e3d9b0a8ba2cad1e6a2a389ac6fce7642786bd9b11cae32eb00be071ed9cff281ef67e04ed6fdccd
data/README.md CHANGED
@@ -83,7 +83,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
83
83
 
84
84
  ## Supported Ruby Versions
85
85
 
86
- This library is supported on Ruby 3.0+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported
89
89
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1038,6 +1038,7 @@ module Google
1038
1038
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1039
1039
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1040
1040
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1041
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1041
1042
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1042
1043
  # trigger a retry.
1043
1044
  # @return [::Hash]
@@ -1121,6 +1122,7 @@ module Google
1121
1122
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1122
1123
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1123
1124
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1125
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1124
1126
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1125
1127
  # trigger a retry.
1126
1128
  #
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -957,6 +957,7 @@ module Google
957
957
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
958
958
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
959
959
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
960
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
960
961
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
961
962
  # trigger a retry.
962
963
  # @return [::Hash]
@@ -1036,6 +1037,7 @@ module Google
1036
1037
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1037
1038
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1038
1039
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1040
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1039
1041
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1040
1042
  # trigger a retry.
1041
1043
  #
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Batch
23
23
  module V1
24
- VERSION = "1.7.0"
24
+ VERSION = "1.8.1"
25
25
  end
26
26
  end
27
27
  end
@@ -604,6 +604,7 @@ module Google
604
604
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
605
605
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
606
606
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
607
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
607
608
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
608
609
  # trigger a retry.
609
610
  # @return [::Hash]
@@ -687,6 +688,7 @@ module Google
687
688
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
688
689
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
689
690
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
691
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
690
692
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
691
693
  # trigger a retry.
692
694
  #
@@ -551,6 +551,7 @@ module Google
551
551
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
552
552
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
553
553
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
554
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
554
555
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
555
556
  # trigger a retry.
556
557
  # @return [::Hash]
@@ -630,6 +631,7 @@ module Google
630
631
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
631
632
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
632
633
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
634
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
633
635
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
634
636
  # trigger a retry.
635
637
  #
@@ -31,6 +31,8 @@ module Google
31
31
  # @!attribute [rw] selective_gapic_generation
32
32
  # @return [::Google::Api::SelectiveGapicGeneration]
33
33
  # Configuration for which RPCs should be generated in the GAPIC client.
34
+ #
35
+ # Note: This field should not be used in most cases.
34
36
  class CommonLanguageSettings
35
37
  include ::Google::Protobuf::MessageExts
36
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -441,6 +443,8 @@ module Google
441
443
 
442
444
  # This message is used to configure the generation of a subset of the RPCs in
443
445
  # a service for client libraries.
446
+ #
447
+ # Note: This feature should not be used in most cases.
444
448
  # @!attribute [rw] methods
445
449
  # @return [::Array<::String>]
446
450
  # An allowlist of the fully qualified names of RPCs that should be included
@@ -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.7.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement