google-cloud-scheduler-v1beta1 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/scheduler/v1beta1/cloud_scheduler/client.rb +19 -8
- data/lib/google/cloud/scheduler/v1beta1/cloud_scheduler/rest/client.rb +19 -8
- data/lib/google/cloud/scheduler/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dc626270e9fa811d816ae113b860b9dd3ab79943181efb45ac1c45eb7b77611
|
4
|
+
data.tar.gz: 30b8494f8675148b6fc48255b774932784eab69a760ccb4996d72bc1725022b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33b0603e9bf158d6964a6eb93f9f4acb33b14c010ccd578ffb1bd137466b22d406669065a507c8488c8a6530641b2771155bdffef808f44bc3ae50e9e71b7647
|
7
|
+
data.tar.gz: 187d67b3a68c27e0f4e5a754afc4b49b5324d68be0c26572ebf7b24a97c8fcd0112506a9a0601f35b41e0bae33e20aacaca1339aec6241e12e162c1d051c6208
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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,
|
@@ -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
|
-
#
|
298
|
-
#
|
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
|
-
#
|
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
|
-
#
|
317
|
-
#
|
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'.
|
128
|
-
#
|
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.11.
|
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-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|