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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6c5ee4a9cee05591c8cf4155355b17dc2e71ab971c3ad7314e0af3c767adb54
4
- data.tar.gz: 2d86aa25e0044ffc5f9b57bd615a6de33bc6fdcf7621ec58f573875d2bd09783
3
+ metadata.gz: 861606fae1da9ffdf9a70dee1305edbe958b496a43e99a1510368720f20b7859
4
+ data.tar.gz: fc0364b108a62d475ff9358bc7c450eb18e76c8e74c1b92c47deff6b201eb9f4
5
5
  SHA512:
6
- metadata.gz: bb99396b4c2bb10053c71c8f33956a36b001e09918f216497dfbf6198e9779fcd7be6f163071fe16527cd8d48716343a28ed2cef393ffe662313f81d09631318
7
- data.tar.gz: 277dd08b01f92cc37bf58526b9ee832ea90e1b0786f0d3df0ac6f9371176c1236a65522369c02ea6cfa17c1d68f0c912767df865d094c04ce897f158247a7d46
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
- 1. `CONTAINER_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `CONTAINER_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
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 placing them in
86
- environment variables. Either on an individual client initialization:
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 configured globally for all clients:
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 = my_create_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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -27,7 +27,7 @@ module Google
27
27
  # Google Kubernetes Engine Cluster Manager v1beta1
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -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 order, rather than the order the user originally
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.6.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-06-17 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common