google-apis-container_v1 0.107.0 → 0.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 676891015ca0d4b6d51d61af744cbcbbca4d4396caa581d22f51b8f110a4e76d
4
- data.tar.gz: ef762f3e7297b17775bcb457ce81f1d7ae91c1d6f7de57e12eccb20aaa32eb73
3
+ metadata.gz: 4402c979d1055a1dff9ea32c471e9dc8a6851bb44445d502e39876308c221f4c
4
+ data.tar.gz: a6e27b2058de99bc92654c727f4d834c19333e0478d3cd62270de208e3277be6
5
5
  SHA512:
6
- metadata.gz: 213c4491ac0f4af69c82259552a3e83df4e48051ce76ecc0672f3544c64cd3eb3b3aa64d9680bbd77bd6a9fcc0557053bd4534233f50da8c0a9f246a9d885335
7
- data.tar.gz: 32c514a374b53f123716fc8b25a688fb32da6947945f355cc7377d185bd2689cbdee31ae436acbf6ff7d8b38721898d7c8e9e2f89f0d2a92d4b35e40bfc5eab1
6
+ metadata.gz: 748cc7e05b5305cba5d2ce7ec1208a167f891767ba56dae122e51d8c1d15f8809346fbc39dc516bbfc34a7dee96cd76f6895ae0f2cbcf3ca03788b5377249a51
7
+ data.tar.gz: c54e0039f6ae03b7954414cc678f196436af3fe2060de59cda5f7b50aba9dfeb874e848d6df1c377381efec6fdf6a8634c1a8f7047c6a383b5ae77fa39d23b3e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.108.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251028
6
+
3
7
  ### v0.107.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251021
@@ -1008,6 +1008,55 @@ module Google
1008
1008
  end
1009
1009
  end
1010
1010
 
1011
+ # CertificateConfig configures certificate for the registry.
1012
+ class CertificateConfig
1013
+ include Google::Apis::Core::Hashable
1014
+
1015
+ # The URI configures a secret from [Secret Manager](https://cloud.google.com/
1016
+ # secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/
1017
+ # versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$
1018
+ # REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version
1019
+ # can be fixed (e.g. "2") or "latest"
1020
+ # Corresponds to the JSON property `gcpSecretManagerSecretUri`
1021
+ # @return [String]
1022
+ attr_accessor :gcp_secret_manager_secret_uri
1023
+
1024
+ def initialize(**args)
1025
+ update!(**args)
1026
+ end
1027
+
1028
+ # Update properties of this object
1029
+ def update!(**args)
1030
+ @gcp_secret_manager_secret_uri = args[:gcp_secret_manager_secret_uri] if args.key?(:gcp_secret_manager_secret_uri)
1031
+ end
1032
+ end
1033
+
1034
+ # CertificateConfigPair configures pairs of certificates, which is used for
1035
+ # client certificate and key pairs under a registry.
1036
+ class CertificateConfigPair
1037
+ include Google::Apis::Core::Hashable
1038
+
1039
+ # CertificateConfig configures certificate for the registry.
1040
+ # Corresponds to the JSON property `cert`
1041
+ # @return [Google::Apis::ContainerV1::CertificateConfig]
1042
+ attr_accessor :cert
1043
+
1044
+ # CertificateConfig configures certificate for the registry.
1045
+ # Corresponds to the JSON property `key`
1046
+ # @return [Google::Apis::ContainerV1::CertificateConfig]
1047
+ attr_accessor :key
1048
+
1049
+ def initialize(**args)
1050
+ update!(**args)
1051
+ end
1052
+
1053
+ # Update properties of this object
1054
+ def update!(**args)
1055
+ @cert = args[:cert] if args.key?(:cert)
1056
+ @key = args[:key] if args.key?(:key)
1057
+ end
1058
+ end
1059
+
1011
1060
  # CheckAutopilotCompatibilityResponse has a list of compatibility issues.
1012
1061
  class CheckAutopilotCompatibilityResponse
1013
1062
  include Google::Apis::Core::Hashable
@@ -2545,6 +2594,13 @@ module Google
2545
2594
  # @return [Google::Apis::ContainerV1::PrivateRegistryAccessConfig]
2546
2595
  attr_accessor :private_registry_access_config
2547
2596
 
2597
+ # RegistryHostConfig configures containerd registry host configuration. Each
2598
+ # registry_hosts represents a hosts.toml file. At most 25 registry_hosts are
2599
+ # allowed.
2600
+ # Corresponds to the JSON property `registryHosts`
2601
+ # @return [Array<Google::Apis::ContainerV1::RegistryHostConfig>]
2602
+ attr_accessor :registry_hosts
2603
+
2548
2604
  # Defines writable cgroups configuration.
2549
2605
  # Corresponds to the JSON property `writableCgroups`
2550
2606
  # @return [Google::Apis::ContainerV1::WritableCgroups]
@@ -2557,6 +2613,7 @@ module Google
2557
2613
  # Update properties of this object
2558
2614
  def update!(**args)
2559
2615
  @private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
2616
+ @registry_hosts = args[:registry_hosts] if args.key?(:registry_hosts)
2560
2617
  @writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
2561
2618
  end
2562
2619
  end
@@ -3671,6 +3728,73 @@ module Google
3671
3728
  end
3672
3729
  end
3673
3730
 
3731
+ # HostConfig configures the registry host under a given Server.
3732
+ class HostConfig
3733
+ include Google::Apis::Core::Hashable
3734
+
3735
+ # CA configures the registry host certificate.
3736
+ # Corresponds to the JSON property `ca`
3737
+ # @return [Array<Google::Apis::ContainerV1::CertificateConfig>]
3738
+ attr_accessor :ca
3739
+
3740
+ # Capabilities represent the capabilities of the registry host, specifying what
3741
+ # operations a host is capable of performing. If not set, containerd enables all
3742
+ # capabilities by default.
3743
+ # Corresponds to the JSON property `capabilities`
3744
+ # @return [Array<String>]
3745
+ attr_accessor :capabilities
3746
+
3747
+ # Client configures the registry host client certificate and key.
3748
+ # Corresponds to the JSON property `client`
3749
+ # @return [Array<Google::Apis::ContainerV1::CertificateConfigPair>]
3750
+ attr_accessor :client
3751
+
3752
+ # Specifies the maximum duration allowed for a connection attempt to complete. A
3753
+ # shorter timeout helps reduce delays when falling back to the original registry
3754
+ # if the mirror is unreachable. Maximum allowed value is 180s. If not set,
3755
+ # containerd sets default 30s. The value should be a decimal number of seconds
3756
+ # with an `s` suffix.
3757
+ # Corresponds to the JSON property `dialTimeout`
3758
+ # @return [String]
3759
+ attr_accessor :dial_timeout
3760
+
3761
+ # Header configures the registry host headers.
3762
+ # Corresponds to the JSON property `header`
3763
+ # @return [Array<Google::Apis::ContainerV1::RegistryHeader>]
3764
+ attr_accessor :header
3765
+
3766
+ # Host configures the registry host/mirror. It supports fully qualified domain
3767
+ # names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT
3768
+ # supported. Examples: - my.customdomain.com - 10.0.1.2:5000
3769
+ # Corresponds to the JSON property `host`
3770
+ # @return [String]
3771
+ attr_accessor :host
3772
+
3773
+ # OverridePath is used to indicate the host's API root endpoint is defined in
3774
+ # the URL path rather than by the API specification. This may be used with non-
3775
+ # compliant OCI registries which are missing the /v2 prefix. If not set,
3776
+ # containerd sets default false.
3777
+ # Corresponds to the JSON property `overridePath`
3778
+ # @return [Boolean]
3779
+ attr_accessor :override_path
3780
+ alias_method :override_path?, :override_path
3781
+
3782
+ def initialize(**args)
3783
+ update!(**args)
3784
+ end
3785
+
3786
+ # Update properties of this object
3787
+ def update!(**args)
3788
+ @ca = args[:ca] if args.key?(:ca)
3789
+ @capabilities = args[:capabilities] if args.key?(:capabilities)
3790
+ @client = args[:client] if args.key?(:client)
3791
+ @dial_timeout = args[:dial_timeout] if args.key?(:dial_timeout)
3792
+ @header = args[:header] if args.key?(:header)
3793
+ @host = args[:host] if args.key?(:host)
3794
+ @override_path = args[:override_path] if args.key?(:override_path)
3795
+ end
3796
+ end
3797
+
3674
3798
  # RFC-2616: cache control support
3675
3799
  class HttpCacheControlResponseHeader
3676
3800
  include Google::Apis::Core::Hashable
@@ -4478,7 +4602,10 @@ module Google
4478
4602
  # port 6988. This serves as a workaround for a port conflict with the gke-
4479
4603
  # metadata-server. This field is required ONLY under the following conditions: 1.
4480
4604
  # The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting
4481
- # to a Lustre instance that has the 'gke-support-enabled' flag.
4605
+ # to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This
4606
+ # flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless
4607
+ # you are connecting to a Lustre instance that has the `gke-support-enabled`
4608
+ # flag.
4482
4609
  # Corresponds to the JSON property `enableLegacyLustrePort`
4483
4610
  # @return [Boolean]
4484
4611
  attr_accessor :enable_legacy_lustre_port
@@ -7119,6 +7246,62 @@ module Google
7119
7246
  end
7120
7247
  end
7121
7248
 
7249
+ # RegistryHeader configures headers for the registry.
7250
+ class RegistryHeader
7251
+ include Google::Apis::Core::Hashable
7252
+
7253
+ # Key configures the header key.
7254
+ # Corresponds to the JSON property `key`
7255
+ # @return [String]
7256
+ attr_accessor :key
7257
+
7258
+ # Value configures the header value.
7259
+ # Corresponds to the JSON property `value`
7260
+ # @return [Array<String>]
7261
+ attr_accessor :value
7262
+
7263
+ def initialize(**args)
7264
+ update!(**args)
7265
+ end
7266
+
7267
+ # Update properties of this object
7268
+ def update!(**args)
7269
+ @key = args[:key] if args.key?(:key)
7270
+ @value = args[:value] if args.key?(:value)
7271
+ end
7272
+ end
7273
+
7274
+ # RegistryHostConfig configures the top-level structure for a single containerd
7275
+ # registry server's configuration, which represents one hosts.toml file on the
7276
+ # node. It will override the same fqdns in PrivateRegistryAccessConfig.
7277
+ class RegistryHostConfig
7278
+ include Google::Apis::Core::Hashable
7279
+
7280
+ # HostConfig configures a list of host-specific configurations for the server.
7281
+ # Each server can have at most 10 host configurations.
7282
+ # Corresponds to the JSON property `hosts`
7283
+ # @return [Array<Google::Apis::ContainerV1::HostConfig>]
7284
+ attr_accessor :hosts
7285
+
7286
+ # Defines the host name of the registry server, which will be used to create
7287
+ # configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully
7288
+ # qualified domain names (FQDN) and IP addresses: Specifying port is supported.
7289
+ # Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
7290
+ # Corresponds to the JSON property `server`
7291
+ # @return [String]
7292
+ attr_accessor :server
7293
+
7294
+ def initialize(**args)
7295
+ update!(**args)
7296
+ end
7297
+
7298
+ # Update properties of this object
7299
+ def update!(**args)
7300
+ @hosts = args[:hosts] if args.key?(:hosts)
7301
+ @server = args[:server] if args.key?(:server)
7302
+ end
7303
+ end
7304
+
7122
7305
  # ReleaseChannel indicates which release channel a cluster is subscribed to.
7123
7306
  # Release channels are arranged in order of risk. When a cluster is subscribed
7124
7307
  # to a release channel, Google maintains both the master version and the node
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.107.0"
19
+ GEM_VERSION = "0.108.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251021"
25
+ REVISION = "20251028"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,18 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class CertificateConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class CertificateConfigPair
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class CheckAutopilotCompatibilityResponse
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -496,6 +508,12 @@ module Google
496
508
  include Google::Apis::Core::JsonObjectSupport
497
509
  end
498
510
 
511
+ class HostConfig
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
499
517
  class HttpCacheControlResponseHeader
500
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
519
 
@@ -958,6 +976,18 @@ module Google
958
976
  include Google::Apis::Core::JsonObjectSupport
959
977
  end
960
978
 
979
+ class RegistryHeader
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
985
+ class RegistryHostConfig
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
961
991
  class ReleaseChannel
962
992
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
993
 
@@ -1579,6 +1609,23 @@ module Google
1579
1609
  end
1580
1610
  end
1581
1611
 
1612
+ class CertificateConfig
1613
+ # @private
1614
+ class Representation < Google::Apis::Core::JsonRepresentation
1615
+ property :gcp_secret_manager_secret_uri, as: 'gcpSecretManagerSecretUri'
1616
+ end
1617
+ end
1618
+
1619
+ class CertificateConfigPair
1620
+ # @private
1621
+ class Representation < Google::Apis::Core::JsonRepresentation
1622
+ property :cert, as: 'cert', class: Google::Apis::ContainerV1::CertificateConfig, decorator: Google::Apis::ContainerV1::CertificateConfig::Representation
1623
+
1624
+ property :key, as: 'key', class: Google::Apis::ContainerV1::CertificateConfig, decorator: Google::Apis::ContainerV1::CertificateConfig::Representation
1625
+
1626
+ end
1627
+ end
1628
+
1582
1629
  class CheckAutopilotCompatibilityResponse
1583
1630
  # @private
1584
1631
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1970,6 +2017,8 @@ module Google
1970
2017
  class Representation < Google::Apis::Core::JsonRepresentation
1971
2018
  property :private_registry_access_config, as: 'privateRegistryAccessConfig', class: Google::Apis::ContainerV1::PrivateRegistryAccessConfig, decorator: Google::Apis::ContainerV1::PrivateRegistryAccessConfig::Representation
1972
2019
 
2020
+ collection :registry_hosts, as: 'registryHosts', class: Google::Apis::ContainerV1::RegistryHostConfig, decorator: Google::Apis::ContainerV1::RegistryHostConfig::Representation
2021
+
1973
2022
  property :writable_cgroups, as: 'writableCgroups', class: Google::Apis::ContainerV1::WritableCgroups, decorator: Google::Apis::ContainerV1::WritableCgroups::Representation
1974
2023
 
1975
2024
  end
@@ -2283,6 +2332,22 @@ module Google
2283
2332
  end
2284
2333
  end
2285
2334
 
2335
+ class HostConfig
2336
+ # @private
2337
+ class Representation < Google::Apis::Core::JsonRepresentation
2338
+ collection :ca, as: 'ca', class: Google::Apis::ContainerV1::CertificateConfig, decorator: Google::Apis::ContainerV1::CertificateConfig::Representation
2339
+
2340
+ collection :capabilities, as: 'capabilities'
2341
+ collection :client, as: 'client', class: Google::Apis::ContainerV1::CertificateConfigPair, decorator: Google::Apis::ContainerV1::CertificateConfigPair::Representation
2342
+
2343
+ property :dial_timeout, as: 'dialTimeout'
2344
+ collection :header, as: 'header', class: Google::Apis::ContainerV1::RegistryHeader, decorator: Google::Apis::ContainerV1::RegistryHeader::Representation
2345
+
2346
+ property :host, as: 'host'
2347
+ property :override_path, as: 'overridePath'
2348
+ end
2349
+ end
2350
+
2286
2351
  class HttpCacheControlResponseHeader
2287
2352
  # @private
2288
2353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3159,6 +3224,23 @@ module Google
3159
3224
  end
3160
3225
  end
3161
3226
 
3227
+ class RegistryHeader
3228
+ # @private
3229
+ class Representation < Google::Apis::Core::JsonRepresentation
3230
+ property :key, as: 'key'
3231
+ collection :value, as: 'value'
3232
+ end
3233
+ end
3234
+
3235
+ class RegistryHostConfig
3236
+ # @private
3237
+ class Representation < Google::Apis::Core::JsonRepresentation
3238
+ collection :hosts, as: 'hosts', class: Google::Apis::ContainerV1::HostConfig, decorator: Google::Apis::ContainerV1::HostConfig::Representation
3239
+
3240
+ property :server, as: 'server'
3241
+ end
3242
+ end
3243
+
3162
3244
  class ReleaseChannel
3163
3245
  # @private
3164
3246
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.107.0
4
+ version: 0.108.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.107.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.108.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
62
62
  rdoc_options: []
63
63
  require_paths: