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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/container.rb +1 -1
- data/lib/google/cloud/container/v1.rb +1 -1
- data/lib/google/cloud/container/v1/cluster_manager_client.rb +3 -0
- data/lib/google/cloud/container/v1beta1.rb +1 -1
- data/lib/google/cloud/container/v1beta1/cluster_manager_client.rb +3 -0
- data/lib/google/cloud/container/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: fdc69f7b63a14bc086fa62fda76d773c1a396576aad6a9d58b047e6a8752c082
|
4
|
+
data.tar.gz: 9f373ba38f66d6ca00b110bb889f54bf6bdf73a5224abfb37b3fa697cf82fdf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ec16972ffd575a2472df604d0c280875656014a7b47dffefe0bcdfa8d1f94019a78451300962f7bbe722131f17a71810f4fec0a68618ce1e2495479ac2185d
|
7
|
+
data.tar.gz: d2d23d4a1c6efdaaae6e04a943a4674391f408b06225154e76c556965cb38bb0f556968b05291c87816650b9e51b28e1149d30f6e58a3a905b218161d97c466a
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Ruby Client for Kubernetes Engine API
|
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
|
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
|
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
|
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"
|
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.
|
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-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|