google-cloud-scheduler-v1beta1 0.4.3 → 0.5.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: 71ef6de9b6fd95a897106da010722f4a6b1a0b80041c51b67943a11fab24cf39
4
- data.tar.gz: 3c625e380b058dbb4195ead824fa196f65aea1e14ff2a06be7c0af521bb3379e
3
+ metadata.gz: c45707ab9bc7051624f6c251b8318b68abe9b9a13712ced24f7e77e19260e833
4
+ data.tar.gz: a8fac14d2939ba3319a10fd7e34b7b0e56fb3b17cb9d29eb16e6e54bdd522c00
5
5
  SHA512:
6
- metadata.gz: ce39041f1955a2f80eeacf9b70d07963882698ab705b2eeb90886a47b043d3f3ed8219e90287541f48b8c37b4de869711d7b62ed5db016e454151a2a5d602ad5
7
- data.tar.gz: fefb265875bc621150a4564dcaa46ff45403710bdbb3a9d08c5654f03a1032efcb7bea75608a974ee634d7d23e2c02a08def267d8f6d89ca44b5d9506c51d866
6
+ metadata.gz: 3f89faf251e370f355af1aac0d1bcdd496d8dca2ce6d498189d53356d2f98b4fe75a3c6f72816ca99e0938612c8e8674514d9ae0ea21e571714c5615127ac227
7
+ data.tar.gz: c7899d9dcb058f7fbb13a6136c9cdadf92103f4974dfe0f2c59e033f945af680c8a85248a381fb1499c0cacffb5e13c6b07967287350534b3fcee0b11971b8b8
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Scheduler V1beta1 API
2
+ --title="Cloud Scheduler V1beta1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Scheduler::V1beta1::ListJobsRequest.new # (request fi
37
37
  response = client.list_jobs request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-scheduler-v1beta1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-scheduler-v1beta1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/scheduler)
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -221,6 +221,27 @@ module Google
221
221
  #
222
222
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
223
223
  #
224
+ # @example Basic example
225
+ # require "google/cloud/scheduler/v1beta1"
226
+ #
227
+ # # Create a client object. The client can be reused for multiple calls.
228
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
229
+ #
230
+ # # Create a request. To set request fields, pass in keyword arguments.
231
+ # request = Google::Cloud::Scheduler::V1beta1::ListJobsRequest.new
232
+ #
233
+ # # Call the list_jobs method.
234
+ # result = client.list_jobs request
235
+ #
236
+ # # The returned object is of type Gapic::PagedEnumerable. You can
237
+ # # iterate over all elements by calling #each, and the enumerable
238
+ # # will lazily make API calls to fetch subsequent pages. Other
239
+ # # methods are also available for managing paging directly.
240
+ # result.each do |response|
241
+ # # Each element is of type ::Google::Cloud::Scheduler::V1beta1::Job.
242
+ # p response
243
+ # end
244
+ #
224
245
  def list_jobs request, options = nil
225
246
  raise ::ArgumentError, "request must be provided" if request.nil?
226
247
 
@@ -238,9 +259,11 @@ module Google
238
259
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
239
260
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
240
261
 
241
- header_params = {
242
- "parent" => request.parent
243
- }
262
+ header_params = {}
263
+ if request.parent
264
+ header_params["parent"] = request.parent
265
+ end
266
+
244
267
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
245
268
  metadata[:"x-goog-request-params"] ||= request_params_header
246
269
 
@@ -291,6 +314,21 @@ module Google
291
314
  #
292
315
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
293
316
  #
317
+ # @example Basic example
318
+ # require "google/cloud/scheduler/v1beta1"
319
+ #
320
+ # # Create a client object. The client can be reused for multiple calls.
321
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
322
+ #
323
+ # # Create a request. To set request fields, pass in keyword arguments.
324
+ # request = Google::Cloud::Scheduler::V1beta1::GetJobRequest.new
325
+ #
326
+ # # Call the get_job method.
327
+ # result = client.get_job request
328
+ #
329
+ # # The returned object is of type Google::Cloud::Scheduler::V1beta1::Job.
330
+ # p result
331
+ #
294
332
  def get_job request, options = nil
295
333
  raise ::ArgumentError, "request must be provided" if request.nil?
296
334
 
@@ -308,9 +346,11 @@ module Google
308
346
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
309
347
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
310
348
 
311
- header_params = {
312
- "name" => request.name
313
- }
349
+ header_params = {}
350
+ if request.name
351
+ header_params["name"] = request.name
352
+ end
353
+
314
354
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
315
355
  metadata[:"x-goog-request-params"] ||= request_params_header
316
356
 
@@ -366,6 +406,21 @@ module Google
366
406
  #
367
407
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
368
408
  #
409
+ # @example Basic example
410
+ # require "google/cloud/scheduler/v1beta1"
411
+ #
412
+ # # Create a client object. The client can be reused for multiple calls.
413
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
414
+ #
415
+ # # Create a request. To set request fields, pass in keyword arguments.
416
+ # request = Google::Cloud::Scheduler::V1beta1::CreateJobRequest.new
417
+ #
418
+ # # Call the create_job method.
419
+ # result = client.create_job request
420
+ #
421
+ # # The returned object is of type Google::Cloud::Scheduler::V1beta1::Job.
422
+ # p result
423
+ #
369
424
  def create_job request, options = nil
370
425
  raise ::ArgumentError, "request must be provided" if request.nil?
371
426
 
@@ -383,9 +438,11 @@ module Google
383
438
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
384
439
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
440
 
386
- header_params = {
387
- "parent" => request.parent
388
- }
441
+ header_params = {}
442
+ if request.parent
443
+ header_params["parent"] = request.parent
444
+ end
445
+
389
446
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
390
447
  metadata[:"x-goog-request-params"] ||= request_params_header
391
448
 
@@ -447,6 +504,21 @@ module Google
447
504
  #
448
505
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
449
506
  #
507
+ # @example Basic example
508
+ # require "google/cloud/scheduler/v1beta1"
509
+ #
510
+ # # Create a client object. The client can be reused for multiple calls.
511
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
512
+ #
513
+ # # Create a request. To set request fields, pass in keyword arguments.
514
+ # request = Google::Cloud::Scheduler::V1beta1::UpdateJobRequest.new
515
+ #
516
+ # # Call the update_job method.
517
+ # result = client.update_job request
518
+ #
519
+ # # The returned object is of type Google::Cloud::Scheduler::V1beta1::Job.
520
+ # p result
521
+ #
450
522
  def update_job request, options = nil
451
523
  raise ::ArgumentError, "request must be provided" if request.nil?
452
524
 
@@ -464,9 +536,11 @@ module Google
464
536
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
465
537
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
466
538
 
467
- header_params = {
468
- "job.name" => request.job.name
469
- }
539
+ header_params = {}
540
+ if request.job&.name
541
+ header_params["job.name"] = request.job.name
542
+ end
543
+
470
544
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
471
545
  metadata[:"x-goog-request-params"] ||= request_params_header
472
546
 
@@ -516,6 +590,21 @@ module Google
516
590
  #
517
591
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
518
592
  #
593
+ # @example Basic example
594
+ # require "google/cloud/scheduler/v1beta1"
595
+ #
596
+ # # Create a client object. The client can be reused for multiple calls.
597
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
598
+ #
599
+ # # Create a request. To set request fields, pass in keyword arguments.
600
+ # request = Google::Cloud::Scheduler::V1beta1::DeleteJobRequest.new
601
+ #
602
+ # # Call the delete_job method.
603
+ # result = client.delete_job request
604
+ #
605
+ # # The returned object is of type Google::Protobuf::Empty.
606
+ # p result
607
+ #
519
608
  def delete_job request, options = nil
520
609
  raise ::ArgumentError, "request must be provided" if request.nil?
521
610
 
@@ -533,9 +622,11 @@ module Google
533
622
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
534
623
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
535
624
 
536
- header_params = {
537
- "name" => request.name
538
- }
625
+ header_params = {}
626
+ if request.name
627
+ header_params["name"] = request.name
628
+ end
629
+
539
630
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
540
631
  metadata[:"x-goog-request-params"] ||= request_params_header
541
632
 
@@ -591,6 +682,21 @@ module Google
591
682
  #
592
683
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
593
684
  #
685
+ # @example Basic example
686
+ # require "google/cloud/scheduler/v1beta1"
687
+ #
688
+ # # Create a client object. The client can be reused for multiple calls.
689
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
690
+ #
691
+ # # Create a request. To set request fields, pass in keyword arguments.
692
+ # request = Google::Cloud::Scheduler::V1beta1::PauseJobRequest.new
693
+ #
694
+ # # Call the pause_job method.
695
+ # result = client.pause_job request
696
+ #
697
+ # # The returned object is of type Google::Cloud::Scheduler::V1beta1::Job.
698
+ # p result
699
+ #
594
700
  def pause_job request, options = nil
595
701
  raise ::ArgumentError, "request must be provided" if request.nil?
596
702
 
@@ -608,9 +714,11 @@ module Google
608
714
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
609
715
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
610
716
 
611
- header_params = {
612
- "name" => request.name
613
- }
717
+ header_params = {}
718
+ if request.name
719
+ header_params["name"] = request.name
720
+ end
721
+
614
722
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
615
723
  metadata[:"x-goog-request-params"] ||= request_params_header
616
724
 
@@ -665,6 +773,21 @@ module Google
665
773
  #
666
774
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
667
775
  #
776
+ # @example Basic example
777
+ # require "google/cloud/scheduler/v1beta1"
778
+ #
779
+ # # Create a client object. The client can be reused for multiple calls.
780
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
781
+ #
782
+ # # Create a request. To set request fields, pass in keyword arguments.
783
+ # request = Google::Cloud::Scheduler::V1beta1::ResumeJobRequest.new
784
+ #
785
+ # # Call the resume_job method.
786
+ # result = client.resume_job request
787
+ #
788
+ # # The returned object is of type Google::Cloud::Scheduler::V1beta1::Job.
789
+ # p result
790
+ #
668
791
  def resume_job request, options = nil
669
792
  raise ::ArgumentError, "request must be provided" if request.nil?
670
793
 
@@ -682,9 +805,11 @@ module Google
682
805
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
683
806
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
684
807
 
685
- header_params = {
686
- "name" => request.name
687
- }
808
+ header_params = {}
809
+ if request.name
810
+ header_params["name"] = request.name
811
+ end
812
+
688
813
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
689
814
  metadata[:"x-goog-request-params"] ||= request_params_header
690
815
 
@@ -737,6 +862,21 @@ module Google
737
862
  #
738
863
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
739
864
  #
865
+ # @example Basic example
866
+ # require "google/cloud/scheduler/v1beta1"
867
+ #
868
+ # # Create a client object. The client can be reused for multiple calls.
869
+ # client = Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
870
+ #
871
+ # # Create a request. To set request fields, pass in keyword arguments.
872
+ # request = Google::Cloud::Scheduler::V1beta1::RunJobRequest.new
873
+ #
874
+ # # Call the run_job method.
875
+ # result = client.run_job request
876
+ #
877
+ # # The returned object is of type Google::Cloud::Scheduler::V1beta1::Job.
878
+ # p result
879
+ #
740
880
  def run_job request, options = nil
741
881
  raise ::ArgumentError, "request must be provided" if request.nil?
742
882
 
@@ -754,9 +894,11 @@ module Google
754
894
  gapic_version: ::Google::Cloud::Scheduler::V1beta1::VERSION
755
895
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
756
896
 
757
- header_params = {
758
- "name" => request.name
759
- }
897
+ header_params = {}
898
+ if request.name
899
+ header_params["name"] = request.name
900
+ end
901
+
760
902
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
761
903
  metadata[:"x-goog-request-params"] ||= request_params_header
762
904
 
@@ -10,6 +10,7 @@ require 'google/api/resource_pb'
10
10
  require 'google/cloud/scheduler/v1beta1/job_pb'
11
11
  require 'google/protobuf/empty_pb'
12
12
  require 'google/protobuf/field_mask_pb'
13
+
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/scheduler/v1beta1/cloudscheduler.proto", :syntax => :proto3) do
15
16
  add_message "google.cloud.scheduler.v1beta1.ListJobsRequest" do
@@ -29,7 +29,7 @@ module Google
29
29
  # schedule asynchronous jobs.
30
30
  class Service
31
31
 
32
- include GRPC::GenericService
32
+ include ::GRPC::GenericService
33
33
 
34
34
  self.marshal_class_method = :encode
35
35
  self.unmarshal_class_method = :decode
@@ -9,6 +9,7 @@ require 'google/protobuf/duration_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
  require 'google/rpc/status_pb'
11
11
  require 'google/api/annotations_pb'
12
+
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/scheduler/v1beta1/job.proto", :syntax => :proto3) do
14
15
  add_message "google.cloud.scheduler.v1beta1.Job" do
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/api/resource_pb'
7
7
  require 'google/api/annotations_pb'
8
+
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/scheduler/v1beta1/target.proto", :syntax => :proto3) do
10
11
  add_message "google.cloud.scheduler.v1beta1.HttpTarget" do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Scheduler
23
23
  module V1beta1
24
- VERSION = "0.4.3"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -25,6 +25,8 @@ module Google
25
25
  ##
26
26
  # To load this package, including all its services, and instantiate a client:
27
27
  #
28
+ # @example
29
+ #
28
30
  # require "google/cloud/scheduler/v1beta1"
29
31
  # client = ::Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client.new
30
32
  #
@@ -33,11 +33,7 @@ module Google
33
33
  # // For Kubernetes resources, the format is {api group}/{kind}.
34
34
  # option (google.api.resource) = {
35
35
  # type: "pubsub.googleapis.com/Topic"
36
- # name_descriptor: {
37
- # pattern: "projects/{project}/topics/{topic}"
38
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
- # parent_name_extractor: "projects/{project}"
40
- # }
36
+ # pattern: "projects/{project}/topics/{topic}"
41
37
  # };
42
38
  # }
43
39
  #
@@ -45,10 +41,7 @@ module Google
45
41
  #
46
42
  # resources:
47
43
  # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/{project}/topics/{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/{project}"
44
+ # pattern: "projects/{project}/topics/{topic}"
52
45
  #
53
46
  # Sometimes, resources have multiple patterns, typically because they can
54
47
  # live under multiple parents.
@@ -58,26 +51,10 @@ module Google
58
51
  # message LogEntry {
59
52
  # option (google.api.resource) = {
60
53
  # type: "logging.googleapis.com/LogEntry"
61
- # name_descriptor: {
62
- # pattern: "projects/{project}/logs/{log}"
63
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/{project}"
65
- # }
66
- # name_descriptor: {
67
- # pattern: "folders/{folder}/logs/{log}"
68
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
- # parent_name_extractor: "folders/{folder}"
70
- # }
71
- # name_descriptor: {
72
- # pattern: "organizations/{organization}/logs/{log}"
73
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
- # parent_name_extractor: "organizations/{organization}"
75
- # }
76
- # name_descriptor: {
77
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
- # parent_type: "billing.googleapis.com/BillingAccount"
79
- # parent_name_extractor: "billingAccounts/{billing_account}"
80
- # }
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
81
58
  # };
82
59
  # }
83
60
  #
@@ -85,48 +62,10 @@ module Google
85
62
  #
86
63
  # resources:
87
64
  # - type: 'logging.googleapis.com/LogEntry'
88
- # name_descriptor:
89
- # - pattern: "projects/{project}/logs/{log}"
90
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/{project}"
92
- # - pattern: "folders/{folder}/logs/{log}"
93
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
- # parent_name_extractor: "folders/{folder}"
95
- # - pattern: "organizations/{organization}/logs/{log}"
96
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
- # parent_name_extractor: "organizations/{organization}"
98
- # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
- # parent_type: "billing.googleapis.com/BillingAccount"
100
- # parent_name_extractor: "billingAccounts/{billing_account}"
101
- #
102
- # For flexible resources, the resource name doesn't contain parent names, but
103
- # the resource itself has parents for policy evaluation.
104
- #
105
- # Example:
106
- #
107
- # message Shelf {
108
- # option (google.api.resource) = {
109
- # type: "library.googleapis.com/Shelf"
110
- # name_descriptor: {
111
- # pattern: "shelves/{shelf}"
112
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
- # }
114
- # name_descriptor: {
115
- # pattern: "shelves/{shelf}"
116
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
- # }
118
- # };
119
- # }
120
- #
121
- # The ResourceDescriptor Yaml config will look like:
122
- #
123
- # resources:
124
- # - type: 'library.googleapis.com/Shelf'
125
- # name_descriptor:
126
- # - pattern: "shelves/{shelf}"
127
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
- # - pattern: "shelves/{shelf}"
129
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
130
69
  # @!attribute [rw] type
131
70
  # @return [::String]
132
71
  # The resource type. It must be in the format of
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
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.4.3
4
+ version: 0.5.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: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2022-07-08 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.7'
19
+ version: '0.10'
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.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -208,14 +208,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: '2.5'
211
+ version: '2.6'
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
218
- rubygems_version: 3.2.17
218
+ rubygems_version: 3.3.14
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: API Client library for the Cloud Scheduler V1beta1 API