google-cloud-scheduler-v1 0.11.0 → 1.0.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 939a17d0a5f3a4a2a28885cacc740e12097b5a564711d239631bbaf1ecb9de3f
|
|
4
|
+
data.tar.gz: 1b3a04ff4b853a4c798f80e16051bb593bc30c67fa2832c7b9d4b4862f08644c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba81ff2657f174db5a8ec33c2a19323870a6bfe8c3511aa52bba3f33fc3eb1d125fa1e8bd0c6dd22371b448217208dc5275760e202d1332393dfed81a4eca5ec
|
|
7
|
+
data.tar.gz: 9b179c5b65a49857ca6b660276236e241504f760c5e63cc3882a9e6bae68fad4ff53d32b35db5a008cbf3b57048ecfbd65fdbcfc35b8e3e3995480b72166d0f6
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# schedule asynchronous jobs.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudscheduler.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -279,10 +282,11 @@ module Google
|
|
|
279
282
|
# Customize the options with defaults
|
|
280
283
|
metadata = @config.rpcs.list_jobs.metadata.to_h
|
|
281
284
|
|
|
282
|
-
# Set x-goog-api-client
|
|
285
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
283
286
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
284
287
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
285
288
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
289
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
286
290
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
287
291
|
|
|
288
292
|
header_params = {}
|
|
@@ -366,10 +370,11 @@ module Google
|
|
|
366
370
|
# Customize the options with defaults
|
|
367
371
|
metadata = @config.rpcs.get_job.metadata.to_h
|
|
368
372
|
|
|
369
|
-
# Set x-goog-api-client
|
|
373
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
370
374
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
371
375
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
372
376
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
377
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
373
378
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
374
379
|
|
|
375
380
|
header_params = {}
|
|
@@ -459,10 +464,11 @@ module Google
|
|
|
459
464
|
# Customize the options with defaults
|
|
460
465
|
metadata = @config.rpcs.create_job.metadata.to_h
|
|
461
466
|
|
|
462
|
-
# Set x-goog-api-client
|
|
467
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
463
468
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
464
469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
465
470
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
471
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
466
472
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
467
473
|
|
|
468
474
|
header_params = {}
|
|
@@ -559,10 +565,11 @@ module Google
|
|
|
559
565
|
# Customize the options with defaults
|
|
560
566
|
metadata = @config.rpcs.update_job.metadata.to_h
|
|
561
567
|
|
|
562
|
-
# Set x-goog-api-client
|
|
568
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
563
569
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
564
570
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
565
571
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
572
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
566
573
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
567
574
|
|
|
568
575
|
header_params = {}
|
|
@@ -645,10 +652,11 @@ module Google
|
|
|
645
652
|
# Customize the options with defaults
|
|
646
653
|
metadata = @config.rpcs.delete_job.metadata.to_h
|
|
647
654
|
|
|
648
|
-
# Set x-goog-api-client
|
|
655
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
649
656
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
650
657
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
651
658
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
659
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
652
660
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
653
661
|
|
|
654
662
|
header_params = {}
|
|
@@ -740,10 +748,11 @@ module Google
|
|
|
740
748
|
# Customize the options with defaults
|
|
741
749
|
metadata = @config.rpcs.pause_job.metadata.to_h
|
|
742
750
|
|
|
743
|
-
# Set x-goog-api-client
|
|
751
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
744
752
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
745
753
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
746
754
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
755
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
747
756
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
748
757
|
|
|
749
758
|
header_params = {}
|
|
@@ -834,10 +843,11 @@ module Google
|
|
|
834
843
|
# Customize the options with defaults
|
|
835
844
|
metadata = @config.rpcs.resume_job.metadata.to_h
|
|
836
845
|
|
|
837
|
-
# Set x-goog-api-client
|
|
846
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
838
847
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
839
848
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
840
849
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
850
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
841
851
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
842
852
|
|
|
843
853
|
header_params = {}
|
|
@@ -923,10 +933,11 @@ module Google
|
|
|
923
933
|
# Customize the options with defaults
|
|
924
934
|
metadata = @config.rpcs.run_job.metadata.to_h
|
|
925
935
|
|
|
926
|
-
# Set x-goog-api-client
|
|
936
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
927
937
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
928
938
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
929
939
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION
|
|
940
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
930
941
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
931
942
|
|
|
932
943
|
header_params = {}
|
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# schedule asynchronous jobs.
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
|
+
# @private
|
|
38
|
+
API_VERSION = ""
|
|
39
|
+
|
|
37
40
|
# @private
|
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudscheduler.$UNIVERSE_DOMAIN$"
|
|
39
42
|
|
|
@@ -272,12 +275,13 @@ module Google
|
|
|
272
275
|
# Customize the options with defaults
|
|
273
276
|
call_metadata = @config.rpcs.list_jobs.metadata.to_h
|
|
274
277
|
|
|
275
|
-
# Set x-goog-api-client
|
|
278
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
276
279
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
277
280
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
278
281
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
279
282
|
transports_version_send: [:rest]
|
|
280
283
|
|
|
284
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
281
285
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
282
286
|
|
|
283
287
|
options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
|
|
@@ -352,12 +356,13 @@ module Google
|
|
|
352
356
|
# Customize the options with defaults
|
|
353
357
|
call_metadata = @config.rpcs.get_job.metadata.to_h
|
|
354
358
|
|
|
355
|
-
# Set x-goog-api-client
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
356
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
357
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
358
362
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
359
363
|
transports_version_send: [:rest]
|
|
360
364
|
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
361
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
362
367
|
|
|
363
368
|
options.apply_defaults timeout: @config.rpcs.get_job.timeout,
|
|
@@ -438,12 +443,13 @@ module Google
|
|
|
438
443
|
# Customize the options with defaults
|
|
439
444
|
call_metadata = @config.rpcs.create_job.metadata.to_h
|
|
440
445
|
|
|
441
|
-
# Set x-goog-api-client
|
|
446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
447
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
449
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
445
450
|
transports_version_send: [:rest]
|
|
446
451
|
|
|
452
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
453
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
454
|
|
|
449
455
|
options.apply_defaults timeout: @config.rpcs.create_job.timeout,
|
|
@@ -531,12 +537,13 @@ module Google
|
|
|
531
537
|
# Customize the options with defaults
|
|
532
538
|
call_metadata = @config.rpcs.update_job.metadata.to_h
|
|
533
539
|
|
|
534
|
-
# Set x-goog-api-client
|
|
540
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
535
541
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
536
542
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
537
543
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
538
544
|
transports_version_send: [:rest]
|
|
539
545
|
|
|
546
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
540
547
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
541
548
|
|
|
542
549
|
options.apply_defaults timeout: @config.rpcs.update_job.timeout,
|
|
@@ -610,12 +617,13 @@ module Google
|
|
|
610
617
|
# Customize the options with defaults
|
|
611
618
|
call_metadata = @config.rpcs.delete_job.metadata.to_h
|
|
612
619
|
|
|
613
|
-
# Set x-goog-api-client
|
|
620
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
614
621
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
615
622
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
616
623
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
617
624
|
transports_version_send: [:rest]
|
|
618
625
|
|
|
626
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
619
627
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
620
628
|
|
|
621
629
|
options.apply_defaults timeout: @config.rpcs.delete_job.timeout,
|
|
@@ -698,12 +706,13 @@ module Google
|
|
|
698
706
|
# Customize the options with defaults
|
|
699
707
|
call_metadata = @config.rpcs.pause_job.metadata.to_h
|
|
700
708
|
|
|
701
|
-
# Set x-goog-api-client
|
|
709
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
702
710
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
703
711
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
704
712
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
705
713
|
transports_version_send: [:rest]
|
|
706
714
|
|
|
715
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
707
716
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
708
717
|
|
|
709
718
|
options.apply_defaults timeout: @config.rpcs.pause_job.timeout,
|
|
@@ -785,12 +794,13 @@ module Google
|
|
|
785
794
|
# Customize the options with defaults
|
|
786
795
|
call_metadata = @config.rpcs.resume_job.metadata.to_h
|
|
787
796
|
|
|
788
|
-
# Set x-goog-api-client
|
|
797
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
789
798
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
790
799
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
791
800
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
792
801
|
transports_version_send: [:rest]
|
|
793
802
|
|
|
803
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
794
804
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
795
805
|
|
|
796
806
|
options.apply_defaults timeout: @config.rpcs.resume_job.timeout,
|
|
@@ -867,12 +877,13 @@ module Google
|
|
|
867
877
|
# Customize the options with defaults
|
|
868
878
|
call_metadata = @config.rpcs.run_job.metadata.to_h
|
|
869
879
|
|
|
870
|
-
# Set x-goog-api-client
|
|
880
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
871
881
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
872
882
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
873
883
|
gapic_version: ::Google::Cloud::Scheduler::V1::VERSION,
|
|
874
884
|
transports_version_send: [:rest]
|
|
875
885
|
|
|
886
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
876
887
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
877
888
|
|
|
878
889
|
options.apply_defaults timeout: @config.rpcs.run_job.timeout,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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: 1.0.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: 2024-
|
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|