google-cloud-container 0.9.0 → 0.10.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: 22598349dcf25366cc9e4d05f25ceb1e1992e8f4b8e8cdf2ea2884d63fdf2890
4
- data.tar.gz: 88081b466e37bc7165f7ac4acd359b0754fb611c0172639c4686911768c0d5da
3
+ metadata.gz: fdc69f7b63a14bc086fa62fda76d773c1a396576aad6a9d58b047e6a8752c082
4
+ data.tar.gz: 9f373ba38f66d6ca00b110bb889f54bf6bdf73a5224abfb37b3fa697cf82fdf7
5
5
  SHA512:
6
- metadata.gz: 9f655e50fa241462c79a63ef6bf34b93f307681f0d3b7420300e231dbc20f66b7911f9dbfaaf78deb2d6574c0fd97fa6b317425cbe148556494ae892ab775ac9
7
- data.tar.gz: 6d9a61f8663cde6c90551a839084d4618ccdb4e5f0bb184ef994ad790d3ef698e058bfa5a0c6ab3710ab1233f4e1f7ae4e54c7cd13592d1be477e2f595b9ccff
6
+ metadata.gz: e0ec16972ffd575a2472df604d0c280875656014a7b47dffefe0bcdfa8d1f94019a78451300962f7bbe722131f17a71810f4fec0a68618ce1e2495479ac2185d
7
+ data.tar.gz: d2d23d4a1c6efdaaae6e04a943a4674391f408b06225154e76c556965cb38bb0f556968b05291c87816650b9e51b28e1149d30f6e58a3a905b218161d97c466a
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Kubernetes Engine API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for Kubernetes Engine API
2
2
 
3
3
  [Kubernetes Engine API][Product Documentation]:
4
4
  Builds and manages container-based applications, powered by the open source
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Kubernetes Engine API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Kubernetes Engine API
25
25
  #
26
26
  # [Kubernetes Engine API][Product Documentation]:
27
27
  # Builds and manages container-based applications, powered by the open source
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Kubernetes Engine API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Kubernetes Engine API
25
25
  #
26
26
  # [Kubernetes Engine API][Product Documentation]:
27
27
  # Builds and manages container-based applications, powered by the open source
@@ -145,6 +145,9 @@ module Google
145
145
  google_api_client.freeze
146
146
 
147
147
  headers = { :"x-goog-api-client" => google_api_client }
148
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
149
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
150
+ end
148
151
  headers.merge!(metadata) unless metadata.nil?
149
152
  client_config_file = Pathname.new(__dir__).join(
150
153
  "cluster_manager_client_config.json"
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Kubernetes Engine API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Kubernetes Engine API
25
25
  #
26
26
  # [Kubernetes Engine API][Product Documentation]:
27
27
  # Builds and manages container-based applications, powered by the open source
@@ -145,6 +145,9 @@ module Google
145
145
  google_api_client.freeze
146
146
 
147
147
  headers = { :"x-goog-api-client" => google_api_client }
148
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
149
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
150
+ end
148
151
  headers.merge!(metadata) unless metadata.nil?
149
152
  client_config_file = Pathname.new(__dir__).join(
150
153
  "cluster_manager_client_config.json"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Container
19
- VERSION = "0.9.0".freeze
19
+ VERSION = "0.10.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-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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-02-18 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