google-cloud-scheduler-v1beta1 0.10.2 → 0.11.1

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: b689374ab25fbc27604f234f647f8b07fb09ac80bbf449a73a68049546012360
4
- data.tar.gz: 45922ca313e265b1f60a0ea708df44c812bb949e905a1c82c53fe1c22a6bbf16
3
+ metadata.gz: 1dc626270e9fa811d816ae113b860b9dd3ab79943181efb45ac1c45eb7b77611
4
+ data.tar.gz: 30b8494f8675148b6fc48255b774932784eab69a760ccb4996d72bc1725022b9
5
5
  SHA512:
6
- metadata.gz: c2a86049b1397031da991a4356af7d6b813b2f24d78a9413f511f3121dbc812820c3912fb0759a69353f8559202cd20faae00e4aba41be151175d67e676fee72
7
- data.tar.gz: d4e9cfa20be382708fde7b965ef23b87e78370e5a681b6b4294dc0b49dccbf9f6d805075c94a5b53cf8d1901c8b64700a59e53be023db84074f9f945388d2b56
6
+ metadata.gz: 33b0603e9bf158d6964a6eb93f9f4acb33b14c010ccd578ffb1bd137466b22d406669065a507c8488c8a6530641b2771155bdffef808f44bc3ae50e9e71b7647
7
+ data.tar.gz: 187d67b3a68c27e0f4e5a754afc4b49b5324d68be0c26572ebf7b24a97c8fcd0112506a9a0601f35b41e0bae33e20aacaca1339aec6241e12e162c1d051c6208
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -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
 
@@ -298,10 +301,11 @@ module Google
298
301
  # Customize the options with defaults
299
302
  metadata = @config.rpcs.list_jobs.metadata.to_h
300
303
 
301
- # Set x-goog-api-client and x-goog-user-project headers
304
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
302
305
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
303
306
  lib_name: @config.lib_name, lib_version: @config.lib_version,
304
307
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
308
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
305
309
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
310
 
307
311
  header_params = {}
@@ -385,10 +389,11 @@ module Google
385
389
  # Customize the options with defaults
386
390
  metadata = @config.rpcs.get_job.metadata.to_h
387
391
 
388
- # Set x-goog-api-client and x-goog-user-project headers
392
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
389
393
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
390
394
  lib_name: @config.lib_name, lib_version: @config.lib_version,
391
395
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
396
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
392
397
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
393
398
 
394
399
  header_params = {}
@@ -478,10 +483,11 @@ module Google
478
483
  # Customize the options with defaults
479
484
  metadata = @config.rpcs.create_job.metadata.to_h
480
485
 
481
- # Set x-goog-api-client and x-goog-user-project headers
486
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
482
487
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
483
488
  lib_name: @config.lib_name, lib_version: @config.lib_version,
484
489
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
490
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
485
491
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
486
492
 
487
493
  header_params = {}
@@ -578,10 +584,11 @@ module Google
578
584
  # Customize the options with defaults
579
585
  metadata = @config.rpcs.update_job.metadata.to_h
580
586
 
581
- # Set x-goog-api-client and x-goog-user-project headers
587
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
582
588
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
583
589
  lib_name: @config.lib_name, lib_version: @config.lib_version,
584
590
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
591
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
585
592
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
586
593
 
587
594
  header_params = {}
@@ -668,10 +675,11 @@ module Google
668
675
  # Customize the options with defaults
669
676
  metadata = @config.rpcs.delete_job.metadata.to_h
670
677
 
671
- # Set x-goog-api-client and x-goog-user-project headers
678
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
672
679
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
673
680
  lib_name: @config.lib_name, lib_version: @config.lib_version,
674
681
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
682
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
675
683
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
676
684
 
677
685
  header_params = {}
@@ -764,10 +772,11 @@ module Google
764
772
  # Customize the options with defaults
765
773
  metadata = @config.rpcs.pause_job.metadata.to_h
766
774
 
767
- # Set x-goog-api-client and x-goog-user-project headers
775
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
768
776
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
769
777
  lib_name: @config.lib_name, lib_version: @config.lib_version,
770
778
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
779
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
771
780
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
772
781
 
773
782
  header_params = {}
@@ -860,10 +869,11 @@ module Google
860
869
  # Customize the options with defaults
861
870
  metadata = @config.rpcs.resume_job.metadata.to_h
862
871
 
863
- # Set x-goog-api-client and x-goog-user-project headers
872
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
864
873
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
865
874
  lib_name: @config.lib_name, lib_version: @config.lib_version,
866
875
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
876
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
867
877
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
868
878
 
869
879
  header_params = {}
@@ -953,10 +963,11 @@ module Google
953
963
  # Customize the options with defaults
954
964
  metadata = @config.rpcs.run_job.metadata.to_h
955
965
 
956
- # Set x-goog-api-client and x-goog-user-project headers
966
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
957
967
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
958
968
  lib_name: @config.lib_name, lib_version: @config.lib_version,
959
969
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
970
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
960
971
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
961
972
 
962
973
  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
 
@@ -291,12 +294,13 @@ module Google
291
294
  # Customize the options with defaults
292
295
  call_metadata = @config.rpcs.list_jobs.metadata.to_h
293
296
 
294
- # Set x-goog-api-client and x-goog-user-project headers
297
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
295
298
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
296
299
  lib_name: @config.lib_name, lib_version: @config.lib_version,
297
300
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
298
301
  transports_version_send: [:rest]
299
302
 
303
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
300
304
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
301
305
 
302
306
  options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
@@ -371,12 +375,13 @@ module Google
371
375
  # Customize the options with defaults
372
376
  call_metadata = @config.rpcs.get_job.metadata.to_h
373
377
 
374
- # Set x-goog-api-client and x-goog-user-project headers
378
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
375
379
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
376
380
  lib_name: @config.lib_name, lib_version: @config.lib_version,
377
381
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
378
382
  transports_version_send: [:rest]
379
383
 
384
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
380
385
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
381
386
 
382
387
  options.apply_defaults timeout: @config.rpcs.get_job.timeout,
@@ -457,12 +462,13 @@ module Google
457
462
  # Customize the options with defaults
458
463
  call_metadata = @config.rpcs.create_job.metadata.to_h
459
464
 
460
- # Set x-goog-api-client and x-goog-user-project headers
465
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
461
466
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
462
467
  lib_name: @config.lib_name, lib_version: @config.lib_version,
463
468
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
464
469
  transports_version_send: [:rest]
465
470
 
471
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
466
472
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
467
473
 
468
474
  options.apply_defaults timeout: @config.rpcs.create_job.timeout,
@@ -550,12 +556,13 @@ module Google
550
556
  # Customize the options with defaults
551
557
  call_metadata = @config.rpcs.update_job.metadata.to_h
552
558
 
553
- # Set x-goog-api-client and x-goog-user-project headers
559
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
554
560
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
555
561
  lib_name: @config.lib_name, lib_version: @config.lib_version,
556
562
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
557
563
  transports_version_send: [:rest]
558
564
 
565
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
559
566
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
560
567
 
561
568
  options.apply_defaults timeout: @config.rpcs.update_job.timeout,
@@ -633,12 +640,13 @@ module Google
633
640
  # Customize the options with defaults
634
641
  call_metadata = @config.rpcs.delete_job.metadata.to_h
635
642
 
636
- # Set x-goog-api-client and x-goog-user-project headers
643
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
637
644
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
638
645
  lib_name: @config.lib_name, lib_version: @config.lib_version,
639
646
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
640
647
  transports_version_send: [:rest]
641
648
 
649
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
642
650
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
643
651
 
644
652
  options.apply_defaults timeout: @config.rpcs.delete_job.timeout,
@@ -722,12 +730,13 @@ module Google
722
730
  # Customize the options with defaults
723
731
  call_metadata = @config.rpcs.pause_job.metadata.to_h
724
732
 
725
- # Set x-goog-api-client and x-goog-user-project headers
733
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
726
734
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
727
735
  lib_name: @config.lib_name, lib_version: @config.lib_version,
728
736
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
729
737
  transports_version_send: [:rest]
730
738
 
739
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
731
740
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
732
741
 
733
742
  options.apply_defaults timeout: @config.rpcs.pause_job.timeout,
@@ -811,12 +820,13 @@ module Google
811
820
  # Customize the options with defaults
812
821
  call_metadata = @config.rpcs.resume_job.metadata.to_h
813
822
 
814
- # Set x-goog-api-client and x-goog-user-project headers
823
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
815
824
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
816
825
  lib_name: @config.lib_name, lib_version: @config.lib_version,
817
826
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
818
827
  transports_version_send: [:rest]
819
828
 
829
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
820
830
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
821
831
 
822
832
  options.apply_defaults timeout: @config.rpcs.resume_job.timeout,
@@ -897,12 +907,13 @@ module Google
897
907
  # Customize the options with defaults
898
908
  call_metadata = @config.rpcs.run_job.metadata.to_h
899
909
 
900
- # Set x-goog-api-client and x-goog-user-project headers
910
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
901
911
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
902
912
  lib_name: @config.lib_name, lib_version: @config.lib_version,
903
913
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION,
904
914
  transports_version_send: [:rest]
905
915
 
916
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
906
917
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
907
918
 
908
919
  options.apply_defaults timeout: @config.rpcs.run_job.timeout,
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
13
13
  require 'google/protobuf/field_mask_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n3google/cloud/scheduler/v1beta1/cloudscheduler.proto\x12\x1egoogle.cloud.scheduler.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/scheduler/v1beta1/job.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa4\x01\n\x0fListJobsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!cloudscheduler.googleapis.com/Job\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x1e\n\x16legacy_app_engine_cron\x18\x07 \x01(\x08\"^\n\x10ListJobsResponse\x12\x31\n\x04jobs\x18\x01 \x03(\x0b\x32#.google.cloud.scheduler.v1beta1.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\rGetJobRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\"\x86\x01\n\x10\x43reateJobRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!cloudscheduler.googleapis.com/Job\x12\x36\n\x03job\x18\x02 \x01(\x0b\x32#.google.cloud.scheduler.v1beta1.JobB\x04\xe2\x41\x01\x02\"{\n\x10UpdateJobRequest\x12\x36\n\x03job\x18\x01 \x01(\x0b\x32#.google.cloud.scheduler.v1beta1.JobB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"l\n\x10\x44\x65leteJobRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\x12\x1e\n\x16legacy_app_engine_cron\x18\x02 \x01(\x08\"K\n\x0fPauseJobRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\"L\n\x10ResumeJobRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\"i\n\rRunJobRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\x12\x1e\n\x16legacy_app_engine_cron\x18\x02 \x01(\x08\x32\xa6\x0b\n\x0e\x43loudScheduler\x12\xad\x01\n\x08ListJobs\x12/.google.cloud.scheduler.v1beta1.ListJobsRequest\x1a\x30.google.cloud.scheduler.v1beta1.ListJobsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1beta1/{parent=projects/*/locations/*}/jobs\x12\x9a\x01\n\x06GetJob\x12-.google.cloud.scheduler.v1beta1.GetJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1beta1/{name=projects/*/locations/*/jobs/*}\x12\xab\x01\n\tCreateJob\x12\x30.google.cloud.scheduler.v1beta1.CreateJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"G\xda\x41\nparent,job\x82\xd3\xe4\x93\x02\x34\"-/v1beta1/{parent=projects/*/locations/*}/jobs:\x03job\x12\xb4\x01\n\tUpdateJob\x12\x30.google.cloud.scheduler.v1beta1.UpdateJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"P\xda\x41\x0fjob,update_mask\x82\xd3\xe4\x93\x02\x38\x32\x31/v1beta1/{job.name=projects/*/locations/*/jobs/*}:\x03job\x12\x93\x01\n\tDeleteJob\x12\x30.google.cloud.scheduler.v1beta1.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1beta1/{name=projects/*/locations/*/jobs/*}\x12\xa7\x01\n\x08PauseJob\x12/.google.cloud.scheduler.v1beta1.PauseJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1beta1/{name=projects/*/locations/*/jobs/*}:pause:\x01*\x12\xaa\x01\n\tResumeJob\x12\x30.google.cloud.scheduler.v1beta1.ResumeJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1beta1/{name=projects/*/locations/*/jobs/*}:resume:\x01*\x12\xa1\x01\n\x06RunJob\x12-.google.cloud.scheduler.v1beta1.RunJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1beta1/{name=projects/*/locations/*/jobs/*}:run:\x01*\x1aQ\xca\x41\x1d\x63loudscheduler.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x84\x01\n\"com.google.cloud.scheduler.v1beta1B\x0eSchedulerProtoP\x01Z@cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb\xa2\x02\tSCHEDULERb\x06proto3"
16
+ descriptor_data = "\n3google/cloud/scheduler/v1beta1/cloudscheduler.proto\x12\x1egoogle.cloud.scheduler.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/scheduler/v1beta1/job.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa3\x01\n\x0fListJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!cloudscheduler.googleapis.com/Job\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x1e\n\x16legacy_app_engine_cron\x18\x07 \x01(\x08\"^\n\x10ListJobsResponse\x12\x31\n\x04jobs\x18\x01 \x03(\x0b\x32#.google.cloud.scheduler.v1beta1.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\rGetJobRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\"\x84\x01\n\x10\x43reateJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!cloudscheduler.googleapis.com/Job\x12\x35\n\x03job\x18\x02 \x01(\x0b\x32#.google.cloud.scheduler.v1beta1.JobB\x03\xe0\x41\x02\"z\n\x10UpdateJobRequest\x12\x35\n\x03job\x18\x01 \x01(\x0b\x32#.google.cloud.scheduler.v1beta1.JobB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"k\n\x10\x44\x65leteJobRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\x12\x1e\n\x16legacy_app_engine_cron\x18\x02 \x01(\x08\"J\n\x0fPauseJobRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\"K\n\x10ResumeJobRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\"h\n\rRunJobRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudscheduler.googleapis.com/Job\x12\x1e\n\x16legacy_app_engine_cron\x18\x02 \x01(\x08\x32\xa6\x0b\n\x0e\x43loudScheduler\x12\xad\x01\n\x08ListJobs\x12/.google.cloud.scheduler.v1beta1.ListJobsRequest\x1a\x30.google.cloud.scheduler.v1beta1.ListJobsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1beta1/{parent=projects/*/locations/*}/jobs\x12\x9a\x01\n\x06GetJob\x12-.google.cloud.scheduler.v1beta1.GetJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1beta1/{name=projects/*/locations/*/jobs/*}\x12\xab\x01\n\tCreateJob\x12\x30.google.cloud.scheduler.v1beta1.CreateJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"G\xda\x41\nparent,job\x82\xd3\xe4\x93\x02\x34\"-/v1beta1/{parent=projects/*/locations/*}/jobs:\x03job\x12\xb4\x01\n\tUpdateJob\x12\x30.google.cloud.scheduler.v1beta1.UpdateJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"P\xda\x41\x0fjob,update_mask\x82\xd3\xe4\x93\x02\x38\x32\x31/v1beta1/{job.name=projects/*/locations/*/jobs/*}:\x03job\x12\x93\x01\n\tDeleteJob\x12\x30.google.cloud.scheduler.v1beta1.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1beta1/{name=projects/*/locations/*/jobs/*}\x12\xa7\x01\n\x08PauseJob\x12/.google.cloud.scheduler.v1beta1.PauseJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1beta1/{name=projects/*/locations/*/jobs/*}:pause:\x01*\x12\xaa\x01\n\tResumeJob\x12\x30.google.cloud.scheduler.v1beta1.ResumeJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1beta1/{name=projects/*/locations/*/jobs/*}:resume:\x01*\x12\xa1\x01\n\x06RunJob\x12-.google.cloud.scheduler.v1beta1.RunJobRequest\x1a#.google.cloud.scheduler.v1beta1.Job\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1beta1/{name=projects/*/locations/*/jobs/*}:run:\x01*\x1aQ\xca\x41\x1d\x63loudscheduler.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x84\x01\n\"com.google.cloud.scheduler.v1beta1B\x0eSchedulerProtoP\x01Z@cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb\xa2\x02\tSCHEDULERb\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -12,7 +12,7 @@ require 'google/protobuf/timestamp_pb'
12
12
  require 'google/rpc/status_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n(google/cloud/scheduler/v1beta1/job.proto\x12\x1egoogle.cloud.scheduler.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/scheduler/v1beta1/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x8a\x07\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x45\n\rpubsub_target\x18\x04 \x01(\x0b\x32,.google.cloud.scheduler.v1beta1.PubsubTargetH\x00\x12U\n\x16\x61pp_engine_http_target\x18\x05 \x01(\x0b\x32\x33.google.cloud.scheduler.v1beta1.AppEngineHttpTargetH\x00\x12\x41\n\x0bhttp_target\x18\x06 \x01(\x0b\x32*.google.cloud.scheduler.v1beta1.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\x38\n\x05state\x18\n \x01(\x0e\x32).google.cloud.scheduler.v1beta1.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\x41\n\x0cretry_config\x18\x13 \x01(\x0b\x32+.google.cloud.scheduler.v1beta1.RetryConfig\x12\x33\n\x10\x61ttempt_deadline\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12$\n\x16legacy_app_engine_cron\x18\x17 \x01(\x08\x42\x04\xe2\x41\x01\x05\"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\x42r\n\"com.google.cloud.scheduler.v1beta1B\x08JobProtoP\x01Z@cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpbb\x06proto3"
15
+ descriptor_data = "\n(google/cloud/scheduler/v1beta1/job.proto\x12\x1egoogle.cloud.scheduler.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/scheduler/v1beta1/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x89\x07\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x45\n\rpubsub_target\x18\x04 \x01(\x0b\x32,.google.cloud.scheduler.v1beta1.PubsubTargetH\x00\x12U\n\x16\x61pp_engine_http_target\x18\x05 \x01(\x0b\x32\x33.google.cloud.scheduler.v1beta1.AppEngineHttpTargetH\x00\x12\x41\n\x0bhttp_target\x18\x06 \x01(\x0b\x32*.google.cloud.scheduler.v1beta1.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\x38\n\x05state\x18\n \x01(\x0e\x32).google.cloud.scheduler.v1beta1.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\x41\n\x0cretry_config\x18\x13 \x01(\x0b\x32+.google.cloud.scheduler.v1beta1.RetryConfig\x12\x33\n\x10\x61ttempt_deadline\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12#\n\x16legacy_app_engine_cron\x18\x17 \x01(\x08\x42\x03\xe0\x41\x05\"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\x42r\n\"com.google.cloud.scheduler.v1beta1B\x08JobProtoP\x01Z@cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpbb\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Scheduler
23
23
  module V1beta1
24
- VERSION = "0.10.2"
24
+ VERSION = "0.11.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-scheduler-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.11.1
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-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -64,118 +64,6 @@ dependencies:
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
67
- - !ruby/object:Gem::Dependency
68
- name: google-style
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: 1.26.3
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: 1.26.3
81
- - !ruby/object:Gem::Dependency
82
- name: minitest
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '5.16'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '5.16'
95
- - !ruby/object:Gem::Dependency
96
- name: minitest-focus
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '1.1'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '1.1'
109
- - !ruby/object:Gem::Dependency
110
- name: minitest-rg
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '5.2'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '5.2'
123
- - !ruby/object:Gem::Dependency
124
- name: rake
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- version: '13.0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: '13.0'
137
- - !ruby/object:Gem::Dependency
138
- name: redcarpet
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '3.0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '3.0'
151
- - !ruby/object:Gem::Dependency
152
- name: simplecov
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.18'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.18'
165
- - !ruby/object:Gem::Dependency
166
- name: yard
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '0.9'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '0.9'
179
67
  description: Cloud Scheduler is a fully managed enterprise-grade cron job scheduler.
180
68
  It allows you to schedule virtually any job, including batch, big data jobs, cloud
181
69
  infrastructure operations, and more. You can automate everything, including retries
@@ -235,14 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
235
123
  requirements:
236
124
  - - ">="
237
125
  - !ruby/object:Gem::Version
238
- version: '2.6'
126
+ version: '2.7'
239
127
  required_rubygems_version: !ruby/object:Gem::Requirement
240
128
  requirements:
241
129
  - - ">="
242
130
  - !ruby/object:Gem::Version
243
131
  version: '0'
244
132
  requirements: []
245
- rubygems_version: 3.5.3
133
+ rubygems_version: 3.5.6
246
134
  signing_key:
247
135
  specification_version: 4
248
136
  summary: Creates and manages jobs run on a regular recurring schedule.