google-cloud-scheduler-v1 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b8a4835e6c0a08deafb78bd053fcf66a4ce3accab32b75e50408c45d029372c
|
4
|
+
data.tar.gz: 9e69b49dd1b5f43525759ba2450228484824c0ffa713ce309ee35da10cff32eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc56c66ead7c5334ec0c4dbfcb8afbcd0871a47a1f90e1bc8aaa53404cc1aebb389438d7170b103e7548180632b443e6e6097a2c5dd8d8bd843b6709d0b7bb52
|
7
|
+
data.tar.gz: fdfc1eaad0e330e1d10e078a18fdf93555b824ae79afb59d4f5245e746daa9c9805024681033b578a92056952f1f4b3f012c0e42310713ec99b749d19b676225
|
@@ -171,7 +171,8 @@ module Google
|
|
171
171
|
credentials: credentials,
|
172
172
|
endpoint: @config.endpoint,
|
173
173
|
channel_args: @config.channel_args,
|
174
|
-
interceptors: @config.interceptors
|
174
|
+
interceptors: @config.interceptors,
|
175
|
+
channel_pool_config: @config.channel_pool
|
175
176
|
)
|
176
177
|
end
|
177
178
|
|
@@ -1055,6 +1056,14 @@ module Google
|
|
1055
1056
|
end
|
1056
1057
|
end
|
1057
1058
|
|
1059
|
+
##
|
1060
|
+
# Configuration for the channel pool
|
1061
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1062
|
+
#
|
1063
|
+
def channel_pool
|
1064
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1065
|
+
end
|
1066
|
+
|
1058
1067
|
##
|
1059
1068
|
# Configuration RPC class for the CloudScheduler API.
|
1060
1069
|
#
|
@@ -222,6 +222,26 @@ module Google
|
|
222
222
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Scheduler::V1::Job>]
|
223
223
|
#
|
224
224
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
225
|
+
#
|
226
|
+
# @example Basic example
|
227
|
+
# require "google/cloud/scheduler/v1"
|
228
|
+
#
|
229
|
+
# # Create a client object. The client can be reused for multiple calls.
|
230
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
231
|
+
#
|
232
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
233
|
+
# request = Google::Cloud::Scheduler::V1::ListJobsRequest.new
|
234
|
+
#
|
235
|
+
# # Call the list_jobs method.
|
236
|
+
# result = client.list_jobs request
|
237
|
+
#
|
238
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
239
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
240
|
+
# result.each do |item|
|
241
|
+
# # Each element is of type ::Google::Cloud::Scheduler::V1::Job.
|
242
|
+
# p item
|
243
|
+
# end
|
244
|
+
#
|
225
245
|
def list_jobs request, options = nil
|
226
246
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
227
247
|
|
@@ -286,6 +306,22 @@ module Google
|
|
286
306
|
# @return [::Google::Cloud::Scheduler::V1::Job]
|
287
307
|
#
|
288
308
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
309
|
+
#
|
310
|
+
# @example Basic example
|
311
|
+
# require "google/cloud/scheduler/v1"
|
312
|
+
#
|
313
|
+
# # Create a client object. The client can be reused for multiple calls.
|
314
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
315
|
+
#
|
316
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
317
|
+
# request = Google::Cloud::Scheduler::V1::GetJobRequest.new
|
318
|
+
#
|
319
|
+
# # Call the get_job method.
|
320
|
+
# result = client.get_job request
|
321
|
+
#
|
322
|
+
# # The returned object is of type Google::Cloud::Scheduler::V1::Job.
|
323
|
+
# p result
|
324
|
+
#
|
289
325
|
def get_job request, options = nil
|
290
326
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
291
327
|
|
@@ -356,6 +392,22 @@ module Google
|
|
356
392
|
# @return [::Google::Cloud::Scheduler::V1::Job]
|
357
393
|
#
|
358
394
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
395
|
+
#
|
396
|
+
# @example Basic example
|
397
|
+
# require "google/cloud/scheduler/v1"
|
398
|
+
#
|
399
|
+
# # Create a client object. The client can be reused for multiple calls.
|
400
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
401
|
+
#
|
402
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
403
|
+
# request = Google::Cloud::Scheduler::V1::CreateJobRequest.new
|
404
|
+
#
|
405
|
+
# # Call the create_job method.
|
406
|
+
# result = client.create_job request
|
407
|
+
#
|
408
|
+
# # The returned object is of type Google::Cloud::Scheduler::V1::Job.
|
409
|
+
# p result
|
410
|
+
#
|
359
411
|
def create_job request, options = nil
|
360
412
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
361
413
|
|
@@ -433,6 +485,22 @@ module Google
|
|
433
485
|
# @return [::Google::Cloud::Scheduler::V1::Job]
|
434
486
|
#
|
435
487
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
488
|
+
#
|
489
|
+
# @example Basic example
|
490
|
+
# require "google/cloud/scheduler/v1"
|
491
|
+
#
|
492
|
+
# # Create a client object. The client can be reused for multiple calls.
|
493
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
494
|
+
#
|
495
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
496
|
+
# request = Google::Cloud::Scheduler::V1::UpdateJobRequest.new
|
497
|
+
#
|
498
|
+
# # Call the update_job method.
|
499
|
+
# result = client.update_job request
|
500
|
+
#
|
501
|
+
# # The returned object is of type Google::Cloud::Scheduler::V1::Job.
|
502
|
+
# p result
|
503
|
+
#
|
436
504
|
def update_job request, options = nil
|
437
505
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
438
506
|
|
@@ -496,6 +564,22 @@ module Google
|
|
496
564
|
# @return [::Google::Protobuf::Empty]
|
497
565
|
#
|
498
566
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
567
|
+
#
|
568
|
+
# @example Basic example
|
569
|
+
# require "google/cloud/scheduler/v1"
|
570
|
+
#
|
571
|
+
# # Create a client object. The client can be reused for multiple calls.
|
572
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
573
|
+
#
|
574
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
575
|
+
# request = Google::Cloud::Scheduler::V1::DeleteJobRequest.new
|
576
|
+
#
|
577
|
+
# # Call the delete_job method.
|
578
|
+
# result = client.delete_job request
|
579
|
+
#
|
580
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
581
|
+
# p result
|
582
|
+
#
|
499
583
|
def delete_job request, options = nil
|
500
584
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
501
585
|
|
@@ -568,6 +652,22 @@ module Google
|
|
568
652
|
# @return [::Google::Cloud::Scheduler::V1::Job]
|
569
653
|
#
|
570
654
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
655
|
+
#
|
656
|
+
# @example Basic example
|
657
|
+
# require "google/cloud/scheduler/v1"
|
658
|
+
#
|
659
|
+
# # Create a client object. The client can be reused for multiple calls.
|
660
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
661
|
+
#
|
662
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
663
|
+
# request = Google::Cloud::Scheduler::V1::PauseJobRequest.new
|
664
|
+
#
|
665
|
+
# # Call the pause_job method.
|
666
|
+
# result = client.pause_job request
|
667
|
+
#
|
668
|
+
# # The returned object is of type Google::Cloud::Scheduler::V1::Job.
|
669
|
+
# p result
|
670
|
+
#
|
571
671
|
def pause_job request, options = nil
|
572
672
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
573
673
|
|
@@ -639,6 +739,22 @@ module Google
|
|
639
739
|
# @return [::Google::Cloud::Scheduler::V1::Job]
|
640
740
|
#
|
641
741
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
742
|
+
#
|
743
|
+
# @example Basic example
|
744
|
+
# require "google/cloud/scheduler/v1"
|
745
|
+
#
|
746
|
+
# # Create a client object. The client can be reused for multiple calls.
|
747
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
748
|
+
#
|
749
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
750
|
+
# request = Google::Cloud::Scheduler::V1::ResumeJobRequest.new
|
751
|
+
#
|
752
|
+
# # Call the resume_job method.
|
753
|
+
# result = client.resume_job request
|
754
|
+
#
|
755
|
+
# # The returned object is of type Google::Cloud::Scheduler::V1::Job.
|
756
|
+
# p result
|
757
|
+
#
|
642
758
|
def resume_job request, options = nil
|
643
759
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
644
760
|
|
@@ -705,6 +821,22 @@ module Google
|
|
705
821
|
# @return [::Google::Cloud::Scheduler::V1::Job]
|
706
822
|
#
|
707
823
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
824
|
+
#
|
825
|
+
# @example Basic example
|
826
|
+
# require "google/cloud/scheduler/v1"
|
827
|
+
#
|
828
|
+
# # Create a client object. The client can be reused for multiple calls.
|
829
|
+
# client = Google::Cloud::Scheduler::V1::CloudScheduler::Rest::Client.new
|
830
|
+
#
|
831
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
832
|
+
# request = Google::Cloud::Scheduler::V1::RunJobRequest.new
|
833
|
+
#
|
834
|
+
# # Call the run_job method.
|
835
|
+
# result = client.run_job request
|
836
|
+
#
|
837
|
+
# # The returned object is of type Google::Cloud::Scheduler::V1::Job.
|
838
|
+
# p result
|
839
|
+
#
|
708
840
|
def run_job request, options = nil
|
709
841
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
710
842
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-scheduler-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
242
|
- !ruby/object:Gem::Version
|
243
243
|
version: '0'
|
244
244
|
requirements: []
|
245
|
-
rubygems_version: 3.4.
|
245
|
+
rubygems_version: 3.4.19
|
246
246
|
signing_key:
|
247
247
|
specification_version: 4
|
248
248
|
summary: Creates and manages jobs run on a regular recurring schedule.
|