google-cloud-scheduler 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/scheduler.rb +1 -1
- data/lib/google/cloud/scheduler/v1.rb +1 -1
- data/lib/google/cloud/scheduler/v1/cloud_scheduler_client.rb +3 -0
- data/lib/google/cloud/scheduler/v1beta1.rb +1 -1
- data/lib/google/cloud/scheduler/v1beta1/cloud_scheduler_client.rb +3 -0
- data/lib/google/cloud/scheduler/version.rb +1 -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: 661f626941bde059bfb3548e5f6027c7671e1af1ca10654c0021b94ca6bb7d45
|
4
|
+
data.tar.gz: 2457cd9e89f1d968127dbb439ba9496047672d62a18f8833980ee76818864661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6115fd196f897a9a910a1d517cb4469ee63dff93a4063fa9f2cfba9c6320f306847729d63c6c1bc9a8818d3b7bb4423daa4f457745ccdd8f4fa30185e56a5b7a
|
7
|
+
data.tar.gz: 3556024afb7b935e89a63ebd7450ff5b1b1abb97586a1edb595b646ff45203d975bbc6d423e2f4da5f7325e78d7d22cf4af8d28c8aa6c56116eb993be4462d19
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
# rubocop:disable LineLength
|
22
22
|
|
23
23
|
##
|
24
|
-
# # Ruby Client for Cloud Scheduler API
|
24
|
+
# # Ruby Client for Cloud Scheduler API
|
25
25
|
#
|
26
26
|
# [Cloud Scheduler API][Product Documentation]:
|
27
27
|
# Creates and manages jobs run on a regular recurring schedule.
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for Cloud Scheduler API
|
25
|
+
# # Ruby Client for Cloud Scheduler API
|
26
26
|
#
|
27
27
|
# [Cloud Scheduler API][Product Documentation]:
|
28
28
|
# Creates and manages jobs run on a regular recurring schedule.
|
@@ -185,6 +185,9 @@ module Google
|
|
185
185
|
google_api_client.freeze
|
186
186
|
|
187
187
|
headers = { :"x-goog-api-client" => google_api_client }
|
188
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
189
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
190
|
+
end
|
188
191
|
headers.merge!(metadata) unless metadata.nil?
|
189
192
|
client_config_file = Pathname.new(__dir__).join(
|
190
193
|
"cloud_scheduler_client_config.json"
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for Cloud Scheduler API
|
25
|
+
# # Ruby Client for Cloud Scheduler API
|
26
26
|
#
|
27
27
|
# [Cloud Scheduler API][Product Documentation]:
|
28
28
|
# Creates and manages jobs run on a regular recurring schedule.
|
@@ -185,6 +185,9 @@ module Google
|
|
185
185
|
google_api_client.freeze
|
186
186
|
|
187
187
|
headers = { :"x-goog-api-client" => google_api_client }
|
188
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
189
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
190
|
+
end
|
188
191
|
headers.merge!(metadata) unless metadata.nil?
|
189
192
|
client_config_file = Pathname.new(__dir__).join(
|
190
193
|
"cloud_scheduler_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.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: 2020-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|