google-cloud-container-v1 0.11.0 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 682d3acc1daa7b19d9509a9c25ae4ee9039201805ce2e0c2141c19c86a593fc6
4
- data.tar.gz: bdc2a13086232a1cea08049d021b43c1bcd9e251da85688e432a86994736d9ba
3
+ metadata.gz: 4750d0e8d6b6719f01fb8d9246f22dfc4e8d10896f49676d7004f2f0411e1ff7
4
+ data.tar.gz: 813bf9e78bc13bce1f624c6a9e15916d4156daa6e03353376f185e3898a7f944
5
5
  SHA512:
6
- metadata.gz: 42e38bddc12a5e387074414658e3ec43728732d99058712c14e5da063f33a82b605e56bcd3363e305b5fc8fd92c0e9566130df86e0059dff48bfa0148d12d5ad
7
- data.tar.gz: 8601503e390e461e7559aa723c06b6fab3508f69222f452f666b94b621afd5ac3c9fb0dc743fd9faf404530616d3d3eb9e611ca608656c68acf37099fd5daac5
6
+ metadata.gz: dcf7ad3194d634bdbf942f6e19f5c7db4c1a8546adcea7527d5e9320143c81a8f9230d2e86bd73e794a6ed471ea96ea005526da66e242894139dbbec7c7634d4
7
+ data.tar.gz: 275ba59ad930b06a40618d84d87e7f1b87dd74d7b4e108fbb4413b9a47134d2624e834540e5d67553337b58a86c2a88bc8abb77aa270840884bef53dc048cae4
@@ -650,7 +650,7 @@ module Google
650
650
  # @param options [::Gapic::CallOptions, ::Hash]
651
651
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
652
652
  #
653
- # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, logging_config: nil)
653
+ # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, logging_config: nil, resource_labels: nil)
654
654
  # Pass arguments to `update_node_pool` via keyword arguments. Note that at
655
655
  # least one keyword argument is required. To specify no parameters, or to keep all
656
656
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -725,6 +725,9 @@ module Google
725
725
  # Enable or disable gvnic on the node pool.
726
726
  # @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
727
727
  # Logging configuration.
728
+ # @param resource_labels [::Google::Cloud::Container::V1::ResourceLabels, ::Hash]
729
+ # The resource labels for the node pool to use to annotate any related
730
+ # Google Compute Engine resources.
728
731
  #
729
732
  # @yield [response, operation] Access the result along with the RPC operation
730
733
  # @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.0"
25
25
  end
26
26
  end
27
27
  end
@@ -18,6 +18,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  add_file("google/container/v1/cluster_service.proto", :syntax => :proto3) do
19
19
  add_message "google.container.v1.LinuxNodeConfig" do
20
20
  map :sysctls, :string, :string, 1
21
+ optional :cgroup_mode, :enum, 2, "google.container.v1.LinuxNodeConfig.CgroupMode"
22
+ end
23
+ add_enum "google.container.v1.LinuxNodeConfig.CgroupMode" do
24
+ value :CGROUP_MODE_UNSPECIFIED, 0
25
+ value :CGROUP_MODE_V1, 1
26
+ value :CGROUP_MODE_V2, 2
21
27
  end
22
28
  add_message "google.container.v1.NodeKubeletConfig" do
23
29
  optional :cpu_manager_policy, :string, 1
@@ -53,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
59
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
54
60
  optional :spot, :bool, 32
55
61
  optional :confidential_nodes, :message, 35, "google.container.v1.ConfidentialNodes"
62
+ map :resource_labels, :string, :string, 37
56
63
  optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
57
64
  end
58
65
  add_message "google.container.v1.AdvancedMachineFeatures" do
@@ -62,6 +69,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
69
  optional :create_pod_range, :bool, 4
63
70
  optional :pod_range, :string, 5
64
71
  optional :pod_ipv4_cidr_block, :string, 6
72
+ proto3_optional :enable_private_nodes, :bool, 9
65
73
  proto3_optional :network_performance_config, :message, 11, "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig"
66
74
  end
67
75
  add_message "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig" do
@@ -113,6 +121,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
113
121
  add_message "google.container.v1.NodeLabels" do
114
122
  map :labels, :string, :string, 1
115
123
  end
124
+ add_message "google.container.v1.ResourceLabels" do
125
+ map :labels, :string, :string, 1
126
+ end
116
127
  add_message "google.container.v1.NetworkTags" do
117
128
  repeated :tags, :string, 1
118
129
  end
@@ -165,6 +176,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
165
176
  optional :public_endpoint, :string, 5
166
177
  optional :peering_name, :string, 7
167
178
  optional :master_global_access_config, :message, 8, "google.container.v1.PrivateClusterMasterGlobalAccessConfig"
179
+ optional :private_endpoint_subnetwork, :string, 10
168
180
  end
169
181
  add_message "google.container.v1.AuthenticatorGroupsConfig" do
170
182
  optional :enabled, :bool, 1
@@ -194,6 +206,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
194
206
  add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
195
207
  optional :enabled, :bool, 1
196
208
  repeated :cidr_blocks, :message, 2, "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock"
209
+ proto3_optional :gcp_public_cidrs_access_enabled, :bool, 3
197
210
  end
198
211
  add_message "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock" do
199
212
  optional :display_name, :string, 1
@@ -352,9 +365,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
352
365
  optional :desired_monitoring_config, :message, 65, "google.container.v1.MonitoringConfig"
353
366
  optional :desired_identity_service_config, :message, 66, "google.container.v1.IdentityServiceConfig"
354
367
  optional :desired_service_external_ips_config, :message, 60, "google.container.v1.ServiceExternalIPsConfig"
368
+ proto3_optional :desired_enable_private_endpoint, :bool, 71
355
369
  optional :desired_master_version, :string, 100
356
370
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
357
371
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
372
+ optional :desired_gateway_api_config, :message, 114, "google.container.v1.GatewayAPIConfig"
358
373
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
359
374
  end
360
375
  add_message "google.container.v1.Operation" do
@@ -454,6 +469,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
454
469
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
455
470
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
456
471
  optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
472
+ optional :resource_labels, :message, 33, "google.container.v1.ResourceLabels"
457
473
  end
458
474
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
459
475
  optional :project_id, :string, 1
@@ -623,6 +639,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
623
639
  repeated :conditions, :message, 105, "google.container.v1.StatusCondition"
624
640
  optional :pod_ipv4_cidr_size, :int32, 7
625
641
  optional :upgrade_settings, :message, 107, "google.container.v1.NodePool.UpgradeSettings"
642
+ optional :placement_policy, :message, 108, "google.container.v1.NodePool.PlacementPolicy"
626
643
  optional :update_info, :message, 109, "google.container.v1.NodePool.UpdateInfo"
627
644
  end
628
645
  add_message "google.container.v1.NodePool.UpgradeSettings" do
@@ -651,6 +668,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
651
668
  value :DELETING_BLUE_POOL, 6
652
669
  value :ROLLBACK_STARTED, 7
653
670
  end
671
+ add_message "google.container.v1.NodePool.PlacementPolicy" do
672
+ optional :type, :enum, 1, "google.container.v1.NodePool.PlacementPolicy.Type"
673
+ end
674
+ add_enum "google.container.v1.NodePool.PlacementPolicy.Type" do
675
+ value :TYPE_UNSPECIFIED, 0
676
+ value :COMPACT, 1
677
+ end
654
678
  add_enum "google.container.v1.NodePool.Status" do
655
679
  value :STATUS_UNSPECIFIED, 0
656
680
  value :PROVISIONING, 1
@@ -864,6 +888,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
864
888
  optional :private_ipv6_google_access, :enum, 12, "google.container.v1.PrivateIPv6GoogleAccess"
865
889
  optional :dns_config, :message, 13, "google.container.v1.DNSConfig"
866
890
  optional :service_external_ips_config, :message, 15, "google.container.v1.ServiceExternalIPsConfig"
891
+ optional :gateway_api_config, :message, 16, "google.container.v1.GatewayAPIConfig"
892
+ end
893
+ add_message "google.container.v1.GatewayAPIConfig" do
894
+ optional :channel, :enum, 1, "google.container.v1.GatewayAPIConfig.Channel"
895
+ end
896
+ add_enum "google.container.v1.GatewayAPIConfig.Channel" do
897
+ value :CHANNEL_UNSPECIFIED, 0
898
+ value :CHANNEL_DISABLED, 1
899
+ value :CHANNEL_EXPERIMENTAL, 3
900
+ value :CHANNEL_STANDARD, 4
867
901
  end
868
902
  add_message "google.container.v1.ServiceExternalIPsConfig" do
869
903
  optional :enabled, :bool, 1
@@ -1061,6 +1095,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1061
1095
  value :COMPONENT_UNSPECIFIED, 0
1062
1096
  value :SYSTEM_COMPONENTS, 1
1063
1097
  value :WORKLOADS, 2
1098
+ value :APISERVER, 3
1099
+ value :SCHEDULER, 4
1100
+ value :CONTROLLER_MANAGER, 5
1064
1101
  end
1065
1102
  add_message "google.container.v1.MonitoringConfig" do
1066
1103
  optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
@@ -1129,6 +1166,7 @@ module Google
1129
1166
  module Container
1130
1167
  module V1
1131
1168
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig").msgclass
1169
+ LinuxNodeConfig::CgroupMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig.CgroupMode").enummodule
1132
1170
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeKubeletConfig").msgclass
1133
1171
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
1134
1172
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdvancedMachineFeatures").msgclass
@@ -1145,6 +1183,7 @@ module Google
1145
1183
  NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint.Effect").enummodule
1146
1184
  NodeTaints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaints").msgclass
1147
1185
  NodeLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeLabels").msgclass
1186
+ ResourceLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceLabels").msgclass
1148
1187
  NetworkTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkTags").msgclass
1149
1188
  MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuth").msgclass
1150
1189
  ClientCertificateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClientCertificateConfig").msgclass
@@ -1215,6 +1254,8 @@ module Google
1215
1254
  NodePool::UpdateInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo").msgclass
1216
1255
  NodePool::UpdateInfo::BlueGreenInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo.BlueGreenInfo").msgclass
1217
1256
  NodePool::UpdateInfo::BlueGreenInfo::Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase").enummodule
1257
+ NodePool::PlacementPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.PlacementPolicy").msgclass
1258
+ NodePool::PlacementPolicy::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.PlacementPolicy.Type").enummodule
1218
1259
  NodePool::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.Status").enummodule
1219
1260
  NodeManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeManagement").msgclass
1220
1261
  AutoUpgradeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AutoUpgradeOptions").msgclass
@@ -1250,6 +1291,8 @@ module Google
1250
1291
  StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition").msgclass
1251
1292
  StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition.Code").enummodule
1252
1293
  NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkConfig").msgclass
1294
+ GatewayAPIConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GatewayAPIConfig").msgclass
1295
+ GatewayAPIConfig::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GatewayAPIConfig.Channel").enummodule
1253
1296
  ServiceExternalIPsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServiceExternalIPsConfig").msgclass
1254
1297
  GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigRequest").msgclass
1255
1298
  GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigResponse").msgclass
@@ -0,0 +1,318 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # Required information for every language.
23
+ # @!attribute [rw] reference_docs_uri
24
+ # @return [::String]
25
+ # Link to automatically generated reference documentation. Example:
26
+ # https://cloud.google.com/nodejs/docs/reference/asset/latest
27
+ # @!attribute [rw] destinations
28
+ # @return [::Array<::Google::Api::ClientLibraryDestination>]
29
+ # The destination where API teams want this client library to be published.
30
+ class CommonLanguageSettings
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Details about how and where to publish client libraries.
36
+ # @!attribute [rw] version
37
+ # @return [::String]
38
+ # Version of the API to apply these settings to.
39
+ # @!attribute [rw] launch_stage
40
+ # @return [::Google::Api::LaunchStage]
41
+ # Launch stage of this version of the API.
42
+ # @!attribute [rw] rest_numeric_enums
43
+ # @return [::Boolean]
44
+ # When using transport=rest, the client request will encode enums as
45
+ # numbers rather than strings.
46
+ # @!attribute [rw] java_settings
47
+ # @return [::Google::Api::JavaSettings]
48
+ # Settings for legacy Java features, supported in the Service YAML.
49
+ # @!attribute [rw] cpp_settings
50
+ # @return [::Google::Api::CppSettings]
51
+ # Settings for C++ client libraries.
52
+ # @!attribute [rw] php_settings
53
+ # @return [::Google::Api::PhpSettings]
54
+ # Settings for PHP client libraries.
55
+ # @!attribute [rw] python_settings
56
+ # @return [::Google::Api::PythonSettings]
57
+ # Settings for Python client libraries.
58
+ # @!attribute [rw] node_settings
59
+ # @return [::Google::Api::NodeSettings]
60
+ # Settings for Node client libraries.
61
+ # @!attribute [rw] dotnet_settings
62
+ # @return [::Google::Api::DotnetSettings]
63
+ # Settings for .NET client libraries.
64
+ # @!attribute [rw] ruby_settings
65
+ # @return [::Google::Api::RubySettings]
66
+ # Settings for Ruby client libraries.
67
+ # @!attribute [rw] go_settings
68
+ # @return [::Google::Api::GoSettings]
69
+ # Settings for Go client libraries.
70
+ class ClientLibrarySettings
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # This message configures the settings for publishing [Google Cloud Client
76
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
77
+ # generated from the service config.
78
+ # @!attribute [rw] method_settings
79
+ # @return [::Array<::Google::Api::MethodSettings>]
80
+ # A list of API method settings, e.g. the behavior for methods that use the
81
+ # long-running operation pattern.
82
+ # @!attribute [rw] new_issue_uri
83
+ # @return [::String]
84
+ # Link to a place that API users can report issues. Example:
85
+ # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
+ # @!attribute [rw] documentation_uri
87
+ # @return [::String]
88
+ # Link to product home page. Example:
89
+ # https://cloud.google.com/asset-inventory/docs/overview
90
+ # @!attribute [rw] api_short_name
91
+ # @return [::String]
92
+ # Used as a tracking tag when collecting data about the APIs developer
93
+ # relations artifacts like docs, packages delivered to package managers,
94
+ # etc. Example: "speech".
95
+ # @!attribute [rw] github_label
96
+ # @return [::String]
97
+ # GitHub label to apply to issues and pull requests opened for this API.
98
+ # @!attribute [rw] codeowner_github_teams
99
+ # @return [::Array<::String>]
100
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub
101
+ # containing source code for the client libraries for this API.
102
+ # @!attribute [rw] doc_tag_prefix
103
+ # @return [::String]
104
+ # A prefix used in sample code when demarking regions to be included in
105
+ # documentation.
106
+ # @!attribute [rw] organization
107
+ # @return [::Google::Api::ClientLibraryOrganization]
108
+ # For whom the client library is being published.
109
+ # @!attribute [rw] library_settings
110
+ # @return [::Array<::Google::Api::ClientLibrarySettings>]
111
+ # Client library settings. If the same version string appears multiple
112
+ # times in this list, then the last one wins. Settings from earlier
113
+ # settings with the same version string are discarded.
114
+ class Publishing
115
+ include ::Google::Protobuf::MessageExts
116
+ extend ::Google::Protobuf::MessageExts::ClassMethods
117
+ end
118
+
119
+ # Settings for Java client libraries.
120
+ # @!attribute [rw] library_package
121
+ # @return [::String]
122
+ # The package name to use in Java. Clobbers the java_package option
123
+ # set in the protobuf. This should be used **only** by APIs
124
+ # who have already set the language_settings.java.package_name" field
125
+ # in gapic.yaml. API teams should use the protobuf java_package option
126
+ # where possible.
127
+ #
128
+ # Example of a YAML configuration::
129
+ #
130
+ # publishing:
131
+ # java_settings:
132
+ # library_package: com.google.cloud.pubsub.v1
133
+ # @!attribute [rw] service_class_names
134
+ # @return [::Google::Protobuf::Map{::String => ::String}]
135
+ # Configure the Java class name to use instead of the service's for its
136
+ # corresponding generated GAPIC client. Keys are fully-qualified
137
+ # service names as they appear in the protobuf (including the full
138
+ # the language_settings.java.interface_names" field in gapic.yaml. API
139
+ # teams should otherwise use the service name as it appears in the
140
+ # protobuf.
141
+ #
142
+ # Example of a YAML configuration::
143
+ #
144
+ # publishing:
145
+ # java_settings:
146
+ # service_class_names:
147
+ # - google.pubsub.v1.Publisher: TopicAdmin
148
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
149
+ # @!attribute [rw] common
150
+ # @return [::Google::Api::CommonLanguageSettings]
151
+ # Some settings.
152
+ class JavaSettings
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+
156
+ # @!attribute [rw] key
157
+ # @return [::String]
158
+ # @!attribute [rw] value
159
+ # @return [::String]
160
+ class ServiceClassNamesEntry
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+ end
165
+
166
+ # Settings for C++ client libraries.
167
+ # @!attribute [rw] common
168
+ # @return [::Google::Api::CommonLanguageSettings]
169
+ # Some settings.
170
+ class CppSettings
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+ end
174
+
175
+ # Settings for Php client libraries.
176
+ # @!attribute [rw] common
177
+ # @return [::Google::Api::CommonLanguageSettings]
178
+ # Some settings.
179
+ class PhpSettings
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Settings for Python client libraries.
185
+ # @!attribute [rw] common
186
+ # @return [::Google::Api::CommonLanguageSettings]
187
+ # Some settings.
188
+ class PythonSettings
189
+ include ::Google::Protobuf::MessageExts
190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
191
+ end
192
+
193
+ # Settings for Node client libraries.
194
+ # @!attribute [rw] common
195
+ # @return [::Google::Api::CommonLanguageSettings]
196
+ # Some settings.
197
+ class NodeSettings
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Settings for Dotnet client libraries.
203
+ # @!attribute [rw] common
204
+ # @return [::Google::Api::CommonLanguageSettings]
205
+ # Some settings.
206
+ class DotnetSettings
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Settings for Ruby client libraries.
212
+ # @!attribute [rw] common
213
+ # @return [::Google::Api::CommonLanguageSettings]
214
+ # Some settings.
215
+ class RubySettings
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # Settings for Go client libraries.
221
+ # @!attribute [rw] common
222
+ # @return [::Google::Api::CommonLanguageSettings]
223
+ # Some settings.
224
+ class GoSettings
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # Describes the generator configuration for a method.
230
+ # @!attribute [rw] selector
231
+ # @return [::String]
232
+ # The fully qualified name of the method, for which the options below apply.
233
+ # This is used to find the method to apply the options.
234
+ # @!attribute [rw] long_running
235
+ # @return [::Google::Api::MethodSettings::LongRunning]
236
+ # Describes settings to use for long-running operations when generating
237
+ # API methods for RPCs. Complements RPCs that use the annotations in
238
+ # google/longrunning/operations.proto.
239
+ #
240
+ # Example of a YAML configuration::
241
+ #
242
+ # publishing:
243
+ # method_behavior:
244
+ # - selector: CreateAdDomain
245
+ # long_running:
246
+ # initial_poll_delay:
247
+ # seconds: 60 # 1 minute
248
+ # poll_delay_multiplier: 1.5
249
+ # max_poll_delay:
250
+ # seconds: 360 # 6 minutes
251
+ # total_poll_timeout:
252
+ # seconds: 54000 # 90 minutes
253
+ class MethodSettings
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # Describes settings to use when generating API methods that use the
258
+ # long-running operation pattern.
259
+ # All default values below are from those used in the client library
260
+ # generators (e.g.
261
+ # [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
262
+ # @!attribute [rw] initial_poll_delay
263
+ # @return [::Google::Protobuf::Duration]
264
+ # Initial delay after which the first poll request will be made.
265
+ # Default value: 5 seconds.
266
+ # @!attribute [rw] poll_delay_multiplier
267
+ # @return [::Float]
268
+ # Multiplier to gradually increase delay between subsequent polls until it
269
+ # reaches max_poll_delay.
270
+ # Default value: 1.5.
271
+ # @!attribute [rw] max_poll_delay
272
+ # @return [::Google::Protobuf::Duration]
273
+ # Maximum time between two subsequent poll requests.
274
+ # Default value: 45 seconds.
275
+ # @!attribute [rw] total_poll_timeout
276
+ # @return [::Google::Protobuf::Duration]
277
+ # Total polling timeout.
278
+ # Default value: 5 minutes.
279
+ class LongRunning
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+ end
284
+
285
+ # The organization for which the client libraries are being published.
286
+ # Affects the url where generated docs are published, etc.
287
+ module ClientLibraryOrganization
288
+ # Not useful.
289
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
290
+
291
+ # Google Cloud Platform Org.
292
+ CLOUD = 1
293
+
294
+ # Ads (Advertising) Org.
295
+ ADS = 2
296
+
297
+ # Photos Org.
298
+ PHOTOS = 3
299
+
300
+ # Street View Org.
301
+ STREET_VIEW = 4
302
+ end
303
+
304
+ # To where should client libraries be published?
305
+ module ClientLibraryDestination
306
+ # Client libraries will neither be generated nor published to package
307
+ # managers.
308
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
309
+
310
+ # Generate the client library in a repo under github.com/googleapis,
311
+ # but don't publish it to package managers.
312
+ GITHUB = 10
313
+
314
+ # Publish the library to package managers like nuget.org and npmjs.com.
315
+ PACKAGE_MANAGER = 20
316
+ end
317
+ end
318
+ end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # The launch stage as defined by [Google Cloud Platform
23
+ # Launch Stages](https://cloud.google.com/terms/launch-stages).
24
+ module LaunchStage
25
+ # Do not use this default value.
26
+ LAUNCH_STAGE_UNSPECIFIED = 0
27
+
28
+ # The feature is not yet implemented. Users can not use it.
29
+ UNIMPLEMENTED = 6
30
+
31
+ # Prelaunch features are hidden from users and are only visible internally.
32
+ PRELAUNCH = 7
33
+
34
+ # Early Access features are limited to a closed group of testers. To use
35
+ # these features, you must sign up in advance and sign a Trusted Tester
36
+ # agreement (which includes confidentiality provisions). These features may
37
+ # be unstable, changed in backward-incompatible ways, and are not
38
+ # guaranteed to be released.
39
+ EARLY_ACCESS = 1
40
+
41
+ # Alpha is a limited availability test for releases before they are cleared
42
+ # for widespread use. By Alpha, all significant design issues are resolved
43
+ # and we are in the process of verifying functionality. Alpha customers
44
+ # need to apply for access, agree to applicable terms, and have their
45
+ # projects allowlisted. Alpha releases don't have to be feature complete,
46
+ # no SLAs are provided, and there are no technical support obligations, but
47
+ # they will be far enough along that customers can actually use them in
48
+ # test environments or for limited-use tests -- just like they would in
49
+ # normal production cases.
50
+ ALPHA = 2
51
+
52
+ # Beta is the point at which we are ready to open a release for any
53
+ # customer to use. There are no SLA or technical support obligations in a
54
+ # Beta release. Products will be complete from a feature perspective, but
55
+ # may have some open outstanding issues. Beta releases are suitable for
56
+ # limited production use cases.
57
+ BETA = 3
58
+
59
+ # GA features are open to all developers and are considered stable and
60
+ # fully qualified for production use.
61
+ GA = 4
62
+
63
+ # Deprecated features are scheduled to be shut down and removed. For more
64
+ # information, see the "Deprecation Policy" section of our [Terms of
65
+ # Service](https://cloud.google.com/terms/)
66
+ # and the [Google Cloud Platform Subject to the Deprecation
67
+ # Policy](https://cloud.google.com/terms/deprecation) documentation.
68
+ DEPRECATED = 5
69
+ end
70
+ end
71
+ end
@@ -40,6 +40,9 @@ module Google
40
40
  # net.ipv4.tcp_rmem
41
41
  # net.ipv4.tcp_wmem
42
42
  # net.ipv4.tcp_tw_reuse
43
+ # @!attribute [rw] cgroup_mode
44
+ # @return [::Google::Cloud::Container::V1::LinuxNodeConfig::CgroupMode]
45
+ # cgroup_mode specifies the cgroup mode to be used on the node.
43
46
  class LinuxNodeConfig
44
47
  include ::Google::Protobuf::MessageExts
45
48
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -52,6 +55,21 @@ module Google
52
55
  include ::Google::Protobuf::MessageExts
53
56
  extend ::Google::Protobuf::MessageExts::ClassMethods
54
57
  end
58
+
59
+ # Possible cgroup modes that can be used.
60
+ module CgroupMode
61
+ # CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
62
+ # The default for the GKE node OS image will be used.
63
+ CGROUP_MODE_UNSPECIFIED = 0
64
+
65
+ # CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
66
+ # the node image.
67
+ CGROUP_MODE_V1 = 1
68
+
69
+ # CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
70
+ # the node image.
71
+ CGROUP_MODE_V2 = 2
72
+ end
55
73
  end
56
74
 
57
75
  # Node kubelet configs.
@@ -284,6 +302,10 @@ module Google
284
302
  # @return [::Google::Cloud::Container::V1::ConfidentialNodes]
285
303
  # Confidential nodes config.
286
304
  # All the nodes in the node pool will be Confidential VM once enabled.
305
+ # @!attribute [rw] resource_labels
306
+ # @return [::Google::Protobuf::Map{::String => ::String}]
307
+ # The resource labels for the node pool to use to annotate any related
308
+ # Google Compute Engine resources.
287
309
  # @!attribute [rw] logging_config
288
310
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
289
311
  # Logging configuration.
@@ -308,6 +330,15 @@ module Google
308
330
  include ::Google::Protobuf::MessageExts
309
331
  extend ::Google::Protobuf::MessageExts::ClassMethods
310
332
  end
333
+
334
+ # @!attribute [rw] key
335
+ # @return [::String]
336
+ # @!attribute [rw] value
337
+ # @return [::String]
338
+ class ResourceLabelsEntry
339
+ include ::Google::Protobuf::MessageExts
340
+ extend ::Google::Protobuf::MessageExts::ClassMethods
341
+ end
311
342
  end
312
343
 
313
344
  # Specifies options for controlling advanced machine features.
@@ -363,6 +394,11 @@ module Google
363
394
  # Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
364
395
  #
365
396
  # This field cannot be changed after the node pool has been created.
397
+ # @!attribute [rw] enable_private_nodes
398
+ # @return [::Boolean]
399
+ # Whether nodes have internal IP addresses only.
400
+ # If enable_private_nodes is not specified, then the value is derived from
401
+ # [cluster.privateClusterConfig.enablePrivateNodes][google.container.v1beta1.PrivateClusterConfig.enablePrivateNodes]
366
402
  # @!attribute [rw] network_performance_config
367
403
  # @return [::Google::Cloud::Container::V1::NodeNetworkConfig::NetworkPerformanceConfig]
368
404
  # Network bandwidth tier configuration.
@@ -538,6 +574,25 @@ module Google
538
574
  end
539
575
  end
540
576
 
577
+ # Collection of [GCP
578
+ # labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
579
+ # @!attribute [rw] labels
580
+ # @return [::Google::Protobuf::Map{::String => ::String}]
581
+ # Map of node label keys and node label values.
582
+ class ResourceLabels
583
+ include ::Google::Protobuf::MessageExts
584
+ extend ::Google::Protobuf::MessageExts::ClassMethods
585
+
586
+ # @!attribute [rw] key
587
+ # @return [::String]
588
+ # @!attribute [rw] value
589
+ # @return [::String]
590
+ class LabelsEntry
591
+ include ::Google::Protobuf::MessageExts
592
+ extend ::Google::Protobuf::MessageExts::ClassMethods
593
+ end
594
+ end
595
+
541
596
  # Collection of Compute Engine network tags that can be applied to a node's
542
597
  # underlying VM instance.
543
598
  # @!attribute [rw] tags
@@ -741,6 +796,10 @@ module Google
741
796
  # @!attribute [rw] master_global_access_config
742
797
  # @return [::Google::Cloud::Container::V1::PrivateClusterMasterGlobalAccessConfig]
743
798
  # Controls master global access settings.
799
+ # @!attribute [rw] private_endpoint_subnetwork
800
+ # @return [::String]
801
+ # Subnet to provision the master's private endpoint during cluster creation.
802
+ # Specified in projects/*/regions/*/subnetworks/* format.
744
803
  class PrivateClusterConfig
745
804
  include ::Google::Protobuf::MessageExts
746
805
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -831,6 +890,9 @@ module Google
831
890
  # @return [::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>]
832
891
  # cidr_blocks define up to 50 external networks that could access
833
892
  # Kubernetes master through HTTPS.
893
+ # @!attribute [rw] gcp_public_cidrs_access_enabled
894
+ # @return [::Boolean]
895
+ # Whether master is accessbile via Google Compute Engine Public IP addresses.
834
896
  class MasterAuthorizedNetworksConfig
835
897
  include ::Google::Protobuf::MessageExts
836
898
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1574,6 +1636,9 @@ module Google
1574
1636
  # @return [::Google::Cloud::Container::V1::ServiceExternalIPsConfig]
1575
1637
  # ServiceExternalIPsConfig specifies the config for the use of Services with
1576
1638
  # ExternalIPs field.
1639
+ # @!attribute [rw] desired_enable_private_endpoint
1640
+ # @return [::Boolean]
1641
+ # Enable/Disable private endpoint for the cluster's master.
1577
1642
  # @!attribute [rw] desired_master_version
1578
1643
  # @return [::String]
1579
1644
  # The Kubernetes version to change the master to.
@@ -1593,6 +1658,9 @@ module Google
1593
1658
  # @return [::Google::Cloud::Container::V1::NetworkTags]
1594
1659
  # The desired network tags that apply to all auto-provisioned node pools
1595
1660
  # in autopilot clusters and node auto-provisioning enabled clusters.
1661
+ # @!attribute [rw] desired_gateway_api_config
1662
+ # @return [::Google::Cloud::Container::V1::GatewayAPIConfig]
1663
+ # The desired config of Gateway API on this cluster.
1596
1664
  # @!attribute [rw] desired_node_pool_logging_config
1597
1665
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1598
1666
  # The desired node pool logging configuration defaults for the cluster.
@@ -1948,6 +2016,10 @@ module Google
1948
2016
  # @!attribute [rw] logging_config
1949
2017
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1950
2018
  # Logging configuration.
2019
+ # @!attribute [rw] resource_labels
2020
+ # @return [::Google::Cloud::Container::V1::ResourceLabels]
2021
+ # The resource labels for the node pool to use to annotate any related
2022
+ # Google Compute Engine resources.
1951
2023
  class UpdateNodePoolRequest
1952
2024
  include ::Google::Protobuf::MessageExts
1953
2025
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2546,7 +2618,7 @@ module Google
2546
2618
  # Standard rollout policy is the default policy for blue-green.
2547
2619
  # @!attribute [rw] batch_percentage
2548
2620
  # @return [::Float]
2549
- # Percentage of the bool pool nodes to drain in a batch.
2621
+ # Percentage of the blue pool nodes to drain in a batch.
2550
2622
  # The range of this field should be (0.0, 1.0].
2551
2623
  # @!attribute [rw] batch_node_count
2552
2624
  # @return [::Integer]
@@ -2635,6 +2707,9 @@ module Google
2635
2707
  # @!attribute [rw] upgrade_settings
2636
2708
  # @return [::Google::Cloud::Container::V1::NodePool::UpgradeSettings]
2637
2709
  # Upgrade settings control disruption and speed of the upgrade.
2710
+ # @!attribute [rw] placement_policy
2711
+ # @return [::Google::Cloud::Container::V1::NodePool::PlacementPolicy]
2712
+ # Specifies the node placement policy.
2638
2713
  # @!attribute [r] update_info
2639
2714
  # @return [::Google::Cloud::Container::V1::NodePool::UpdateInfo]
2640
2715
  # Output only. [Output only] Update info contains relevant information during a node
@@ -2772,6 +2847,26 @@ module Google
2772
2847
  end
2773
2848
  end
2774
2849
 
2850
+ # PlacementPolicy defines the placement policy used by the node pool.
2851
+ # @!attribute [rw] type
2852
+ # @return [::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type]
2853
+ # The type of placement.
2854
+ class PlacementPolicy
2855
+ include ::Google::Protobuf::MessageExts
2856
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2857
+
2858
+ # Type defines the type of placement policy.
2859
+ module Type
2860
+ # TYPE_UNSPECIFIED specifies no requirements on nodes
2861
+ # placement.
2862
+ TYPE_UNSPECIFIED = 0
2863
+
2864
+ # COMPACT specifies node placement in the same availability domain to
2865
+ # ensure low communication latency.
2866
+ COMPACT = 1
2867
+ end
2868
+ end
2869
+
2775
2870
  # The current status of the node pool instance.
2776
2871
  module Status
2777
2872
  # Not set.
@@ -3619,11 +3714,40 @@ module Google
3619
3714
  # @return [::Google::Cloud::Container::V1::ServiceExternalIPsConfig]
3620
3715
  # ServiceExternalIPsConfig specifies if services with externalIPs field are
3621
3716
  # blocked or not.
3717
+ # @!attribute [rw] gateway_api_config
3718
+ # @return [::Google::Cloud::Container::V1::GatewayAPIConfig]
3719
+ # GatewayAPIConfig contains the desired config of Gateway API on this
3720
+ # cluster.
3622
3721
  class NetworkConfig
3623
3722
  include ::Google::Protobuf::MessageExts
3624
3723
  extend ::Google::Protobuf::MessageExts::ClassMethods
3625
3724
  end
3626
3725
 
3726
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
3727
+ # @!attribute [rw] channel
3728
+ # @return [::Google::Cloud::Container::V1::GatewayAPIConfig::Channel]
3729
+ # The Gateway API release channel to use for Gateway API.
3730
+ class GatewayAPIConfig
3731
+ include ::Google::Protobuf::MessageExts
3732
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3733
+
3734
+ # Channel describes if/how Gateway API should be installed and implemented in
3735
+ # a cluster.
3736
+ module Channel
3737
+ # Default value.
3738
+ CHANNEL_UNSPECIFIED = 0
3739
+
3740
+ # Gateway API support is disabled
3741
+ CHANNEL_DISABLED = 1
3742
+
3743
+ # Gateway API support is enabled, experimental CRDs are installed
3744
+ CHANNEL_EXPERIMENTAL = 3
3745
+
3746
+ # Gateway API support is enabled, standard CRDs are installed
3747
+ CHANNEL_STANDARD = 4
3748
+ end
3749
+ end
3750
+
3627
3751
  # Config to block services with externalIPs field.
3628
3752
  # @!attribute [rw] enabled
3629
3753
  # @return [::Boolean]
@@ -4278,6 +4402,15 @@ module Google
4278
4402
 
4279
4403
  # workloads
4280
4404
  WORKLOADS = 2
4405
+
4406
+ # kube-apiserver
4407
+ APISERVER = 3
4408
+
4409
+ # kube-scheduler
4410
+ SCHEDULER = 4
4411
+
4412
+ # kube-controller-manager
4413
+ CONTROLLER_MANAGER = 5
4281
4414
  end
4282
4415
  end
4283
4416
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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: 2022-10-18 00:00:00.000000000 Z
11
+ date: 2022-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -179,7 +179,9 @@ files:
179
179
  - lib/google/container/v1/cluster_service_pb.rb
180
180
  - lib/google/container/v1/cluster_service_services_pb.rb
181
181
  - proto_docs/README.md
182
+ - proto_docs/google/api/client.rb
182
183
  - proto_docs/google/api/field_behavior.rb
184
+ - proto_docs/google/api/launch_stage.rb
183
185
  - proto_docs/google/api/resource.rb
184
186
  - proto_docs/google/container/v1/cluster_service.rb
185
187
  - proto_docs/google/protobuf/any.rb