google-apis-container_v1beta1 0.97.0 → 0.98.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: 3539dea914b0782d04fcbb013d3ae667a3c39fdedeac1d5eb92a05ee49908106
4
- data.tar.gz: 9baeb7b16b49569075b65dd334c39d48e23ac066bbc36b383c86d4c2bc005c3b
3
+ metadata.gz: d74461194892b18df364d083cc6b235ceeb2a16878ef7c0933bbb2fbb92e0e50
4
+ data.tar.gz: 9faab6ea740b2daa01f7b5638f78d9a8be8a59ecf84c45eeaecb3281b7b0b7fd
5
5
  SHA512:
6
- metadata.gz: e79c8c1a0c991f93817dc6fa9e3166a8a042b20839ec40378af0cc3fe3ba6c5ec07c01136b3edc5a8d54124d3acd9522a4307a246b88686a5deb8ff96f0f0f54
7
- data.tar.gz: 9412fec475496882b215f987b6db62358d40e8f1255a0f545635c0ed78cfdc6ccf491b76773dd1d2b7004ecb0decab7ae751f4ae8db314f49e4b14aedd456131
6
+ metadata.gz: cc83379461fd8fa3a8af2895cf81080d1d7876c2532bf1c8bebca53e9d20a524657bf0eff9f2ffb0f289ebcdef26a832429ac7fcd0259fd58ea93dc52f498eca
7
+ data.tar.gz: 68e5eb93fa2048b069e4fd01bc9583a635dc5f060d073d195368d3527b6952b75f4464c733633ca67083264a24ac1018a42e3290819b0d982bab7faa2ec6b361
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.98.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251125
6
+
3
7
  ### v0.97.0 (2025-11-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20251104
@@ -3412,6 +3412,48 @@ module Google
3412
3412
  end
3413
3413
  end
3414
3414
 
3415
+ # DisruptionEvent is a notification sent to customers about the disruption event
3416
+ # of a resource.
3417
+ class DisruptionEvent
3418
+ include Google::Apis::Core::Hashable
3419
+
3420
+ # The type of the disruption event.
3421
+ # Corresponds to the JSON property `disruptionType`
3422
+ # @return [String]
3423
+ attr_accessor :disruption_type
3424
+
3425
+ # The node whose drain is blocked by PDB. This field is set for both
3426
+ # POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
3427
+ # Corresponds to the JSON property `pdbBlockedNode`
3428
+ # @return [String]
3429
+ attr_accessor :pdb_blocked_node
3430
+
3431
+ # The pods whose evictions are blocked by PDB. This field is set for both
3432
+ # POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
3433
+ # Corresponds to the JSON property `pdbBlockedPod`
3434
+ # @return [Array<Google::Apis::ContainerV1beta1::PdbBlockedPod>]
3435
+ attr_accessor :pdb_blocked_pod
3436
+
3437
+ # The timeout in seconds for which the node drain is blocked by PDB. After this
3438
+ # timeout, pods are forcefully evicted. This field is only populated when
3439
+ # event_type is POD_PDB_VIOLATION.
3440
+ # Corresponds to the JSON property `pdbViolationTimeout`
3441
+ # @return [String]
3442
+ attr_accessor :pdb_violation_timeout
3443
+
3444
+ def initialize(**args)
3445
+ update!(**args)
3446
+ end
3447
+
3448
+ # Update properties of this object
3449
+ def update!(**args)
3450
+ @disruption_type = args[:disruption_type] if args.key?(:disruption_type)
3451
+ @pdb_blocked_node = args[:pdb_blocked_node] if args.key?(:pdb_blocked_node)
3452
+ @pdb_blocked_pod = args[:pdb_blocked_pod] if args.key?(:pdb_blocked_pod)
3453
+ @pdb_violation_timeout = args[:pdb_violation_timeout] if args.key?(:pdb_violation_timeout)
3454
+ end
3455
+ end
3456
+
3415
3457
  # Configuration for NodeLocal DNSCache
3416
3458
  class DnsCacheConfig
3417
3459
  include Google::Apis::Core::Hashable
@@ -6380,6 +6422,27 @@ module Google
6380
6422
  end
6381
6423
  end
6382
6424
 
6425
+ # NodeDrainConfig contains the node drain related configurations for this
6426
+ # nodepool.
6427
+ class NodeDrainConfig
6428
+ include Google::Apis::Core::Hashable
6429
+
6430
+ # Whether to respect PDB during node pool deletion.
6431
+ # Corresponds to the JSON property `respectPdbDuringNodePoolDeletion`
6432
+ # @return [Boolean]
6433
+ attr_accessor :respect_pdb_during_node_pool_deletion
6434
+ alias_method :respect_pdb_during_node_pool_deletion?, :respect_pdb_during_node_pool_deletion
6435
+
6436
+ def initialize(**args)
6437
+ update!(**args)
6438
+ end
6439
+
6440
+ # Update properties of this object
6441
+ def update!(**args)
6442
+ @respect_pdb_during_node_pool_deletion = args[:respect_pdb_during_node_pool_deletion] if args.key?(:respect_pdb_during_node_pool_deletion)
6443
+ end
6444
+ end
6445
+
6383
6446
  # Configuration for kernel module loading on nodes.
6384
6447
  class NodeKernelModuleLoading
6385
6448
  include Google::Apis::Core::Hashable
@@ -6743,10 +6806,10 @@ module Google
6743
6806
  # @return [String]
6744
6807
  attr_accessor :pod_range
6745
6808
 
6746
- # Output only. The subnetwork path for the node pool. Format: projects/`project`/
6747
- # regions/`region`/subnetworks/`subnetwork` If the cluster is associated with
6748
- # multiple subnetworks, the subnetwork for the node pool is picked based on the
6749
- # IP utilization during node pool creation and is immutable.
6809
+ # The subnetwork path for the node pool. Format: projects/`project`/regions/`
6810
+ # region`/subnetworks/`subnetwork` If the cluster is associated with multiple
6811
+ # subnetworks, the subnetwork for the node pool is picked based on the IP
6812
+ # utilization during node pool creation and is immutable.
6750
6813
  # Corresponds to the JSON property `subnetwork`
6751
6814
  # @return [String]
6752
6815
  attr_accessor :subnetwork
@@ -6863,6 +6926,12 @@ module Google
6863
6926
  # @return [Google::Apis::ContainerV1beta1::NodeNetworkConfig]
6864
6927
  attr_accessor :network_config
6865
6928
 
6929
+ # NodeDrainConfig contains the node drain related configurations for this
6930
+ # nodepool.
6931
+ # Corresponds to the JSON property `nodeDrainConfig`
6932
+ # @return [Google::Apis::ContainerV1beta1::NodeDrainConfig]
6933
+ attr_accessor :node_drain_config
6934
+
6866
6935
  # PlacementPolicy defines the placement policy used by the node pool.
6867
6936
  # Corresponds to the JSON property `placementPolicy`
6868
6937
  # @return [Google::Apis::ContainerV1beta1::PlacementPolicy]
@@ -6961,6 +7030,7 @@ module Google
6961
7030
  @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
6962
7031
  @name = args[:name] if args.key?(:name)
6963
7032
  @network_config = args[:network_config] if args.key?(:network_config)
7033
+ @node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config)
6964
7034
  @placement_policy = args[:placement_policy] if args.key?(:placement_policy)
6965
7035
  @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
6966
7036
  @queued_provisioning = args[:queued_provisioning] if args.key?(:queued_provisioning)
@@ -7532,6 +7602,31 @@ module Google
7532
7602
  end
7533
7603
  end
7534
7604
 
7605
+ # The namespace/name of the pod whose eviction is blocked by PDB.
7606
+ class PdbBlockedPod
7607
+ include Google::Apis::Core::Hashable
7608
+
7609
+ # The name of the pod.
7610
+ # Corresponds to the JSON property `name`
7611
+ # @return [String]
7612
+ attr_accessor :name
7613
+
7614
+ # The namespace of the pod.
7615
+ # Corresponds to the JSON property `namespace`
7616
+ # @return [String]
7617
+ attr_accessor :namespace
7618
+
7619
+ def initialize(**args)
7620
+ update!(**args)
7621
+ end
7622
+
7623
+ # Update properties of this object
7624
+ def update!(**args)
7625
+ @name = args[:name] if args.key?(:name)
7626
+ @namespace = args[:namespace] if args.key?(:namespace)
7627
+ end
7628
+ end
7629
+
7535
7630
  # PlacementPolicy defines the placement policy used by the node pool.
7536
7631
  class PlacementPolicy
7537
7632
  include Google::Apis::Core::Hashable
@@ -10130,6 +10225,12 @@ module Google
10130
10225
  # @return [String]
10131
10226
  attr_accessor :name
10132
10227
 
10228
+ # NodeDrainConfig contains the node drain related configurations for this
10229
+ # nodepool.
10230
+ # Corresponds to the JSON property `nodeDrainConfig`
10231
+ # @return [Google::Apis::ContainerV1beta1::NodeDrainConfig]
10232
+ attr_accessor :node_drain_config
10233
+
10133
10234
  # Parameters for node pool-level network config.
10134
10235
  # Corresponds to the JSON property `nodeNetworkConfig`
10135
10236
  # @return [Google::Apis::ContainerV1beta1::NodeNetworkConfig]
@@ -10280,6 +10381,7 @@ module Google
10280
10381
  @machine_type = args[:machine_type] if args.key?(:machine_type)
10281
10382
  @max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
10282
10383
  @name = args[:name] if args.key?(:name)
10384
+ @node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config)
10283
10385
  @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
10284
10386
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
10285
10387
  @node_version = args[:node_version] if args.key?(:node_version)
@@ -10490,6 +10592,12 @@ module Google
10490
10592
  # @return [String]
10491
10593
  attr_accessor :description
10492
10594
 
10595
+ # DisruptionEvent is a notification sent to customers about the disruption event
10596
+ # of a resource.
10597
+ # Corresponds to the JSON property `disruptionEvent`
10598
+ # @return [Google::Apis::ContainerV1beta1::DisruptionEvent]
10599
+ attr_accessor :disruption_event
10600
+
10493
10601
  # The time when the operation ended.
10494
10602
  # Corresponds to the JSON property `endTime`
10495
10603
  # @return [String]
@@ -10555,6 +10663,7 @@ module Google
10555
10663
  @current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
10556
10664
  @current_version = args[:current_version] if args.key?(:current_version)
10557
10665
  @description = args[:description] if args.key?(:description)
10666
+ @disruption_event = args[:disruption_event] if args.key?(:disruption_event)
10558
10667
  @end_time = args[:end_time] if args.key?(:end_time)
10559
10668
  @event_type = args[:event_type] if args.key?(:event_type)
10560
10669
  @extended_support_end_time = args[:extended_support_end_time] if args.key?(:extended_support_end_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.97.0"
19
+ GEM_VERSION = "0.98.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 = "20251104"
25
+ REVISION = "20251125"
26
26
  end
27
27
  end
28
28
  end
@@ -412,6 +412,12 @@ module Google
412
412
  include Google::Apis::Core::JsonObjectSupport
413
413
  end
414
414
 
415
+ class DisruptionEvent
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
415
421
  class DnsCacheConfig
416
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
423
 
@@ -874,6 +880,12 @@ module Google
874
880
  include Google::Apis::Core::JsonObjectSupport
875
881
  end
876
882
 
883
+ class NodeDrainConfig
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
877
889
  class NodeKernelModuleLoading
878
890
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
891
 
@@ -994,6 +1006,12 @@ module Google
994
1006
  include Google::Apis::Core::JsonObjectSupport
995
1007
  end
996
1008
 
1009
+ class PdbBlockedPod
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
997
1015
  class PlacementPolicy
998
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
999
1017
 
@@ -2450,6 +2468,17 @@ module Google
2450
2468
  end
2451
2469
  end
2452
2470
 
2471
+ class DisruptionEvent
2472
+ # @private
2473
+ class Representation < Google::Apis::Core::JsonRepresentation
2474
+ property :disruption_type, as: 'disruptionType'
2475
+ property :pdb_blocked_node, as: 'pdbBlockedNode'
2476
+ collection :pdb_blocked_pod, as: 'pdbBlockedPod', class: Google::Apis::ContainerV1beta1::PdbBlockedPod, decorator: Google::Apis::ContainerV1beta1::PdbBlockedPod::Representation
2477
+
2478
+ property :pdb_violation_timeout, as: 'pdbViolationTimeout'
2479
+ end
2480
+ end
2481
+
2453
2482
  class DnsCacheConfig
2454
2483
  # @private
2455
2484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3235,6 +3264,13 @@ module Google
3235
3264
  end
3236
3265
  end
3237
3266
 
3267
+ class NodeDrainConfig
3268
+ # @private
3269
+ class Representation < Google::Apis::Core::JsonRepresentation
3270
+ property :respect_pdb_during_node_pool_deletion, as: 'respectPdbDuringNodePoolDeletion'
3271
+ end
3272
+ end
3273
+
3238
3274
  class NodeKernelModuleLoading
3239
3275
  # @private
3240
3276
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3337,6 +3373,8 @@ module Google
3337
3373
  property :name, as: 'name'
3338
3374
  property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
3339
3375
 
3376
+ property :node_drain_config, as: 'nodeDrainConfig', class: Google::Apis::ContainerV1beta1::NodeDrainConfig, decorator: Google::Apis::ContainerV1beta1::NodeDrainConfig::Representation
3377
+
3340
3378
  property :placement_policy, as: 'placementPolicy', class: Google::Apis::ContainerV1beta1::PlacementPolicy, decorator: Google::Apis::ContainerV1beta1::PlacementPolicy::Representation
3341
3379
 
3342
3380
  property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
@@ -3505,6 +3543,14 @@ module Google
3505
3543
  end
3506
3544
  end
3507
3545
 
3546
+ class PdbBlockedPod
3547
+ # @private
3548
+ class Representation < Google::Apis::Core::JsonRepresentation
3549
+ property :name, as: 'name'
3550
+ property :namespace, as: 'namespace'
3551
+ end
3552
+ end
3553
+
3508
3554
  class PlacementPolicy
3509
3555
  # @private
3510
3556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4193,6 +4239,8 @@ module Google
4193
4239
  property :machine_type, as: 'machineType'
4194
4240
  property :max_run_duration, as: 'maxRunDuration'
4195
4241
  property :name, as: 'name'
4242
+ property :node_drain_config, as: 'nodeDrainConfig', class: Google::Apis::ContainerV1beta1::NodeDrainConfig, decorator: Google::Apis::ContainerV1beta1::NodeDrainConfig::Representation
4243
+
4196
4244
  property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
4197
4245
 
4198
4246
  property :node_pool_id, as: 'nodePoolId'
@@ -4266,6 +4314,8 @@ module Google
4266
4314
  property :current_emulated_version, as: 'currentEmulatedVersion'
4267
4315
  property :current_version, as: 'currentVersion'
4268
4316
  property :description, as: 'description'
4317
+ property :disruption_event, as: 'disruptionEvent', class: Google::Apis::ContainerV1beta1::DisruptionEvent, decorator: Google::Apis::ContainerV1beta1::DisruptionEvent::Representation
4318
+
4269
4319
  property :end_time, as: 'endTime'
4270
4320
  property :event_type, as: 'eventType'
4271
4321
  property :extended_support_end_time, as: 'extendedSupportEndTime'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.0
4
+ version: 0.98.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.97.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.98.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: