google-cloud-scheduler-v1 1.0.1 → 1.2.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: 3178873197895614553a4d03a1aecbd2c52f30dcf23c1d9ec59dc960eb326d93
4
- data.tar.gz: f3ac838ee9f50e89a0dae687797deabfe35afdb8897846d316ae7bf7b00e3818
3
+ metadata.gz: 2b1c2599a11676d19ac74931fee00758a692066ac0042eced26159b6fa363b4f
4
+ data.tar.gz: 142c0534085682ecc7a420b9a4649cd636653985a3b17ff911aea29ffedef283
5
5
  SHA512:
6
- metadata.gz: 278e6ef9d07f63d727ecf71dc31955732e1388525328b294299d7947b108fff6236495288a230d0e210432c7aa2c8bb073779eff9fa8f02a189c82cf1bbf43b1
7
- data.tar.gz: 1cd0dc222a39343edfd6e709aceecf867e71fc412d0293365b15c401578d65899a9a56bb05f6033dc86309d8bc60ad51e095e4d9fe0cc1c6acb4045648b28e5a
6
+ metadata.gz: 565ff637c708186726ab95c4a6df4642769b1612431265b5701449a372f58add48e0832769acd6814190cc3ecf01cc05f8305a70a22b37aacdcfc0743c14e261
7
+ data.tar.gz: 67b0a339c2084a5b5ee3c12e89915941dc133b2e2309c4bb3ad067896aa6c9596b8bc264938a988d4e266c44c9c1cc60095e1a9078d834c5e3e226b4b91e5072
data/README.md CHANGED
@@ -43,40 +43,50 @@ for class and method documentation.
43
43
  See also the [Product Documentation](https://cloud.google.com/scheduler)
44
44
  for general usage information.
45
45
 
46
- ## Enabling Logging
47
-
48
- To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
- that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
- and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
-
54
- Configuring a Ruby stdlib logger:
46
+ ## Debug Logging
47
+
48
+ This library comes with opt-in Debug Logging that can help you troubleshoot
49
+ your application's integration with the API. When logging is activated, key
50
+ events such as requests and responses, along with data payloads and metadata
51
+ such as headers and client configuration, are logged to the standard error
52
+ stream.
53
+
54
+ **WARNING:** Client Library Debug Logging includes your data payloads in
55
+ plaintext, which could include sensitive data such as PII for yourself or your
56
+ customers, private keys, or other security data that could be compromising if
57
+ leaked. Always practice good data hygiene with your application logs, and follow
58
+ the principle of least access. Google also recommends that Client Library Debug
59
+ Logging be enabled only temporarily during active debugging, and not used
60
+ permanently in production.
61
+
62
+ To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
63
+ to the value `all`. Alternatively, you can set the value to a comma-delimited
64
+ list of client library gem names. This will select the default logging behavior,
65
+ which writes logs to the standard error stream. On a local workstation, this may
66
+ result in logs appearing on the console. When running on a Google Cloud hosting
67
+ service such as [Google Cloud Run](https://cloud.google.com/run), this generally
68
+ results in logs appearing alongside your application logs in the
69
+ [Google Cloud Logging](https://cloud.google.com/logging/) service.
70
+
71
+ You can customize logging by modifying the `logger` configuration when
72
+ constructing a client object. For example:
55
73
 
56
74
  ```ruby
75
+ require "google/cloud/scheduler/v1"
57
76
  require "logger"
58
77
 
59
- module MyLogger
60
- LOGGER = Logger.new $stderr, level: Logger::WARN
61
- def logger
62
- LOGGER
63
- end
64
- end
65
-
66
- # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
67
- module GRPC
68
- extend MyLogger
78
+ client = ::Google::Cloud::Scheduler::V1::CloudScheduler::Client.new do |config|
79
+ config.logger = Logger.new "my-app.log"
69
80
  end
70
81
  ```
71
82
 
72
-
73
83
  ## Google Cloud Samples
74
84
 
75
85
  To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
86
 
77
87
  ## Supported Ruby Versions
78
88
 
79
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
80
90
 
81
91
  Google provides official support for Ruby versions that are actively supported
82
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -184,14 +184,26 @@ module Google
184
184
  universe_domain: @config.universe_domain,
185
185
  channel_args: @config.channel_args,
186
186
  interceptors: @config.interceptors,
187
- channel_pool_config: @config.channel_pool
187
+ channel_pool_config: @config.channel_pool,
188
+ logger: @config.logger
188
189
  )
189
190
 
191
+ @cloud_scheduler_stub.stub_logger&.info do |entry|
192
+ entry.set_system_name
193
+ entry.set_service
194
+ entry.message = "Created client for #{entry.service}"
195
+ entry.set_credentials_fields credentials
196
+ entry.set "customEndpoint", @config.endpoint if @config.endpoint
197
+ entry.set "defaultTimeout", @config.timeout if @config.timeout
198
+ entry.set "quotaProject", @quota_project_id if @quota_project_id
199
+ end
200
+
190
201
  @location_client = Google::Cloud::Location::Locations::Client.new do |config|
191
202
  config.credentials = credentials
192
203
  config.quota_project = @quota_project_id
193
204
  config.endpoint = @cloud_scheduler_stub.endpoint
194
205
  config.universe_domain = @cloud_scheduler_stub.universe_domain
206
+ config.logger = @cloud_scheduler_stub.logger if config.respond_to? :logger=
195
207
  end
196
208
  end
197
209
 
@@ -202,6 +214,15 @@ module Google
202
214
  #
203
215
  attr_reader :location_client
204
216
 
217
+ ##
218
+ # The logger used for request/response debug logging.
219
+ #
220
+ # @return [Logger]
221
+ #
222
+ def logger
223
+ @cloud_scheduler_stub.logger
224
+ end
225
+
205
226
  # Service calls
206
227
 
207
228
  ##
@@ -238,11 +259,7 @@ module Google
238
259
  # request the next page of results, page_token must be the value of
239
260
  # {::Google::Cloud::Scheduler::V1::ListJobsResponse#next_page_token next_page_token}
240
261
  # returned from the previous call to
241
- # {::Google::Cloud::Scheduler::V1::CloudScheduler::Client#list_jobs ListJobs}. It is an
242
- # error to switch the value of
243
- # [filter][google.cloud.scheduler.v1.ListJobsRequest.filter] or
244
- # [order_by][google.cloud.scheduler.v1.ListJobsRequest.order_by] while
245
- # iterating through pages.
262
+ # {::Google::Cloud::Scheduler::V1::CloudScheduler::Client#list_jobs ListJobs}.
246
263
  #
247
264
  # @yield [response, operation] Access the result along with the RPC operation
248
265
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Scheduler::V1::Job>]
@@ -308,7 +325,7 @@ module Google
308
325
  @cloud_scheduler_stub.call_rpc :list_jobs, request, options: options do |response, operation|
309
326
  response = ::Gapic::PagedEnumerable.new @cloud_scheduler_stub, :list_jobs, request, response, operation, options
310
327
  yield response, operation if block_given?
311
- return response
328
+ throw :response, response
312
329
  end
313
330
  rescue ::GRPC::BadStatus => e
314
331
  raise ::Google::Cloud::Error.from_error(e)
@@ -395,7 +412,6 @@ module Google
395
412
 
396
413
  @cloud_scheduler_stub.call_rpc :get_job, request, options: options do |response, operation|
397
414
  yield response, operation if block_given?
398
- return response
399
415
  end
400
416
  rescue ::GRPC::BadStatus => e
401
417
  raise ::Google::Cloud::Error.from_error(e)
@@ -489,7 +505,6 @@ module Google
489
505
 
490
506
  @cloud_scheduler_stub.call_rpc :create_job, request, options: options do |response, operation|
491
507
  yield response, operation if block_given?
492
- return response
493
508
  end
494
509
  rescue ::GRPC::BadStatus => e
495
510
  raise ::Google::Cloud::Error.from_error(e)
@@ -590,7 +605,6 @@ module Google
590
605
 
591
606
  @cloud_scheduler_stub.call_rpc :update_job, request, options: options do |response, operation|
592
607
  yield response, operation if block_given?
593
- return response
594
608
  end
595
609
  rescue ::GRPC::BadStatus => e
596
610
  raise ::Google::Cloud::Error.from_error(e)
@@ -677,7 +691,6 @@ module Google
677
691
 
678
692
  @cloud_scheduler_stub.call_rpc :delete_job, request, options: options do |response, operation|
679
693
  yield response, operation if block_given?
680
- return response
681
694
  end
682
695
  rescue ::GRPC::BadStatus => e
683
696
  raise ::Google::Cloud::Error.from_error(e)
@@ -773,7 +786,6 @@ module Google
773
786
 
774
787
  @cloud_scheduler_stub.call_rpc :pause_job, request, options: options do |response, operation|
775
788
  yield response, operation if block_given?
776
- return response
777
789
  end
778
790
  rescue ::GRPC::BadStatus => e
779
791
  raise ::Google::Cloud::Error.from_error(e)
@@ -868,7 +880,6 @@ module Google
868
880
 
869
881
  @cloud_scheduler_stub.call_rpc :resume_job, request, options: options do |response, operation|
870
882
  yield response, operation if block_given?
871
- return response
872
883
  end
873
884
  rescue ::GRPC::BadStatus => e
874
885
  raise ::Google::Cloud::Error.from_error(e)
@@ -958,7 +969,6 @@ module Google
958
969
 
959
970
  @cloud_scheduler_stub.call_rpc :run_job, request, options: options do |response, operation|
960
971
  yield response, operation if block_given?
961
- return response
962
972
  end
963
973
  rescue ::GRPC::BadStatus => e
964
974
  raise ::Google::Cloud::Error.from_error(e)
@@ -1008,6 +1018,13 @@ module Google
1008
1018
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1009
1019
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1010
1020
  # * (`nil`) indicating no credentials
1021
+ #
1022
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1023
+ # external source for authentication to Google Cloud, you must validate it before
1024
+ # providing it to a Google API client library. Providing an unvalidated credential
1025
+ # configuration to Google APIs can compromise the security of your systems and data.
1026
+ # For more information, refer to [Validate credential configurations from external
1027
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1011
1028
  # @return [::Object]
1012
1029
  # @!attribute [rw] scope
1013
1030
  # The OAuth scopes
@@ -1047,6 +1064,11 @@ module Google
1047
1064
  # default endpoint URL. The default value of nil uses the environment
1048
1065
  # universe (usually the default "googleapis.com" universe).
1049
1066
  # @return [::String,nil]
1067
+ # @!attribute [rw] logger
1068
+ # A custom logger to use for request/response debug logging, or the value
1069
+ # `:default` (the default) to construct a default logger, or `nil` to
1070
+ # explicitly disable logging.
1071
+ # @return [::Logger,:default,nil]
1050
1072
  #
1051
1073
  class Configuration
1052
1074
  extend ::Gapic::Config
@@ -1071,6 +1093,7 @@ module Google
1071
1093
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1072
1094
  config_attr :quota_project, nil, ::String, nil
1073
1095
  config_attr :universe_domain, nil, ::String, nil
1096
+ config_attr :logger, :default, ::Logger, nil, :default
1074
1097
 
1075
1098
  # @private
1076
1099
  def initialize parent_config = nil
@@ -177,15 +177,27 @@ module Google
177
177
  endpoint: @config.endpoint,
178
178
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
179
179
  universe_domain: @config.universe_domain,
180
- credentials: credentials
180
+ credentials: credentials,
181
+ logger: @config.logger
181
182
  )
182
183
 
184
+ @cloud_scheduler_stub.logger(stub: true)&.info do |entry|
185
+ entry.set_system_name
186
+ entry.set_service
187
+ entry.message = "Created client for #{entry.service}"
188
+ entry.set_credentials_fields credentials
189
+ entry.set "customEndpoint", @config.endpoint if @config.endpoint
190
+ entry.set "defaultTimeout", @config.timeout if @config.timeout
191
+ entry.set "quotaProject", @quota_project_id if @quota_project_id
192
+ end
193
+
183
194
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
184
195
  config.credentials = credentials
185
196
  config.quota_project = @quota_project_id
186
197
  config.endpoint = @cloud_scheduler_stub.endpoint
187
198
  config.universe_domain = @cloud_scheduler_stub.universe_domain
188
199
  config.bindings_override = @config.bindings_override
200
+ config.logger = @cloud_scheduler_stub.logger if config.respond_to? :logger=
189
201
  end
190
202
  end
191
203
 
@@ -196,6 +208,15 @@ module Google
196
208
  #
197
209
  attr_reader :location_client
198
210
 
211
+ ##
212
+ # The logger used for request/response debug logging.
213
+ #
214
+ # @return [Logger]
215
+ #
216
+ def logger
217
+ @cloud_scheduler_stub.logger
218
+ end
219
+
199
220
  # Service calls
200
221
 
201
222
  ##
@@ -232,11 +253,7 @@ module Google
232
253
  # request the next page of results, page_token must be the value of
233
254
  # {::Google::Cloud::Scheduler::V1::ListJobsResponse#next_page_token next_page_token}
234
255
  # returned from the previous call to
235
- # {::Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client#list_jobs ListJobs}. It is an
236
- # error to switch the value of
237
- # [filter][google.cloud.scheduler.v1.ListJobsRequest.filter] or
238
- # [order_by][google.cloud.scheduler.v1.ListJobsRequest.order_by] while
239
- # iterating through pages.
256
+ # {::Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client#list_jobs ListJobs}.
240
257
  # @yield [result, operation] Access the result along with the TransportOperation object
241
258
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Scheduler::V1::Job>]
242
259
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -295,7 +312,7 @@ module Google
295
312
  @cloud_scheduler_stub.list_jobs request, options do |result, operation|
296
313
  result = ::Gapic::Rest::PagedEnumerable.new @cloud_scheduler_stub, :list_jobs, "jobs", request, result, options
297
314
  yield result, operation if block_given?
298
- return result
315
+ throw :response, result
299
316
  end
300
317
  rescue ::Gapic::Rest::Error => e
301
318
  raise ::Google::Cloud::Error.from_error(e)
@@ -375,7 +392,6 @@ module Google
375
392
 
376
393
  @cloud_scheduler_stub.get_job request, options do |result, operation|
377
394
  yield result, operation if block_given?
378
- return result
379
395
  end
380
396
  rescue ::Gapic::Rest::Error => e
381
397
  raise ::Google::Cloud::Error.from_error(e)
@@ -462,7 +478,6 @@ module Google
462
478
 
463
479
  @cloud_scheduler_stub.create_job request, options do |result, operation|
464
480
  yield result, operation if block_given?
465
- return result
466
481
  end
467
482
  rescue ::Gapic::Rest::Error => e
468
483
  raise ::Google::Cloud::Error.from_error(e)
@@ -556,7 +571,6 @@ module Google
556
571
 
557
572
  @cloud_scheduler_stub.update_job request, options do |result, operation|
558
573
  yield result, operation if block_given?
559
- return result
560
574
  end
561
575
  rescue ::Gapic::Rest::Error => e
562
576
  raise ::Google::Cloud::Error.from_error(e)
@@ -636,7 +650,6 @@ module Google
636
650
 
637
651
  @cloud_scheduler_stub.delete_job request, options do |result, operation|
638
652
  yield result, operation if block_given?
639
- return result
640
653
  end
641
654
  rescue ::Gapic::Rest::Error => e
642
655
  raise ::Google::Cloud::Error.from_error(e)
@@ -725,7 +738,6 @@ module Google
725
738
 
726
739
  @cloud_scheduler_stub.pause_job request, options do |result, operation|
727
740
  yield result, operation if block_given?
728
- return result
729
741
  end
730
742
  rescue ::Gapic::Rest::Error => e
731
743
  raise ::Google::Cloud::Error.from_error(e)
@@ -813,7 +825,6 @@ module Google
813
825
 
814
826
  @cloud_scheduler_stub.resume_job request, options do |result, operation|
815
827
  yield result, operation if block_given?
816
- return result
817
828
  end
818
829
  rescue ::Gapic::Rest::Error => e
819
830
  raise ::Google::Cloud::Error.from_error(e)
@@ -896,7 +907,6 @@ module Google
896
907
 
897
908
  @cloud_scheduler_stub.run_job request, options do |result, operation|
898
909
  yield result, operation if block_given?
899
- return result
900
910
  end
901
911
  rescue ::Gapic::Rest::Error => e
902
912
  raise ::Google::Cloud::Error.from_error(e)
@@ -944,6 +954,13 @@ module Google
944
954
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
945
955
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
946
956
  # * (`nil`) indicating no credentials
957
+ #
958
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
959
+ # external source for authentication to Google Cloud, you must validate it before
960
+ # providing it to a Google API client library. Providing an unvalidated credential
961
+ # configuration to Google APIs can compromise the security of your systems and data.
962
+ # For more information, refer to [Validate credential configurations from external
963
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
947
964
  # @return [::Object]
948
965
  # @!attribute [rw] scope
949
966
  # The OAuth scopes
@@ -976,6 +993,11 @@ module Google
976
993
  # default endpoint URL. The default value of nil uses the environment
977
994
  # universe (usually the default "googleapis.com" universe).
978
995
  # @return [::String,nil]
996
+ # @!attribute [rw] logger
997
+ # A custom logger to use for request/response debug logging, or the value
998
+ # `:default` (the default) to construct a default logger, or `nil` to
999
+ # explicitly disable logging.
1000
+ # @return [::Logger,:default,nil]
979
1001
  #
980
1002
  class Configuration
981
1003
  extend ::Gapic::Config
@@ -1004,6 +1026,7 @@ module Google
1004
1026
  # by the host service.
1005
1027
  # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
1006
1028
  config_attr :bindings_override, {}, ::Hash, nil
1029
+ config_attr :logger, :default, ::Logger, nil, :default
1007
1030
 
1008
1031
  # @private
1009
1032
  def initialize parent_config = nil
@@ -30,7 +30,8 @@ module Google
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
32
32
  class ServiceStub
33
- def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
33
+ # @private
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
34
35
  # These require statements are intentionally placed here to initialize
35
36
  # the REST modules only when it's required.
36
37
  require "gapic/rest"
@@ -40,7 +41,9 @@ module Google
40
41
  universe_domain: universe_domain,
41
42
  credentials: credentials,
42
43
  numeric_enums: true,
43
- raise_faraday_errors: false
44
+ service_name: self.class,
45
+ raise_faraday_errors: false,
46
+ logger: logger
44
47
  end
45
48
 
46
49
  ##
@@ -61,6 +64,15 @@ module Google
61
64
  @client_stub.endpoint
62
65
  end
63
66
 
67
+ ##
68
+ # The logger used for request/response debug logging.
69
+ #
70
+ # @return [Logger]
71
+ #
72
+ def logger stub: false
73
+ stub ? @client_stub.stub_logger : @client_stub.logger
74
+ end
75
+
64
76
  ##
65
77
  # Baseline implementation for the list_jobs REST call
66
78
  #
@@ -87,16 +99,18 @@ module Google
87
99
 
88
100
  response = @client_stub.make_http_request(
89
101
  verb,
90
- uri: uri,
91
- body: body || "",
92
- params: query_string_params,
102
+ uri: uri,
103
+ body: body || "",
104
+ params: query_string_params,
105
+ method_name: "list_jobs",
93
106
  options: options
94
107
  )
95
108
  operation = ::Gapic::Rest::TransportOperation.new response
96
109
  result = ::Google::Cloud::Scheduler::V1::ListJobsResponse.decode_json response.body, ignore_unknown_fields: true
97
-
98
- yield result, operation if block_given?
99
- result
110
+ catch :response do
111
+ yield result, operation if block_given?
112
+ result
113
+ end
100
114
  end
101
115
 
102
116
  ##
@@ -125,16 +139,18 @@ module Google
125
139
 
126
140
  response = @client_stub.make_http_request(
127
141
  verb,
128
- uri: uri,
129
- body: body || "",
130
- params: query_string_params,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "get_job",
131
146
  options: options
132
147
  )
133
148
  operation = ::Gapic::Rest::TransportOperation.new response
134
149
  result = ::Google::Cloud::Scheduler::V1::Job.decode_json response.body, ignore_unknown_fields: true
135
-
136
- yield result, operation if block_given?
137
- result
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
138
154
  end
139
155
 
140
156
  ##
@@ -163,16 +179,18 @@ module Google
163
179
 
164
180
  response = @client_stub.make_http_request(
165
181
  verb,
166
- uri: uri,
167
- body: body || "",
168
- params: query_string_params,
182
+ uri: uri,
183
+ body: body || "",
184
+ params: query_string_params,
185
+ method_name: "create_job",
169
186
  options: options
170
187
  )
171
188
  operation = ::Gapic::Rest::TransportOperation.new response
172
189
  result = ::Google::Cloud::Scheduler::V1::Job.decode_json response.body, ignore_unknown_fields: true
173
-
174
- yield result, operation if block_given?
175
- result
190
+ catch :response do
191
+ yield result, operation if block_given?
192
+ result
193
+ end
176
194
  end
177
195
 
178
196
  ##
@@ -201,16 +219,18 @@ module Google
201
219
 
202
220
  response = @client_stub.make_http_request(
203
221
  verb,
204
- uri: uri,
205
- body: body || "",
206
- params: query_string_params,
222
+ uri: uri,
223
+ body: body || "",
224
+ params: query_string_params,
225
+ method_name: "update_job",
207
226
  options: options
208
227
  )
209
228
  operation = ::Gapic::Rest::TransportOperation.new response
210
229
  result = ::Google::Cloud::Scheduler::V1::Job.decode_json response.body, ignore_unknown_fields: true
211
-
212
- yield result, operation if block_given?
213
- result
230
+ catch :response do
231
+ yield result, operation if block_given?
232
+ result
233
+ end
214
234
  end
215
235
 
216
236
  ##
@@ -239,16 +259,18 @@ module Google
239
259
 
240
260
  response = @client_stub.make_http_request(
241
261
  verb,
242
- uri: uri,
243
- body: body || "",
244
- params: query_string_params,
262
+ uri: uri,
263
+ body: body || "",
264
+ params: query_string_params,
265
+ method_name: "delete_job",
245
266
  options: options
246
267
  )
247
268
  operation = ::Gapic::Rest::TransportOperation.new response
248
269
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
249
-
250
- yield result, operation if block_given?
251
- result
270
+ catch :response do
271
+ yield result, operation if block_given?
272
+ result
273
+ end
252
274
  end
253
275
 
254
276
  ##
@@ -277,16 +299,18 @@ module Google
277
299
 
278
300
  response = @client_stub.make_http_request(
279
301
  verb,
280
- uri: uri,
281
- body: body || "",
282
- params: query_string_params,
302
+ uri: uri,
303
+ body: body || "",
304
+ params: query_string_params,
305
+ method_name: "pause_job",
283
306
  options: options
284
307
  )
285
308
  operation = ::Gapic::Rest::TransportOperation.new response
286
309
  result = ::Google::Cloud::Scheduler::V1::Job.decode_json response.body, ignore_unknown_fields: true
287
-
288
- yield result, operation if block_given?
289
- result
310
+ catch :response do
311
+ yield result, operation if block_given?
312
+ result
313
+ end
290
314
  end
291
315
 
292
316
  ##
@@ -315,16 +339,18 @@ module Google
315
339
 
316
340
  response = @client_stub.make_http_request(
317
341
  verb,
318
- uri: uri,
319
- body: body || "",
320
- params: query_string_params,
342
+ uri: uri,
343
+ body: body || "",
344
+ params: query_string_params,
345
+ method_name: "resume_job",
321
346
  options: options
322
347
  )
323
348
  operation = ::Gapic::Rest::TransportOperation.new response
324
349
  result = ::Google::Cloud::Scheduler::V1::Job.decode_json response.body, ignore_unknown_fields: true
325
-
326
- yield result, operation if block_given?
327
- result
350
+ catch :response do
351
+ yield result, operation if block_given?
352
+ result
353
+ end
328
354
  end
329
355
 
330
356
  ##
@@ -353,16 +379,18 @@ module Google
353
379
 
354
380
  response = @client_stub.make_http_request(
355
381
  verb,
356
- uri: uri,
357
- body: body || "",
358
- params: query_string_params,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "run_job",
359
386
  options: options
360
387
  )
361
388
  operation = ::Gapic::Rest::TransportOperation.new response
362
389
  result = ::Google::Cloud::Scheduler::V1::Job.decode_json response.body, ignore_unknown_fields: true
363
-
364
- yield result, operation if block_given?
365
- result
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
366
394
  end
367
395
 
368
396
  ##
@@ -4,6 +4,7 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
+ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/cloud/scheduler/v1/target_pb'
9
10
  require 'google/protobuf/duration_pb'
@@ -11,7 +12,7 @@ require 'google/protobuf/timestamp_pb'
11
12
  require 'google/rpc/status_pb'
12
13
 
13
14
 
14
- descriptor_data = "\n#google/cloud/scheduler/v1/job.proto\x12\x19google.cloud.scheduler.v1\x1a\x19google/api/resource.proto\x1a&google/cloud/scheduler/v1/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xcb\x06\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12@\n\rpubsub_target\x18\x04 \x01(\x0b\x32\'.google.cloud.scheduler.v1.PubsubTargetH\x00\x12P\n\x16\x61pp_engine_http_target\x18\x05 \x01(\x0b\x32..google.cloud.scheduler.v1.AppEngineHttpTargetH\x00\x12<\n\x0bhttp_target\x18\x06 \x01(\x0b\x32%.google.cloud.scheduler.v1.HttpTargetH\x00\x12\x10\n\x08schedule\x18\x14 \x01(\t\x12\x11\n\ttime_zone\x18\x15 \x01(\t\x12\x34\n\x10user_update_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\n \x01(\x0e\x32$.google.cloud.scheduler.v1.Job.State\x12\"\n\x06status\x18\x0b \x01(\x0b\x32\x12.google.rpc.Status\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_attempt_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x0cretry_config\x18\x13 \x01(\x0b\x32&.google.cloud.scheduler.v1.RetryConfig\x12\x33\n\x10\x61ttempt_deadline\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x11\n\rUPDATE_FAILED\x10\x04:Z\xea\x41W\n!cloudscheduler.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}B\x08\n\x06target\"\xe2\x01\n\x0bRetryConfig\x12\x13\n\x0bretry_count\x18\x01 \x01(\x05\x12\x35\n\x12max_retry_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14min_backoff_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14max_backoff_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x05 \x01(\x05\x42h\n\x1d\x63om.google.cloud.scheduler.v1B\x08JobProtoP\x01Z;cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpbb\x06proto3"
15
+ descriptor_data = "\n#google/cloud/scheduler/v1/job.proto\x12\x19google.cloud.scheduler.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/scheduler/v1/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xef\x06\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12@\n\rpubsub_target\x18\x04 \x01(\x0b\x32\'.google.cloud.scheduler.v1.PubsubTargetH\x00\x12P\n\x16\x61pp_engine_http_target\x18\x05 \x01(\x0b\x32..google.cloud.scheduler.v1.AppEngineHttpTargetH\x00\x12<\n\x0bhttp_target\x18\x06 \x01(\x0b\x32%.google.cloud.scheduler.v1.HttpTargetH\x00\x12\x10\n\x08schedule\x18\x14 \x01(\t\x12\x11\n\ttime_zone\x18\x15 \x01(\t\x12\x39\n\x10user_update_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x05state\x18\n \x01(\x0e\x32$.google.cloud.scheduler.v1.Job.StateB\x03\xe0\x41\x03\x12\'\n\x06status\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x36\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11last_attempt_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x0cretry_config\x18\x13 \x01(\x0b\x32&.google.cloud.scheduler.v1.RetryConfig\x12\x33\n\x10\x61ttempt_deadline\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x11\n\rUPDATE_FAILED\x10\x04:e\xea\x41\x62\n!cloudscheduler.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}*\x04jobs2\x03jobB\x08\n\x06target\"\xe2\x01\n\x0bRetryConfig\x12\x13\n\x0bretry_count\x18\x01 \x01(\x05\x12\x35\n\x12max_retry_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14min_backoff_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14max_backoff_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x05 \x01(\x05\x42h\n\x1d\x63om.google.cloud.scheduler.v1B\x08JobProtoP\x01Z;cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpbb\x06proto3"
15
16
 
16
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
18
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Scheduler
23
23
  module V1
24
- VERSION = "1.0.1"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -28,6 +28,9 @@ module Google
28
28
  # @!attribute [rw] destinations
29
29
  # @return [::Array<::Google::Api::ClientLibraryDestination>]
30
30
  # The destination where API teams want this client library to be published.
31
+ # @!attribute [rw] selective_gapic_generation
32
+ # @return [::Google::Api::SelectiveGapicGeneration]
33
+ # Configuration for which RPCs should be generated in the GAPIC client.
31
34
  class CommonLanguageSettings
32
35
  include ::Google::Protobuf::MessageExts
33
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +215,12 @@ module Google
212
215
  # enabled. By default, asynchronous REST clients will not be generated.
213
216
  # This feature will be enabled by default 1 month after launching the
214
217
  # feature in preview packages.
218
+ # @!attribute [rw] protobuf_pythonic_types_enabled
219
+ # @return [::Boolean]
220
+ # Enables generation of protobuf code using new types that are more
221
+ # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
+ # enabled by default 1 month after launching the feature in preview
223
+ # packages.
215
224
  class ExperimentalFeatures
216
225
  include ::Google::Protobuf::MessageExts
217
226
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -297,9 +306,28 @@ module Google
297
306
  # @!attribute [rw] common
298
307
  # @return [::Google::Api::CommonLanguageSettings]
299
308
  # Some settings.
309
+ # @!attribute [rw] renamed_services
310
+ # @return [::Google::Protobuf::Map{::String => ::String}]
311
+ # Map of service names to renamed services. Keys are the package relative
312
+ # service names and values are the name to be used for the service client
313
+ # and call options.
314
+ #
315
+ # publishing:
316
+ # go_settings:
317
+ # renamed_services:
318
+ # Publisher: TopicAdmin
300
319
  class GoSettings
301
320
  include ::Google::Protobuf::MessageExts
302
321
  extend ::Google::Protobuf::MessageExts::ClassMethods
322
+
323
+ # @!attribute [rw] key
324
+ # @return [::String]
325
+ # @!attribute [rw] value
326
+ # @return [::String]
327
+ class RenamedServicesEntry
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
303
331
  end
304
332
 
305
333
  # Describes the generator configuration for a method.
@@ -375,6 +403,17 @@ module Google
375
403
  end
376
404
  end
377
405
 
406
+ # This message is used to configure the generation of a subset of the RPCs in
407
+ # a service for client libraries.
408
+ # @!attribute [rw] methods
409
+ # @return [::Array<::String>]
410
+ # An allowlist of the fully qualified names of RPCs that should be included
411
+ # on public client surfaces.
412
+ class SelectiveGapicGeneration
413
+ include ::Google::Protobuf::MessageExts
414
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
+ end
416
+
378
417
  # The organization for which the client libraries are being published.
379
418
  # Affects the url where generated docs are published, etc.
380
419
  module ClientLibraryOrganization
@@ -42,11 +42,7 @@ module Google
42
42
  # request the next page of results, page_token must be the value of
43
43
  # {::Google::Cloud::Scheduler::V1::ListJobsResponse#next_page_token next_page_token}
44
44
  # returned from the previous call to
45
- # {::Google::Cloud::Scheduler::V1::CloudScheduler::Client#list_jobs ListJobs}. It is an
46
- # error to switch the value of
47
- # [filter][google.cloud.scheduler.v1.ListJobsRequest.filter] or
48
- # [order_by][google.cloud.scheduler.v1.ListJobsRequest.order_by] while
49
- # iterating through pages.
45
+ # {::Google::Cloud::Scheduler::V1::CloudScheduler::Client#list_jobs ListJobs}.
50
46
  class ListJobsRequest
51
47
  include ::Google::Protobuf::MessageExts
52
48
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -54,12 +54,18 @@ module Google
54
54
  # @!attribute [rw] pubsub_target
55
55
  # @return [::Google::Cloud::Scheduler::V1::PubsubTarget]
56
56
  # Pub/Sub target.
57
+ #
58
+ # Note: The following fields are mutually exclusive: `pubsub_target`, `app_engine_http_target`, `http_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
57
59
  # @!attribute [rw] app_engine_http_target
58
60
  # @return [::Google::Cloud::Scheduler::V1::AppEngineHttpTarget]
59
61
  # App Engine HTTP target.
62
+ #
63
+ # Note: The following fields are mutually exclusive: `app_engine_http_target`, `pubsub_target`, `http_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
60
64
  # @!attribute [rw] http_target
61
65
  # @return [::Google::Cloud::Scheduler::V1::HttpTarget]
62
66
  # HTTP target.
67
+ #
68
+ # Note: The following fields are mutually exclusive: `http_target`, `pubsub_target`, `app_engine_http_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
63
69
  # @!attribute [rw] schedule
64
70
  # @return [::String]
65
71
  # Required, except when used with
@@ -85,7 +91,11 @@ module Google
85
91
  # If {::Google::Cloud::Scheduler::V1::RetryConfig#retry_count retry_count} > 0 and
86
92
  # a job attempt fails, the job will be tried a total of
87
93
  # {::Google::Cloud::Scheduler::V1::RetryConfig#retry_count retry_count} times,
88
- # with exponential backoff, until the next scheduled start time.
94
+ # with exponential backoff, until the next scheduled start time. If
95
+ # retry_count is 0, a job attempt will not be retried if it fails. Instead
96
+ # the Cloud Scheduler system will wait for the next scheduled execution time.
97
+ # Setting retry_count to 0 does not prevent failed jobs from running
98
+ # according to schedule after the failure.
89
99
  # @!attribute [rw] time_zone
90
100
  # @return [::String]
91
101
  # Specifies the time zone to be used in interpreting
@@ -98,21 +108,21 @@ module Google
98
108
  # determined by the chosen tz. For UTC use the string "utc". If a
99
109
  # time zone is not specified, the default will be in UTC (also known
100
110
  # as GMT).
101
- # @!attribute [rw] user_update_time
111
+ # @!attribute [r] user_update_time
102
112
  # @return [::Google::Protobuf::Timestamp]
103
113
  # Output only. The creation time of the job.
104
- # @!attribute [rw] state
114
+ # @!attribute [r] state
105
115
  # @return [::Google::Cloud::Scheduler::V1::Job::State]
106
116
  # Output only. State of the job.
107
- # @!attribute [rw] status
117
+ # @!attribute [r] status
108
118
  # @return [::Google::Rpc::Status]
109
119
  # Output only. The response from the target for the last attempted execution.
110
- # @!attribute [rw] schedule_time
120
+ # @!attribute [r] schedule_time
111
121
  # @return [::Google::Protobuf::Timestamp]
112
122
  # Output only. The next time the job is scheduled. Note that this may be a
113
123
  # retry of a previously failed attempt or the next execution time
114
124
  # according to the schedule.
115
- # @!attribute [rw] last_attempt_time
125
+ # @!attribute [r] last_attempt_time
116
126
  # @return [::Google::Protobuf::Timestamp]
117
127
  # Output only. The time the last job attempt started.
118
128
  # @!attribute [rw] retry_config
@@ -186,9 +196,10 @@ module Google
186
196
  #
187
197
  # The default value of retry_count is zero.
188
198
  #
189
- # If retry_count is zero, a job attempt will *not* be retried if
199
+ # If retry_count is 0, a job attempt will not be retried if
190
200
  # it fails. Instead the Cloud Scheduler system will wait for the
191
- # next scheduled execution time.
201
+ # next scheduled execution time. Setting retry_count to 0 does not prevent
202
+ # failed jobs from running according to schedule after the failure.
192
203
  #
193
204
  # If retry_count is set to a non-zero number then Cloud Scheduler
194
205
  # will retry failed attempts, using exponential backoff,
@@ -233,7 +244,7 @@ module Google
233
244
  # {::Google::Cloud::Scheduler::V1::RetryConfig#min_backoff_duration min_backoff_duration}
234
245
  # is 10s,
235
246
  # {::Google::Cloud::Scheduler::V1::RetryConfig#max_backoff_duration max_backoff_duration}
236
- # is 300s, and `max_doublings` is 3, then the a job will first be retried in
247
+ # is 300s, and `max_doublings` is 3, then the job will first be retried in
237
248
  # 10s. The retry interval will double three times, and then increase linearly
238
249
  # by 2^3 * 10s. Finally, the job will retry at intervals of
239
250
  # {::Google::Cloud::Scheduler::V1::RetryConfig#max_backoff_duration max_backoff_duration}
@@ -41,14 +41,20 @@ module Google
41
41
  # Which HTTP method to use for the request.
42
42
  # @!attribute [rw] headers
43
43
  # @return [::Google::Protobuf::Map{::String => ::String}]
44
+ # HTTP request headers.
45
+ #
46
+ # This map contains the header field names and values.
47
+ #
44
48
  # The user can specify HTTP request headers to send with the job's
45
- # HTTP request. This map contains the header field names and
46
- # values. Repeated headers are not supported, but a header value can
47
- # contain commas. These headers represent a subset of the headers
48
- # that will accompany the job's HTTP request. Some HTTP request
49
- # headers will be ignored or replaced. A partial list of headers that
50
- # will be ignored or replaced is below:
51
- # - Host: This will be computed by Cloud Scheduler and derived from
49
+ # HTTP request. Repeated headers are not supported, but a header value can
50
+ # contain commas.
51
+ #
52
+ # The following headers represent a subset of the headers
53
+ # that accompany the job's HTTP request. Some HTTP request
54
+ # headers are ignored or replaced. A partial list of headers that
55
+ # are ignored or replaced is below:
56
+ #
57
+ # * Host: This will be computed by Cloud Scheduler and derived from
52
58
  # {::Google::Cloud::Scheduler::V1::HttpTarget#uri uri}.
53
59
  # * `Content-Length`: This will be computed by Cloud Scheduler.
54
60
  # * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`.
@@ -60,6 +66,15 @@ module Google
60
66
  # the unix-cron format, this header will contain the job schedule as an
61
67
  # offset of UTC parsed according to RFC3339.
62
68
  #
69
+ # If the job has a {::Google::Cloud::Scheduler::V1::HttpTarget#body body} and the
70
+ # following headers are not set by the user, Cloud Scheduler sets default
71
+ # values:
72
+ #
73
+ # * `Content-Type`: This will be set to `"application/octet-stream"`. You
74
+ # can override this default by explicitly setting `Content-Type` to a
75
+ # particular media type when creating the job. For example, you can set
76
+ # `Content-Type` to `"application/json"`.
77
+ #
63
78
  # The total size of headers must be less than 80KB.
64
79
  # @!attribute [rw] body
65
80
  # @return [::String]
@@ -75,6 +90,8 @@ module Google
75
90
  #
76
91
  # This type of authorization should generally only be used when calling
77
92
  # Google APIs hosted on *.googleapis.com.
93
+ #
94
+ # Note: The following fields are mutually exclusive: `oauth_token`, `oidc_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
95
  # @!attribute [rw] oidc_token
79
96
  # @return [::Google::Cloud::Scheduler::V1::OidcToken]
80
97
  # If specified, an
@@ -85,6 +102,8 @@ module Google
85
102
  # This type of authorization can be used for many scenarios, including
86
103
  # calling Cloud Run, or endpoints where you intend to validate the token
87
104
  # yourself.
105
+ #
106
+ # Note: The following fields are mutually exclusive: `oidc_token`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
88
107
  class HttpTarget
89
108
  include ::Google::Protobuf::MessageExts
90
109
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -144,20 +163,18 @@ module Google
144
163
  # the unix-cron format, this header will contain the job schedule as an
145
164
  # offset of UTC parsed according to RFC3339.
146
165
  #
147
- # If the job has an
148
- # {::Google::Cloud::Scheduler::V1::AppEngineHttpTarget#body body}, Cloud Scheduler
149
- # sets the following headers:
166
+ # If the job has a {::Google::Cloud::Scheduler::V1::AppEngineHttpTarget#body body}
167
+ # and the following headers are not set by the user, Cloud Scheduler sets
168
+ # default values:
150
169
  #
151
- # * `Content-Type`: By default, the `Content-Type` header is set to
152
- # `"application/octet-stream"`. The default can be overridden by explictly
153
- # setting `Content-Type` to a particular media type when the job is
154
- # created.
155
- # For example, `Content-Type` can be set to `"application/json"`.
156
- # * `Content-Length`: This is computed by Cloud Scheduler. This value is
157
- # output only. It cannot be changed.
170
+ # * `Content-Type`: This will be set to `"application/octet-stream"`. You
171
+ # can override this default by explicitly setting `Content-Type` to a
172
+ # particular media type when creating the job. For example, you can set
173
+ # `Content-Type` to `"application/json"`.
158
174
  #
159
175
  # The headers below are output only. They cannot be set or overridden:
160
176
  #
177
+ # * `Content-Length`: This is computed by Cloud Scheduler.
161
178
  # * `X-Google-*`: For Google internal use only.
162
179
  # * `X-AppEngine-*`: For Google internal use only.
163
180
  #
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-scheduler-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.21.1
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.21.1
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -115,7 +114,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
115
114
  licenses:
116
115
  - Apache-2.0
117
116
  metadata: {}
118
- post_install_message:
119
117
  rdoc_options: []
120
118
  require_paths:
121
119
  - lib
@@ -123,15 +121,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
121
  requirements:
124
122
  - - ">="
125
123
  - !ruby/object:Gem::Version
126
- version: '2.7'
124
+ version: '3.0'
127
125
  required_rubygems_version: !ruby/object:Gem::Requirement
128
126
  requirements:
129
127
  - - ">="
130
128
  - !ruby/object:Gem::Version
131
129
  version: '0'
132
130
  requirements: []
133
- rubygems_version: 3.5.6
134
- signing_key:
131
+ rubygems_version: 3.6.2
135
132
  specification_version: 4
136
133
  summary: Creates and manages jobs run on a regular recurring schedule.
137
134
  test_files: []