google-apis-container_v1 0.104.0 → 0.106.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: 6489391d147638e8737b7557c36f5befeb8ec8373c6e4749d697fda911ccdf8a
4
- data.tar.gz: 38eb5e79f6001564f18e305f1e6b25ba8dba78230ca731ae0c1c6ff6a1d9043f
3
+ metadata.gz: aeff9f19c2631adbc706d77d5064d28972a809c01e2ad0a3576d6dfe59324f0f
4
+ data.tar.gz: 5a4bfbe2984de8e2d9e1df2fc950472d21f17e6f4473dcb7b114dd9cdcd72db0
5
5
  SHA512:
6
- metadata.gz: 39dd42150276f66e6ff167272d16fe79d0768b5848434c794fb9f40d43f5511d5e93f261e34edcc4eb77a0a74b158148cfac1db05085e905da19d44d54860803
7
- data.tar.gz: 5e7fc46202ee92bb95bf18282ced48bd321e517492060876eab00d9f970b6f4aa00a92d5ca2ee0a40c8141ddc24c95d6730cebd4f74b935d604d696eda1a90da
6
+ metadata.gz: 216dc3d650d18a9abe7e30a78e51580aec08b302539d58478d7401e8431aad78e88a5c082740c1ae7331db70e073dc8bdb00e5c5d0f3dc873a558e1b57da7588
7
+ data.tar.gz: c22c5ff30e3147e46c10e78bafa744d6fe0ccfa65e8908423758ee2d911a71e20ef4a701b94aa4cee0876eb0b5f32bd67041d05406048bbb8cf2ea34d02d11f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.106.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251014
6
+
7
+ ### v0.105.0 (2025-10-19)
8
+
9
+ * Regenerated from discovery document revision 20250930
10
+
3
11
  ### v0.104.0 (2025-10-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20250923
@@ -2561,6 +2561,11 @@ module Google
2561
2561
  # @return [Google::Apis::ContainerV1::PrivateRegistryAccessConfig]
2562
2562
  attr_accessor :private_registry_access_config
2563
2563
 
2564
+ # Defines writable cgroups configuration.
2565
+ # Corresponds to the JSON property `writableCgroups`
2566
+ # @return [Google::Apis::ContainerV1::WritableCgroups]
2567
+ attr_accessor :writable_cgroups
2568
+
2564
2569
  def initialize(**args)
2565
2570
  update!(**args)
2566
2571
  end
@@ -2568,6 +2573,7 @@ module Google
2568
2573
  # Update properties of this object
2569
2574
  def update!(**args)
2570
2575
  @private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
2576
+ @writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
2571
2577
  end
2572
2578
  end
2573
2579
 
@@ -4244,6 +4250,11 @@ module Google
4244
4250
  # @return [Google::Apis::ContainerV1::HugepagesConfig]
4245
4251
  attr_accessor :hugepages
4246
4252
 
4253
+ # Configuration for kernel module loading on nodes.
4254
+ # Corresponds to the JSON property `nodeKernelModuleLoading`
4255
+ # @return [Google::Apis::ContainerV1::NodeKernelModuleLoading]
4256
+ attr_accessor :node_kernel_module_loading
4257
+
4247
4258
  # The Linux kernel parameters to be applied to the nodes and all pods running on
4248
4259
  # the nodes. The following parameters are supported. net.core.busy_poll net.core.
4249
4260
  # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
@@ -4288,6 +4299,7 @@ module Google
4288
4299
  def update!(**args)
4289
4300
  @cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
4290
4301
  @hugepages = args[:hugepages] if args.key?(:hugepages)
4302
+ @node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
4291
4303
  @sysctls = args[:sysctls] if args.key?(:sysctls)
4292
4304
  @transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
4293
4305
  @transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
@@ -4517,6 +4529,11 @@ module Google
4517
4529
  class MaintenanceExclusionOptions
4518
4530
  include Google::Apis::Core::Hashable
4519
4531
 
4532
+ # EndTimeBehavior specifies the behavior of the exclusion end time.
4533
+ # Corresponds to the JSON property `endTimeBehavior`
4534
+ # @return [String]
4535
+ attr_accessor :end_time_behavior
4536
+
4520
4537
  # Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
4521
4538
  # Corresponds to the JSON property `scope`
4522
4539
  # @return [String]
@@ -4528,6 +4545,7 @@ module Google
4528
4545
 
4529
4546
  # Update properties of this object
4530
4547
  def update!(**args)
4548
+ @end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior)
4531
4549
  @scope = args[:scope] if args.key?(:scope)
4532
4550
  end
4533
4551
  end
@@ -5575,6 +5593,25 @@ module Google
5575
5593
  end
5576
5594
  end
5577
5595
 
5596
+ # Configuration for kernel module loading on nodes.
5597
+ class NodeKernelModuleLoading
5598
+ include Google::Apis::Core::Hashable
5599
+
5600
+ # Set the node module loading policy for nodes in the node pool.
5601
+ # Corresponds to the JSON property `policy`
5602
+ # @return [String]
5603
+ attr_accessor :policy
5604
+
5605
+ def initialize(**args)
5606
+ update!(**args)
5607
+ end
5608
+
5609
+ # Update properties of this object
5610
+ def update!(**args)
5611
+ @policy = args[:policy] if args.key?(:policy)
5612
+ end
5613
+ end
5614
+
5578
5615
  # Node kubelet configs.
5579
5616
  class NodeKubeletConfig
5580
5617
  include Google::Apis::Core::Hashable
@@ -5625,7 +5662,7 @@ module Google
5625
5662
  # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
5626
5663
  # sequence of decimal numbers, each with optional fraction and a unit suffix,
5627
5664
  # such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
5628
- # . The value must be a positive duration.
5665
+ # . The value must be a positive duration between 1ms and 1 second, inclusive.
5629
5666
  # Corresponds to the JSON property `cpuCfsQuotaPeriod`
5630
5667
  # @return [String]
5631
5668
  attr_accessor :cpu_cfs_quota_period
@@ -8924,7 +8961,13 @@ module Google
8924
8961
  # final_documentation_domain`/compute/docs/zones#available) in which the node
8925
8962
  # pool's nodes should be located. Changing the locations for a node pool will
8926
8963
  # result in nodes being either created or removed from the node pool, depending
8927
- # on whether locations are being added or removed.
8964
+ # on whether locations are being added or removed. Warning: It is recommended to
8965
+ # update node pool locations in a standalone API call. Do not combine a location
8966
+ # update with changes to other fields (such as `tags`, `labels`, `taints`, etc.)
8967
+ # in the same request. Otherwise, the API performs a structural modification
8968
+ # where changes to other fields will only apply to newly created nodes and will
8969
+ # not be applied to existing nodes in the node pool. To ensure all nodes are
8970
+ # updated consistently, use a separate API call for location changes.
8928
8971
  # Corresponds to the JSON property `locations`
8929
8972
  # @return [Array<String>]
8930
8973
  attr_accessor :locations
@@ -9703,6 +9746,26 @@ module Google
9703
9746
  @autopilot_compatibility_auditing_enabled = args[:autopilot_compatibility_auditing_enabled] if args.key?(:autopilot_compatibility_auditing_enabled)
9704
9747
  end
9705
9748
  end
9749
+
9750
+ # Defines writable cgroups configuration.
9751
+ class WritableCgroups
9752
+ include Google::Apis::Core::Hashable
9753
+
9754
+ # Optional. Whether writable cgroups is enabled.
9755
+ # Corresponds to the JSON property `enabled`
9756
+ # @return [Boolean]
9757
+ attr_accessor :enabled
9758
+ alias_method :enabled?, :enabled
9759
+
9760
+ def initialize(**args)
9761
+ update!(**args)
9762
+ end
9763
+
9764
+ # Update properties of this object
9765
+ def update!(**args)
9766
+ @enabled = args[:enabled] if args.key?(:enabled)
9767
+ end
9768
+ end
9706
9769
  end
9707
9770
  end
9708
9771
  end
@@ -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.104.0"
19
+ GEM_VERSION = "0.106.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 = "20250923"
25
+ REVISION = "20251014"
26
26
  end
27
27
  end
28
28
  end
@@ -754,6 +754,12 @@ module Google
754
754
  include Google::Apis::Core::JsonObjectSupport
755
755
  end
756
756
 
757
+ class NodeKernelModuleLoading
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
757
763
  class NodeKubeletConfig
758
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
765
 
@@ -1294,6 +1300,12 @@ module Google
1294
1300
  include Google::Apis::Core::JsonObjectSupport
1295
1301
  end
1296
1302
 
1303
+ class WritableCgroups
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1297
1309
  class AcceleratorConfig
1298
1310
  # @private
1299
1311
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1958,6 +1970,8 @@ module Google
1958
1970
  class Representation < Google::Apis::Core::JsonRepresentation
1959
1971
  property :private_registry_access_config, as: 'privateRegistryAccessConfig', class: Google::Apis::ContainerV1::PrivateRegistryAccessConfig, decorator: Google::Apis::ContainerV1::PrivateRegistryAccessConfig::Representation
1960
1972
 
1973
+ property :writable_cgroups, as: 'writableCgroups', class: Google::Apis::ContainerV1::WritableCgroups, decorator: Google::Apis::ContainerV1::WritableCgroups::Representation
1974
+
1961
1975
  end
1962
1976
  end
1963
1977
 
@@ -2404,6 +2418,8 @@ module Google
2404
2418
  property :cgroup_mode, as: 'cgroupMode'
2405
2419
  property :hugepages, as: 'hugepages', class: Google::Apis::ContainerV1::HugepagesConfig, decorator: Google::Apis::ContainerV1::HugepagesConfig::Representation
2406
2420
 
2421
+ property :node_kernel_module_loading, as: 'nodeKernelModuleLoading', class: Google::Apis::ContainerV1::NodeKernelModuleLoading, decorator: Google::Apis::ContainerV1::NodeKernelModuleLoading::Representation
2422
+
2407
2423
  hash :sysctls, as: 'sysctls'
2408
2424
  property :transparent_hugepage_defrag, as: 'transparentHugepageDefrag'
2409
2425
  property :transparent_hugepage_enabled, as: 'transparentHugepageEnabled'
@@ -2485,6 +2501,7 @@ module Google
2485
2501
  class MaintenanceExclusionOptions
2486
2502
  # @private
2487
2503
  class Representation < Google::Apis::Core::JsonRepresentation
2504
+ property :end_time_behavior, as: 'endTimeBehavior'
2488
2505
  property :scope, as: 'scope'
2489
2506
  end
2490
2507
  end
@@ -2754,6 +2771,13 @@ module Google
2754
2771
  end
2755
2772
  end
2756
2773
 
2774
+ class NodeKernelModuleLoading
2775
+ # @private
2776
+ class Representation < Google::Apis::Core::JsonRepresentation
2777
+ property :policy, as: 'policy'
2778
+ end
2779
+ end
2780
+
2757
2781
  class NodeKubeletConfig
2758
2782
  # @private
2759
2783
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3753,6 +3777,13 @@ module Google
3753
3777
  property :autopilot_compatibility_auditing_enabled, as: 'autopilotCompatibilityAuditingEnabled'
3754
3778
  end
3755
3779
  end
3780
+
3781
+ class WritableCgroups
3782
+ # @private
3783
+ class Representation < Google::Apis::Core::JsonRepresentation
3784
+ property :enabled, as: 'enabled'
3785
+ end
3786
+ end
3756
3787
  end
3757
3788
  end
3758
3789
  end
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.104.0
4
+ version: 0.106.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.104.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.106.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: