google-apis-container_v1 0.90.0 → 0.91.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: abb2bd6b8930b5038b7bd1deb9b2702ea0ab860ae30b66d4a6a5dca40cdfeff1
4
- data.tar.gz: 9e5fdb6e1ea96360ca411d5560d01c15af045f9c736f646550e6d5b939685824
3
+ metadata.gz: 61064adf54b3e99a0fc568d68e26e09107ee77693750caf83ef4a17b52b93026
4
+ data.tar.gz: fa8eb2a79a24857df2b2fda82f355b26eb0046cee4db037d2bc165b1282eb3d1
5
5
  SHA512:
6
- metadata.gz: 52dde229e12561f017b56bdb93bdeb5bb2205c3d698c95237114b3743aa3adcf67b612aca7ee0c11cafdd5582aa75e15e6528f0a8cbe455c09f37310a6b70e15
7
- data.tar.gz: deac514add6475950865f571dd9e35e79bc2c01fde236f302a5b0a9fbce771b5ffc02567860824541fab2fafc13868ae60c2d71619bf663f7296c8e9a7e0ef0d
6
+ metadata.gz: abd35c0f521b5454906bb278365fe484c3ffc2a62344c4c3c9d8d554cbdfa5eb50e9e0662e92407b3986b073bf264c6786df73308545c4e0254c4a35644c4bdb
7
+ data.tar.gz: ea29240bf7a77f25cdbcce80d31c49a672f465b7843da30751a96cb48f3975a5836d85c20bbde195d45527ab9481f96c5b6c3f230a2a436db45e438cc3ae80af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.91.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250311
6
+
3
7
  ### v0.90.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250225
@@ -532,7 +532,7 @@ module Google
532
532
  # @return [String]
533
533
  attr_accessor :image_type
534
534
 
535
- # Enable or disable Kubelet read only port.
535
+ # DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
536
536
  # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
537
537
  # @return [Boolean]
538
538
  attr_accessor :insecure_kubelet_readonly_port_enabled
@@ -1162,7 +1162,10 @@ module Google
1162
1162
  # @return [Google::Apis::ContainerV1::LegacyAbac]
1163
1163
  attr_accessor :legacy_abac
1164
1164
 
1165
- #
1165
+ # Output only. The name of the Google Compute Engine [zone](https://cloud.google.
1166
+ # com/compute/docs/regions-zones/regions-zones#available) or [region](https://
1167
+ # cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
1168
+ # the cluster resides.
1166
1169
  # Corresponds to the JSON property `location`
1167
1170
  # @return [String]
1168
1171
  attr_accessor :location
@@ -1226,7 +1229,7 @@ module Google
1226
1229
  attr_accessor :monitoring_config
1227
1230
 
1228
1231
  # The monitoring service the cluster should use to write metrics. Currently
1229
- # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
1232
+ # available options: * `monitoring.googleapis.com/kubernetes` - The Cloud
1230
1233
  # Monitoring service with a Kubernetes-native resource model * `monitoring.
1231
1234
  # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
1232
1235
  # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
@@ -1305,6 +1308,12 @@ module Google
1305
1308
  # @return [Google::Apis::ContainerV1::ParentProductConfig]
1306
1309
  attr_accessor :parent_product_config
1307
1310
 
1311
+ # PodAutoscaling is used for configuration of parameters for workload
1312
+ # autoscaling.
1313
+ # Corresponds to the JSON property `podAutoscaling`
1314
+ # @return [Google::Apis::ContainerV1::PodAutoscaling]
1315
+ attr_accessor :pod_autoscaling
1316
+
1308
1317
  # Configuration options for private clusters.
1309
1318
  # Corresponds to the JSON property `privateClusterConfig`
1310
1319
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
@@ -1487,6 +1496,7 @@ module Google
1487
1496
  @node_pools = args[:node_pools] if args.key?(:node_pools)
1488
1497
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1489
1498
  @parent_product_config = args[:parent_product_config] if args.key?(:parent_product_config)
1499
+ @pod_autoscaling = args[:pod_autoscaling] if args.key?(:pod_autoscaling)
1490
1500
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
1491
1501
  @rbac_binding_config = args[:rbac_binding_config] if args.key?(:rbac_binding_config)
1492
1502
  @release_channel = args[:release_channel] if args.key?(:release_channel)
@@ -1810,7 +1820,7 @@ module Google
1810
1820
  attr_accessor :desired_monitoring_config
1811
1821
 
1812
1822
  # The monitoring service the cluster should use to write metrics. Currently
1813
- # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
1823
+ # available options: * `monitoring.googleapis.com/kubernetes` - The Cloud
1814
1824
  # Monitoring service with a Kubernetes-native resource model * `monitoring.
1815
1825
  # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
1816
1826
  # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
@@ -1896,6 +1906,12 @@ module Google
1896
1906
  # @return [Google::Apis::ContainerV1::ParentProductConfig]
1897
1907
  attr_accessor :desired_parent_product_config
1898
1908
 
1909
+ # PodAutoscaling is used for configuration of parameters for workload
1910
+ # autoscaling.
1911
+ # Corresponds to the JSON property `desiredPodAutoscaling`
1912
+ # @return [Google::Apis::ContainerV1::PodAutoscaling]
1913
+ attr_accessor :desired_pod_autoscaling
1914
+
1899
1915
  # Configuration options for private clusters.
1900
1916
  # Corresponds to the JSON property `desiredPrivateClusterConfig`
1901
1917
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
@@ -2045,6 +2061,7 @@ module Google
2045
2061
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
2046
2062
  @desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
2047
2063
  @desired_parent_product_config = args[:desired_parent_product_config] if args.key?(:desired_parent_product_config)
2064
+ @desired_pod_autoscaling = args[:desired_pod_autoscaling] if args.key?(:desired_pod_autoscaling)
2048
2065
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
2049
2066
  @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
2050
2067
  @desired_rbac_binding_config = args[:desired_rbac_binding_config] if args.key?(:desired_rbac_binding_config)
@@ -2064,6 +2081,61 @@ module Google
2064
2081
  end
2065
2082
  end
2066
2083
 
2084
+ # ClusterUpgradeInfo contains the upgrade information of a cluster.
2085
+ class ClusterUpgradeInfo
2086
+ include Google::Apis::Core::Hashable
2087
+
2088
+ # The auto upgrade status.
2089
+ # Corresponds to the JSON property `autoUpgradeStatus`
2090
+ # @return [Array<String>]
2091
+ attr_accessor :auto_upgrade_status
2092
+
2093
+ # The cluster's current minor version's end of extended support timestamp.
2094
+ # Corresponds to the JSON property `endOfExtendedSupportTimestamp`
2095
+ # @return [String]
2096
+ attr_accessor :end_of_extended_support_timestamp
2097
+
2098
+ # The cluster's current minor version's end of standard support timestamp.
2099
+ # Corresponds to the JSON property `endOfStandardSupportTimestamp`
2100
+ # @return [String]
2101
+ attr_accessor :end_of_standard_support_timestamp
2102
+
2103
+ # minor_target_version indicates the target version for minor upgrade.
2104
+ # Corresponds to the JSON property `minorTargetVersion`
2105
+ # @return [String]
2106
+ attr_accessor :minor_target_version
2107
+
2108
+ # patch_target_version indicates the target version for patch upgrade.
2109
+ # Corresponds to the JSON property `patchTargetVersion`
2110
+ # @return [String]
2111
+ attr_accessor :patch_target_version
2112
+
2113
+ # The auto upgrade paused reason.
2114
+ # Corresponds to the JSON property `pausedReason`
2115
+ # @return [Array<String>]
2116
+ attr_accessor :paused_reason
2117
+
2118
+ # The list of past auto upgrades.
2119
+ # Corresponds to the JSON property `upgradeDetails`
2120
+ # @return [Array<Google::Apis::ContainerV1::UpgradeDetails>]
2121
+ attr_accessor :upgrade_details
2122
+
2123
+ def initialize(**args)
2124
+ update!(**args)
2125
+ end
2126
+
2127
+ # Update properties of this object
2128
+ def update!(**args)
2129
+ @auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
2130
+ @end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
2131
+ @end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
2132
+ @minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
2133
+ @patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
2134
+ @paused_reason = args[:paused_reason] if args.key?(:paused_reason)
2135
+ @upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
2136
+ end
2137
+ end
2138
+
2067
2139
  # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
2068
2140
  class CompleteIpRotationRequest
2069
2141
  include Google::Apis::Core::Hashable
@@ -4682,7 +4754,7 @@ module Google
4682
4754
 
4683
4755
  # Parameters that can be configured on Windows nodes. Windows Node Config that
4684
4756
  # define the parameters that will be used to configure the Windows node pool
4685
- # settings
4757
+ # settings.
4686
4758
  # Corresponds to the JSON property `windowsNodeConfig`
4687
4759
  # @return [Google::Apis::ContainerV1::WindowsNodeConfig]
4688
4760
  attr_accessor :windows_node_config
@@ -5418,6 +5490,61 @@ module Google
5418
5490
  end
5419
5491
  end
5420
5492
 
5493
+ # NodePoolUpgradeInfo contains the upgrade information of a nodepool.
5494
+ class NodePoolUpgradeInfo
5495
+ include Google::Apis::Core::Hashable
5496
+
5497
+ # The auto upgrade status.
5498
+ # Corresponds to the JSON property `autoUpgradeStatus`
5499
+ # @return [Array<String>]
5500
+ attr_accessor :auto_upgrade_status
5501
+
5502
+ # The nodepool's current minor version's end of extended support timestamp.
5503
+ # Corresponds to the JSON property `endOfExtendedSupportTimestamp`
5504
+ # @return [String]
5505
+ attr_accessor :end_of_extended_support_timestamp
5506
+
5507
+ # The nodepool's current minor version's end of standard support timestamp.
5508
+ # Corresponds to the JSON property `endOfStandardSupportTimestamp`
5509
+ # @return [String]
5510
+ attr_accessor :end_of_standard_support_timestamp
5511
+
5512
+ # minor_target_version indicates the target version for minor upgrade.
5513
+ # Corresponds to the JSON property `minorTargetVersion`
5514
+ # @return [String]
5515
+ attr_accessor :minor_target_version
5516
+
5517
+ # patch_target_version indicates the target version for patch upgrade.
5518
+ # Corresponds to the JSON property `patchTargetVersion`
5519
+ # @return [String]
5520
+ attr_accessor :patch_target_version
5521
+
5522
+ # The auto upgrade paused reason.
5523
+ # Corresponds to the JSON property `pausedReason`
5524
+ # @return [Array<String>]
5525
+ attr_accessor :paused_reason
5526
+
5527
+ # The list of past auto upgrades.
5528
+ # Corresponds to the JSON property `upgradeDetails`
5529
+ # @return [Array<Google::Apis::ContainerV1::UpgradeDetails>]
5530
+ attr_accessor :upgrade_details
5531
+
5532
+ def initialize(**args)
5533
+ update!(**args)
5534
+ end
5535
+
5536
+ # Update properties of this object
5537
+ def update!(**args)
5538
+ @auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
5539
+ @end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
5540
+ @end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
5541
+ @minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
5542
+ @patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
5543
+ @paused_reason = args[:paused_reason] if args.key?(:paused_reason)
5544
+ @upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
5545
+ end
5546
+ end
5547
+
5421
5548
  # Kubernetes taint is composed of three fields: key, value, and effect. Effect
5422
5549
  # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
5423
5550
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
@@ -5772,6 +5899,26 @@ module Google
5772
5899
  end
5773
5900
  end
5774
5901
 
5902
+ # PodAutoscaling is used for configuration of parameters for workload
5903
+ # autoscaling.
5904
+ class PodAutoscaling
5905
+ include Google::Apis::Core::Hashable
5906
+
5907
+ # Selected Horizontal Pod Autoscaling profile.
5908
+ # Corresponds to the JSON property `hpaProfile`
5909
+ # @return [String]
5910
+ attr_accessor :hpa_profile
5911
+
5912
+ def initialize(**args)
5913
+ update!(**args)
5914
+ end
5915
+
5916
+ # Update properties of this object
5917
+ def update!(**args)
5918
+ @hpa_profile = args[:hpa_profile] if args.key?(:hpa_profile)
5919
+ end
5920
+ end
5921
+
5775
5922
  # [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
5776
5923
  class PodCidrOverprovisionConfig
5777
5924
  include Google::Apis::Core::Hashable
@@ -6523,6 +6670,11 @@ module Google
6523
6670
  attr_accessor :manual_steps_required
6524
6671
  alias_method :manual_steps_required?, :manual_steps_required
6525
6672
 
6673
+ # The GKE versions where this vulnerability is mitigated.
6674
+ # Corresponds to the JSON property `mitigatedVersions`
6675
+ # @return [Array<String>]
6676
+ attr_accessor :mitigated_versions
6677
+
6526
6678
  # The GKE versions where this vulnerability is patched.
6527
6679
  # Corresponds to the JSON property `patchedVersions`
6528
6680
  # @return [Array<String>]
@@ -6561,6 +6713,7 @@ module Google
6561
6713
  @bulletin_uri = args[:bulletin_uri] if args.key?(:bulletin_uri)
6562
6714
  @cve_ids = args[:cve_ids] if args.key?(:cve_ids)
6563
6715
  @manual_steps_required = args[:manual_steps_required] if args.key?(:manual_steps_required)
6716
+ @mitigated_versions = args[:mitigated_versions] if args.key?(:mitigated_versions)
6564
6717
  @patched_versions = args[:patched_versions] if args.key?(:patched_versions)
6565
6718
  @resource_type_affected = args[:resource_type_affected] if args.key?(:resource_type_affected)
6566
6719
  @severity = args[:severity] if args.key?(:severity)
@@ -7047,7 +7200,7 @@ module Google
7047
7200
  attr_accessor :cluster_id
7048
7201
 
7049
7202
  # Required. The monitoring service the cluster should use to write metrics.
7050
- # Currently available options: * "monitoring.googleapis.com/kubernetes" - The
7203
+ # Currently available options: * `monitoring.googleapis.com/kubernetes` - The
7051
7204
  # Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
7052
7205
  # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
7053
7206
  # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
@@ -7945,7 +8098,7 @@ module Google
7945
8098
 
7946
8099
  # Parameters that can be configured on Windows nodes. Windows Node Config that
7947
8100
  # define the parameters that will be used to configure the Windows node pool
7948
- # settings
8101
+ # settings.
7949
8102
  # Corresponds to the JSON property `windowsNodeConfig`
7950
8103
  # @return [Google::Apis::ContainerV1::WindowsNodeConfig]
7951
8104
  attr_accessor :windows_node_config
@@ -8047,6 +8200,56 @@ module Google
8047
8200
  end
8048
8201
  end
8049
8202
 
8203
+ # UpgradeDetails contains detailed information of each individual upgrade
8204
+ # operation.
8205
+ class UpgradeDetails
8206
+ include Google::Apis::Core::Hashable
8207
+
8208
+ # The end timestamp of the upgrade.
8209
+ # Corresponds to the JSON property `endTime`
8210
+ # @return [String]
8211
+ attr_accessor :end_time
8212
+
8213
+ # The version before the upgrade.
8214
+ # Corresponds to the JSON property `initialVersion`
8215
+ # @return [String]
8216
+ attr_accessor :initial_version
8217
+
8218
+ # The start timestamp of the upgrade.
8219
+ # Corresponds to the JSON property `startTime`
8220
+ # @return [String]
8221
+ attr_accessor :start_time
8222
+
8223
+ # The start type of the upgrade.
8224
+ # Corresponds to the JSON property `startType`
8225
+ # @return [String]
8226
+ attr_accessor :start_type
8227
+
8228
+ # Output only. The state of the upgrade.
8229
+ # Corresponds to the JSON property `state`
8230
+ # @return [String]
8231
+ attr_accessor :state
8232
+
8233
+ # The version after the upgrade.
8234
+ # Corresponds to the JSON property `targetVersion`
8235
+ # @return [String]
8236
+ attr_accessor :target_version
8237
+
8238
+ def initialize(**args)
8239
+ update!(**args)
8240
+ end
8241
+
8242
+ # Update properties of this object
8243
+ def update!(**args)
8244
+ @end_time = args[:end_time] if args.key?(:end_time)
8245
+ @initial_version = args[:initial_version] if args.key?(:initial_version)
8246
+ @start_time = args[:start_time] if args.key?(:start_time)
8247
+ @start_type = args[:start_type] if args.key?(:start_type)
8248
+ @state = args[:state] if args.key?(:state)
8249
+ @target_version = args[:target_version] if args.key?(:target_version)
8250
+ end
8251
+ end
8252
+
8050
8253
  # UpgradeEvent is a notification sent to customers by the cluster server when a
8051
8254
  # resource is upgrading.
8052
8255
  class UpgradeEvent
@@ -8450,11 +8653,11 @@ module Google
8450
8653
 
8451
8654
  # Parameters that can be configured on Windows nodes. Windows Node Config that
8452
8655
  # define the parameters that will be used to configure the Windows node pool
8453
- # settings
8656
+ # settings.
8454
8657
  class WindowsNodeConfig
8455
8658
  include Google::Apis::Core::Hashable
8456
8659
 
8457
- # OSVersion specifies the Windows node config to be used on the node
8660
+ # OSVersion specifies the Windows node config to be used on the node.
8458
8661
  # Corresponds to the JSON property `osVersion`
8459
8662
  # @return [String]
8460
8663
  attr_accessor :os_version
@@ -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.90.0"
19
+ GEM_VERSION = "0.91.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250225"
25
+ REVISION = "20250311"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class ClusterUpgradeInfo
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class CompleteIpRotationRequest
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -712,6 +718,12 @@ module Google
712
718
  include Google::Apis::Core::JsonObjectSupport
713
719
  end
714
720
 
721
+ class NodePoolUpgradeInfo
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
715
727
  class NodeTaint
716
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
729
 
@@ -766,6 +778,12 @@ module Google
766
778
  include Google::Apis::Core::JsonObjectSupport
767
779
  end
768
780
 
781
+ class PodAutoscaling
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
769
787
  class PodCidrOverprovisionConfig
770
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
789
 
@@ -1090,6 +1108,12 @@ module Google
1090
1108
  include Google::Apis::Core::JsonObjectSupport
1091
1109
  end
1092
1110
 
1111
+ class UpgradeDetails
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1093
1117
  class UpgradeEvent
1094
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1095
1119
 
@@ -1509,6 +1533,8 @@ module Google
1509
1533
 
1510
1534
  property :parent_product_config, as: 'parentProductConfig', class: Google::Apis::ContainerV1::ParentProductConfig, decorator: Google::Apis::ContainerV1::ParentProductConfig::Representation
1511
1535
 
1536
+ property :pod_autoscaling, as: 'podAutoscaling', class: Google::Apis::ContainerV1::PodAutoscaling, decorator: Google::Apis::ContainerV1::PodAutoscaling::Representation
1537
+
1512
1538
  property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
1513
1539
 
1514
1540
  property :rbac_binding_config, as: 'rbacBindingConfig', class: Google::Apis::ContainerV1::RbacBindingConfig, decorator: Google::Apis::ContainerV1::RbacBindingConfig::Representation
@@ -1650,6 +1676,8 @@ module Google
1650
1676
 
1651
1677
  property :desired_parent_product_config, as: 'desiredParentProductConfig', class: Google::Apis::ContainerV1::ParentProductConfig, decorator: Google::Apis::ContainerV1::ParentProductConfig::Representation
1652
1678
 
1679
+ property :desired_pod_autoscaling, as: 'desiredPodAutoscaling', class: Google::Apis::ContainerV1::PodAutoscaling, decorator: Google::Apis::ContainerV1::PodAutoscaling::Representation
1680
+
1653
1681
  property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
1654
1682
 
1655
1683
  property :desired_private_ipv6_google_access, as: 'desiredPrivateIpv6GoogleAccess'
@@ -1682,6 +1710,20 @@ module Google
1682
1710
  end
1683
1711
  end
1684
1712
 
1713
+ class ClusterUpgradeInfo
1714
+ # @private
1715
+ class Representation < Google::Apis::Core::JsonRepresentation
1716
+ collection :auto_upgrade_status, as: 'autoUpgradeStatus'
1717
+ property :end_of_extended_support_timestamp, as: 'endOfExtendedSupportTimestamp'
1718
+ property :end_of_standard_support_timestamp, as: 'endOfStandardSupportTimestamp'
1719
+ property :minor_target_version, as: 'minorTargetVersion'
1720
+ property :patch_target_version, as: 'patchTargetVersion'
1721
+ collection :paused_reason, as: 'pausedReason'
1722
+ collection :upgrade_details, as: 'upgradeDetails', class: Google::Apis::ContainerV1::UpgradeDetails, decorator: Google::Apis::ContainerV1::UpgradeDetails::Representation
1723
+
1724
+ end
1725
+ end
1726
+
1685
1727
  class CompleteIpRotationRequest
1686
1728
  # @private
1687
1729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2571,6 +2613,20 @@ module Google
2571
2613
  end
2572
2614
  end
2573
2615
 
2616
+ class NodePoolUpgradeInfo
2617
+ # @private
2618
+ class Representation < Google::Apis::Core::JsonRepresentation
2619
+ collection :auto_upgrade_status, as: 'autoUpgradeStatus'
2620
+ property :end_of_extended_support_timestamp, as: 'endOfExtendedSupportTimestamp'
2621
+ property :end_of_standard_support_timestamp, as: 'endOfStandardSupportTimestamp'
2622
+ property :minor_target_version, as: 'minorTargetVersion'
2623
+ property :patch_target_version, as: 'patchTargetVersion'
2624
+ collection :paused_reason, as: 'pausedReason'
2625
+ collection :upgrade_details, as: 'upgradeDetails', class: Google::Apis::ContainerV1::UpgradeDetails, decorator: Google::Apis::ContainerV1::UpgradeDetails::Representation
2626
+
2627
+ end
2628
+ end
2629
+
2574
2630
  class NodeTaint
2575
2631
  # @private
2576
2632
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2666,6 +2722,13 @@ module Google
2666
2722
  end
2667
2723
  end
2668
2724
 
2725
+ class PodAutoscaling
2726
+ # @private
2727
+ class Representation < Google::Apis::Core::JsonRepresentation
2728
+ property :hpa_profile, as: 'hpaProfile'
2729
+ end
2730
+ end
2731
+
2669
2732
  class PodCidrOverprovisionConfig
2670
2733
  # @private
2671
2734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2880,6 +2943,7 @@ module Google
2880
2943
  property :bulletin_uri, as: 'bulletinUri'
2881
2944
  collection :cve_ids, as: 'cveIds'
2882
2945
  property :manual_steps_required, as: 'manualStepsRequired'
2946
+ collection :mitigated_versions, as: 'mitigatedVersions'
2883
2947
  collection :patched_versions, as: 'patchedVersions'
2884
2948
  property :resource_type_affected, as: 'resourceTypeAffected'
2885
2949
  property :severity, as: 'severity'
@@ -3236,6 +3300,18 @@ module Google
3236
3300
  end
3237
3301
  end
3238
3302
 
3303
+ class UpgradeDetails
3304
+ # @private
3305
+ class Representation < Google::Apis::Core::JsonRepresentation
3306
+ property :end_time, as: 'endTime'
3307
+ property :initial_version, as: 'initialVersion'
3308
+ property :start_time, as: 'startTime'
3309
+ property :start_type, as: 'startType'
3310
+ property :state, as: 'state'
3311
+ property :target_version, as: 'targetVersion'
3312
+ end
3313
+ end
3314
+
3239
3315
  class UpgradeEvent
3240
3316
  # @private
3241
3317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -296,6 +296,41 @@ module Google
296
296
  execute_or_queue_command(command, &block)
297
297
  end
298
298
 
299
+ # Fetch upgrade information of a specific cluster.
300
+ # @param [String] name
301
+ # Required. The name (project, location, cluster) of the cluster to get.
302
+ # Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
303
+ # zones/*/clusters/*`.
304
+ # @param [String] version
305
+ # API request version that initiates this operation.
306
+ # @param [String] fields
307
+ # Selector specifying which fields to include in a partial response.
308
+ # @param [String] quota_user
309
+ # Available to use for quota purposes for server-side applications. Can be any
310
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
311
+ # @param [Google::Apis::RequestOptions] options
312
+ # Request-specific options
313
+ #
314
+ # @yield [result, err] Result & error if block supplied
315
+ # @yieldparam result [Google::Apis::ContainerV1::ClusterUpgradeInfo] parsed result object
316
+ # @yieldparam err [StandardError] error object if request failed
317
+ #
318
+ # @return [Google::Apis::ContainerV1::ClusterUpgradeInfo]
319
+ #
320
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
321
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
322
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
323
+ def fetch_project_location_cluster_cluster_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
324
+ command = make_simple_command(:get, 'v1/{+name}:fetchClusterUpgradeInfo', options)
325
+ command.response_representation = Google::Apis::ContainerV1::ClusterUpgradeInfo::Representation
326
+ command.response_class = Google::Apis::ContainerV1::ClusterUpgradeInfo
327
+ command.params['name'] = name unless name.nil?
328
+ command.query['version'] = version unless version.nil?
329
+ command.query['fields'] = fields unless fields.nil?
330
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
331
+ execute_or_queue_command(command, &block)
332
+ end
333
+
299
334
  # Gets the details of a specific cluster.
300
335
  # @param [String] name
301
336
  # The name (project, location, cluster) of the cluster to retrieve. Specified in
@@ -945,6 +980,41 @@ module Google
945
980
  execute_or_queue_command(command, &block)
946
981
  end
947
982
 
983
+ # Fetch upgrade information of a specific nodepool.
984
+ # @param [String] name
985
+ # Required. The name (project, location, cluster, nodepool) of the nodepool to
986
+ # get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
987
+ # or `projects/*/zones/*/clusters/*/nodePools/*`.
988
+ # @param [String] version
989
+ # API request version that initiates this operation.
990
+ # @param [String] fields
991
+ # Selector specifying which fields to include in a partial response.
992
+ # @param [String] quota_user
993
+ # Available to use for quota purposes for server-side applications. Can be any
994
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
995
+ # @param [Google::Apis::RequestOptions] options
996
+ # Request-specific options
997
+ #
998
+ # @yield [result, err] Result & error if block supplied
999
+ # @yieldparam result [Google::Apis::ContainerV1::NodePoolUpgradeInfo] parsed result object
1000
+ # @yieldparam err [StandardError] error object if request failed
1001
+ #
1002
+ # @return [Google::Apis::ContainerV1::NodePoolUpgradeInfo]
1003
+ #
1004
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1005
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1006
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1007
+ def fetch_project_location_cluster_node_pool_node_pool_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
1008
+ command = make_simple_command(:get, 'v1/{+name}:fetchNodePoolUpgradeInfo', options)
1009
+ command.response_representation = Google::Apis::ContainerV1::NodePoolUpgradeInfo::Representation
1010
+ command.response_class = Google::Apis::ContainerV1::NodePoolUpgradeInfo
1011
+ command.params['name'] = name unless name.nil?
1012
+ command.query['version'] = version unless version.nil?
1013
+ command.query['fields'] = fields unless fields.nil?
1014
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1015
+ execute_or_queue_command(command, &block)
1016
+ end
1017
+
948
1018
  # Retrieves the requested node pool.
949
1019
  # @param [String] name
950
1020
  # The name (project, location, cluster, node pool id) of the node pool to get.
@@ -1593,6 +1663,41 @@ module Google
1593
1663
  execute_or_queue_command(command, &block)
1594
1664
  end
1595
1665
 
1666
+ # Fetch upgrade information of a specific cluster.
1667
+ # @param [String] name
1668
+ # Required. The name (project, location, cluster) of the cluster to get.
1669
+ # Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
1670
+ # zones/*/clusters/*`.
1671
+ # @param [String] version
1672
+ # API request version that initiates this operation.
1673
+ # @param [String] fields
1674
+ # Selector specifying which fields to include in a partial response.
1675
+ # @param [String] quota_user
1676
+ # Available to use for quota purposes for server-side applications. Can be any
1677
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1678
+ # @param [Google::Apis::RequestOptions] options
1679
+ # Request-specific options
1680
+ #
1681
+ # @yield [result, err] Result & error if block supplied
1682
+ # @yieldparam result [Google::Apis::ContainerV1::ClusterUpgradeInfo] parsed result object
1683
+ # @yieldparam err [StandardError] error object if request failed
1684
+ #
1685
+ # @return [Google::Apis::ContainerV1::ClusterUpgradeInfo]
1686
+ #
1687
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1688
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1689
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1690
+ def fetch_project_zone_cluster_cluster_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
1691
+ command = make_simple_command(:get, 'v1/{+name}:fetchClusterUpgradeInfo', options)
1692
+ command.response_representation = Google::Apis::ContainerV1::ClusterUpgradeInfo::Representation
1693
+ command.response_class = Google::Apis::ContainerV1::ClusterUpgradeInfo
1694
+ command.params['name'] = name unless name.nil?
1695
+ command.query['version'] = version unless version.nil?
1696
+ command.query['fields'] = fields unless fields.nil?
1697
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1698
+ execute_or_queue_command(command, &block)
1699
+ end
1700
+
1596
1701
  # Gets the details of a specific cluster.
1597
1702
  # @param [String] project_id
1598
1703
  # Deprecated. The Google Developers Console [project ID or project number](https:
@@ -2307,6 +2412,41 @@ module Google
2307
2412
  execute_or_queue_command(command, &block)
2308
2413
  end
2309
2414
 
2415
+ # Fetch upgrade information of a specific nodepool.
2416
+ # @param [String] name
2417
+ # Required. The name (project, location, cluster, nodepool) of the nodepool to
2418
+ # get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
2419
+ # or `projects/*/zones/*/clusters/*/nodePools/*`.
2420
+ # @param [String] version
2421
+ # API request version that initiates this operation.
2422
+ # @param [String] fields
2423
+ # Selector specifying which fields to include in a partial response.
2424
+ # @param [String] quota_user
2425
+ # Available to use for quota purposes for server-side applications. Can be any
2426
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2427
+ # @param [Google::Apis::RequestOptions] options
2428
+ # Request-specific options
2429
+ #
2430
+ # @yield [result, err] Result & error if block supplied
2431
+ # @yieldparam result [Google::Apis::ContainerV1::NodePoolUpgradeInfo] parsed result object
2432
+ # @yieldparam err [StandardError] error object if request failed
2433
+ #
2434
+ # @return [Google::Apis::ContainerV1::NodePoolUpgradeInfo]
2435
+ #
2436
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2437
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2438
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2439
+ def fetch_project_zone_cluster_node_pool_node_pool_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
2440
+ command = make_simple_command(:get, 'v1/{+name}:fetchNodePoolUpgradeInfo', options)
2441
+ command.response_representation = Google::Apis::ContainerV1::NodePoolUpgradeInfo::Representation
2442
+ command.response_class = Google::Apis::ContainerV1::NodePoolUpgradeInfo
2443
+ command.params['name'] = name unless name.nil?
2444
+ command.query['version'] = version unless version.nil?
2445
+ command.query['fields'] = fields unless fields.nil?
2446
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2447
+ execute_or_queue_command(command, &block)
2448
+ end
2449
+
2310
2450
  # Retrieves the requested node pool.
2311
2451
  # @param [String] project_id
2312
2452
  # Deprecated. The Google Developers Console [project ID or project number](https:
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.90.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.91.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: