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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fca9c8a6d5d911b33c6c10f4fde58985c2a747b41f1b8317546a150ceab37154
4
- data.tar.gz: 216dc757a48d83e9ab9020fdf9c109b5dae2d21539d491fc8a435e0df3838475
3
+ metadata.gz: 661f626941bde059bfb3548e5f6027c7671e1af1ca10654c0021b94ca6bb7d45
4
+ data.tar.gz: 2457cd9e89f1d968127dbb439ba9496047672d62a18f8833980ee76818864661
5
5
  SHA512:
6
- metadata.gz: fe388a3bbc01796813eb46bdbdd7b92321f6c9dff38631a7cf3581e14a58aa33ee748184c4f226735239be7c904b76cc121db5fc0bdd9b160dcd8af2388678b6
7
- data.tar.gz: 540ab31d23f50f30207b6d266a709a58a157a076a68b0de5446aae656d111d2350afdad0a484ab81bceaa91f7396556f93344350e9e869133987be575b474a35
6
+ metadata.gz: 6115fd196f897a9a910a1d517cb4469ee63dff93a4063fa9f2cfba9c6320f306847729d63c6c1bc9a8818d3b7bb4423daa4f457745ccdd8f4fa30185e56a5b7a
7
+ data.tar.gz: 3556024afb7b935e89a63ebd7450ff5b1b1abb97586a1edb595b646ff45203d975bbc6d423e2f4da5f7325e78d7d22cf4af8d28c8aa6c56116eb993be4462d19
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Cloud Scheduler API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for Cloud Scheduler API
2
2
 
3
3
  [Cloud Scheduler API][Product Documentation]:
4
4
  Creates and manages jobs run on a regular recurring schedule.
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Scheduler API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Scheduler
19
- VERSION = "1.2.1".freeze
19
+ VERSION = "1.3.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.2.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-01-23 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax