google-cloud-container-v1beta1 0.6.0 → 0.7.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 +12 -45
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +1 -0
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/container/v1beta1/cluster_service.rb +4 -0
- 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: 861606fae1da9ffdf9a70dee1305edbe958b496a43e99a1510368720f20b7859
|
4
|
+
data.tar.gz: fc0364b108a62d475ff9358bc7c450eb18e76c8e74c1b92c47deff6b201eb9f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 175ec6ace04bee17ddfc1a5f2fc7000e257ff84a137214508a479096cc976a89a6f6e997281dc08350207e83c5fd25840d155f4cb62d261ce654657957eade50
|
7
|
+
data.tar.gz: 1f8583402534e8639c4f46b50598139e3c806999d09db4f88f3bf4edcfdf4553dac97f72007ac31a4b5216c5d49e21ef9ac918f55a0bf3a400dd4ca073664d91
|
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
|
|
@@ -67,18 +67,12 @@ module Google
|
|
67
67
|
|
68
68
|
default_config.rpcs.list_clusters.timeout = 20.0
|
69
69
|
default_config.rpcs.list_clusters.retry_policy = {
|
70
|
-
initial_delay: 0.1,
|
71
|
-
max_delay: 60.0,
|
72
|
-
multiplier: 1.3,
|
73
|
-
retry_codes: [14, 4]
|
70
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
74
71
|
}
|
75
72
|
|
76
73
|
default_config.rpcs.get_cluster.timeout = 20.0
|
77
74
|
default_config.rpcs.get_cluster.retry_policy = {
|
78
|
-
initial_delay: 0.1,
|
79
|
-
max_delay: 60.0,
|
80
|
-
multiplier: 1.3,
|
81
|
-
retry_codes: [14, 4]
|
75
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
82
76
|
}
|
83
77
|
|
84
78
|
default_config.rpcs.create_cluster.timeout = 45.0
|
@@ -103,62 +97,41 @@ module Google
|
|
103
97
|
|
104
98
|
default_config.rpcs.delete_cluster.timeout = 20.0
|
105
99
|
default_config.rpcs.delete_cluster.retry_policy = {
|
106
|
-
initial_delay: 0.1,
|
107
|
-
max_delay: 60.0,
|
108
|
-
multiplier: 1.3,
|
109
|
-
retry_codes: [14, 4]
|
100
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
110
101
|
}
|
111
102
|
|
112
103
|
default_config.rpcs.list_operations.timeout = 20.0
|
113
104
|
default_config.rpcs.list_operations.retry_policy = {
|
114
|
-
initial_delay: 0.1,
|
115
|
-
max_delay: 60.0,
|
116
|
-
multiplier: 1.3,
|
117
|
-
retry_codes: [14, 4]
|
105
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
118
106
|
}
|
119
107
|
|
120
108
|
default_config.rpcs.get_operation.timeout = 20.0
|
121
109
|
default_config.rpcs.get_operation.retry_policy = {
|
122
|
-
initial_delay: 0.1,
|
123
|
-
max_delay: 60.0,
|
124
|
-
multiplier: 1.3,
|
125
|
-
retry_codes: [14, 4]
|
110
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
126
111
|
}
|
127
112
|
|
128
113
|
default_config.rpcs.cancel_operation.timeout = 45.0
|
129
114
|
|
130
115
|
default_config.rpcs.get_server_config.timeout = 20.0
|
131
116
|
default_config.rpcs.get_server_config.retry_policy = {
|
132
|
-
initial_delay: 0.1,
|
133
|
-
max_delay: 60.0,
|
134
|
-
multiplier: 1.3,
|
135
|
-
retry_codes: [14, 4]
|
117
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
136
118
|
}
|
137
119
|
|
138
120
|
default_config.rpcs.list_node_pools.timeout = 20.0
|
139
121
|
default_config.rpcs.list_node_pools.retry_policy = {
|
140
|
-
initial_delay: 0.1,
|
141
|
-
max_delay: 60.0,
|
142
|
-
multiplier: 1.3,
|
143
|
-
retry_codes: [14, 4]
|
122
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
144
123
|
}
|
145
124
|
|
146
125
|
default_config.rpcs.get_node_pool.timeout = 20.0
|
147
126
|
default_config.rpcs.get_node_pool.retry_policy = {
|
148
|
-
initial_delay: 0.1,
|
149
|
-
max_delay: 60.0,
|
150
|
-
multiplier: 1.3,
|
151
|
-
retry_codes: [14, 4]
|
127
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
152
128
|
}
|
153
129
|
|
154
130
|
default_config.rpcs.create_node_pool.timeout = 45.0
|
155
131
|
|
156
132
|
default_config.rpcs.delete_node_pool.timeout = 20.0
|
157
133
|
default_config.rpcs.delete_node_pool.retry_policy = {
|
158
|
-
initial_delay: 0.1,
|
159
|
-
max_delay: 60.0,
|
160
|
-
multiplier: 1.3,
|
161
|
-
retry_codes: [14, 4]
|
134
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
162
135
|
}
|
163
136
|
|
164
137
|
default_config.rpcs.rollback_node_pool_upgrade.timeout = 45.0
|
@@ -181,18 +154,12 @@ module Google
|
|
181
154
|
|
182
155
|
default_config.rpcs.list_usable_subnetworks.timeout = 20.0
|
183
156
|
default_config.rpcs.list_usable_subnetworks.retry_policy = {
|
184
|
-
initial_delay: 0.1,
|
185
|
-
max_delay: 60.0,
|
186
|
-
multiplier: 1.3,
|
187
|
-
retry_codes: [14, 4]
|
157
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
188
158
|
}
|
189
159
|
|
190
160
|
default_config.rpcs.list_locations.timeout = 20.0
|
191
161
|
default_config.rpcs.list_locations.retry_policy = {
|
192
|
-
initial_delay: 0.1,
|
193
|
-
max_delay: 60.0,
|
194
|
-
multiplier: 1.3,
|
195
|
-
retry_codes: [14, 4]
|
162
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
196
163
|
}
|
197
164
|
|
198
165
|
default_config
|
@@ -263,7 +230,7 @@ module Google
|
|
263
230
|
!@config.endpoint.split(".").first.include?("-")
|
264
231
|
credentials ||= Credentials.default scope: @config.scope,
|
265
232
|
enable_self_signed_jwt: enable_self_signed_jwt
|
266
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
233
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
267
234
|
credentials = Credentials.new credentials, scope: @config.scope
|
268
235
|
end
|
269
236
|
@quota_project_id = @config.quota_project
|
@@ -312,6 +312,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
312
312
|
optional :desired_workload_identity_config, :message, 47, "google.container.v1beta1.WorkloadIdentityConfig"
|
313
313
|
optional :desired_shielded_nodes, :message, 48, "google.container.v1beta1.ShieldedNodes"
|
314
314
|
optional :desired_master, :message, 52, "google.container.v1beta1.Master"
|
315
|
+
optional :desired_authenticator_groups_config, :message, 63, "google.container.v1beta1.AuthenticatorGroupsConfig"
|
315
316
|
end
|
316
317
|
add_message "google.container.v1beta1.Operation" do
|
317
318
|
optional :name, :string, 1
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -1427,6 +1427,10 @@ module Google
|
|
1427
1427
|
# @!attribute [rw] desired_master
|
1428
1428
|
# @return [::Google::Cloud::Container::V1beta1::Master]
|
1429
1429
|
# Configuration for master components.
|
1430
|
+
# @!attribute [rw] desired_authenticator_groups_config
|
1431
|
+
# @return [::Google::Cloud::Container::V1beta1::AuthenticatorGroupsConfig]
|
1432
|
+
# AuthenticatorGroupsConfig specifies the config for the cluster security
|
1433
|
+
# groups settings.
|
1430
1434
|
class ClusterUpdate
|
1431
1435
|
include ::Google::Protobuf::MessageExts
|
1432
1436
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2021-
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|