google-cloud-container 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  repeated :tags, :string, 8
20
20
  optional :preemptible, :bool, 10
21
21
  repeated :accelerators, :message, 11, "google.container.v1.AcceleratorConfig"
22
+ optional :disk_type, :string, 12
22
23
  optional :min_cpu_platform, :string, 13
23
24
  end
24
25
  add_message "google.container.v1.MasterAuth" do
@@ -50,6 +51,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
50
51
  add_message "google.container.v1.NetworkPolicyConfig" do
51
52
  optional :disabled, :bool, 1
52
53
  end
54
+ add_message "google.container.v1.PrivateClusterConfig" do
55
+ optional :enable_private_nodes, :bool, 1
56
+ optional :enable_private_endpoint, :bool, 2
57
+ optional :master_ipv4_cidr_block, :string, 3
58
+ optional :private_endpoint, :string, 4
59
+ optional :public_endpoint, :string, 5
60
+ end
53
61
  add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
54
62
  optional :enabled, :bool, 1
55
63
  repeated :cidr_blocks, :message, 2, "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock"
@@ -104,6 +112,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
104
112
  optional :ip_allocation_policy, :message, 20, "google.container.v1.IPAllocationPolicy"
105
113
  optional :master_authorized_networks_config, :message, 22, "google.container.v1.MasterAuthorizedNetworksConfig"
106
114
  optional :maintenance_policy, :message, 23, "google.container.v1.MaintenancePolicy"
115
+ optional :network_config, :message, 27, "google.container.v1.NetworkConfig"
116
+ optional :private_cluster_config, :message, 37, "google.container.v1.PrivateClusterConfig"
107
117
  optional :self_link, :string, 100
108
118
  optional :zone, :string, 101
109
119
  optional :endpoint, :string, 102
@@ -118,6 +128,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
118
128
  repeated :instance_group_urls, :string, 111
119
129
  optional :current_node_count, :int32, 112
120
130
  optional :expire_time, :string, 113
131
+ optional :location, :string, 114
121
132
  end
122
133
  add_enum "google.container.v1.Cluster.Status" do
123
134
  value :STATUS_UNSPECIFIED, 0
@@ -126,6 +137,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
126
137
  value :RECONCILING, 3
127
138
  value :STOPPING, 4
128
139
  value :ERROR, 5
140
+ value :DEGRADED, 6
129
141
  end
130
142
  add_message "google.container.v1.ClusterUpdate" do
131
143
  optional :desired_node_version, :string, 4
@@ -147,6 +159,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
147
159
  optional :status_message, :string, 5
148
160
  optional :self_link, :string, 6
149
161
  optional :target_link, :string, 7
162
+ optional :location, :string, 9
150
163
  optional :start_time, :string, 10
151
164
  optional :end_time, :string, 11
152
165
  end
@@ -180,17 +193,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
180
193
  optional :project_id, :string, 1
181
194
  optional :zone, :string, 2
182
195
  optional :cluster, :message, 3, "google.container.v1.Cluster"
196
+ optional :parent, :string, 5
183
197
  end
184
198
  add_message "google.container.v1.GetClusterRequest" do
185
199
  optional :project_id, :string, 1
186
200
  optional :zone, :string, 2
187
201
  optional :cluster_id, :string, 3
202
+ optional :name, :string, 5
188
203
  end
189
204
  add_message "google.container.v1.UpdateClusterRequest" do
190
205
  optional :project_id, :string, 1
191
206
  optional :zone, :string, 2
192
207
  optional :cluster_id, :string, 3
193
208
  optional :update, :message, 4, "google.container.v1.ClusterUpdate"
209
+ optional :name, :string, 5
194
210
  end
195
211
  add_message "google.container.v1.UpdateNodePoolRequest" do
196
212
  optional :project_id, :string, 1
@@ -199,6 +215,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
199
215
  optional :node_pool_id, :string, 4
200
216
  optional :node_version, :string, 5
201
217
  optional :image_type, :string, 6
218
+ optional :name, :string, 8
202
219
  end
203
220
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
204
221
  optional :project_id, :string, 1
@@ -206,36 +223,42 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
206
223
  optional :cluster_id, :string, 3
207
224
  optional :node_pool_id, :string, 4
208
225
  optional :autoscaling, :message, 5, "google.container.v1.NodePoolAutoscaling"
226
+ optional :name, :string, 6
209
227
  end
210
228
  add_message "google.container.v1.SetLoggingServiceRequest" do
211
229
  optional :project_id, :string, 1
212
230
  optional :zone, :string, 2
213
231
  optional :cluster_id, :string, 3
214
232
  optional :logging_service, :string, 4
233
+ optional :name, :string, 5
215
234
  end
216
235
  add_message "google.container.v1.SetMonitoringServiceRequest" do
217
236
  optional :project_id, :string, 1
218
237
  optional :zone, :string, 2
219
238
  optional :cluster_id, :string, 3
220
239
  optional :monitoring_service, :string, 4
240
+ optional :name, :string, 6
221
241
  end
222
242
  add_message "google.container.v1.SetAddonsConfigRequest" do
223
243
  optional :project_id, :string, 1
224
244
  optional :zone, :string, 2
225
245
  optional :cluster_id, :string, 3
226
246
  optional :addons_config, :message, 4, "google.container.v1.AddonsConfig"
247
+ optional :name, :string, 6
227
248
  end
228
249
  add_message "google.container.v1.SetLocationsRequest" do
229
250
  optional :project_id, :string, 1
230
251
  optional :zone, :string, 2
231
252
  optional :cluster_id, :string, 3
232
253
  repeated :locations, :string, 4
254
+ optional :name, :string, 6
233
255
  end
234
256
  add_message "google.container.v1.UpdateMasterRequest" do
235
257
  optional :project_id, :string, 1
236
258
  optional :zone, :string, 2
237
259
  optional :cluster_id, :string, 3
238
260
  optional :master_version, :string, 4
261
+ optional :name, :string, 7
239
262
  end
240
263
  add_message "google.container.v1.SetMasterAuthRequest" do
241
264
  optional :project_id, :string, 1
@@ -243,6 +266,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
243
266
  optional :cluster_id, :string, 3
244
267
  optional :action, :enum, 4, "google.container.v1.SetMasterAuthRequest.Action"
245
268
  optional :update, :message, 5, "google.container.v1.MasterAuth"
269
+ optional :name, :string, 7
246
270
  end
247
271
  add_enum "google.container.v1.SetMasterAuthRequest.Action" do
248
272
  value :UNKNOWN, 0
@@ -254,10 +278,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
254
278
  optional :project_id, :string, 1
255
279
  optional :zone, :string, 2
256
280
  optional :cluster_id, :string, 3
281
+ optional :name, :string, 4
257
282
  end
258
283
  add_message "google.container.v1.ListClustersRequest" do
259
284
  optional :project_id, :string, 1
260
285
  optional :zone, :string, 2
286
+ optional :parent, :string, 4
261
287
  end
262
288
  add_message "google.container.v1.ListClustersResponse" do
263
289
  repeated :clusters, :message, 1, "google.container.v1.Cluster"
@@ -267,15 +293,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
267
293
  optional :project_id, :string, 1
268
294
  optional :zone, :string, 2
269
295
  optional :operation_id, :string, 3
296
+ optional :name, :string, 5
270
297
  end
271
298
  add_message "google.container.v1.ListOperationsRequest" do
272
299
  optional :project_id, :string, 1
273
300
  optional :zone, :string, 2
301
+ optional :parent, :string, 4
274
302
  end
275
303
  add_message "google.container.v1.CancelOperationRequest" do
276
304
  optional :project_id, :string, 1
277
305
  optional :zone, :string, 2
278
306
  optional :operation_id, :string, 3
307
+ optional :name, :string, 4
279
308
  end
280
309
  add_message "google.container.v1.ListOperationsResponse" do
281
310
  repeated :operations, :message, 1, "google.container.v1.Operation"
@@ -284,6 +313,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
284
313
  add_message "google.container.v1.GetServerConfigRequest" do
285
314
  optional :project_id, :string, 1
286
315
  optional :zone, :string, 2
316
+ optional :name, :string, 4
287
317
  end
288
318
  add_message "google.container.v1.ServerConfig" do
289
319
  optional :default_cluster_version, :string, 1
@@ -297,23 +327,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
297
327
  optional :zone, :string, 2
298
328
  optional :cluster_id, :string, 3
299
329
  optional :node_pool, :message, 4, "google.container.v1.NodePool"
330
+ optional :parent, :string, 6
300
331
  end
301
332
  add_message "google.container.v1.DeleteNodePoolRequest" do
302
333
  optional :project_id, :string, 1
303
334
  optional :zone, :string, 2
304
335
  optional :cluster_id, :string, 3
305
336
  optional :node_pool_id, :string, 4
337
+ optional :name, :string, 6
306
338
  end
307
339
  add_message "google.container.v1.ListNodePoolsRequest" do
308
340
  optional :project_id, :string, 1
309
341
  optional :zone, :string, 2
310
342
  optional :cluster_id, :string, 3
343
+ optional :parent, :string, 5
311
344
  end
312
345
  add_message "google.container.v1.GetNodePoolRequest" do
313
346
  optional :project_id, :string, 1
314
347
  optional :zone, :string, 2
315
348
  optional :cluster_id, :string, 3
316
349
  optional :node_pool_id, :string, 4
350
+ optional :name, :string, 6
317
351
  end
318
352
  add_message "google.container.v1.NodePool" do
319
353
  optional :name, :string, 1
@@ -363,6 +397,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
363
397
  optional :cluster_id, :string, 3
364
398
  optional :node_pool_id, :string, 4
365
399
  optional :management, :message, 5, "google.container.v1.NodeManagement"
400
+ optional :name, :string, 7
366
401
  end
367
402
  add_message "google.container.v1.SetNodePoolSizeRequest" do
368
403
  optional :project_id, :string, 1
@@ -370,12 +405,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
370
405
  optional :cluster_id, :string, 3
371
406
  optional :node_pool_id, :string, 4
372
407
  optional :node_count, :int32, 5
408
+ optional :name, :string, 7
373
409
  end
374
410
  add_message "google.container.v1.RollbackNodePoolUpgradeRequest" do
375
411
  optional :project_id, :string, 1
376
412
  optional :zone, :string, 2
377
413
  optional :cluster_id, :string, 3
378
414
  optional :node_pool_id, :string, 4
415
+ optional :name, :string, 6
379
416
  end
380
417
  add_message "google.container.v1.ListNodePoolsResponse" do
381
418
  repeated :node_pools, :message, 1, "google.container.v1.NodePool"
@@ -391,22 +428,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
391
428
  optional :cluster_id, :string, 3
392
429
  map :resource_labels, :string, :string, 4
393
430
  optional :label_fingerprint, :string, 5
431
+ optional :name, :string, 7
394
432
  end
395
433
  add_message "google.container.v1.SetLegacyAbacRequest" do
396
434
  optional :project_id, :string, 1
397
435
  optional :zone, :string, 2
398
436
  optional :cluster_id, :string, 3
399
437
  optional :enabled, :bool, 4
438
+ optional :name, :string, 6
400
439
  end
401
440
  add_message "google.container.v1.StartIPRotationRequest" do
402
441
  optional :project_id, :string, 1
403
442
  optional :zone, :string, 2
404
443
  optional :cluster_id, :string, 3
444
+ optional :name, :string, 6
445
+ optional :rotate_credentials, :bool, 7
405
446
  end
406
447
  add_message "google.container.v1.CompleteIPRotationRequest" do
407
448
  optional :project_id, :string, 1
408
449
  optional :zone, :string, 2
409
450
  optional :cluster_id, :string, 3
451
+ optional :name, :string, 7
410
452
  end
411
453
  add_message "google.container.v1.AcceleratorConfig" do
412
454
  optional :accelerator_count, :int64, 1
@@ -417,12 +459,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
417
459
  optional :zone, :string, 2
418
460
  optional :cluster_id, :string, 3
419
461
  optional :network_policy, :message, 4, "google.container.v1.NetworkPolicy"
462
+ optional :name, :string, 6
420
463
  end
421
464
  add_message "google.container.v1.SetMaintenancePolicyRequest" do
422
465
  optional :project_id, :string, 1
423
466
  optional :zone, :string, 2
424
467
  optional :cluster_id, :string, 3
425
468
  optional :maintenance_policy, :message, 4, "google.container.v1.MaintenancePolicy"
469
+ optional :name, :string, 5
470
+ end
471
+ add_message "google.container.v1.NetworkConfig" do
472
+ optional :network, :string, 1
473
+ optional :subnetwork, :string, 2
426
474
  end
427
475
  end
428
476
 
@@ -437,6 +485,7 @@ module Google
437
485
  HorizontalPodAutoscaling = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.HorizontalPodAutoscaling").msgclass
438
486
  KubernetesDashboard = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.KubernetesDashboard").msgclass
439
487
  NetworkPolicyConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkPolicyConfig").msgclass
488
+ PrivateClusterConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateClusterConfig").msgclass
440
489
  MasterAuthorizedNetworksConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig").msgclass
441
490
  MasterAuthorizedNetworksConfig::CidrBlock = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock").msgclass
442
491
  LegacyAbac = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LegacyAbac").msgclass
@@ -493,6 +542,7 @@ module Google
493
542
  AcceleratorConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AcceleratorConfig").msgclass
494
543
  SetNetworkPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetNetworkPolicyRequest").msgclass
495
544
  SetMaintenancePolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetMaintenancePolicyRequest").msgclass
545
+ NetworkConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkConfig").msgclass
496
546
  end
497
547
  end
498
548
  end
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/container/v1/cluster_service.proto for package 'google.container.v1'
3
3
  # Original file comments:
4
- # Copyright 2017 Google Inc.
4
+ # Copyright 2018 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -15,6 +15,7 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ #
18
19
 
19
20
 
20
21
  require 'grpc'
@@ -24,7 +25,7 @@ module Google
24
25
  module Container
25
26
  module V1
26
27
  module ClusterManager
27
- # Google Container Engine Cluster Manager v1
28
+ # Google Kubernetes Engine Cluster Manager v1
28
29
  class Service
29
30
 
30
31
  include GRPC::GenericService
@@ -54,22 +55,22 @@ module Google
54
55
  rpc :CreateCluster, CreateClusterRequest, Operation
55
56
  # Updates the settings of a specific cluster.
56
57
  rpc :UpdateCluster, UpdateClusterRequest, Operation
57
- # Updates the version and/or image type of a specific node pool.
58
+ # Updates the version and/or image type for a specific node pool.
58
59
  rpc :UpdateNodePool, UpdateNodePoolRequest, Operation
59
- # Sets the autoscaling settings of a specific node pool.
60
+ # Sets the autoscaling settings for a specific node pool.
60
61
  rpc :SetNodePoolAutoscaling, SetNodePoolAutoscalingRequest, Operation
61
- # Sets the logging service of a specific cluster.
62
+ # Sets the logging service for a specific cluster.
62
63
  rpc :SetLoggingService, SetLoggingServiceRequest, Operation
63
- # Sets the monitoring service of a specific cluster.
64
+ # Sets the monitoring service for a specific cluster.
64
65
  rpc :SetMonitoringService, SetMonitoringServiceRequest, Operation
65
- # Sets the addons of a specific cluster.
66
+ # Sets the addons for a specific cluster.
66
67
  rpc :SetAddonsConfig, SetAddonsConfigRequest, Operation
67
- # Sets the locations of a specific cluster.
68
+ # Sets the locations for a specific cluster.
68
69
  rpc :SetLocations, SetLocationsRequest, Operation
69
- # Updates the master of a specific cluster.
70
+ # Updates the master for a specific cluster.
70
71
  rpc :UpdateMaster, UpdateMasterRequest, Operation
71
72
  # Used to set master auth materials. Currently supports :-
72
- # Changing the admin password of a specific cluster.
73
+ # Changing the admin password for a specific cluster.
73
74
  # This can be either via password generation or explicitly set the password.
74
75
  rpc :SetMasterAuth, SetMasterAuthRequest, Operation
75
76
  # Deletes the cluster, including the Kubernetes endpoint and all worker
@@ -88,7 +89,7 @@ module Google
88
89
  rpc :GetOperation, GetOperationRequest, Operation
89
90
  # Cancels the specified operation.
90
91
  rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
91
- # Returns configuration info about the Container Engine service.
92
+ # Returns configuration info about the Kubernetes Engine service.
92
93
  rpc :GetServerConfig, GetServerConfigRequest, ServerConfig
93
94
  # Lists the node pools for a cluster.
94
95
  rpc :ListNodePools, ListNodePoolsRequest, ListNodePoolsResponse
@@ -111,7 +112,7 @@ module Google
111
112
  rpc :StartIPRotation, StartIPRotationRequest, Operation
112
113
  # Completes master IP rotation.
113
114
  rpc :CompleteIPRotation, CompleteIPRotationRequest, Operation
114
- # Sets the size of a specific node pool.
115
+ # Sets the size for a specific node pool.
115
116
  rpc :SetNodePoolSize, SetNodePoolSizeRequest, Operation
116
117
  # Enables/Disables Network Policy for a cluster.
117
118
  rpc :SetNetworkPolicy, SetNetworkPolicyRequest, Operation
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.2.2
4
+ version: 0.3.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: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2018-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.50.0
61
+ version: 0.59.2
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: 0.50.0
68
+ version: 0.59.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.9'
97
- description: google-cloud-container is the official library for Google Container Engine
97
+ description: google-cloud-container is the official library for Kubernetes Engine
98
98
  API.
99
99
  email: googleapis-packages@google.com
100
100
  executables: []
@@ -136,5 +136,5 @@ rubyforge_project:
136
136
  rubygems_version: 2.7.7
137
137
  signing_key:
138
138
  specification_version: 4
139
- summary: API Client library for Google Container Engine API
139
+ summary: API Client library for Kubernetes Engine API
140
140
  test_files: []