google-cloud-container 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -28
- data/README.md +2 -2
- data/lib/google/cloud/container/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24b5500a452586d728e6157670ca14d430e01ad88b42e5ca11969b0204d4b69b
|
4
|
+
data.tar.gz: 61e9af31565fdbb73fb37caa7e02833e1e7d32ea4f4086781bcef8280a3e619e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c8937819a66343c62062c5121b9ac8d4f8c482b25434c15e525d38286e329b8742cfcf75c061dacdc81c3563f0ea2c4f6f39db46ca88c4c56b9967dd0f1893d
|
7
|
+
data.tar.gz: a4dca5332d5664763a69b5c6f32ce2bcaa9f5f57a36a263f4a81a3699613375bec22322abb34babf1a05c9da10750054f8d71d9ba429e79999d584da1fd58b6a
|
data/AUTHENTICATION.md
CHANGED
@@ -41,7 +41,7 @@ code.
|
|
41
41
|
1. Specify project ID in method arguments
|
42
42
|
2. Specify project ID in configuration
|
43
43
|
3. Discover project ID in environment variables
|
44
|
-
4. Discover
|
44
|
+
4. Discover GCP project ID
|
45
45
|
5. Discover project ID in credentials JSON
|
46
46
|
|
47
47
|
**Credentials** are discovered in the following order:
|
@@ -51,36 +51,14 @@ code.
|
|
51
51
|
3. Discover credentials path in environment variables
|
52
52
|
4. Discover credentials JSON in environment variables
|
53
53
|
5. Discover credentials file in the Cloud SDK's path
|
54
|
-
6. Discover
|
54
|
+
6. Discover GCP credentials
|
55
55
|
|
56
56
|
### Google Cloud Platform environments
|
57
57
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
should be written as if already authenticated.
|
62
|
-
GCE instance][gce-how-to], you add the correct scopes for the APIs you want to
|
63
|
-
access. For example:
|
64
|
-
|
65
|
-
* **All APIs**
|
66
|
-
* `https://www.googleapis.com/auth/cloud-platform`
|
67
|
-
* `https://www.googleapis.com/auth/cloud-platform.read-only`
|
68
|
-
* **BigQuery**
|
69
|
-
* `https://www.googleapis.com/auth/bigquery`
|
70
|
-
* `https://www.googleapis.com/auth/bigquery.insertdata`
|
71
|
-
* **Compute Engine**
|
72
|
-
* `https://www.googleapis.com/auth/compute`
|
73
|
-
* **Datastore**
|
74
|
-
* `https://www.googleapis.com/auth/datastore`
|
75
|
-
* `https://www.googleapis.com/auth/userinfo.email`
|
76
|
-
* **DNS**
|
77
|
-
* `https://www.googleapis.com/auth/ndev.clouddns.readwrite`
|
78
|
-
* **Pub/Sub**
|
79
|
-
* `https://www.googleapis.com/auth/pubsub`
|
80
|
-
* **Storage**
|
81
|
-
* `https://www.googleapis.com/auth/devstorage.full_control`
|
82
|
-
* `https://www.googleapis.com/auth/devstorage.read_only`
|
83
|
-
* `https://www.googleapis.com/auth/devstorage.read_write`
|
58
|
+
When running on Google Cloud Platform (GCP), including Google Compute Engine (GCE),
|
59
|
+
Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud Functions
|
60
|
+
(GCF) and Cloud Run, the **Project ID** and **Credentials** and are discovered
|
61
|
+
automatically. Code should be written as if already authenticated.
|
84
62
|
|
85
63
|
### Environment Variables
|
86
64
|
|
data/README.md
CHANGED
@@ -70,11 +70,11 @@ end
|
|
70
70
|
|
71
71
|
## Supported Ruby Versions
|
72
72
|
|
73
|
-
This library is supported on Ruby 2.
|
73
|
+
This library is supported on Ruby 2.4+.
|
74
74
|
|
75
75
|
Google provides official support for Ruby versions that are actively supported
|
76
76
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
77
|
-
in security maintenance, and not end of life. Currently, this means Ruby 2.
|
77
|
+
in security maintenance, and not end of life. Currently, this means Ruby 2.4
|
78
78
|
and later. Older versions of Ruby _may_ still work, but are unsupported and not
|
79
79
|
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
|
80
80
|
about the Ruby support schedule.
|
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.6.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: 2019-
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,19 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: google-style
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.24.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.24.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +135,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
138
|
+
version: '2.4'
|
139
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - ">="
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.0.
|
145
|
+
rubygems_version: 3.0.6
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: API Client library for Kubernetes Engine API
|