google-cloud-container-v1 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5062e182955d3f0155e3385dcf40af2e8c3dd0d611e382aecd391ceca2b935e
4
- data.tar.gz: 7e95a540b90af0633cb39ac7ddca0c082ec3151539fe1629723a05743a453278
3
+ metadata.gz: 4750d0e8d6b6719f01fb8d9246f22dfc4e8d10896f49676d7004f2f0411e1ff7
4
+ data.tar.gz: 813bf9e78bc13bce1f624c6a9e15916d4156daa6e03353376f185e3898a7f944
5
5
  SHA512:
6
- metadata.gz: 1ff9fcd5f7b51e816fad222a4fc626fd31bd7f10818a533082bc71b01c3d971a89e5ed46c5fa439f0addabbb9be245f82535ad925f0f8014ac82827067f92c49
7
- data.tar.gz: 564fd682a6da1ca5aecced447215b196ff0fce061dca7c5ca086b30faed6ad6cdac31e4feba22638088617713a2d9cdc585b6a606ea5f5581513b2594171bf0d
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.10.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
@@ -137,6 +148,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
137
148
  optional :config_connector_config, :message, 10, "google.container.v1.ConfigConnectorConfig"
138
149
  optional :gce_persistent_disk_csi_driver_config, :message, 11, "google.container.v1.GcePersistentDiskCsiDriverConfig"
139
150
  optional :gcp_filestore_csi_driver_config, :message, 14, "google.container.v1.GcpFilestoreCsiDriverConfig"
151
+ optional :gke_backup_agent_config, :message, 16, "google.container.v1.GkeBackupAgentConfig"
140
152
  end
141
153
  add_message "google.container.v1.HttpLoadBalancing" do
142
154
  optional :disabled, :bool, 1
@@ -164,6 +176,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
164
176
  optional :public_endpoint, :string, 5
165
177
  optional :peering_name, :string, 7
166
178
  optional :master_global_access_config, :message, 8, "google.container.v1.PrivateClusterMasterGlobalAccessConfig"
179
+ optional :private_endpoint_subnetwork, :string, 10
167
180
  end
168
181
  add_message "google.container.v1.AuthenticatorGroupsConfig" do
169
182
  optional :enabled, :bool, 1
@@ -187,9 +200,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
187
200
  add_message "google.container.v1.GcpFilestoreCsiDriverConfig" do
188
201
  optional :enabled, :bool, 1
189
202
  end
203
+ add_message "google.container.v1.GkeBackupAgentConfig" do
204
+ optional :enabled, :bool, 1
205
+ end
190
206
  add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
191
207
  optional :enabled, :bool, 1
192
208
  repeated :cidr_blocks, :message, 2, "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock"
209
+ proto3_optional :gcp_public_cidrs_access_enabled, :bool, 3
193
210
  end
194
211
  add_message "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock" do
195
212
  optional :display_name, :string, 1
@@ -229,6 +246,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
229
246
  optional :services_ipv4_cidr_block, :string, 11
230
247
  optional :tpu_ipv4_cidr_block, :string, 13
231
248
  optional :use_routes, :bool, 15
249
+ optional :stack_type, :enum, 16, "google.container.v1.StackType"
250
+ optional :ipv6_access_type, :enum, 17, "google.container.v1.IPv6AccessType"
232
251
  end
233
252
  add_message "google.container.v1.Cluster" do
234
253
  optional :name, :string, 1
@@ -265,6 +284,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
265
284
  optional :release_channel, :message, 41, "google.container.v1.ReleaseChannel"
266
285
  optional :workload_identity_config, :message, 43, "google.container.v1.WorkloadIdentityConfig"
267
286
  optional :mesh_certificates, :message, 67, "google.container.v1.MeshCertificates"
287
+ optional :cost_management_config, :message, 45, "google.container.v1.CostManagementConfig"
268
288
  optional :notification_config, :message, 49, "google.container.v1.NotificationConfig"
269
289
  optional :confidential_nodes, :message, 50, "google.container.v1.ConfidentialNodes"
270
290
  optional :identity_service_config, :message, 54, "google.container.v1.IdentityServiceConfig"
@@ -322,6 +342,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
322
342
  optional :desired_workload_identity_config, :message, 47, "google.container.v1.WorkloadIdentityConfig"
323
343
  optional :desired_mesh_certificates, :message, 67, "google.container.v1.MeshCertificates"
324
344
  optional :desired_shielded_nodes, :message, 48, "google.container.v1.ShieldedNodes"
345
+ optional :desired_cost_management_config, :message, 49, "google.container.v1.CostManagementConfig"
325
346
  optional :desired_dns_config, :message, 53, "google.container.v1.DNSConfig"
326
347
  optional :desired_node_pool_autoscaling, :message, 9, "google.container.v1.NodePoolAutoscaling"
327
348
  repeated :desired_locations, :string, 10
@@ -344,9 +365,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
344
365
  optional :desired_monitoring_config, :message, 65, "google.container.v1.MonitoringConfig"
345
366
  optional :desired_identity_service_config, :message, 66, "google.container.v1.IdentityServiceConfig"
346
367
  optional :desired_service_external_ips_config, :message, 60, "google.container.v1.ServiceExternalIPsConfig"
368
+ proto3_optional :desired_enable_private_endpoint, :bool, 71
347
369
  optional :desired_master_version, :string, 100
348
370
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
349
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"
350
373
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
351
374
  end
352
375
  add_message "google.container.v1.Operation" do
@@ -446,6 +469,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
446
469
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
447
470
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
448
471
  optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
472
+ optional :resource_labels, :message, 33, "google.container.v1.ResourceLabels"
449
473
  end
450
474
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
451
475
  optional :project_id, :string, 1
@@ -615,6 +639,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
615
639
  repeated :conditions, :message, 105, "google.container.v1.StatusCondition"
616
640
  optional :pod_ipv4_cidr_size, :int32, 7
617
641
  optional :upgrade_settings, :message, 107, "google.container.v1.NodePool.UpgradeSettings"
642
+ optional :placement_policy, :message, 108, "google.container.v1.NodePool.PlacementPolicy"
618
643
  optional :update_info, :message, 109, "google.container.v1.NodePool.UpdateInfo"
619
644
  end
620
645
  add_message "google.container.v1.NodePool.UpgradeSettings" do
@@ -643,6 +668,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
643
668
  value :DELETING_BLUE_POOL, 6
644
669
  value :ROLLBACK_STARTED, 7
645
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
646
678
  add_enum "google.container.v1.NodePool.Status" do
647
679
  value :STATUS_UNSPECIFIED, 0
648
680
  value :PROVISIONING, 1
@@ -856,6 +888,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
856
888
  optional :private_ipv6_google_access, :enum, 12, "google.container.v1.PrivateIPv6GoogleAccess"
857
889
  optional :dns_config, :message, 13, "google.container.v1.DNSConfig"
858
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
859
901
  end
860
902
  add_message "google.container.v1.ServiceExternalIPsConfig" do
861
903
  optional :enabled, :bool, 1
@@ -898,6 +940,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
898
940
  value :REGULAR, 2
899
941
  value :STABLE, 3
900
942
  end
943
+ add_message "google.container.v1.CostManagementConfig" do
944
+ optional :enabled, :bool, 1
945
+ end
901
946
  add_message "google.container.v1.IntraNodeVisibilityConfig" do
902
947
  optional :enabled, :bool, 1
903
948
  end
@@ -1050,6 +1095,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1050
1095
  value :COMPONENT_UNSPECIFIED, 0
1051
1096
  value :SYSTEM_COMPONENTS, 1
1052
1097
  value :WORKLOADS, 2
1098
+ value :APISERVER, 3
1099
+ value :SCHEDULER, 4
1100
+ value :CONTROLLER_MANAGER, 5
1053
1101
  end
1054
1102
  add_message "google.container.v1.MonitoringConfig" do
1055
1103
  optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
@@ -1100,6 +1148,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1100
1148
  value :BLUE_GREEN, 2
1101
1149
  value :SURGE, 3
1102
1150
  end
1151
+ add_enum "google.container.v1.StackType" do
1152
+ value :STACK_TYPE_UNSPECIFIED, 0
1153
+ value :IPV4, 1
1154
+ value :IPV4_IPV6, 2
1155
+ end
1156
+ add_enum "google.container.v1.IPv6AccessType" do
1157
+ value :IPV6_ACCESS_TYPE_UNSPECIFIED, 0
1158
+ value :INTERNAL, 1
1159
+ value :EXTERNAL, 2
1160
+ end
1103
1161
  end
1104
1162
  end
1105
1163
 
@@ -1108,6 +1166,7 @@ module Google
1108
1166
  module Container
1109
1167
  module V1
1110
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
1111
1170
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeKubeletConfig").msgclass
1112
1171
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
1113
1172
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdvancedMachineFeatures").msgclass
@@ -1124,6 +1183,7 @@ module Google
1124
1183
  NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint.Effect").enummodule
1125
1184
  NodeTaints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaints").msgclass
1126
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
1127
1187
  NetworkTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkTags").msgclass
1128
1188
  MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuth").msgclass
1129
1189
  ClientCertificateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClientCertificateConfig").msgclass
@@ -1141,6 +1201,7 @@ module Google
1141
1201
  ConfigConnectorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ConfigConnectorConfig").msgclass
1142
1202
  GcePersistentDiskCsiDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcePersistentDiskCsiDriverConfig").msgclass
1143
1203
  GcpFilestoreCsiDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcpFilestoreCsiDriverConfig").msgclass
1204
+ GkeBackupAgentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GkeBackupAgentConfig").msgclass
1144
1205
  MasterAuthorizedNetworksConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig").msgclass
1145
1206
  MasterAuthorizedNetworksConfig::CidrBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock").msgclass
1146
1207
  LegacyAbac = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LegacyAbac").msgclass
@@ -1193,6 +1254,8 @@ module Google
1193
1254
  NodePool::UpdateInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo").msgclass
1194
1255
  NodePool::UpdateInfo::BlueGreenInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpdateInfo.BlueGreenInfo").msgclass
1195
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
1196
1259
  NodePool::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.Status").enummodule
1197
1260
  NodeManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeManagement").msgclass
1198
1261
  AutoUpgradeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AutoUpgradeOptions").msgclass
@@ -1228,6 +1291,8 @@ module Google
1228
1291
  StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition").msgclass
1229
1292
  StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition.Code").enummodule
1230
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
1231
1296
  ServiceExternalIPsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServiceExternalIPsConfig").msgclass
1232
1297
  GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigRequest").msgclass
1233
1298
  GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigResponse").msgclass
@@ -1236,6 +1301,7 @@ module Google
1236
1301
  GetJSONWebKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysResponse").msgclass
1237
1302
  ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel").msgclass
1238
1303
  ReleaseChannel::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel.Channel").enummodule
1304
+ CostManagementConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CostManagementConfig").msgclass
1239
1305
  IntraNodeVisibilityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IntraNodeVisibilityConfig").msgclass
1240
1306
  ILBSubsettingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ILBSubsettingConfig").msgclass
1241
1307
  DNSConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DNSConfig").msgclass
@@ -1282,6 +1348,8 @@ module Google
1282
1348
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeResourceType").enummodule
1283
1349
  DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatapathProvider").enummodule
1284
1350
  NodePoolUpdateStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolUpdateStrategy").enummodule
1351
+ StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StackType").enummodule
1352
+ IPv6AccessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IPv6AccessType").enummodule
1285
1353
  end
1286
1354
  end
1287
1355
  end
@@ -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
@@ -643,6 +698,9 @@ module Google
643
698
  # @!attribute [rw] gcp_filestore_csi_driver_config
644
699
  # @return [::Google::Cloud::Container::V1::GcpFilestoreCsiDriverConfig]
645
700
  # Configuration for the GCP Filestore CSI driver.
701
+ # @!attribute [rw] gke_backup_agent_config
702
+ # @return [::Google::Cloud::Container::V1::GkeBackupAgentConfig]
703
+ # Configuration for the Backup for GKE agent addon.
646
704
  class AddonsConfig
647
705
  include ::Google::Protobuf::MessageExts
648
706
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -738,6 +796,10 @@ module Google
738
796
  # @!attribute [rw] master_global_access_config
739
797
  # @return [::Google::Cloud::Container::V1::PrivateClusterMasterGlobalAccessConfig]
740
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.
741
803
  class PrivateClusterConfig
742
804
  include ::Google::Protobuf::MessageExts
743
805
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -808,6 +870,15 @@ module Google
808
870
  extend ::Google::Protobuf::MessageExts::ClassMethods
809
871
  end
810
872
 
873
+ # Configuration for the Backup for GKE Agent.
874
+ # @!attribute [rw] enabled
875
+ # @return [::Boolean]
876
+ # Whether the Backup for GKE agent is enabled for this cluster.
877
+ class GkeBackupAgentConfig
878
+ include ::Google::Protobuf::MessageExts
879
+ extend ::Google::Protobuf::MessageExts::ClassMethods
880
+ end
881
+
811
882
  # Configuration options for the master authorized networks feature. Enabled
812
883
  # master authorized networks will disallow all external traffic to access
813
884
  # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@@ -819,6 +890,9 @@ module Google
819
890
  # @return [::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>]
820
891
  # cidr_blocks define up to 50 external networks that could access
821
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.
822
896
  class MasterAuthorizedNetworksConfig
823
897
  include ::Google::Protobuf::MessageExts
824
898
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1018,6 +1092,12 @@ module Google
1018
1092
  # This is used in conjunction with use_ip_aliases. It cannot be true if
1019
1093
  # use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
1020
1094
  # then the server picks the default IP allocation mode
1095
+ # @!attribute [rw] stack_type
1096
+ # @return [::Google::Cloud::Container::V1::StackType]
1097
+ # The IP stack type of the cluster
1098
+ # @!attribute [rw] ipv6_access_type
1099
+ # @return [::Google::Cloud::Container::V1::IPv6AccessType]
1100
+ # The ipv6 access type (internal or external) when create_subnetwork is true
1021
1101
  class IPAllocationPolicy
1022
1102
  include ::Google::Protobuf::MessageExts
1023
1103
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1206,6 +1286,9 @@ module Google
1206
1286
  # @return [::Google::Cloud::Container::V1::MeshCertificates]
1207
1287
  # Configuration for issuance of mTLS keys and certificates to Kubernetes
1208
1288
  # pods.
1289
+ # @!attribute [rw] cost_management_config
1290
+ # @return [::Google::Cloud::Container::V1::CostManagementConfig]
1291
+ # Configuration for the fine-grained cost management feature.
1209
1292
  # @!attribute [rw] notification_config
1210
1293
  # @return [::Google::Cloud::Container::V1::NotificationConfig]
1211
1294
  # Notification configuration of the cluster.
@@ -1463,6 +1546,9 @@ module Google
1463
1546
  # @!attribute [rw] desired_shielded_nodes
1464
1547
  # @return [::Google::Cloud::Container::V1::ShieldedNodes]
1465
1548
  # Configuration for Shielded Nodes.
1549
+ # @!attribute [rw] desired_cost_management_config
1550
+ # @return [::Google::Cloud::Container::V1::CostManagementConfig]
1551
+ # The desired configuration for the fine-grained cost management feature.
1466
1552
  # @!attribute [rw] desired_dns_config
1467
1553
  # @return [::Google::Cloud::Container::V1::DNSConfig]
1468
1554
  # DNSConfig contains clusterDNS config for this cluster.
@@ -1550,6 +1636,9 @@ module Google
1550
1636
  # @return [::Google::Cloud::Container::V1::ServiceExternalIPsConfig]
1551
1637
  # ServiceExternalIPsConfig specifies the config for the use of Services with
1552
1638
  # ExternalIPs field.
1639
+ # @!attribute [rw] desired_enable_private_endpoint
1640
+ # @return [::Boolean]
1641
+ # Enable/Disable private endpoint for the cluster's master.
1553
1642
  # @!attribute [rw] desired_master_version
1554
1643
  # @return [::String]
1555
1644
  # The Kubernetes version to change the master to.
@@ -1569,6 +1658,9 @@ module Google
1569
1658
  # @return [::Google::Cloud::Container::V1::NetworkTags]
1570
1659
  # The desired network tags that apply to all auto-provisioned node pools
1571
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.
1572
1664
  # @!attribute [rw] desired_node_pool_logging_config
1573
1665
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1574
1666
  # The desired node pool logging configuration defaults for the cluster.
@@ -1924,6 +2016,10 @@ module Google
1924
2016
  # @!attribute [rw] logging_config
1925
2017
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1926
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.
1927
2023
  class UpdateNodePoolRequest
1928
2024
  include ::Google::Protobuf::MessageExts
1929
2025
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2522,7 +2618,7 @@ module Google
2522
2618
  # Standard rollout policy is the default policy for blue-green.
2523
2619
  # @!attribute [rw] batch_percentage
2524
2620
  # @return [::Float]
2525
- # Percentage of the bool pool nodes to drain in a batch.
2621
+ # Percentage of the blue pool nodes to drain in a batch.
2526
2622
  # The range of this field should be (0.0, 1.0].
2527
2623
  # @!attribute [rw] batch_node_count
2528
2624
  # @return [::Integer]
@@ -2611,6 +2707,9 @@ module Google
2611
2707
  # @!attribute [rw] upgrade_settings
2612
2708
  # @return [::Google::Cloud::Container::V1::NodePool::UpgradeSettings]
2613
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.
2614
2713
  # @!attribute [r] update_info
2615
2714
  # @return [::Google::Cloud::Container::V1::NodePool::UpdateInfo]
2616
2715
  # Output only. [Output only] Update info contains relevant information during a node
@@ -2748,6 +2847,26 @@ module Google
2748
2847
  end
2749
2848
  end
2750
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
+
2751
2870
  # The current status of the node pool instance.
2752
2871
  module Status
2753
2872
  # Not set.
@@ -3595,11 +3714,40 @@ module Google
3595
3714
  # @return [::Google::Cloud::Container::V1::ServiceExternalIPsConfig]
3596
3715
  # ServiceExternalIPsConfig specifies if services with externalIPs field are
3597
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.
3598
3721
  class NetworkConfig
3599
3722
  include ::Google::Protobuf::MessageExts
3600
3723
  extend ::Google::Protobuf::MessageExts::ClassMethods
3601
3724
  end
3602
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
+
3603
3751
  # Config to block services with externalIPs field.
3604
3752
  # @!attribute [rw] enabled
3605
3753
  # @return [::Boolean]
@@ -3741,6 +3889,15 @@ module Google
3741
3889
  end
3742
3890
  end
3743
3891
 
3892
+ # Configuration for fine-grained cost management feature.
3893
+ # @!attribute [rw] enabled
3894
+ # @return [::Boolean]
3895
+ # Whether the feature is enabled or not.
3896
+ class CostManagementConfig
3897
+ include ::Google::Protobuf::MessageExts
3898
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3899
+ end
3900
+
3744
3901
  # IntraNodeVisibilityConfig contains the desired config of the intra-node
3745
3902
  # visibility on this cluster.
3746
3903
  # @!attribute [rw] enabled
@@ -4245,6 +4402,15 @@ module Google
4245
4402
 
4246
4403
  # workloads
4247
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
4248
4414
  end
4249
4415
  end
4250
4416
 
@@ -4386,6 +4552,30 @@ module Google
4386
4552
  # max_surge and max_unavailable determines the level of upgrade parallelism.
4387
4553
  SURGE = 3
4388
4554
  end
4555
+
4556
+ # Possible values for IP stack type
4557
+ module StackType
4558
+ # Default value, will be defaulted as IPV4 only
4559
+ STACK_TYPE_UNSPECIFIED = 0
4560
+
4561
+ # Cluster is IPV4 only
4562
+ IPV4 = 1
4563
+
4564
+ # Cluster can use both IPv4 and IPv6
4565
+ IPV4_IPV6 = 2
4566
+ end
4567
+
4568
+ # Possible values for IPv6 access type
4569
+ module IPv6AccessType
4570
+ # Default value, will be defaulted as type external.
4571
+ IPV6_ACCESS_TYPE_UNSPECIFIED = 0
4572
+
4573
+ # Access type internal (all v6 addresses are internal IPs)
4574
+ INTERNAL = 1
4575
+
4576
+ # Access type external (all v6 addresses are external IPs)
4577
+ EXTERNAL = 2
4578
+ end
4389
4579
  end
4390
4580
  end
4391
4581
  end
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.10.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-09-16 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: '0.12'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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