diff --git a/api_names_out.yaml b/api_names_out.yaml index 9432dbc325b..23a71457443 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -136075,6 +136075,11 @@ "/container:v1/CertificateAuthorityDomainConfig/fqdns": fqdns "/container:v1/CertificateAuthorityDomainConfig/fqdns/fqdn": fqdn "/container:v1/CertificateAuthorityDomainConfig/gcpSecretManagerCertificateConfig": gcp_secret_manager_certificate_config +"/container:v1/CertificateConfig": certificate_config +"/container:v1/CertificateConfig/gcpSecretManagerSecretUri": gcp_secret_manager_secret_uri +"/container:v1/CertificateConfigPair": certificate_config_pair +"/container:v1/CertificateConfigPair/cert": cert +"/container:v1/CertificateConfigPair/key": key "/container:v1/CheckAutopilotCompatibilityResponse": check_autopilot_compatibility_response "/container:v1/CheckAutopilotCompatibilityResponse/issues": issues "/container:v1/CheckAutopilotCompatibilityResponse/issues/issue": issue @@ -136292,6 +136297,8 @@ "/container:v1/ConsumptionMeteringConfig/enabled": enabled "/container:v1/ContainerdConfig": containerd_config "/container:v1/ContainerdConfig/privateRegistryAccessConfig": private_registry_access_config +"/container:v1/ContainerdConfig/registryHosts": registry_hosts +"/container:v1/ContainerdConfig/registryHosts/registry_host": registry_host "/container:v1/ContainerdConfig/writableCgroups": writable_cgroups "/container:v1/ControlPlaneEndpointsConfig": control_plane_endpoints_config "/container:v1/ControlPlaneEndpointsConfig/dnsEndpointConfig": dns_endpoint_config @@ -136422,6 +136429,18 @@ "/container:v1/HighScaleCheckpointingConfig/enabled": enabled "/container:v1/HorizontalPodAutoscaling": horizontal_pod_autoscaling "/container:v1/HorizontalPodAutoscaling/disabled": disabled +"/container:v1/HostConfig": host_config +"/container:v1/HostConfig/ca": ca +"/container:v1/HostConfig/ca/ca": ca +"/container:v1/HostConfig/capabilities": capabilities +"/container:v1/HostConfig/capabilities/capability": capability +"/container:v1/HostConfig/client": client +"/container:v1/HostConfig/client/client": client +"/container:v1/HostConfig/dialTimeout": dial_timeout +"/container:v1/HostConfig/header": header +"/container:v1/HostConfig/header/header": header +"/container:v1/HostConfig/host": host +"/container:v1/HostConfig/overridePath": override_path "/container:v1/HttpCacheControlResponseHeader": http_cache_control_response_header "/container:v1/HttpCacheControlResponseHeader/age": age "/container:v1/HttpCacheControlResponseHeader/directive": directive @@ -136856,6 +136875,14 @@ "/container:v1/RecurringTimeWindow": recurring_time_window "/container:v1/RecurringTimeWindow/recurrence": recurrence "/container:v1/RecurringTimeWindow/window": window +"/container:v1/RegistryHeader": registry_header +"/container:v1/RegistryHeader/key": key +"/container:v1/RegistryHeader/value": value +"/container:v1/RegistryHeader/value/value": value +"/container:v1/RegistryHostConfig": registry_host_config +"/container:v1/RegistryHostConfig/hosts": hosts +"/container:v1/RegistryHostConfig/hosts/host": host +"/container:v1/RegistryHostConfig/server": server "/container:v1/ReleaseChannel": release_channel "/container:v1/ReleaseChannel/channel": channel "/container:v1/ReleaseChannelConfig": release_channel_config diff --git a/generated/google-apis-container_v1/CHANGELOG.md b/generated/google-apis-container_v1/CHANGELOG.md index ef3d4765213..c7b497e6a20 100644 --- a/generated/google-apis-container_v1/CHANGELOG.md +++ b/generated/google-apis-container_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-container_v1 +### v0.108.0 (2025-11-09) + +* Regenerated from discovery document revision 20251028 + ### v0.107.0 (2025-11-02) * Regenerated from discovery document revision 20251021 diff --git a/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb b/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb index fb5fa9bd52d..116c15bea64 100644 --- a/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb +++ b/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb @@ -1008,6 +1008,55 @@ def update!(**args) end end + # CertificateConfig configures certificate for the registry. + class CertificateConfig + include Google::Apis::Core::Hashable + + # The URI configures a secret from [Secret Manager](https://cloud.google.com/ + # secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/ + # versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$ + # REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version + # can be fixed (e.g. "2") or "latest" + # Corresponds to the JSON property `gcpSecretManagerSecretUri` + # @return [String] + attr_accessor :gcp_secret_manager_secret_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcp_secret_manager_secret_uri = args[:gcp_secret_manager_secret_uri] if args.key?(:gcp_secret_manager_secret_uri) + end + end + + # CertificateConfigPair configures pairs of certificates, which is used for + # client certificate and key pairs under a registry. + class CertificateConfigPair + include Google::Apis::Core::Hashable + + # CertificateConfig configures certificate for the registry. + # Corresponds to the JSON property `cert` + # @return [Google::Apis::ContainerV1::CertificateConfig] + attr_accessor :cert + + # CertificateConfig configures certificate for the registry. + # Corresponds to the JSON property `key` + # @return [Google::Apis::ContainerV1::CertificateConfig] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cert = args[:cert] if args.key?(:cert) + @key = args[:key] if args.key?(:key) + end + end + # CheckAutopilotCompatibilityResponse has a list of compatibility issues. class CheckAutopilotCompatibilityResponse include Google::Apis::Core::Hashable @@ -2545,6 +2594,13 @@ class ContainerdConfig # @return [Google::Apis::ContainerV1::PrivateRegistryAccessConfig] attr_accessor :private_registry_access_config + # RegistryHostConfig configures containerd registry host configuration. Each + # registry_hosts represents a hosts.toml file. At most 25 registry_hosts are + # allowed. + # Corresponds to the JSON property `registryHosts` + # @return [Array] + attr_accessor :registry_hosts + # Defines writable cgroups configuration. # Corresponds to the JSON property `writableCgroups` # @return [Google::Apis::ContainerV1::WritableCgroups] @@ -2557,6 +2613,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config) + @registry_hosts = args[:registry_hosts] if args.key?(:registry_hosts) @writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups) end end @@ -3671,6 +3728,73 @@ def update!(**args) end end + # HostConfig configures the registry host under a given Server. + class HostConfig + include Google::Apis::Core::Hashable + + # CA configures the registry host certificate. + # Corresponds to the JSON property `ca` + # @return [Array] + attr_accessor :ca + + # Capabilities represent the capabilities of the registry host, specifying what + # operations a host is capable of performing. If not set, containerd enables all + # capabilities by default. + # Corresponds to the JSON property `capabilities` + # @return [Array] + attr_accessor :capabilities + + # Client configures the registry host client certificate and key. + # Corresponds to the JSON property `client` + # @return [Array] + attr_accessor :client + + # Specifies the maximum duration allowed for a connection attempt to complete. A + # shorter timeout helps reduce delays when falling back to the original registry + # if the mirror is unreachable. Maximum allowed value is 180s. If not set, + # containerd sets default 30s. The value should be a decimal number of seconds + # with an `s` suffix. + # Corresponds to the JSON property `dialTimeout` + # @return [String] + attr_accessor :dial_timeout + + # Header configures the registry host headers. + # Corresponds to the JSON property `header` + # @return [Array] + attr_accessor :header + + # Host configures the registry host/mirror. It supports fully qualified domain + # names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT + # supported. Examples: - my.customdomain.com - 10.0.1.2:5000 + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # OverridePath is used to indicate the host's API root endpoint is defined in + # the URL path rather than by the API specification. This may be used with non- + # compliant OCI registries which are missing the /v2 prefix. If not set, + # containerd sets default false. + # Corresponds to the JSON property `overridePath` + # @return [Boolean] + attr_accessor :override_path + alias_method :override_path?, :override_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ca = args[:ca] if args.key?(:ca) + @capabilities = args[:capabilities] if args.key?(:capabilities) + @client = args[:client] if args.key?(:client) + @dial_timeout = args[:dial_timeout] if args.key?(:dial_timeout) + @header = args[:header] if args.key?(:header) + @host = args[:host] if args.key?(:host) + @override_path = args[:override_path] if args.key?(:override_path) + end + end + # RFC-2616: cache control support class HttpCacheControlResponseHeader include Google::Apis::Core::Hashable @@ -4478,7 +4602,10 @@ class LustreCsiDriverConfig # port 6988. This serves as a workaround for a port conflict with the gke- # metadata-server. This field is required ONLY under the following conditions: 1. # The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting - # to a Lustre instance that has the 'gke-support-enabled' flag. + # to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This + # flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless + # you are connecting to a Lustre instance that has the `gke-support-enabled` + # flag. # Corresponds to the JSON property `enableLegacyLustrePort` # @return [Boolean] attr_accessor :enable_legacy_lustre_port @@ -7119,6 +7246,62 @@ def update!(**args) end end + # RegistryHeader configures headers for the registry. + class RegistryHeader + include Google::Apis::Core::Hashable + + # Key configures the header key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Value configures the header value. + # Corresponds to the JSON property `value` + # @return [Array] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + + # RegistryHostConfig configures the top-level structure for a single containerd + # registry server's configuration, which represents one hosts.toml file on the + # node. It will override the same fqdns in PrivateRegistryAccessConfig. + class RegistryHostConfig + include Google::Apis::Core::Hashable + + # HostConfig configures a list of host-specific configurations for the server. + # Each server can have at most 10 host configurations. + # Corresponds to the JSON property `hosts` + # @return [Array] + attr_accessor :hosts + + # Defines the host name of the registry server, which will be used to create + # configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully + # qualified domain names (FQDN) and IP addresses: Specifying port is supported. + # Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000 + # Corresponds to the JSON property `server` + # @return [String] + attr_accessor :server + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hosts = args[:hosts] if args.key?(:hosts) + @server = args[:server] if args.key?(:server) + end + end + # ReleaseChannel indicates which release channel a cluster is subscribed to. # Release channels are arranged in order of risk. When a cluster is subscribed # to a release channel, Google maintains both the master version and the node diff --git a/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb b/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb index a3fde2afbe7..78e2cd0bf77 100644 --- a/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb +++ b/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ContainerV1 # Version of the google-apis-container_v1 gem - GEM_VERSION = "0.107.0" + GEM_VERSION = "0.108.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251021" + REVISION = "20251028" end end end diff --git a/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb b/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb index 42289f03910..588ca6bdb99 100644 --- a/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb +++ b/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb @@ -178,6 +178,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CertificateConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CertificateConfigPair + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CheckAutopilotCompatibilityResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -496,6 +508,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class HostConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HttpCacheControlResponseHeader class Representation < Google::Apis::Core::JsonRepresentation; end @@ -958,6 +976,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class RegistryHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegistryHostConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ReleaseChannel class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1579,6 +1609,23 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class CertificateConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcp_secret_manager_secret_uri, as: 'gcpSecretManagerSecretUri' + end + end + + class CertificateConfigPair + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cert, as: 'cert', class: Google::Apis::ContainerV1::CertificateConfig, decorator: Google::Apis::ContainerV1::CertificateConfig::Representation + + property :key, as: 'key', class: Google::Apis::ContainerV1::CertificateConfig, decorator: Google::Apis::ContainerV1::CertificateConfig::Representation + + end + end + class CheckAutopilotCompatibilityResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1970,6 +2017,8 @@ class ContainerdConfig class Representation < Google::Apis::Core::JsonRepresentation property :private_registry_access_config, as: 'privateRegistryAccessConfig', class: Google::Apis::ContainerV1::PrivateRegistryAccessConfig, decorator: Google::Apis::ContainerV1::PrivateRegistryAccessConfig::Representation + collection :registry_hosts, as: 'registryHosts', class: Google::Apis::ContainerV1::RegistryHostConfig, decorator: Google::Apis::ContainerV1::RegistryHostConfig::Representation + property :writable_cgroups, as: 'writableCgroups', class: Google::Apis::ContainerV1::WritableCgroups, decorator: Google::Apis::ContainerV1::WritableCgroups::Representation end @@ -2283,6 +2332,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class HostConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ca, as: 'ca', class: Google::Apis::ContainerV1::CertificateConfig, decorator: Google::Apis::ContainerV1::CertificateConfig::Representation + + collection :capabilities, as: 'capabilities' + collection :client, as: 'client', class: Google::Apis::ContainerV1::CertificateConfigPair, decorator: Google::Apis::ContainerV1::CertificateConfigPair::Representation + + property :dial_timeout, as: 'dialTimeout' + collection :header, as: 'header', class: Google::Apis::ContainerV1::RegistryHeader, decorator: Google::Apis::ContainerV1::RegistryHeader::Representation + + property :host, as: 'host' + property :override_path, as: 'overridePath' + end + end + class HttpCacheControlResponseHeader # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3159,6 +3224,23 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class RegistryHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + collection :value, as: 'value' + end + end + + class RegistryHostConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :hosts, as: 'hosts', class: Google::Apis::ContainerV1::HostConfig, decorator: Google::Apis::ContainerV1::HostConfig::Representation + + property :server, as: 'server' + end + end + class ReleaseChannel # @private class Representation < Google::Apis::Core::JsonRepresentation