google-cloud-container-v1 0.7.3 → 0.8.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: 3ab7cf0d7799df6a0a06cbf2e18d4b758043ac129af7e9d147caf17235ed140a
4
- data.tar.gz: 2082d11e83defdafa5e53d32bdc5226e5114a58d5d10910a9750318c5b510255
3
+ metadata.gz: 0f5671acdb8790167ed78733df1ee3a8f03b64d450f3051644e96908e171a59e
4
+ data.tar.gz: eb2d3d8317d9f42e9b19244ac07f494d0c93cc24d869da1e59f40315c64c1b13
5
5
  SHA512:
6
- metadata.gz: 89b47361760905da211769842b1bcc69d7ceea0bd226f886ab82fbeadcff3d0777da03ea61a109c9c4aafb20d6ad593d21d276fffd59158e0c509232549495de
7
- data.tar.gz: 31fa7d361916180111ed92d132580018138483a38b16a8eede3fda8e763f16ad7d53161d4b55ef97c267f8e5b802210d30ee9cb0d5521f0aa776758d773d02c9
6
+ metadata.gz: 731727dadeeae2de465da199203f892117afb9414fc158df8f538240f35dfd81816e69f26b37e799e1c5310b3a1066edd50d126b5ba715ee828f29dae914df08
7
+ data.tar.gz: 5a6a2878f1e00895be402b45fc253be474ba74e3304082ce139060d1b6d3c4b2cfef00d12830f026266d337a05841b01a54d126654e25ca13b10b91e74ca5372
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Container::V1::ListClustersRequest.new # (request fie
37
37
  response = client.list_clusters request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-container-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-container-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/kubernetes-engine)
@@ -30,6 +30,8 @@ module Google
30
30
  # Google Kubernetes Engine Cluster Manager v1
31
31
  #
32
32
  class Client
33
+ include Paths
34
+
33
35
  # @private
34
36
  attr_reader :cluster_manager_stub
35
37
 
@@ -648,7 +650,7 @@ module Google
648
650
  # @param options [::Gapic::CallOptions, ::Hash]
649
651
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
650
652
  #
651
- # @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)
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, linux_node_config: nil, kubelet_config: nil, gcfs_config: nil, gvnic: nil)
652
654
  # Pass arguments to `update_node_pool` via keyword arguments. Note that at
653
655
  # least one keyword argument is required. To specify no parameters, or to keep all
654
656
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -696,6 +698,14 @@ module Google
696
698
  # The desired workload metadata config for the node pool.
697
699
  # @param upgrade_settings [::Google::Cloud::Container::V1::NodePool::UpgradeSettings, ::Hash]
698
700
  # Upgrade settings control disruption and speed of the upgrade.
701
+ # @param linux_node_config [::Google::Cloud::Container::V1::LinuxNodeConfig, ::Hash]
702
+ # Parameters that can be configured on Linux nodes.
703
+ # @param kubelet_config [::Google::Cloud::Container::V1::NodeKubeletConfig, ::Hash]
704
+ # Node kubelet configs.
705
+ # @param gcfs_config [::Google::Cloud::Container::V1::GcfsConfig, ::Hash]
706
+ # GCFS config.
707
+ # @param gvnic [::Google::Cloud::Container::V1::VirtualNIC, ::Hash]
708
+ # Enable or disable gvnic on the node pool.
699
709
  #
700
710
  # @yield [response, operation] Access the result along with the RPC operation
701
711
  # @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -3108,7 +3118,9 @@ module Google
3108
3118
  end
3109
3119
 
3110
3120
  ##
3111
- # Sets the size for a specific node pool.
3121
+ # Sets the size for a specific node pool. The new size will be used for all
3122
+ # replicas, including future replicas created by modifying
3123
+ # {::Google::Cloud::Container::V1::NodePool#locations NodePool.locations}.
3112
3124
  #
3113
3125
  # @overload set_node_pool_size(request, options = nil)
3114
3126
  # Pass arguments to `set_node_pool_size` via a request object, either of type
@@ -0,0 +1,50 @@
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 Cloud
22
+ module Container
23
+ module V1
24
+ module ClusterManager
25
+ # Path helper methods for the ClusterManager API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Topic resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/topics/{topic}`
33
+ #
34
+ # @param project [String]
35
+ # @param topic [String]
36
+ #
37
+ # @return [::String]
38
+ def topic_path project:, topic:
39
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
40
+
41
+ "projects/#{project}/topics/#{topic}"
42
+ end
43
+
44
+ extend self
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -23,6 +23,7 @@ require "gapic/config/method"
23
23
  require "google/cloud/container/v1/version"
24
24
 
25
25
  require "google/cloud/container/v1/cluster_manager/credentials"
26
+ require "google/cloud/container/v1/cluster_manager/paths"
26
27
  require "google/cloud/container/v1/cluster_manager/client"
27
28
 
28
29
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.7.3"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -4,12 +4,24 @@
4
4
  require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
7
8
  require 'google/protobuf/empty_pb'
8
9
  require 'google/protobuf/timestamp_pb'
10
+ require 'google/protobuf/wrappers_pb'
11
+ require 'google/rpc/code_pb'
12
+ require 'google/rpc/status_pb'
9
13
  require 'google/protobuf'
10
14
 
11
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
16
  add_file("google/container/v1/cluster_service.proto", :syntax => :proto3) do
17
+ add_message "google.container.v1.LinuxNodeConfig" do
18
+ map :sysctls, :string, :string, 1
19
+ end
20
+ add_message "google.container.v1.NodeKubeletConfig" do
21
+ optional :cpu_manager_policy, :string, 1
22
+ optional :cpu_cfs_quota, :message, 2, "google.protobuf.BoolValue"
23
+ optional :cpu_cfs_quota_period, :string, 3
24
+ end
13
25
  add_message "google.container.v1.NodeConfig" do
14
26
  optional :machine_type, :string, 1
15
27
  optional :disk_size_gb, :int32, 2
@@ -30,7 +42,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
42
  optional :node_group, :string, 18
31
43
  optional :reservation_affinity, :message, 19, "google.container.v1.ReservationAffinity"
32
44
  optional :shielded_instance_config, :message, 20, "google.container.v1.ShieldedInstanceConfig"
45
+ optional :linux_node_config, :message, 21, "google.container.v1.LinuxNodeConfig"
46
+ optional :kubelet_config, :message, 22, "google.container.v1.NodeKubeletConfig"
33
47
  optional :boot_disk_kms_key, :string, 23
48
+ optional :gcfs_config, :message, 25, "google.container.v1.GcfsConfig"
49
+ optional :advanced_machine_features, :message, 26, "google.container.v1.AdvancedMachineFeatures"
50
+ optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
51
+ end
52
+ add_message "google.container.v1.AdvancedMachineFeatures" do
53
+ proto3_optional :threads_per_core, :int64, 1
54
+ end
55
+ add_message "google.container.v1.NodeNetworkConfig" do
56
+ optional :create_pod_range, :bool, 4
57
+ optional :pod_range, :string, 5
58
+ optional :pod_ipv4_cidr_block, :string, 6
34
59
  end
35
60
  add_message "google.container.v1.ShieldedInstanceConfig" do
36
61
  optional :enable_secure_boot, :bool, 1
@@ -43,6 +68,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
68
  value :UNSPECIFIED, 0
44
69
  value :GVISOR, 1
45
70
  end
71
+ add_message "google.container.v1.GcfsConfig" do
72
+ optional :enabled, :bool, 1
73
+ end
46
74
  add_message "google.container.v1.ReservationAffinity" do
47
75
  optional :consume_reservation_type, :enum, 1, "google.container.v1.ReservationAffinity.Type"
48
76
  optional :key, :string, 2
@@ -84,6 +112,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
84
112
  optional :cloud_run_config, :message, 7, "google.container.v1.CloudRunConfig"
85
113
  optional :dns_cache_config, :message, 8, "google.container.v1.DnsCacheConfig"
86
114
  optional :config_connector_config, :message, 10, "google.container.v1.ConfigConnectorConfig"
115
+ optional :gce_persistent_disk_csi_driver_config, :message, 11, "google.container.v1.GcePersistentDiskCsiDriverConfig"
116
+ optional :gcp_filestore_csi_driver_config, :message, 14, "google.container.v1.GcpFilestoreCsiDriverConfig"
87
117
  end
88
118
  add_message "google.container.v1.HttpLoadBalancing" do
89
119
  optional :disabled, :bool, 1
@@ -128,6 +158,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
128
158
  add_message "google.container.v1.ConfigConnectorConfig" do
129
159
  optional :enabled, :bool, 1
130
160
  end
161
+ add_message "google.container.v1.GcePersistentDiskCsiDriverConfig" do
162
+ optional :enabled, :bool, 1
163
+ end
164
+ add_message "google.container.v1.GcpFilestoreCsiDriverConfig" do
165
+ optional :enabled, :bool, 1
166
+ end
131
167
  add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
132
168
  optional :enabled, :bool, 1
133
169
  repeated :cidr_blocks, :message, 2, "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock"
@@ -199,6 +235,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
199
235
  optional :shielded_nodes, :message, 40, "google.container.v1.ShieldedNodes"
200
236
  optional :release_channel, :message, 41, "google.container.v1.ReleaseChannel"
201
237
  optional :workload_identity_config, :message, 43, "google.container.v1.WorkloadIdentityConfig"
238
+ optional :mesh_certificates, :message, 67, "google.container.v1.MeshCertificates"
239
+ optional :notification_config, :message, 49, "google.container.v1.NotificationConfig"
240
+ optional :confidential_nodes, :message, 50, "google.container.v1.ConfidentialNodes"
202
241
  optional :self_link, :string, 100
203
242
  optional :zone, :string, 101
204
243
  optional :endpoint, :string, 102
@@ -217,6 +256,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
217
256
  optional :enable_tpu, :bool, 115
218
257
  optional :tpu_ipv4_cidr_block, :string, 116
219
258
  repeated :conditions, :message, 118, "google.container.v1.StatusCondition"
259
+ optional :autopilot, :message, 128, "google.container.v1.Autopilot"
260
+ optional :id, :string, 129
261
+ proto3_optional :node_pool_defaults, :message, 131, "google.container.v1.NodePoolDefaults"
262
+ optional :logging_config, :message, 132, "google.container.v1.LoggingConfig"
263
+ optional :monitoring_config, :message, 133, "google.container.v1.MonitoringConfig"
220
264
  end
221
265
  add_enum "google.container.v1.Cluster.Status" do
222
266
  value :STATUS_UNSPECIFIED, 0
@@ -227,6 +271,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
227
271
  value :ERROR, 5
228
272
  value :DEGRADED, 6
229
273
  end
274
+ add_message "google.container.v1.NodePoolDefaults" do
275
+ optional :node_config_defaults, :message, 1, "google.container.v1.NodeConfigDefaults"
276
+ end
277
+ add_message "google.container.v1.NodeConfigDefaults" do
278
+ optional :gcfs_config, :message, 1, "google.container.v1.GcfsConfig"
279
+ end
230
280
  add_message "google.container.v1.ClusterUpdate" do
231
281
  optional :desired_node_version, :string, 4
232
282
  optional :desired_monitoring_service, :string, 5
@@ -235,7 +285,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
235
285
  optional :desired_image_type, :string, 8
236
286
  optional :desired_database_encryption, :message, 46, "google.container.v1.DatabaseEncryption"
237
287
  optional :desired_workload_identity_config, :message, 47, "google.container.v1.WorkloadIdentityConfig"
288
+ optional :desired_mesh_certificates, :message, 67, "google.container.v1.MeshCertificates"
238
289
  optional :desired_shielded_nodes, :message, 48, "google.container.v1.ShieldedNodes"
290
+ optional :desired_dns_config, :message, 53, "google.container.v1.DNSConfig"
239
291
  optional :desired_node_pool_autoscaling, :message, 9, "google.container.v1.NodePoolAutoscaling"
240
292
  repeated :desired_locations, :string, 10
241
293
  optional :desired_master_authorized_networks_config, :message, 12, "google.container.v1.MasterAuthorizedNetworksConfig"
@@ -248,8 +300,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
248
300
  optional :desired_intra_node_visibility_config, :message, 26, "google.container.v1.IntraNodeVisibilityConfig"
249
301
  optional :desired_default_snat_status, :message, 28, "google.container.v1.DefaultSnatStatus"
250
302
  optional :desired_release_channel, :message, 31, "google.container.v1.ReleaseChannel"
303
+ optional :desired_l4ilb_subsetting_config, :message, 39, "google.container.v1.ILBSubsettingConfig"
304
+ optional :desired_datapath_provider, :enum, 50, "google.container.v1.DatapathProvider"
305
+ optional :desired_private_ipv6_google_access, :enum, 51, "google.container.v1.PrivateIPv6GoogleAccess"
306
+ optional :desired_notification_config, :message, 55, "google.container.v1.NotificationConfig"
251
307
  optional :desired_authenticator_groups_config, :message, 63, "google.container.v1.AuthenticatorGroupsConfig"
308
+ optional :desired_logging_config, :message, 64, "google.container.v1.LoggingConfig"
309
+ optional :desired_monitoring_config, :message, 65, "google.container.v1.MonitoringConfig"
310
+ optional :desired_service_external_ips_config, :message, 60, "google.container.v1.ServiceExternalIPsConfig"
252
311
  optional :desired_master_version, :string, 100
312
+ optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
253
313
  end
254
314
  add_message "google.container.v1.Operation" do
255
315
  optional :name, :string, 1
@@ -266,6 +326,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
266
326
  optional :progress, :message, 12, "google.container.v1.OperationProgress"
267
327
  repeated :cluster_conditions, :message, 13, "google.container.v1.StatusCondition"
268
328
  repeated :nodepool_conditions, :message, 14, "google.container.v1.StatusCondition"
329
+ optional :error, :message, 15, "google.rpc.Status"
269
330
  end
270
331
  add_enum "google.container.v1.Operation.Status" do
271
332
  value :STATUS_UNSPECIFIED, 0
@@ -337,6 +398,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
337
398
  repeated :locations, :string, 13
338
399
  optional :workload_metadata_config, :message, 14, "google.container.v1.WorkloadMetadataConfig"
339
400
  optional :upgrade_settings, :message, 15, "google.container.v1.NodePool.UpgradeSettings"
401
+ optional :linux_node_config, :message, 19, "google.container.v1.LinuxNodeConfig"
402
+ optional :kubelet_config, :message, 20, "google.container.v1.NodeKubeletConfig"
403
+ optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
404
+ optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
340
405
  end
341
406
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
342
407
  optional :project_id, :string, 1
@@ -481,6 +546,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
481
546
  optional :config, :message, 2, "google.container.v1.NodeConfig"
482
547
  optional :initial_node_count, :int32, 3
483
548
  repeated :locations, :string, 13
549
+ optional :network_config, :message, 14, "google.container.v1.NodeNetworkConfig"
484
550
  optional :self_link, :string, 100
485
551
  optional :version, :string, 101
486
552
  repeated :instance_group_urls, :string, 102
@@ -529,6 +595,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
529
595
  add_message "google.container.v1.TimeWindow" do
530
596
  optional :start_time, :message, 1, "google.protobuf.Timestamp"
531
597
  optional :end_time, :message, 2, "google.protobuf.Timestamp"
598
+ oneof :options do
599
+ optional :maintenance_exclusion_options, :message, 3, "google.container.v1.MaintenanceExclusionOptions"
600
+ end
601
+ end
602
+ add_message "google.container.v1.MaintenanceExclusionOptions" do
603
+ optional :scope, :enum, 1, "google.container.v1.MaintenanceExclusionOptions.Scope"
604
+ end
605
+ add_enum "google.container.v1.MaintenanceExclusionOptions.Scope" do
606
+ value :NO_UPGRADES, 0
607
+ value :NO_MINOR_UPGRADES, 1
608
+ value :NO_MINOR_OR_NODE_UPGRADES, 2
532
609
  end
533
610
  add_message "google.container.v1.RecurringTimeWindow" do
534
611
  optional :window, :message, 1, "google.container.v1.TimeWindow"
@@ -567,9 +644,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
567
644
  add_message "google.container.v1.ClusterAutoscaling" do
568
645
  optional :enable_node_autoprovisioning, :bool, 1
569
646
  repeated :resource_limits, :message, 2, "google.container.v1.ResourceLimit"
647
+ optional :autoscaling_profile, :enum, 3, "google.container.v1.ClusterAutoscaling.AutoscalingProfile"
570
648
  optional :autoprovisioning_node_pool_defaults, :message, 4, "google.container.v1.AutoprovisioningNodePoolDefaults"
571
649
  repeated :autoprovisioning_locations, :string, 5
572
650
  end
651
+ add_enum "google.container.v1.ClusterAutoscaling.AutoscalingProfile" do
652
+ value :PROFILE_UNSPECIFIED, 0
653
+ value :OPTIMIZE_UTILIZATION, 1
654
+ value :BALANCED, 2
655
+ end
573
656
  add_message "google.container.v1.AutoprovisioningNodePoolDefaults" do
574
657
  repeated :oauth_scopes, :string, 1
575
658
  optional :service_account, :string, 2
@@ -624,6 +707,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
624
707
  add_message "google.container.v1.AcceleratorConfig" do
625
708
  optional :accelerator_count, :int64, 1
626
709
  optional :accelerator_type, :string, 2
710
+ optional :gpu_partition_size, :string, 3
627
711
  end
628
712
  add_message "google.container.v1.WorkloadMetadataConfig" do
629
713
  optional :mode, :enum, 2, "google.container.v1.WorkloadMetadataConfig.Mode"
@@ -650,6 +734,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
650
734
  add_message "google.container.v1.StatusCondition" do
651
735
  optional :code, :enum, 1, "google.container.v1.StatusCondition.Code"
652
736
  optional :message, :string, 2
737
+ optional :canonical_code, :enum, 3, "google.rpc.Code"
653
738
  end
654
739
  add_enum "google.container.v1.StatusCondition.Code" do
655
740
  value :UNKNOWN, 0
@@ -658,12 +743,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
658
743
  value :GCE_QUOTA_EXCEEDED, 3
659
744
  value :SET_BY_OPERATOR, 4
660
745
  value :CLOUD_KMS_KEY_ERROR, 7
746
+ value :CA_EXPIRING, 9
661
747
  end
662
748
  add_message "google.container.v1.NetworkConfig" do
663
749
  optional :network, :string, 1
664
750
  optional :subnetwork, :string, 2
665
751
  optional :enable_intra_node_visibility, :bool, 5
666
752
  optional :default_snat_status, :message, 7, "google.container.v1.DefaultSnatStatus"
753
+ optional :enable_l4ilb_subsetting, :bool, 10
754
+ optional :datapath_provider, :enum, 11, "google.container.v1.DatapathProvider"
755
+ optional :private_ipv6_google_access, :enum, 12, "google.container.v1.PrivateIPv6GoogleAccess"
756
+ optional :dns_config, :message, 13, "google.container.v1.DNSConfig"
757
+ optional :service_external_ips_config, :message, 15, "google.container.v1.ServiceExternalIPsConfig"
758
+ end
759
+ add_message "google.container.v1.ServiceExternalIPsConfig" do
760
+ optional :enabled, :bool, 1
667
761
  end
668
762
  add_message "google.container.v1.GetOpenIDConfigRequest" do
669
763
  optional :parent, :string, 1
@@ -706,12 +800,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
706
800
  add_message "google.container.v1.IntraNodeVisibilityConfig" do
707
801
  optional :enabled, :bool, 1
708
802
  end
803
+ add_message "google.container.v1.ILBSubsettingConfig" do
804
+ optional :enabled, :bool, 1
805
+ end
806
+ add_message "google.container.v1.DNSConfig" do
807
+ optional :cluster_dns, :enum, 1, "google.container.v1.DNSConfig.Provider"
808
+ optional :cluster_dns_scope, :enum, 2, "google.container.v1.DNSConfig.DNSScope"
809
+ optional :cluster_dns_domain, :string, 3
810
+ end
811
+ add_enum "google.container.v1.DNSConfig.Provider" do
812
+ value :PROVIDER_UNSPECIFIED, 0
813
+ value :PLATFORM_DEFAULT, 1
814
+ value :CLOUD_DNS, 2
815
+ end
816
+ add_enum "google.container.v1.DNSConfig.DNSScope" do
817
+ value :DNS_SCOPE_UNSPECIFIED, 0
818
+ value :VPC_SCOPE, 2
819
+ end
709
820
  add_message "google.container.v1.MaxPodsConstraint" do
710
821
  optional :max_pods_per_node, :int64, 1
711
822
  end
712
823
  add_message "google.container.v1.WorkloadIdentityConfig" do
713
824
  optional :workload_pool, :string, 2
714
825
  end
826
+ add_message "google.container.v1.MeshCertificates" do
827
+ optional :enable_certificates, :message, 1, "google.protobuf.BoolValue"
828
+ end
715
829
  add_message "google.container.v1.DatabaseEncryption" do
716
830
  optional :state, :enum, 2, "google.container.v1.DatabaseEncryption.State"
717
831
  optional :key_name, :string, 1
@@ -770,6 +884,95 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
770
884
  add_message "google.container.v1.ShieldedNodes" do
771
885
  optional :enabled, :bool, 1
772
886
  end
887
+ add_message "google.container.v1.VirtualNIC" do
888
+ optional :enabled, :bool, 1
889
+ end
890
+ add_message "google.container.v1.NotificationConfig" do
891
+ optional :pubsub, :message, 1, "google.container.v1.NotificationConfig.PubSub"
892
+ end
893
+ add_message "google.container.v1.NotificationConfig.PubSub" do
894
+ optional :enabled, :bool, 1
895
+ optional :topic, :string, 2
896
+ optional :filter, :message, 3, "google.container.v1.NotificationConfig.Filter"
897
+ end
898
+ add_message "google.container.v1.NotificationConfig.Filter" do
899
+ repeated :event_type, :enum, 1, "google.container.v1.NotificationConfig.EventType"
900
+ end
901
+ add_enum "google.container.v1.NotificationConfig.EventType" do
902
+ value :EVENT_TYPE_UNSPECIFIED, 0
903
+ value :UPGRADE_AVAILABLE_EVENT, 1
904
+ value :UPGRADE_EVENT, 2
905
+ value :SECURITY_BULLETIN_EVENT, 3
906
+ end
907
+ add_message "google.container.v1.ConfidentialNodes" do
908
+ optional :enabled, :bool, 1
909
+ end
910
+ add_message "google.container.v1.UpgradeEvent" do
911
+ optional :resource_type, :enum, 1, "google.container.v1.UpgradeResourceType"
912
+ optional :operation, :string, 2
913
+ optional :operation_start_time, :message, 3, "google.protobuf.Timestamp"
914
+ optional :current_version, :string, 4
915
+ optional :target_version, :string, 5
916
+ optional :resource, :string, 6
917
+ end
918
+ add_message "google.container.v1.UpgradeAvailableEvent" do
919
+ optional :version, :string, 1
920
+ optional :resource_type, :enum, 2, "google.container.v1.UpgradeResourceType"
921
+ optional :release_channel, :message, 3, "google.container.v1.ReleaseChannel"
922
+ optional :resource, :string, 4
923
+ end
924
+ add_message "google.container.v1.SecurityBulletinEvent" do
925
+ optional :resource_type_affected, :string, 1
926
+ optional :bulletin_id, :string, 2
927
+ repeated :cve_ids, :string, 3
928
+ optional :severity, :string, 4
929
+ optional :bulletin_uri, :string, 5
930
+ optional :brief_description, :string, 6
931
+ repeated :affected_supported_minors, :string, 7
932
+ repeated :patched_versions, :string, 8
933
+ optional :suggested_upgrade_target, :string, 9
934
+ optional :manual_steps_required, :bool, 10
935
+ end
936
+ add_message "google.container.v1.Autopilot" do
937
+ optional :enabled, :bool, 1
938
+ end
939
+ add_message "google.container.v1.LoggingConfig" do
940
+ optional :component_config, :message, 1, "google.container.v1.LoggingComponentConfig"
941
+ end
942
+ add_message "google.container.v1.LoggingComponentConfig" do
943
+ repeated :enable_components, :enum, 1, "google.container.v1.LoggingComponentConfig.Component"
944
+ end
945
+ add_enum "google.container.v1.LoggingComponentConfig.Component" do
946
+ value :COMPONENT_UNSPECIFIED, 0
947
+ value :SYSTEM_COMPONENTS, 1
948
+ value :WORKLOADS, 2
949
+ end
950
+ add_message "google.container.v1.MonitoringConfig" do
951
+ optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
952
+ end
953
+ add_message "google.container.v1.MonitoringComponentConfig" do
954
+ repeated :enable_components, :enum, 1, "google.container.v1.MonitoringComponentConfig.Component"
955
+ end
956
+ add_enum "google.container.v1.MonitoringComponentConfig.Component" do
957
+ value :COMPONENT_UNSPECIFIED, 0
958
+ value :SYSTEM_COMPONENTS, 1
959
+ end
960
+ add_enum "google.container.v1.PrivateIPv6GoogleAccess" do
961
+ value :PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, 0
962
+ value :PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED, 1
963
+ value :PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE, 2
964
+ value :PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL, 3
965
+ end
966
+ add_enum "google.container.v1.DatapathProvider" do
967
+ value :DATAPATH_PROVIDER_UNSPECIFIED, 0
968
+ value :LEGACY_DATAPATH, 1
969
+ value :ADVANCED_DATAPATH, 2
970
+ end
971
+ add_enum "google.container.v1.UpgradeResourceType" do
972
+ value :UPGRADE_RESOURCE_TYPE_UNSPECIFIED, 0
973
+ value :MASTER, 1
974
+ value :NODE_POOL, 2
975
+ end
773
976
  end
774
977
  end
775
978
 
@@ -777,10 +980,15 @@ module Google
777
980
  module Cloud
778
981
  module Container
779
982
  module V1
983
+ LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig").msgclass
984
+ NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeKubeletConfig").msgclass
780
985
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
986
+ AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdvancedMachineFeatures").msgclass
987
+ NodeNetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeNetworkConfig").msgclass
781
988
  ShieldedInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedInstanceConfig").msgclass
782
989
  SandboxConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SandboxConfig").msgclass
783
990
  SandboxConfig::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SandboxConfig.Type").enummodule
991
+ GcfsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcfsConfig").msgclass
784
992
  ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReservationAffinity").msgclass
785
993
  ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReservationAffinity.Type").enummodule
786
994
  NodeTaint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint").msgclass
@@ -799,6 +1007,8 @@ module Google
799
1007
  CloudRunConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CloudRunConfig").msgclass
800
1008
  CloudRunConfig::LoadBalancerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CloudRunConfig.LoadBalancerType").enummodule
801
1009
  ConfigConnectorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ConfigConnectorConfig").msgclass
1010
+ GcePersistentDiskCsiDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcePersistentDiskCsiDriverConfig").msgclass
1011
+ GcpFilestoreCsiDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcpFilestoreCsiDriverConfig").msgclass
802
1012
  MasterAuthorizedNetworksConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig").msgclass
803
1013
  MasterAuthorizedNetworksConfig::CidrBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock").msgclass
804
1014
  LegacyAbac = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LegacyAbac").msgclass
@@ -808,6 +1018,8 @@ module Google
808
1018
  IPAllocationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IPAllocationPolicy").msgclass
809
1019
  Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Cluster").msgclass
810
1020
  Cluster::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Cluster.Status").enummodule
1021
+ NodePoolDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolDefaults").msgclass
1022
+ NodeConfigDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfigDefaults").msgclass
811
1023
  ClusterUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClusterUpdate").msgclass
812
1024
  Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation").msgclass
813
1025
  Operation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Status").enummodule
@@ -848,6 +1060,8 @@ module Google
848
1060
  MaintenancePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaintenancePolicy").msgclass
849
1061
  MaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaintenanceWindow").msgclass
850
1062
  TimeWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.TimeWindow").msgclass
1063
+ MaintenanceExclusionOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaintenanceExclusionOptions").msgclass
1064
+ MaintenanceExclusionOptions::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaintenanceExclusionOptions.Scope").enummodule
851
1065
  RecurringTimeWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.RecurringTimeWindow").msgclass
852
1066
  DailyMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DailyMaintenanceWindow").msgclass
853
1067
  SetNodePoolManagementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetNodePoolManagementRequest").msgclass
@@ -855,6 +1069,7 @@ module Google
855
1069
  RollbackNodePoolUpgradeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.RollbackNodePoolUpgradeRequest").msgclass
856
1070
  ListNodePoolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListNodePoolsResponse").msgclass
857
1071
  ClusterAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClusterAutoscaling").msgclass
1072
+ ClusterAutoscaling::AutoscalingProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClusterAutoscaling.AutoscalingProfile").enummodule
858
1073
  AutoprovisioningNodePoolDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AutoprovisioningNodePoolDefaults").msgclass
859
1074
  ResourceLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceLimit").msgclass
860
1075
  NodePoolAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolAutoscaling").msgclass
@@ -870,6 +1085,7 @@ module Google
870
1085
  StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition").msgclass
871
1086
  StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition.Code").enummodule
872
1087
  NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkConfig").msgclass
1088
+ ServiceExternalIPsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServiceExternalIPsConfig").msgclass
873
1089
  GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigRequest").msgclass
874
1090
  GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigResponse").msgclass
875
1091
  GetJSONWebKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysRequest").msgclass
@@ -878,8 +1094,13 @@ module Google
878
1094
  ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel").msgclass
879
1095
  ReleaseChannel::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel.Channel").enummodule
880
1096
  IntraNodeVisibilityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IntraNodeVisibilityConfig").msgclass
1097
+ ILBSubsettingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ILBSubsettingConfig").msgclass
1098
+ DNSConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DNSConfig").msgclass
1099
+ DNSConfig::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DNSConfig.Provider").enummodule
1100
+ DNSConfig::DNSScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DNSConfig.DNSScope").enummodule
881
1101
  MaxPodsConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaxPodsConstraint").msgclass
882
1102
  WorkloadIdentityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadIdentityConfig").msgclass
1103
+ MeshCertificates = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MeshCertificates").msgclass
883
1104
  DatabaseEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatabaseEncryption").msgclass
884
1105
  DatabaseEncryption::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatabaseEncryption.State").enummodule
885
1106
  ListUsableSubnetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListUsableSubnetworksRequest").msgclass
@@ -893,6 +1114,25 @@ module Google
893
1114
  VerticalPodAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.VerticalPodAutoscaling").msgclass
894
1115
  DefaultSnatStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DefaultSnatStatus").msgclass
895
1116
  ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedNodes").msgclass
1117
+ VirtualNIC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.VirtualNIC").msgclass
1118
+ NotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig").msgclass
1119
+ NotificationConfig::PubSub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.PubSub").msgclass
1120
+ NotificationConfig::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.Filter").msgclass
1121
+ NotificationConfig::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.EventType").enummodule
1122
+ ConfidentialNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ConfidentialNodes").msgclass
1123
+ UpgradeEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeEvent").msgclass
1124
+ UpgradeAvailableEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeAvailableEvent").msgclass
1125
+ SecurityBulletinEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SecurityBulletinEvent").msgclass
1126
+ Autopilot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Autopilot").msgclass
1127
+ LoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingConfig").msgclass
1128
+ LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig").msgclass
1129
+ LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig.Component").enummodule
1130
+ MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringConfig").msgclass
1131
+ MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
1132
+ MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
1133
+ PrivateIPv6GoogleAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateIPv6GoogleAccess").enummodule
1134
+ DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatapathProvider").enummodule
1135
+ UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeResourceType").enummodule
896
1136
  end
897
1137
  end
898
1138
  end
@@ -120,7 +120,9 @@ module Google
120
120
  rpc :StartIPRotation, ::Google::Cloud::Container::V1::StartIPRotationRequest, ::Google::Cloud::Container::V1::Operation
121
121
  # Completes master IP rotation.
122
122
  rpc :CompleteIPRotation, ::Google::Cloud::Container::V1::CompleteIPRotationRequest, ::Google::Cloud::Container::V1::Operation
123
- # Sets the size for a specific node pool.
123
+ # Sets the size for a specific node pool. The new size will be used for all
124
+ # replicas, including future replicas created by modifying
125
+ # [NodePool.locations][google.container.v1.NodePool.locations].
124
126
  rpc :SetNodePoolSize, ::Google::Cloud::Container::V1::SetNodePoolSizeRequest, ::Google::Cloud::Container::V1::Operation
125
127
  # Enables or disables Network Policy for a cluster.
126
128
  rpc :SetNetworkPolicy, ::Google::Cloud::Container::V1::SetNetworkPolicyRequest, ::Google::Cloud::Container::V1::Operation