Skip to content

Commit 24e62c7

Browse files
feat: add confidential instance type and hyperdisk support to GKE API (#33941)
* feat: add confidential instance type and hyperdisk support to GKE API feat: add private endpoint enforcement for master authorized networks feat: add swap memory configuration for node pools feat: add custom node initialization and kernel module loading policy feat: add accurate time synchronization (PTP-KVM) support feat: add advanced Kubelet configurations including image GC and parallel pulls feat: add Topology Manager and Memory Manager configurations feat: add node management features (Slurm, readiness, creation, taints) feat: add cluster disruption budgets and maintenance window configurations feat: add security and observability enhancements (secret sync, OTel, ML diagnostics) feat: add GPU Direct and network performance configuration options feat: update authentication rules with canonical scopes for ClusterManager docs: various documentation improvements PiperOrigin-RevId: 914473416 Source-Link: googleapis/googleapis@a0cedfb Source-Link: googleapis/googleapis-gen@724eb82 Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci12MS8uT3dsQm90LnlhbWwiLCJoIjoiNzI0ZWI4MjEyMzcwYjY4MDE3ZWFjOTI3ZTA3MjgyOTA3MGQ1ZmJjNiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 251b077 commit 24e62c7

13 files changed

Lines changed: 764 additions & 60 deletions

File tree

google-cloud-container-v1/.owlbot-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"proto_docs/README.md",
3030
"proto_docs/google/api/client.rb",
3131
"proto_docs/google/api/field_behavior.rb",
32+
"proto_docs/google/api/field_info.rb",
3233
"proto_docs/google/api/launch_stage.rb",
3334
"proto_docs/google/api/resource.rb",
3435
"proto_docs/google/container/v1/cluster_service.rb",
@@ -39,6 +40,8 @@
3940
"proto_docs/google/protobuf/wrappers.rb",
4041
"proto_docs/google/rpc/code.rb",
4142
"proto_docs/google/rpc/status.rb",
43+
"proto_docs/google/type/date.rb",
44+
"proto_docs/google/type/timeofday.rb",
4245
"snippets/Gemfile",
4346
"snippets/cluster_manager/cancel_operation.rb",
4447
"snippets/cluster_manager/check_autopilot_compatibility.rb",

google-cloud-container-v1/lib/google/cloud/container/v1/cluster_manager/client.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def update_cluster request, options = nil
689689
# @param options [::Gapic::CallOptions, ::Hash]
690690
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
691691
#
692-
# @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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil)
692+
# @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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil, taint_config: nil)
693693
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
694694
# least one keyword argument is required. To specify no parameters, or to keep all
695695
# the default parameter values, pass an empty Hash as a request object (see above).
@@ -833,6 +833,8 @@ def update_cluster request, options = nil
833833
# Consolidation delay defines duration after which the Cluster Autoscaler can
834834
# scale down underutilized nodes. If not set, nodes are scaled down by
835835
# default behavior, i.e. according to the chosen autoscaling profile.
836+
# @param taint_config [::Google::Cloud::Container::V1::TaintConfig, ::Hash]
837+
# The taint configuration for the node pool.
836838
#
837839
# @yield [response, operation] Access the result along with the RPC operation
838840
# @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -3920,7 +3922,7 @@ def fetch_cluster_upgrade_info request, options = nil
39203922
end
39213923

39223924
##
3923-
# Fetch upgrade information of a specific nodepool.
3925+
# Fetch upgrade information of a specific node pool.
39243926
#
39253927
# @overload fetch_node_pool_upgrade_info(request, options = nil)
39263928
# Pass arguments to `fetch_node_pool_upgrade_info` via a request object, either of type
@@ -3938,7 +3940,7 @@ def fetch_cluster_upgrade_info request, options = nil
39383940
# the default parameter values, pass an empty Hash as a request object (see above).
39393941
#
39403942
# @param name [::String]
3941-
# Required. The name (project, location, cluster, nodepool) of the nodepool
3943+
# Required. The name (project, location, cluster, node pool) of the node pool
39423944
# to get. Specified in the format
39433945
# `projects/*/locations/*/clusters/*/nodePools/*` or
39443946
# `projects/*/zones/*/clusters/*/nodePools/*`.

google-cloud-container-v1/lib/google/cloud/container/v1/cluster_manager/credentials.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ module ClusterManager
2626
# Credentials for the ClusterManager API.
2727
class Credentials < ::Google::Auth::Credentials
2828
self.scope = [
29-
"https://www.googleapis.com/auth/cloud-platform"
29+
"https://www.googleapis.com/auth/cloud-platform",
30+
"https://www.googleapis.com/auth/container",
31+
"https://www.googleapis.com/auth/container.read-only"
3032
]
3133
self.env_vars = [
3234
"CONTAINER_CREDENTIALS",

google-cloud-container-v1/lib/google/cloud/container/v1/cluster_manager/rest/client.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def update_cluster request, options = nil
654654
# @param options [::Gapic::CallOptions, ::Hash]
655655
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
656656
#
657-
# @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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil)
657+
# @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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil, taint_config: nil)
658658
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
659659
# least one keyword argument is required. To specify no parameters, or to keep all
660660
# the default parameter values, pass an empty Hash as a request object (see above).
@@ -798,6 +798,8 @@ def update_cluster request, options = nil
798798
# Consolidation delay defines duration after which the Cluster Autoscaler can
799799
# scale down underutilized nodes. If not set, nodes are scaled down by
800800
# default behavior, i.e. according to the chosen autoscaling profile.
801+
# @param taint_config [::Google::Cloud::Container::V1::TaintConfig, ::Hash]
802+
# The taint configuration for the node pool.
801803
# @yield [result, operation] Access the result along with the TransportOperation object
802804
# @yieldparam result [::Google::Cloud::Container::V1::Operation]
803805
# @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3666,7 +3668,7 @@ def fetch_cluster_upgrade_info request, options = nil
36663668
end
36673669

36683670
##
3669-
# Fetch upgrade information of a specific nodepool.
3671+
# Fetch upgrade information of a specific node pool.
36703672
#
36713673
# @overload fetch_node_pool_upgrade_info(request, options = nil)
36723674
# Pass arguments to `fetch_node_pool_upgrade_info` via a request object, either of type
@@ -3684,7 +3686,7 @@ def fetch_cluster_upgrade_info request, options = nil
36843686
# the default parameter values, pass an empty Hash as a request object (see above).
36853687
#
36863688
# @param name [::String]
3687-
# Required. The name (project, location, cluster, nodepool) of the nodepool
3689+
# Required. The name (project, location, cluster, node pool) of the node pool
36883690
# to get. Specified in the format
36893691
# `projects/*/locations/*/clusters/*/nodePools/*` or
36903692
# `projects/*/zones/*/clusters/*/nodePools/*`.

google-cloud-container-v1/lib/google/container/v1/cluster_service_pb.rb

Lines changed: 26 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-container-v1/lib/google/container/v1/cluster_service_services_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-container-v1/proto_docs/google/api/client.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ module Api
3131
# @!attribute [rw] selective_gapic_generation
3232
# @return [::Google::Api::SelectiveGapicGeneration]
3333
# Configuration for which RPCs should be generated in the GAPIC client.
34+
#
35+
# Note: This field should not be used in most cases.
3436
class CommonLanguageSettings
3537
include ::Google::Protobuf::MessageExts
3638
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -441,6 +443,8 @@ class LongRunning
441443

442444
# This message is used to configure the generation of a subset of the RPCs in
443445
# a service for client libraries.
446+
#
447+
# Note: This feature should not be used in most cases.
444448
# @!attribute [rw] methods
445449
# @return [::Array<::String>]
446450
# An allowlist of the fully qualified names of RPCs that should be included
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# frozen_string_literal: true
2+
3+
# Copyright 2026 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+
# Rich semantic information of an API field beyond basic typing.
23+
# @!attribute [rw] format
24+
# @return [::Google::Api::FieldInfo::Format]
25+
# The standard format of a field value. This does not explicitly configure
26+
# any API consumer, just documents the API's format for the field it is
27+
# applied to.
28+
# @!attribute [rw] referenced_types
29+
# @return [::Array<::Google::Api::TypeReference>]
30+
# The type(s) that the annotated, generic field may represent.
31+
#
32+
# Currently, this must only be used on fields of type `google.protobuf.Any`.
33+
# Supporting other generic types may be considered in the future.
34+
class FieldInfo
35+
include ::Google::Protobuf::MessageExts
36+
extend ::Google::Protobuf::MessageExts::ClassMethods
37+
38+
# The standard format of a field value. The supported formats are all backed
39+
# by either an RFC defined by the IETF or a Google-defined AIP.
40+
module Format
41+
# Default, unspecified value.
42+
FORMAT_UNSPECIFIED = 0
43+
44+
# Universally Unique Identifier, version 4, value as defined by
45+
# https://datatracker.ietf.org/doc/html/rfc4122. The value may be
46+
# normalized to entirely lowercase letters. For example, the value
47+
# `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
48+
# `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
49+
UUID4 = 1
50+
51+
# Internet Protocol v4 value as defined by [RFC
52+
# 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
53+
# condensed, with leading zeros in each octet stripped. For example,
54+
# `001.022.233.040` would be condensed to `1.22.233.40`.
55+
IPV4 = 2
56+
57+
# Internet Protocol v6 value as defined by [RFC
58+
# 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
59+
# normalized to entirely lowercase letters with zeros compressed, following
60+
# [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
61+
# the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
62+
IPV6 = 3
63+
64+
# An IP address in either v4 or v6 format as described by the individual
65+
# values defined herein. See the comments on the IPV4 and IPV6 types for
66+
# allowed normalizations of each.
67+
IPV4_OR_IPV6 = 4
68+
end
69+
end
70+
71+
# A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
72+
# @!attribute [rw] type_name
73+
# @return [::String]
74+
# The name of the type that the annotated, generic field may represent.
75+
# If the type is in the same protobuf package, the value can be the simple
76+
# message name e.g., `"MyMessage"`. Otherwise, the value must be the
77+
# fully-qualified message name e.g., `"google.library.v1.Book"`.
78+
#
79+
# If the type(s) are unknown to the service (e.g. the field accepts generic
80+
# user input), use the wildcard `"*"` to denote this behavior.
81+
#
82+
# See [AIP-202](https://google.aip.dev/202#type-references) for more details.
83+
class TypeReference
84+
include ::Google::Protobuf::MessageExts
85+
extend ::Google::Protobuf::MessageExts::ClassMethods
86+
end
87+
end
88+
end

0 commit comments

Comments
 (0)