google-cloud-container-v1beta1 0.5.1 → 0.8.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 +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/container/v1beta1/cluster_manager/client.rb +162 -118
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +151 -0
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +3 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/container/v1beta1/cluster_service.rb +481 -40
- data/proto_docs/google/type/date.rb +53 -0
- metadata +14 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ae02e5cfa53c38b3914d2d0fbdbc9d141f8545c9671938dcec437ab754e9db1
|
4
|
+
data.tar.gz: b948f566d3102abdeab6018cd34182bb2b4c7e86223dac3a9acbc1c6e61cfebe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb56d0cd360c737c768147e2c7cf0acba39364fe30c9b3ba159ea109e51b07f2fd4b740faffb11881a7178734ea42b6ce48a11acb986e6712e60c86fbd4cf139
|
7
|
+
data.tar.gz: c9d25c5ab95d21f9c61d27381ee2e02e3fa4d1b0a110c2911a61396fa31fe6b0027fd9f242a0e8a4694d9d766607f1a4b42fe65bfa4db07734ab690830859bb3
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-container-v1beta1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Container::V1beta1::ClusterManager::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `CONTAINER_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `CONTAINER_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/container/v1beta1"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/container/v1beta1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new do |con
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/container/v1beta1"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/container/v1beta1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Container::V1beta1::ListClustersRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.list_clusters request
|
38
38
|
```
|
39
39
|
|