google-apis-cloudscheduler_v1 0.38.0 → 0.39.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: 81d73f62b351a9c9995015dd639d8798c6bb7e7c5c95f72751e4fb59974f8f4c
4
- data.tar.gz: 0d00f200685894ca5a5917edf09b74f4969c7e4c05708d85274dac6d46cb4189
3
+ metadata.gz: 590aae3c4cc52cecc1fea0f321eff7f00fab17c5a384c23fb8e3334d9b86d188
4
+ data.tar.gz: cf2eb0f2653b517986991a8b058e25bd025710f0ad42dce06c9cc240cc0770b0
5
5
  SHA512:
6
- metadata.gz: 4ff299014faf14d10ec317ce67354470d43e60583e0cec44ae891b76907bc826114e80ae0730ed55dbb54525d4145c5657dc0def2b19b2f1a5c65aae7c3ddc61
7
- data.tar.gz: 2b3864650e17ce7428e31e925d044c779357c32803b9b81bab5173d02c07ec3fa01055203a9b06bd501916463b864aa60b26e948812155c75a82366a150b9d79
6
+ metadata.gz: 3a2d112bc87cbe7696edadd7a195a0f5beba688ffd895e6c5118588ccb549e8ab24a227209c31da4d71a7dc940925c5902ee5b05604534930b89e9ec87373b70
7
+ data.tar.gz: 966fe31d42f04232b4cea31978663364395c722b5eaf47c635fa8ecd419a6acaa7e99eda72089fc91fe1e5f009da0110a65a90459163045b17cf97e1c76ca769
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudscheduler_v1
2
2
 
3
+ ### v0.39.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250530
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.38.0 (2025-05-04)
4
9
 
5
10
  * Regenerated using generator version 0.17.0
@@ -360,14 +360,22 @@ module Google
360
360
  # @return [Google::Apis::CloudschedulerV1::PubsubTarget]
361
361
  attr_accessor :pubsub_target
362
362
 
363
- # Settings that determine the retry behavior. By default, if a job does not
364
- # complete successfully (meaning that an acknowledgement is not received from
365
- # the handler, then it will be retried with exponential backoff according to the
366
- # settings in RetryConfig.
363
+ # Settings that determine the retry behavior. For more information, see [Retry
364
+ # jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By
365
+ # default, if a job does not complete successfully (meaning that an
366
+ # acknowledgement is not received from the handler, then it will be retried with
367
+ # exponential backoff according to the settings in RetryConfig.
367
368
  # Corresponds to the JSON property `retryConfig`
368
369
  # @return [Google::Apis::CloudschedulerV1::RetryConfig]
369
370
  attr_accessor :retry_config
370
371
 
372
+ # Output only. Whether or not this Job satisfies the requirements of physical
373
+ # zone separation
374
+ # Corresponds to the JSON property `satisfiesPzs`
375
+ # @return [Boolean]
376
+ attr_accessor :satisfies_pzs
377
+ alias_method :satisfies_pzs?, :satisfies_pzs
378
+
371
379
  # Required, except when used with UpdateJob. Describes the schedule on which the
372
380
  # job will be executed. The schedule can be either of the following types: * [
373
381
  # Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule]
@@ -439,6 +447,7 @@ module Google
439
447
  @name = args[:name] if args.key?(:name)
440
448
  @pubsub_target = args[:pubsub_target] if args.key?(:pubsub_target)
441
449
  @retry_config = args[:retry_config] if args.key?(:retry_config)
450
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
442
451
  @schedule = args[:schedule] if args.key?(:schedule)
443
452
  @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
444
453
  @state = args[:state] if args.key?(:state)
@@ -887,10 +896,11 @@ module Google
887
896
  end
888
897
  end
889
898
 
890
- # Settings that determine the retry behavior. By default, if a job does not
891
- # complete successfully (meaning that an acknowledgement is not received from
892
- # the handler, then it will be retried with exponential backoff according to the
893
- # settings in RetryConfig.
899
+ # Settings that determine the retry behavior. For more information, see [Retry
900
+ # jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By
901
+ # default, if a job does not complete successfully (meaning that an
902
+ # acknowledgement is not received from the handler, then it will be retried with
903
+ # exponential backoff according to the settings in RetryConfig.
894
904
  class RetryConfig
895
905
  include Google::Apis::Core::Hashable
896
906
 
@@ -903,21 +913,18 @@ module Google
903
913
  # The time between retries will double `max_doublings` times. A job's retry
904
914
  # interval starts at min_backoff_duration, then doubles `max_doublings` times,
905
915
  # then increases linearly, and finally retries at intervals of
906
- # max_backoff_duration up to retry_count times. For example, if
907
- # min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings`
908
- # is 3, then the job will first be retried in 10s. The retry interval will
909
- # double three times, and then increase linearly by 2^3 * 10s. Finally, the job
910
- # will retry at intervals of max_backoff_duration until the job has been
911
- # attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s,
912
- # 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5.
916
+ # max_backoff_duration up to retry_count times. For examples, see [Retry jobs](
917
+ # https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings).
918
+ # The default value of this field is 5.
913
919
  # Corresponds to the JSON property `maxDoublings`
914
920
  # @return [Fixnum]
915
921
  attr_accessor :max_doublings
916
922
 
917
- # The time limit for retrying a failed job, measured from time when an execution
918
- # was first attempted. If specified with retry_count, the job will be retried
919
- # until both limits are reached. The default value for max_retry_duration is
920
- # zero, which means retry duration is unlimited.
923
+ # The time limit for retrying a failed job, measured from the time when an
924
+ # execution was first attempted. If specified with retry_count, the job will be
925
+ # retried until both limits are reached. The default value for
926
+ # max_retry_duration is zero, which means retry duration is unlimited. However,
927
+ # if retry_count is also 0, a job attempt won't be retried if it fails.
921
928
  # Corresponds to the JSON property `maxRetryDuration`
922
929
  # @return [String]
923
930
  attr_accessor :max_retry_duration
@@ -930,14 +937,15 @@ module Google
930
937
 
931
938
  # The number of attempts that the system will make to run a job using the
932
939
  # exponential backoff procedure described by max_doublings. The default value of
933
- # retry_count is zero. If retry_count is 0, a job attempt will not be retried if
934
- # it fails. Instead the Cloud Scheduler system will wait for the next scheduled
935
- # execution time. Setting retry_count to 0 does not prevent failed jobs from
936
- # running according to schedule after the failure. If retry_count is set to a
937
- # non-zero number then Cloud Scheduler will retry failed attempts, using
938
- # exponential backoff, retry_count times, or until the next scheduled execution
939
- # time, whichever comes first. Values greater than 5 and negative values are not
940
- # allowed.
940
+ # retry_count is zero. If retry_count is 0 (and if max_retry_duration is also 0),
941
+ # a job attempt won't be retried if it fails. Instead, Cloud Scheduler system
942
+ # will wait for the next scheduled execution time. Setting retry_count to 0
943
+ # doesn't prevent failed jobs from running according to schedule after the
944
+ # failure. If retry_count is set to a non-zero number, Cloud Scheduler will
945
+ # retry the failed job, using exponential backoff, for retry_count times until
946
+ # the job succeeds or the number of retries is exhausted. Note that the next
947
+ # scheduled execution time might be skipped if the retries continue through that
948
+ # time. Values greater than 5 and negative values are not allowed.
941
949
  # Corresponds to the JSON property `retryCount`
942
950
  # @return [Fixnum]
943
951
  attr_accessor :retry_count
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudschedulerV1
18
18
  # Version of the google-apis-cloudscheduler_v1 gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250411"
25
+ REVISION = "20250530"
26
26
  end
27
27
  end
28
28
  end
@@ -211,6 +211,7 @@ module Google
211
211
 
212
212
  property :retry_config, as: 'retryConfig', class: Google::Apis::CloudschedulerV1::RetryConfig, decorator: Google::Apis::CloudschedulerV1::RetryConfig::Representation
213
213
 
214
+ property :satisfies_pzs, as: 'satisfiesPzs'
214
215
  property :schedule, as: 'schedule'
215
216
  property :schedule_time, as: 'scheduleTime'
216
217
  property :state, as: 'state'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudscheduler_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1/v0.38.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1/v0.39.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Scheduler API V1
79
79
  test_files: []