google-cloud-container-v1 0.11.0 → 0.13.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: 8a8e1dfa894f159b41ddfdcc35533d2f43748f1b28f92b156c85e4c8f89acbd8
4
+ data.tar.gz: 8a0595406eef4bb4bd2e8322990acf8490d7c20d24afddc0d8278277fdd087c0
5
5
  SHA512:
6
- metadata.gz: 42e38bddc12a5e387074414658e3ec43728732d99058712c14e5da063f33a82b605e56bcd3363e305b5fc8fd92c0e9566130df86e0059dff48bfa0148d12d5ad
7
- data.tar.gz: 8601503e390e461e7559aa723c06b6fab3508f69222f452f666b94b621afd5ac3c9fb0dc743fd9faf404530616d3d3eb9e611ca608656c68acf37099fd5daac5
6
+ metadata.gz: cd058bf190e9850fff92d7802b89078c360b34fec237acdb66de0ba9c64bc60dbba1ad8faa73187b3f802babdc34302bbac5030a7dce7a7bfcfbf7029fe74aef
7
+ data.tar.gz: 86588e96fd50b8afca0ceb4305c57c0eb7dfc45c59ad88ef8698bcf55ad094404d5351820f5a461ef9090c7c8f0478a553262a5b368c92f9d21b6029d4d3d733
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -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, fast_socket: 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).
@@ -723,8 +723,13 @@ module Google
723
723
  # All the nodes in the node pool will be Confidential VM once enabled.
724
724
  # @param gvnic [::Google::Cloud::Container::V1::VirtualNIC, ::Hash]
725
725
  # Enable or disable gvnic on the node pool.
726
+ # @param fast_socket [::Google::Cloud::Container::V1::FastSocket, ::Hash]
727
+ # Enable or disable NCCL fast socket for the node pool.
726
728
  # @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
727
729
  # Logging configuration.
730
+ # @param resource_labels [::Google::Cloud::Container::V1::ResourceLabels, ::Hash]
731
+ # The resource labels for the node pool to use to annotate any related
732
+ # Google Compute Engine resources.
728
733
  #
729
734
  # @yield [response, operation] Access the result along with the RPC operation
730
735
  # @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.13.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,8 @@ 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
+ proto3_optional :fast_socket, :message, 36, "google.container.v1.FastSocket"
63
+ map :resource_labels, :string, :string, 37
56
64
  optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
57
65
  end
58
66
  add_message "google.container.v1.AdvancedMachineFeatures" do
@@ -62,6 +70,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
70
  optional :create_pod_range, :bool, 4
63
71
  optional :pod_range, :string, 5
64
72
  optional :pod_ipv4_cidr_block, :string, 6
73
+ proto3_optional :enable_private_nodes, :bool, 9
65
74
  proto3_optional :network_performance_config, :message, 11, "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig"
66
75
  end
67
76
  add_message "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig" do
@@ -113,6 +122,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
113
122
  add_message "google.container.v1.NodeLabels" do
114
123
  map :labels, :string, :string, 1
115
124
  end
125
+ add_message "google.container.v1.ResourceLabels" do
126
+ map :labels, :string, :string, 1
127
+ end
116
128
  add_message "google.container.v1.NetworkTags" do
117
129
  repeated :tags, :string, 1
118
130
  end
@@ -165,6 +177,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
165
177
  optional :public_endpoint, :string, 5
166
178
  optional :peering_name, :string, 7
167
179
  optional :master_global_access_config, :message, 8, "google.container.v1.PrivateClusterMasterGlobalAccessConfig"
180
+ optional :private_endpoint_subnetwork, :string, 10
168
181
  end
169
182
  add_message "google.container.v1.AuthenticatorGroupsConfig" do
170
183
  optional :enabled, :bool, 1
@@ -194,6 +207,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
194
207
  add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
195
208
  optional :enabled, :bool, 1
196
209
  repeated :cidr_blocks, :message, 2, "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock"
210
+ proto3_optional :gcp_public_cidrs_access_enabled, :bool, 3
197
211
  end
198
212
  add_message "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock" do
199
213
  optional :display_name, :string, 1
@@ -352,9 +366,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
352
366
  optional :desired_monitoring_config, :message, 65, "google.container.v1.MonitoringConfig"
353
367
  optional :desired_identity_service_config, :message, 66, "google.container.v1.IdentityServiceConfig"
354
368
  optional :desired_service_external_ips_config, :message, 60, "google.container.v1.ServiceExternalIPsConfig"
369
+ proto3_optional :desired_enable_private_endpoint, :bool, 71
355
370
  optional :desired_master_version, :string, 100
356
371
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
357
372
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
373
+ optional :desired_gateway_api_config, :message, 114, "google.container.v1.GatewayAPIConfig"
358
374
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
359
375
  end
360
376
  add_message "google.container.v1.Operation" do
@@ -453,7 +469,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
453
469
  optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
454
470
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
455
471
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
472
+ optional :fast_socket, :message, 31, "google.container.v1.FastSocket"
456
473
  optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
474
+ optional :resource_labels, :message, 33, "google.container.v1.ResourceLabels"
457
475
  end
458
476
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
459
477
  optional :project_id, :string, 1
@@ -623,6 +641,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
623
641
  repeated :conditions, :message, 105, "google.container.v1.StatusCondition"
624
642
  optional :pod_ipv4_cidr_size, :int32, 7
625
643
  optional :upgrade_settings, :message, 107, "google.container.v1.NodePool.UpgradeSettings"
644
+ optional :placement_policy, :message, 108, "google.container.v1.NodePool.PlacementPolicy"
626
645
  optional :update_info, :message, 109, "google.container.v1.NodePool.UpdateInfo"
627
646
  end
628
647
  add_message "google.container.v1.NodePool.UpgradeSettings" do
@@ -651,6 +670,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
651
670
  value :DELETING_BLUE_POOL, 6
652
671
  value :ROLLBACK_STARTED, 7
653
672
  end
673
+ add_message "google.container.v1.NodePool.PlacementPolicy" do
674
+ optional :type, :enum, 1, "google.container.v1.NodePool.PlacementPolicy.Type"
675
+ end
676
+ add_enum "google.container.v1.NodePool.PlacementPolicy.Type" do
677
+ value :TYPE_UNSPECIFIED, 0
678
+ value :COMPACT, 1
679
+ end
654
680
  add_enum "google.container.v1.NodePool.Status" do
655
681
  value :STATUS_UNSPECIFIED, 0
656
682
  value :PROVISIONING, 1
@@ -864,6 +890,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
864
890
  optional :private_ipv6_google_access, :enum, 12, "google.container.v1.PrivateIPv6GoogleAccess"
865
891
  optional :dns_config, :message, 13, "google.container.v1.DNSConfig"
866
892
  optional :service_external_ips_config, :message, 15, "google.container.v1.ServiceExternalIPsConfig"
893
+ optional :gateway_api_config, :message, 16, "google.container.v1.GatewayAPIConfig"
894
+ end
895
+ add_message "google.container.v1.GatewayAPIConfig" do
896
+ optional :channel, :enum, 1, "google.container.v1.GatewayAPIConfig.Channel"
897
+ end
898
+ add_enum "google.container.v1.GatewayAPIConfig.Channel" do
899
+ value :CHANNEL_UNSPECIFIED, 0
900
+ value :CHANNEL_DISABLED, 1
901
+ value :CHANNEL_EXPERIMENTAL, 3
902
+ value :CHANNEL_STANDARD, 4
867
903
  end
868
904
  add_message "google.container.v1.ServiceExternalIPsConfig" do
869
905
  optional :enabled, :bool, 1
@@ -1002,6 +1038,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1002
1038
  add_message "google.container.v1.VirtualNIC" do
1003
1039
  optional :enabled, :bool, 1
1004
1040
  end
1041
+ add_message "google.container.v1.FastSocket" do
1042
+ optional :enabled, :bool, 1
1043
+ end
1005
1044
  add_message "google.container.v1.NotificationConfig" do
1006
1045
  optional :pubsub, :message, 1, "google.container.v1.NotificationConfig.PubSub"
1007
1046
  end
@@ -1061,6 +1100,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1061
1100
  value :COMPONENT_UNSPECIFIED, 0
1062
1101
  value :SYSTEM_COMPONENTS, 1
1063
1102
  value :WORKLOADS, 2
1103
+ value :APISERVER, 3
1104
+ value :SCHEDULER, 4
1105
+ value :CONTROLLER_MANAGER, 5
1064
1106
  end
1065
1107
  add_message "google.container.v1.MonitoringConfig" do
1066
1108
  optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
@@ -1129,6 +1171,7 @@ module Google
1129
1171
  module Container
1130
1172
  module V1
1131
1173
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig").msgclass
1174
+ LinuxNodeConfig::CgroupMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig.CgroupMode").enummodule
1132
1175
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeKubeletConfig").msgclass
1133
1176
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
1134
1177
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdvancedMachineFeatures").msgclass
@@ -1145,6 +1188,7 @@ module Google
1145
1188
  NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint.Effect").enummodule
1146
1189
  NodeTaints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaints").msgclass
1147
1190
  NodeLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeLabels").msgclass
1191
+ ResourceLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceLabels").msgclass
1148
1192
  NetworkTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkTags").msgclass
1149
1193
  MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuth").msgclass
1150
1194
  ClientCertificateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClientCertificateConfig").msgclass
@@ -1215,6 +1259,8 @@ module Google
1215
1259
  NodePool::UpdateInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo").msgclass
1216
1260
  NodePool::UpdateInfo::BlueGreenInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo.BlueGreenInfo").msgclass
1217
1261
  NodePool::UpdateInfo::BlueGreenInfo::Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase").enummodule
1262
+ NodePool::PlacementPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.PlacementPolicy").msgclass
1263
+ NodePool::PlacementPolicy::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.PlacementPolicy.Type").enummodule
1218
1264
  NodePool::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.Status").enummodule
1219
1265
  NodeManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeManagement").msgclass
1220
1266
  AutoUpgradeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AutoUpgradeOptions").msgclass
@@ -1250,6 +1296,8 @@ module Google
1250
1296
  StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition").msgclass
1251
1297
  StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition.Code").enummodule
1252
1298
  NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkConfig").msgclass
1299
+ GatewayAPIConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GatewayAPIConfig").msgclass
1300
+ GatewayAPIConfig::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GatewayAPIConfig.Channel").enummodule
1253
1301
  ServiceExternalIPsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServiceExternalIPsConfig").msgclass
1254
1302
  GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigRequest").msgclass
1255
1303
  GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigResponse").msgclass
@@ -1282,6 +1330,7 @@ module Google
1282
1330
  DefaultSnatStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DefaultSnatStatus").msgclass
1283
1331
  ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedNodes").msgclass
1284
1332
  VirtualNIC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.VirtualNIC").msgclass
1333
+ FastSocket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.FastSocket").msgclass
1285
1334
  NotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig").msgclass
1286
1335
  NotificationConfig::PubSub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.PubSub").msgclass
1287
1336
  NotificationConfig::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.Filter").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,13 @@ 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] fast_socket
306
+ # @return [::Google::Cloud::Container::V1::FastSocket]
307
+ # Enable or disable NCCL fast socket for the node pool.
308
+ # @!attribute [rw] resource_labels
309
+ # @return [::Google::Protobuf::Map{::String => ::String}]
310
+ # The resource labels for the node pool to use to annotate any related
311
+ # Google Compute Engine resources.
287
312
  # @!attribute [rw] logging_config
288
313
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
289
314
  # Logging configuration.
@@ -308,6 +333,15 @@ module Google
308
333
  include ::Google::Protobuf::MessageExts
309
334
  extend ::Google::Protobuf::MessageExts::ClassMethods
310
335
  end
336
+
337
+ # @!attribute [rw] key
338
+ # @return [::String]
339
+ # @!attribute [rw] value
340
+ # @return [::String]
341
+ class ResourceLabelsEntry
342
+ include ::Google::Protobuf::MessageExts
343
+ extend ::Google::Protobuf::MessageExts::ClassMethods
344
+ end
311
345
  end
312
346
 
313
347
  # Specifies options for controlling advanced machine features.
@@ -363,6 +397,11 @@ module Google
363
397
  # Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
364
398
  #
365
399
  # This field cannot be changed after the node pool has been created.
400
+ # @!attribute [rw] enable_private_nodes
401
+ # @return [::Boolean]
402
+ # Whether nodes have internal IP addresses only.
403
+ # If enable_private_nodes is not specified, then the value is derived from
404
+ # [cluster.privateClusterConfig.enablePrivateNodes][google.container.v1beta1.PrivateClusterConfig.enablePrivateNodes]
366
405
  # @!attribute [rw] network_performance_config
367
406
  # @return [::Google::Cloud::Container::V1::NodeNetworkConfig::NetworkPerformanceConfig]
368
407
  # Network bandwidth tier configuration.
@@ -538,6 +577,25 @@ module Google
538
577
  end
539
578
  end
540
579
 
580
+ # Collection of [GCP
581
+ # labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
582
+ # @!attribute [rw] labels
583
+ # @return [::Google::Protobuf::Map{::String => ::String}]
584
+ # Map of node label keys and node label values.
585
+ class ResourceLabels
586
+ include ::Google::Protobuf::MessageExts
587
+ extend ::Google::Protobuf::MessageExts::ClassMethods
588
+
589
+ # @!attribute [rw] key
590
+ # @return [::String]
591
+ # @!attribute [rw] value
592
+ # @return [::String]
593
+ class LabelsEntry
594
+ include ::Google::Protobuf::MessageExts
595
+ extend ::Google::Protobuf::MessageExts::ClassMethods
596
+ end
597
+ end
598
+
541
599
  # Collection of Compute Engine network tags that can be applied to a node's
542
600
  # underlying VM instance.
543
601
  # @!attribute [rw] tags
@@ -741,6 +799,10 @@ module Google
741
799
  # @!attribute [rw] master_global_access_config
742
800
  # @return [::Google::Cloud::Container::V1::PrivateClusterMasterGlobalAccessConfig]
743
801
  # Controls master global access settings.
802
+ # @!attribute [rw] private_endpoint_subnetwork
803
+ # @return [::String]
804
+ # Subnet to provision the master's private endpoint during cluster creation.
805
+ # Specified in projects/*/regions/*/subnetworks/* format.
744
806
  class PrivateClusterConfig
745
807
  include ::Google::Protobuf::MessageExts
746
808
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -831,6 +893,9 @@ module Google
831
893
  # @return [::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>]
832
894
  # cidr_blocks define up to 50 external networks that could access
833
895
  # Kubernetes master through HTTPS.
896
+ # @!attribute [rw] gcp_public_cidrs_access_enabled
897
+ # @return [::Boolean]
898
+ # Whether master is accessbile via Google Compute Engine Public IP addresses.
834
899
  class MasterAuthorizedNetworksConfig
835
900
  include ::Google::Protobuf::MessageExts
836
901
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -891,9 +956,8 @@ module Google
891
956
  # anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
892
957
  # @!attribute [rw] evaluation_mode
893
958
  # @return [::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode]
894
- # Mode of operation for binauthz policy evaluation. Currently the only
895
- # options are equivalent to enable/disable. If unspecified, defaults to
896
- # DISABLED.
959
+ # Mode of operation for binauthz policy evaluation. If unspecified, defaults
960
+ # to DISABLED.
897
961
  class BinaryAuthorization
898
962
  include ::Google::Protobuf::MessageExts
899
963
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1574,6 +1638,9 @@ module Google
1574
1638
  # @return [::Google::Cloud::Container::V1::ServiceExternalIPsConfig]
1575
1639
  # ServiceExternalIPsConfig specifies the config for the use of Services with
1576
1640
  # ExternalIPs field.
1641
+ # @!attribute [rw] desired_enable_private_endpoint
1642
+ # @return [::Boolean]
1643
+ # Enable/Disable private endpoint for the cluster's master.
1577
1644
  # @!attribute [rw] desired_master_version
1578
1645
  # @return [::String]
1579
1646
  # The Kubernetes version to change the master to.
@@ -1593,6 +1660,9 @@ module Google
1593
1660
  # @return [::Google::Cloud::Container::V1::NetworkTags]
1594
1661
  # The desired network tags that apply to all auto-provisioned node pools
1595
1662
  # in autopilot clusters and node auto-provisioning enabled clusters.
1663
+ # @!attribute [rw] desired_gateway_api_config
1664
+ # @return [::Google::Cloud::Container::V1::GatewayAPIConfig]
1665
+ # The desired config of Gateway API on this cluster.
1596
1666
  # @!attribute [rw] desired_node_pool_logging_config
1597
1667
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1598
1668
  # The desired node pool logging configuration defaults for the cluster.
@@ -1945,9 +2015,16 @@ module Google
1945
2015
  # @!attribute [rw] gvnic
1946
2016
  # @return [::Google::Cloud::Container::V1::VirtualNIC]
1947
2017
  # Enable or disable gvnic on the node pool.
2018
+ # @!attribute [rw] fast_socket
2019
+ # @return [::Google::Cloud::Container::V1::FastSocket]
2020
+ # Enable or disable NCCL fast socket for the node pool.
1948
2021
  # @!attribute [rw] logging_config
1949
2022
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1950
2023
  # Logging configuration.
2024
+ # @!attribute [rw] resource_labels
2025
+ # @return [::Google::Cloud::Container::V1::ResourceLabels]
2026
+ # The resource labels for the node pool to use to annotate any related
2027
+ # Google Compute Engine resources.
1951
2028
  class UpdateNodePoolRequest
1952
2029
  include ::Google::Protobuf::MessageExts
1953
2030
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2546,7 +2623,7 @@ module Google
2546
2623
  # Standard rollout policy is the default policy for blue-green.
2547
2624
  # @!attribute [rw] batch_percentage
2548
2625
  # @return [::Float]
2549
- # Percentage of the bool pool nodes to drain in a batch.
2626
+ # Percentage of the blue pool nodes to drain in a batch.
2550
2627
  # The range of this field should be (0.0, 1.0].
2551
2628
  # @!attribute [rw] batch_node_count
2552
2629
  # @return [::Integer]
@@ -2635,6 +2712,9 @@ module Google
2635
2712
  # @!attribute [rw] upgrade_settings
2636
2713
  # @return [::Google::Cloud::Container::V1::NodePool::UpgradeSettings]
2637
2714
  # Upgrade settings control disruption and speed of the upgrade.
2715
+ # @!attribute [rw] placement_policy
2716
+ # @return [::Google::Cloud::Container::V1::NodePool::PlacementPolicy]
2717
+ # Specifies the node placement policy.
2638
2718
  # @!attribute [r] update_info
2639
2719
  # @return [::Google::Cloud::Container::V1::NodePool::UpdateInfo]
2640
2720
  # Output only. [Output only] Update info contains relevant information during a node
@@ -2772,6 +2852,26 @@ module Google
2772
2852
  end
2773
2853
  end
2774
2854
 
2855
+ # PlacementPolicy defines the placement policy used by the node pool.
2856
+ # @!attribute [rw] type
2857
+ # @return [::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type]
2858
+ # The type of placement.
2859
+ class PlacementPolicy
2860
+ include ::Google::Protobuf::MessageExts
2861
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2862
+
2863
+ # Type defines the type of placement policy.
2864
+ module Type
2865
+ # TYPE_UNSPECIFIED specifies no requirements on nodes
2866
+ # placement.
2867
+ TYPE_UNSPECIFIED = 0
2868
+
2869
+ # COMPACT specifies node placement in the same availability domain to
2870
+ # ensure low communication latency.
2871
+ COMPACT = 1
2872
+ end
2873
+ end
2874
+
2775
2875
  # The current status of the node pool instance.
2776
2876
  module Status
2777
2877
  # Not set.
@@ -3619,11 +3719,40 @@ module Google
3619
3719
  # @return [::Google::Cloud::Container::V1::ServiceExternalIPsConfig]
3620
3720
  # ServiceExternalIPsConfig specifies if services with externalIPs field are
3621
3721
  # blocked or not.
3722
+ # @!attribute [rw] gateway_api_config
3723
+ # @return [::Google::Cloud::Container::V1::GatewayAPIConfig]
3724
+ # GatewayAPIConfig contains the desired config of Gateway API on this
3725
+ # cluster.
3622
3726
  class NetworkConfig
3623
3727
  include ::Google::Protobuf::MessageExts
3624
3728
  extend ::Google::Protobuf::MessageExts::ClassMethods
3625
3729
  end
3626
3730
 
3731
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
3732
+ # @!attribute [rw] channel
3733
+ # @return [::Google::Cloud::Container::V1::GatewayAPIConfig::Channel]
3734
+ # The Gateway API release channel to use for Gateway API.
3735
+ class GatewayAPIConfig
3736
+ include ::Google::Protobuf::MessageExts
3737
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3738
+
3739
+ # Channel describes if/how Gateway API should be installed and implemented in
3740
+ # a cluster.
3741
+ module Channel
3742
+ # Default value.
3743
+ CHANNEL_UNSPECIFIED = 0
3744
+
3745
+ # Gateway API support is disabled
3746
+ CHANNEL_DISABLED = 1
3747
+
3748
+ # Gateway API support is enabled, experimental CRDs are installed
3749
+ CHANNEL_EXPERIMENTAL = 3
3750
+
3751
+ # Gateway API support is enabled, standard CRDs are installed
3752
+ CHANNEL_STANDARD = 4
3753
+ end
3754
+ end
3755
+
3627
3756
  # Config to block services with externalIPs field.
3628
3757
  # @!attribute [rw] enabled
3629
3758
  # @return [::Boolean]
@@ -4085,6 +4214,15 @@ module Google
4085
4214
  extend ::Google::Protobuf::MessageExts::ClassMethods
4086
4215
  end
4087
4216
 
4217
+ # Configuration of Fast Socket feature.
4218
+ # @!attribute [rw] enabled
4219
+ # @return [::Boolean]
4220
+ # Whether Fast Socket features are enabled in the node pool.
4221
+ class FastSocket
4222
+ include ::Google::Protobuf::MessageExts
4223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4224
+ end
4225
+
4088
4226
  # NotificationConfig is the configuration of notifications.
4089
4227
  # @!attribute [rw] pubsub
4090
4228
  # @return [::Google::Cloud::Container::V1::NotificationConfig::PubSub]
@@ -4278,6 +4416,15 @@ module Google
4278
4416
 
4279
4417
  # workloads
4280
4418
  WORKLOADS = 2
4419
+
4420
+ # kube-apiserver
4421
+ APISERVER = 3
4422
+
4423
+ # kube-scheduler
4424
+ SCHEDULER = 4
4425
+
4426
+ # kube-controller-manager
4427
+ CONTROLLER_MANAGER = 5
4281
4428
  end
4282
4429
  end
4283
4430
 
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.13.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-12-09 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