google-cloud-container 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1beta1/cluster_manager_client.rb +139 -134
- data/lib/google/cloud/container/v1beta1/cluster_manager_client_config.json +34 -34
- data/lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb +329 -134
- data/lib/google/cloud/container/v1beta1/doc/google/protobuf/timestamp.rb +113 -0
- data/lib/google/cloud/container/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +61 -0
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +18 -19
- metadata +3 -2
@@ -0,0 +1,113 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Protobuf
|
18
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
19
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
20
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
21
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
22
|
+
# Gregorian calendar backwards to year one.
|
23
|
+
#
|
24
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
25
|
+
# second table is needed for interpretation, using a [24-hour linear
|
26
|
+
# smear](https://developers.google.com/time/smear).
|
27
|
+
#
|
28
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
29
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
30
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
31
|
+
#
|
32
|
+
# = Examples
|
33
|
+
#
|
34
|
+
# Example 1: Compute Timestamp from POSIX `time()`.
|
35
|
+
#
|
36
|
+
# Timestamp timestamp;
|
37
|
+
# timestamp.set_seconds(time(NULL));
|
38
|
+
# timestamp.set_nanos(0);
|
39
|
+
#
|
40
|
+
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
41
|
+
#
|
42
|
+
# struct timeval tv;
|
43
|
+
# gettimeofday(&tv, NULL);
|
44
|
+
#
|
45
|
+
# Timestamp timestamp;
|
46
|
+
# timestamp.set_seconds(tv.tv_sec);
|
47
|
+
# timestamp.set_nanos(tv.tv_usec * 1000);
|
48
|
+
#
|
49
|
+
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
50
|
+
#
|
51
|
+
# FILETIME ft;
|
52
|
+
# GetSystemTimeAsFileTime(&ft);
|
53
|
+
# UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
54
|
+
#
|
55
|
+
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
56
|
+
# // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
57
|
+
# Timestamp timestamp;
|
58
|
+
# timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
59
|
+
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
60
|
+
#
|
61
|
+
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
62
|
+
#
|
63
|
+
# long millis = System.currentTimeMillis();
|
64
|
+
#
|
65
|
+
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
66
|
+
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
67
|
+
#
|
68
|
+
#
|
69
|
+
# Example 5: Compute Timestamp from current time in Python.
|
70
|
+
#
|
71
|
+
# timestamp = Timestamp()
|
72
|
+
# timestamp.GetCurrentTime()
|
73
|
+
#
|
74
|
+
# = JSON Mapping
|
75
|
+
#
|
76
|
+
# In JSON format, the Timestamp type is encoded as a string in the
|
77
|
+
# [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
78
|
+
# format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
79
|
+
# where {year} is always expressed using four digits while {month}, {day},
|
80
|
+
# {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
81
|
+
# seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
82
|
+
# are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
83
|
+
# is required. A proto3 JSON serializer should always use UTC (as indicated by
|
84
|
+
# "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
85
|
+
# able to accept both UTC and other timezones (as indicated by an offset).
|
86
|
+
#
|
87
|
+
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
88
|
+
# 01:30 UTC on January 15, 2017.
|
89
|
+
#
|
90
|
+
# In JavaScript, one can convert a Date object to this format using the
|
91
|
+
# standard
|
92
|
+
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
93
|
+
# method. In Python, a standard `datetime.datetime` object can be converted
|
94
|
+
# to this format using
|
95
|
+
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
96
|
+
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
97
|
+
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
98
|
+
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
99
|
+
# ) to obtain a formatter capable of generating timestamps in this format.
|
100
|
+
# @!attribute [rw] seconds
|
101
|
+
# @return [Integer]
|
102
|
+
# Represents seconds of UTC time since Unix epoch
|
103
|
+
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
104
|
+
# 9999-12-31T23:59:59Z inclusive.
|
105
|
+
# @!attribute [rw] nanos
|
106
|
+
# @return [Integer]
|
107
|
+
# Non-negative fractions of a second at nanosecond resolution. Negative
|
108
|
+
# second values with fractions must still have non-negative nanos values
|
109
|
+
# that count forward in time. Must be from 0 to 999,999,999
|
110
|
+
# inclusive.
|
111
|
+
class Timestamp; end
|
112
|
+
end
|
113
|
+
end
|
@@ -5,7 +5,10 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
8
10
|
require 'google/protobuf/empty_pb'
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
9
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
13
|
add_message "google.container.v1beta1.NodeConfig" do
|
11
14
|
optional :machine_type, :string, 1
|
@@ -23,6 +26,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
26
|
optional :min_cpu_platform, :string, 13
|
24
27
|
optional :workload_metadata_config, :message, 14, "google.container.v1beta1.WorkloadMetadataConfig"
|
25
28
|
repeated :taints, :message, 15, "google.container.v1beta1.NodeTaint"
|
29
|
+
optional :shielded_instance_config, :message, 20, "google.container.v1beta1.ShieldedInstanceConfig"
|
30
|
+
end
|
31
|
+
add_message "google.container.v1beta1.ShieldedInstanceConfig" do
|
32
|
+
optional :enable_secure_boot, :bool, 1
|
33
|
+
optional :enable_integrity_monitoring, :bool, 2
|
26
34
|
end
|
27
35
|
add_message "google.container.v1beta1.NodeTaint" do
|
28
36
|
optional :key, :string, 1
|
@@ -124,6 +132,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
124
132
|
add_message "google.container.v1beta1.PodSecurityPolicyConfig" do
|
125
133
|
optional :enabled, :bool, 1
|
126
134
|
end
|
135
|
+
add_message "google.container.v1beta1.AuthenticatorGroupsConfig" do
|
136
|
+
optional :enabled, :bool, 1
|
137
|
+
optional :security_group, :string, 2
|
138
|
+
end
|
127
139
|
add_message "google.container.v1beta1.Cluster" do
|
128
140
|
optional :name, :string, 1
|
129
141
|
optional :description, :string, 2
|
@@ -154,6 +166,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
166
|
optional :master_ipv4_cidr_block, :string, 29
|
155
167
|
optional :default_max_pods_constraint, :message, 30, "google.container.v1beta1.MaxPodsConstraint"
|
156
168
|
optional :resource_usage_export_config, :message, 33, "google.container.v1beta1.ResourceUsageExportConfig"
|
169
|
+
optional :authenticator_groups_config, :message, 34, "google.container.v1beta1.AuthenticatorGroupsConfig"
|
157
170
|
optional :private_cluster_config, :message, 37, "google.container.v1beta1.PrivateClusterConfig"
|
158
171
|
optional :vertical_pod_autoscaling, :message, 39, "google.container.v1beta1.VerticalPodAutoscaling"
|
159
172
|
optional :self_link, :string, 100
|
@@ -173,6 +186,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
173
186
|
optional :location, :string, 114
|
174
187
|
optional :enable_tpu, :bool, 115
|
175
188
|
optional :tpu_ipv4_cidr_block, :string, 116
|
189
|
+
optional :database_encryption, :message, 38, "google.container.v1beta1.DatabaseEncryption"
|
176
190
|
repeated :conditions, :message, 118, "google.container.v1beta1.StatusCondition"
|
177
191
|
end
|
178
192
|
add_enum "google.container.v1beta1.Cluster.Status" do
|
@@ -199,6 +213,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
199
213
|
optional :desired_logging_service, :string, 19
|
200
214
|
optional :desired_resource_usage_export_config, :message, 21, "google.container.v1beta1.ResourceUsageExportConfig"
|
201
215
|
optional :desired_vertical_pod_autoscaling, :message, 22, "google.container.v1beta1.VerticalPodAutoscaling"
|
216
|
+
optional :desired_intra_node_visibility_config, :message, 26, "google.container.v1beta1.IntraNodeVisibilityConfig"
|
202
217
|
optional :desired_master_version, :string, 100
|
203
218
|
end
|
204
219
|
add_message "google.container.v1beta1.Operation" do
|
@@ -283,6 +298,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
283
298
|
optional :node_pool_id, :string, 4
|
284
299
|
optional :node_version, :string, 5
|
285
300
|
optional :image_type, :string, 6
|
301
|
+
optional :workload_metadata_config, :message, 14, "google.container.v1beta1.WorkloadMetadataConfig"
|
286
302
|
optional :name, :string, 8
|
287
303
|
end
|
288
304
|
add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
|
@@ -430,6 +446,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
430
446
|
optional :management, :message, 5, "google.container.v1beta1.NodeManagement"
|
431
447
|
optional :max_pods_constraint, :message, 6, "google.container.v1beta1.MaxPodsConstraint"
|
432
448
|
repeated :conditions, :message, 105, "google.container.v1beta1.StatusCondition"
|
449
|
+
optional :pod_ipv4_cidr_size, :int32, 7
|
433
450
|
end
|
434
451
|
add_enum "google.container.v1beta1.NodePool.Status" do
|
435
452
|
value :STATUS_UNSPECIFIED, 0
|
@@ -451,12 +468,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
451
468
|
end
|
452
469
|
add_message "google.container.v1beta1.MaintenancePolicy" do
|
453
470
|
optional :window, :message, 1, "google.container.v1beta1.MaintenanceWindow"
|
471
|
+
optional :resource_version, :string, 3
|
454
472
|
end
|
455
473
|
add_message "google.container.v1beta1.MaintenanceWindow" do
|
474
|
+
map :maintenance_exclusions, :string, :message, 4, "google.container.v1beta1.TimeWindow"
|
456
475
|
oneof :policy do
|
457
476
|
optional :daily_maintenance_window, :message, 2, "google.container.v1beta1.DailyMaintenanceWindow"
|
477
|
+
optional :recurring_window, :message, 3, "google.container.v1beta1.RecurringTimeWindow"
|
458
478
|
end
|
459
479
|
end
|
480
|
+
add_message "google.container.v1beta1.TimeWindow" do
|
481
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
482
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
483
|
+
end
|
484
|
+
add_message "google.container.v1beta1.RecurringTimeWindow" do
|
485
|
+
optional :window, :message, 1, "google.container.v1beta1.TimeWindow"
|
486
|
+
optional :recurrence, :string, 2
|
487
|
+
end
|
460
488
|
add_message "google.container.v1beta1.DailyMaintenanceWindow" do
|
461
489
|
optional :start_time, :string, 2
|
462
490
|
optional :duration, :string, 3
|
@@ -490,6 +518,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
490
518
|
add_message "google.container.v1beta1.ClusterAutoscaling" do
|
491
519
|
optional :enable_node_autoprovisioning, :bool, 1
|
492
520
|
repeated :resource_limits, :message, 2, "google.container.v1beta1.ResourceLimit"
|
521
|
+
optional :autoprovisioning_node_pool_defaults, :message, 4, "google.container.v1beta1.AutoprovisioningNodePoolDefaults"
|
522
|
+
repeated :autoprovisioning_locations, :string, 5
|
523
|
+
end
|
524
|
+
add_message "google.container.v1beta1.AutoprovisioningNodePoolDefaults" do
|
525
|
+
repeated :oauth_scopes, :string, 1
|
526
|
+
optional :service_account, :string, 2
|
493
527
|
end
|
494
528
|
add_message "google.container.v1beta1.ResourceLimit" do
|
495
529
|
optional :resource_type, :string, 1
|
@@ -583,10 +617,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
583
617
|
value :GKE_SERVICE_ACCOUNT_DELETED, 2
|
584
618
|
value :GCE_QUOTA_EXCEEDED, 3
|
585
619
|
value :SET_BY_OPERATOR, 4
|
620
|
+
value :CLOUD_KMS_KEY_ERROR, 7
|
586
621
|
end
|
587
622
|
add_message "google.container.v1beta1.NetworkConfig" do
|
588
623
|
optional :network, :string, 1
|
589
624
|
optional :subnetwork, :string, 2
|
625
|
+
optional :enable_intra_node_visibility, :bool, 5
|
590
626
|
end
|
591
627
|
add_message "google.container.v1beta1.ListUsableSubnetworksRequest" do
|
592
628
|
optional :parent, :string, 1
|
@@ -620,22 +656,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
620
656
|
add_message "google.container.v1beta1.VerticalPodAutoscaling" do
|
621
657
|
optional :enabled, :bool, 1
|
622
658
|
end
|
659
|
+
add_message "google.container.v1beta1.IntraNodeVisibilityConfig" do
|
660
|
+
optional :enabled, :bool, 1
|
661
|
+
end
|
623
662
|
add_message "google.container.v1beta1.MaxPodsConstraint" do
|
624
663
|
optional :max_pods_per_node, :int64, 1
|
625
664
|
end
|
665
|
+
add_message "google.container.v1beta1.DatabaseEncryption" do
|
666
|
+
optional :state, :enum, 2, "google.container.v1beta1.DatabaseEncryption.State"
|
667
|
+
optional :key_name, :string, 1
|
668
|
+
end
|
669
|
+
add_enum "google.container.v1beta1.DatabaseEncryption.State" do
|
670
|
+
value :UNKNOWN, 0
|
671
|
+
value :ENCRYPTED, 1
|
672
|
+
value :DECRYPTED, 2
|
673
|
+
end
|
626
674
|
add_message "google.container.v1beta1.ResourceUsageExportConfig" do
|
627
675
|
optional :bigquery_destination, :message, 1, "google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination"
|
628
676
|
optional :enable_network_egress_metering, :bool, 2
|
677
|
+
optional :consumption_metering_config, :message, 3, "google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig"
|
629
678
|
end
|
630
679
|
add_message "google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination" do
|
631
680
|
optional :dataset_id, :string, 1
|
632
681
|
end
|
682
|
+
add_message "google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig" do
|
683
|
+
optional :enabled, :bool, 1
|
684
|
+
end
|
633
685
|
end
|
634
686
|
|
635
687
|
module Google
|
636
688
|
module Container
|
637
689
|
module V1beta1
|
638
690
|
NodeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeConfig").msgclass
|
691
|
+
ShieldedInstanceConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ShieldedInstanceConfig").msgclass
|
639
692
|
NodeTaint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeTaint").msgclass
|
640
693
|
NodeTaint::Effect = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeTaint.Effect").enummodule
|
641
694
|
MasterAuth = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MasterAuth").msgclass
|
@@ -657,6 +710,7 @@ module Google
|
|
657
710
|
IPAllocationPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.IPAllocationPolicy").msgclass
|
658
711
|
BinaryAuthorization = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.BinaryAuthorization").msgclass
|
659
712
|
PodSecurityPolicyConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.PodSecurityPolicyConfig").msgclass
|
713
|
+
AuthenticatorGroupsConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AuthenticatorGroupsConfig").msgclass
|
660
714
|
Cluster = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.Cluster").msgclass
|
661
715
|
Cluster::Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.Cluster.Status").enummodule
|
662
716
|
ClusterUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ClusterUpdate").msgclass
|
@@ -696,12 +750,15 @@ module Google
|
|
696
750
|
AutoUpgradeOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AutoUpgradeOptions").msgclass
|
697
751
|
MaintenancePolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MaintenancePolicy").msgclass
|
698
752
|
MaintenanceWindow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MaintenanceWindow").msgclass
|
753
|
+
TimeWindow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.TimeWindow").msgclass
|
754
|
+
RecurringTimeWindow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.RecurringTimeWindow").msgclass
|
699
755
|
DailyMaintenanceWindow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.DailyMaintenanceWindow").msgclass
|
700
756
|
SetNodePoolManagementRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SetNodePoolManagementRequest").msgclass
|
701
757
|
SetNodePoolSizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SetNodePoolSizeRequest").msgclass
|
702
758
|
RollbackNodePoolUpgradeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.RollbackNodePoolUpgradeRequest").msgclass
|
703
759
|
ListNodePoolsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ListNodePoolsResponse").msgclass
|
704
760
|
ClusterAutoscaling = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ClusterAutoscaling").msgclass
|
761
|
+
AutoprovisioningNodePoolDefaults = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AutoprovisioningNodePoolDefaults").msgclass
|
705
762
|
ResourceLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceLimit").msgclass
|
706
763
|
NodePoolAutoscaling = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolAutoscaling").msgclass
|
707
764
|
SetLabelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SetLabelsRequest").msgclass
|
@@ -726,9 +783,13 @@ module Google
|
|
726
783
|
UsableSubnetworkSecondaryRange::Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.UsableSubnetworkSecondaryRange.Status").enummodule
|
727
784
|
UsableSubnetwork = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.UsableSubnetwork").msgclass
|
728
785
|
VerticalPodAutoscaling = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.VerticalPodAutoscaling").msgclass
|
786
|
+
IntraNodeVisibilityConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.IntraNodeVisibilityConfig").msgclass
|
729
787
|
MaxPodsConstraint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MaxPodsConstraint").msgclass
|
788
|
+
DatabaseEncryption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.DatabaseEncryption").msgclass
|
789
|
+
DatabaseEncryption::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.DatabaseEncryption.State").enummodule
|
730
790
|
ResourceUsageExportConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceUsageExportConfig").msgclass
|
731
791
|
ResourceUsageExportConfig::BigQueryDestination = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination").msgclass
|
792
|
+
ResourceUsageExportConfig::ConsumptionMeteringConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig").msgclass
|
732
793
|
end
|
733
794
|
end
|
734
795
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/container/v1beta1/cluster_service.proto for package 'google.container.v1beta1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2019 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.
|
@@ -46,12 +46,12 @@ module Google
|
|
46
46
|
# [default network](/compute/docs/networks-and-firewalls#networks).
|
47
47
|
#
|
48
48
|
# One firewall is added for the cluster. After cluster creation,
|
49
|
-
# the
|
49
|
+
# the Kubelet creates routes for each node to allow the containers
|
50
50
|
# on that node to communicate with all other instances in the
|
51
51
|
# cluster.
|
52
52
|
#
|
53
53
|
# Finally, an entry is added to the project's global metadata indicating
|
54
|
-
# which CIDR range
|
54
|
+
# which CIDR range the cluster is using.
|
55
55
|
rpc :CreateCluster, CreateClusterRequest, Operation
|
56
56
|
# Updates the settings for a specific cluster.
|
57
57
|
rpc :UpdateCluster, UpdateClusterRequest, Operation
|
@@ -69,10 +69,9 @@ module Google
|
|
69
69
|
rpc :SetLocations, SetLocationsRequest, Operation
|
70
70
|
# Updates the master for a specific cluster.
|
71
71
|
rpc :UpdateMaster, UpdateMasterRequest, Operation
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
# Modify basic_auth.csv and reset the K8S API server.
|
72
|
+
# Sets master auth materials. Currently supports changing the admin password
|
73
|
+
# or a specific cluster, either via password generation or explicitly setting
|
74
|
+
# the password.
|
76
75
|
rpc :SetMasterAuth, SetMasterAuthRequest, Operation
|
77
76
|
# Deletes the cluster, including the Kubernetes endpoint and all worker
|
78
77
|
# nodes.
|
@@ -80,28 +79,28 @@ module Google
|
|
80
79
|
# Firewalls and routes that were configured during cluster creation
|
81
80
|
# are also deleted.
|
82
81
|
#
|
83
|
-
# Other Google Compute Engine resources that might be in use by the cluster
|
84
|
-
#
|
85
|
-
#
|
82
|
+
# Other Google Compute Engine resources that might be in use by the cluster,
|
83
|
+
# such as load balancer resources, are not deleted if they weren't present
|
84
|
+
# when the cluster was initially created.
|
86
85
|
rpc :DeleteCluster, DeleteClusterRequest, Operation
|
87
|
-
# Lists all operations in a project in
|
86
|
+
# Lists all operations in a project in the specified zone or all zones.
|
88
87
|
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
89
88
|
# Gets the specified operation.
|
90
89
|
rpc :GetOperation, GetOperationRequest, Operation
|
91
90
|
# Cancels the specified operation.
|
92
91
|
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
93
|
-
# Returns configuration info about the Kubernetes Engine service.
|
92
|
+
# Returns configuration info about the Google Kubernetes Engine service.
|
94
93
|
rpc :GetServerConfig, GetServerConfigRequest, ServerConfig
|
95
94
|
# Lists the node pools for a cluster.
|
96
95
|
rpc :ListNodePools, ListNodePoolsRequest, ListNodePoolsResponse
|
97
|
-
# Retrieves the node pool
|
96
|
+
# Retrieves the requested node pool.
|
98
97
|
rpc :GetNodePool, GetNodePoolRequest, NodePool
|
99
98
|
# Creates a node pool for a cluster.
|
100
99
|
rpc :CreateNodePool, CreateNodePoolRequest, Operation
|
101
100
|
# Deletes a node pool from a cluster.
|
102
101
|
rpc :DeleteNodePool, DeleteNodePoolRequest, Operation
|
103
|
-
#
|
104
|
-
# This
|
102
|
+
# Rolls back a previously Aborted or Failed NodePool upgrade.
|
103
|
+
# This makes no changes if the last upgrade successfully completed.
|
105
104
|
rpc :RollbackNodePoolUpgrade, RollbackNodePoolUpgradeRequest, Operation
|
106
105
|
# Sets the NodeManagement options for a node pool.
|
107
106
|
rpc :SetNodePoolManagement, SetNodePoolManagementRequest, Operation
|
@@ -109,19 +108,19 @@ module Google
|
|
109
108
|
rpc :SetLabels, SetLabelsRequest, Operation
|
110
109
|
# Enables or disables the ABAC authorization mechanism on a cluster.
|
111
110
|
rpc :SetLegacyAbac, SetLegacyAbacRequest, Operation
|
112
|
-
#
|
111
|
+
# Starts master IP rotation.
|
113
112
|
rpc :StartIPRotation, StartIPRotationRequest, Operation
|
114
113
|
# Completes master IP rotation.
|
115
114
|
rpc :CompleteIPRotation, CompleteIPRotationRequest, Operation
|
116
115
|
# Sets the size for a specific node pool.
|
117
116
|
rpc :SetNodePoolSize, SetNodePoolSizeRequest, Operation
|
118
|
-
# Enables
|
117
|
+
# Enables or disables Network Policy for a cluster.
|
119
118
|
rpc :SetNetworkPolicy, SetNetworkPolicyRequest, Operation
|
120
119
|
# Sets the maintenance policy for a cluster.
|
121
120
|
rpc :SetMaintenancePolicy, SetMaintenancePolicyRequest, Operation
|
122
|
-
# Lists subnetworks that
|
121
|
+
# Lists subnetworks that can be used for creating clusters in a project.
|
123
122
|
rpc :ListUsableSubnetworks, ListUsableSubnetworksRequest, ListUsableSubnetworksResponse
|
124
|
-
#
|
123
|
+
# Fetches locations that offer Google Kubernetes Engine.
|
125
124
|
rpc :ListLocations, ListLocationsRequest, ListLocationsResponse
|
126
125
|
end
|
127
126
|
|
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.8.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-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -159,6 +159,7 @@ files:
|
|
159
159
|
- lib/google/cloud/container/v1beta1/credentials.rb
|
160
160
|
- lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb
|
161
161
|
- lib/google/cloud/container/v1beta1/doc/google/protobuf/empty.rb
|
162
|
+
- lib/google/cloud/container/v1beta1/doc/google/protobuf/timestamp.rb
|
162
163
|
- lib/google/cloud/container/version.rb
|
163
164
|
- lib/google/container/v1/cluster_service_pb.rb
|
164
165
|
- lib/google/container/v1/cluster_service_services_pb.rb
|