google-cloud-scheduler-v1 0.10.0 → 0.10.2
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 +4 -4
- data/lib/google/cloud/scheduler/v1/cloud_scheduler/client.rb +7 -7
- data/lib/google/cloud/scheduler/v1/cloud_scheduler/rest/client.rb +8 -8
- data/lib/google/cloud/scheduler/v1/cloud_scheduler/rest/service_stub.rb +9 -0
- data/lib/google/cloud/scheduler/v1/cloudscheduler_pb.rb +2 -2
- data/lib/google/cloud/scheduler/v1/job_pb.rb +1 -1
- data/lib/google/cloud/scheduler/v1/target_pb.rb +1 -1
- data/lib/google/cloud/scheduler/v1/version.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +2 -1
- 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: df7ce665d918b32faa462a6d51adc03b078566f2cce3c4caa566516d5b1fb2ad
|
4
|
+
data.tar.gz: 4cb41c823934c95b6ad5e0c3c05673dd004ac6f58f91d70bace7bfbe755b0f9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8565ff2821a0a02df9cb90c739e7a0e9a6490795e0f98716a647d5a9e5532d69afacc323feaefa0de093807b90eb2ca5b9f55b3111477864ba68114dba0466f8
|
7
|
+
data.tar.gz: 81f68de4c9cb21c573add1f6151efee1b30c083619bd7baa27355e3d73e65f61c2eba4c447afa6e7a6dff05adc5458ed08bd625b927576087b90b32933f6556a
|
@@ -173,13 +173,6 @@ module Google
|
|
173
173
|
@quota_project_id = @config.quota_project
|
174
174
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
175
175
|
|
176
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
177
|
-
config.credentials = credentials
|
178
|
-
config.quota_project = @quota_project_id
|
179
|
-
config.endpoint = @config.endpoint
|
180
|
-
config.universe_domain = @config.universe_domain
|
181
|
-
end
|
182
|
-
|
183
176
|
@cloud_scheduler_stub = ::Gapic::ServiceStub.new(
|
184
177
|
::Google::Cloud::Scheduler::V1::CloudScheduler::Stub,
|
185
178
|
credentials: credentials,
|
@@ -190,6 +183,13 @@ module Google
|
|
190
183
|
interceptors: @config.interceptors,
|
191
184
|
channel_pool_config: @config.channel_pool
|
192
185
|
)
|
186
|
+
|
187
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
188
|
+
config.credentials = credentials
|
189
|
+
config.quota_project = @quota_project_id
|
190
|
+
config.endpoint = @cloud_scheduler_stub.endpoint
|
191
|
+
config.universe_domain = @cloud_scheduler_stub.universe_domain
|
192
|
+
end
|
193
193
|
end
|
194
194
|
|
195
195
|
##
|
@@ -170,20 +170,20 @@ module Google
|
|
170
170
|
@quota_project_id = @config.quota_project
|
171
171
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
172
172
|
|
173
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
174
|
-
config.credentials = credentials
|
175
|
-
config.quota_project = @quota_project_id
|
176
|
-
config.endpoint = @config.endpoint
|
177
|
-
config.universe_domain = @config.universe_domain
|
178
|
-
config.bindings_override = @config.bindings_override
|
179
|
-
end
|
180
|
-
|
181
173
|
@cloud_scheduler_stub = ::Google::Cloud::Scheduler::V1::CloudScheduler::Rest::ServiceStub.new(
|
182
174
|
endpoint: @config.endpoint,
|
183
175
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
184
176
|
universe_domain: @config.universe_domain,
|
185
177
|
credentials: credentials
|
186
178
|
)
|
179
|
+
|
180
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
181
|
+
config.credentials = credentials
|
182
|
+
config.quota_project = @quota_project_id
|
183
|
+
config.endpoint = @cloud_scheduler_stub.endpoint
|
184
|
+
config.universe_domain = @cloud_scheduler_stub.universe_domain
|
185
|
+
config.bindings_override = @config.bindings_override
|
186
|
+
end
|
187
187
|
end
|
188
188
|
|
189
189
|
##
|
@@ -13,13 +13,13 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n.google/cloud/scheduler/v1/cloudscheduler.proto\x12\x19google.cloud.scheduler.v1\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/v1/job.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"
|
16
|
+
descriptor_data = "\n.google/cloud/scheduler/v1/cloudscheduler.proto\x12\x19google.cloud.scheduler.v1\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/v1/job.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"t\n\x0fListJobsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!cloudscheduler.googleapis.com/Job\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\"Y\n\x10ListJobsResponse\x12,\n\x04jobs\x18\x01 \x03(\x0b\x32\x1e.google.cloud.scheduler.v1.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\"\x81\x01\n\x10\x43reateJobRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!cloudscheduler.googleapis.com/Job\x12\x31\n\x03job\x18\x02 \x01(\x0b\x32\x1e.google.cloud.scheduler.v1.JobB\x04\xe2\x41\x01\x02\"v\n\x10UpdateJobRequest\x12\x31\n\x03job\x18\x01 \x01(\x0b\x32\x1e.google.cloud.scheduler.v1.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\"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/Job2\xb3\n\n\x0e\x43loudScheduler\x12\x9e\x01\n\x08ListJobs\x12*.google.cloud.scheduler.v1.ListJobsRequest\x1a+.google.cloud.scheduler.v1.ListJobsResponse\"9\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/jobs\x12\x8b\x01\n\x06GetJob\x12(.google.cloud.scheduler.v1.GetJobRequest\x1a\x1e.google.cloud.scheduler.v1.Job\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/jobs/*}\x12\x9c\x01\n\tCreateJob\x12+.google.cloud.scheduler.v1.CreateJobRequest\x1a\x1e.google.cloud.scheduler.v1.Job\"B\xda\x41\nparent,job\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/jobs:\x03job\x12\xa5\x01\n\tUpdateJob\x12+.google.cloud.scheduler.v1.UpdateJobRequest\x1a\x1e.google.cloud.scheduler.v1.Job\"K\xda\x41\x0fjob,update_mask\x82\xd3\xe4\x93\x02\x33\x32,/v1/{job.name=projects/*/locations/*/jobs/*}:\x03job\x12\x89\x01\n\tDeleteJob\x12+.google.cloud.scheduler.v1.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/jobs/*}\x12\x98\x01\n\x08PauseJob\x12*.google.cloud.scheduler.v1.PauseJobRequest\x1a\x1e.google.cloud.scheduler.v1.Job\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\"./v1/{name=projects/*/locations/*/jobs/*}:pause:\x01*\x12\x9b\x01\n\tResumeJob\x12+.google.cloud.scheduler.v1.ResumeJobRequest\x1a\x1e.google.cloud.scheduler.v1.Job\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\"//v1/{name=projects/*/locations/*/jobs/*}:resume:\x01*\x12\x92\x01\n\x06RunJob\x12(.google.cloud.scheduler.v1.RunJobRequest\x1a\x1e.google.cloud.scheduler.v1.Job\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\",/v1/{name=projects/*/locations/*/jobs/*}:run:\x01*\x1aQ\xca\x41\x1d\x63loudscheduler.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBz\n\x1d\x63om.google.cloud.scheduler.v1B\x0eSchedulerProtoP\x01Z;cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpb\xa2\x02\tSCHEDULERb\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
20
20
|
begin
|
21
21
|
pool.add_serialized_file(descriptor_data)
|
22
|
-
rescue TypeError
|
22
|
+
rescue TypeError
|
23
23
|
# Compatibility code: will be removed in the next major version.
|
24
24
|
require 'google/protobuf/descriptor_pb'
|
25
25
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -17,7 +17,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
18
18
|
begin
|
19
19
|
pool.add_serialized_file(descriptor_data)
|
20
|
-
rescue TypeError
|
20
|
+
rescue TypeError
|
21
21
|
# Compatibility code: will be removed in the next major version.
|
22
22
|
require 'google/protobuf/descriptor_pb'
|
23
23
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
16
|
+
rescue TypeError
|
17
17
|
# Compatibility code: will be removed in the next major version.
|
18
18
|
require 'google/protobuf/descriptor_pb'
|
19
19
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
#
|
130
130
|
# Note: this functionality is not currently available in the official
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
132
|
-
# type.googleapis.com.
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
133
|
+
# implementations and no plans to implement one.
|
133
134
|
#
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
136
|
# used with implementation specific semantics.
|
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.10.
|
4
|
+
version: 0.10.2
|
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-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|