Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-container_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<Google::Apis::ContainerV1::RegistryHostConfig>]
attr_accessor :registry_hosts

# Defines writable cgroups configuration.
# Corresponds to the JSON property `writableCgroups`
# @return [Google::Apis::ContainerV1::WritableCgroups]
Expand All @@ -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
Expand Down Expand Up @@ -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<Google::Apis::ContainerV1::CertificateConfig>]
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<String>]
attr_accessor :capabilities

# Client configures the registry host client certificate and key.
# Corresponds to the JSON property `client`
# @return [Array<Google::Apis::ContainerV1::CertificateConfigPair>]
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<Google::Apis::ContainerV1::RegistryHeader>]
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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<String>]
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<Google::Apis::ContainerV1::HostConfig>]
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading