google-apis-container_v1 0.84.0 → 0.85.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7a0d8ed3d7edbe0549d73bc0870d065c5737077d961bbfd14da6ff33f85c727
4
- data.tar.gz: e07c90c3b09c98c15207700581d910bd4d23bae9c01d5391beef1c02840cb592
3
+ metadata.gz: b3d3d546797aed87caa7d737a553ac0892b7384ecfe430d6c90081b57d425f2f
4
+ data.tar.gz: b960470ba70e2ef403ee631fa633e14a9b3d5416dbb5002dba5280de3ab90038
5
5
  SHA512:
6
- metadata.gz: '081b15ff5e0c47cd3e8d8fc8cf7c833a622d176762c673fbaa23b2db4c42aa47122f67e6b334b70a56fa7548585279ca76122ca3be5db9cee274e3527e0737d1'
7
- data.tar.gz: fe65ff9fc12318ea898d2a5e2e8d7f4ae5dd20d0b3c227d74c2d46729b2f47c087bc052e3c4333b41f50ef285ac95a2efd9b65d53fb16622d185b04fe8665135
6
+ metadata.gz: 31ac3c18f52f0789cab82ef430c2a1dca711df4ff36fcc4b4bc83c788fc7cd8ed45db8309109971f89688eeab73c36837a80482e7205dca417d7ac27fb562218
7
+ data.tar.gz: 30cbaa5e6e1ec634910ca46cec39d2b4cd1c9f225abd4714e87c324c509cc43cd03c5122fc30ee8470607f148508a959ca100c14127e089e155b74f030d81d7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.85.0 (2024-11-10)
4
+
5
+ * Regenerated from discovery document revision 20241024
6
+
3
7
  ### v0.84.0 (2024-11-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20241017
@@ -1791,6 +1791,11 @@ module Google
1791
1791
  # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
1792
1792
  attr_accessor :desired_node_pool_auto_config_kubelet_config
1793
1793
 
1794
+ # Parameters that can be configured on Linux nodes.
1795
+ # Corresponds to the JSON property `desiredNodePoolAutoConfigLinuxNodeConfig`
1796
+ # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
1797
+ attr_accessor :desired_node_pool_auto_config_linux_node_config
1798
+
1794
1799
  # Collection of Compute Engine network tags that can be applied to a node's
1795
1800
  # underlying VM instance.
1796
1801
  # Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
@@ -1986,6 +1991,7 @@ module Google
1986
1991
  @desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
1987
1992
  @desired_node_kubelet_config = args[:desired_node_kubelet_config] if args.key?(:desired_node_kubelet_config)
1988
1993
  @desired_node_pool_auto_config_kubelet_config = args[:desired_node_pool_auto_config_kubelet_config] if args.key?(:desired_node_pool_auto_config_kubelet_config)
1994
+ @desired_node_pool_auto_config_linux_node_config = args[:desired_node_pool_auto_config_linux_node_config] if args.key?(:desired_node_pool_auto_config_linux_node_config)
1989
1995
  @desired_node_pool_auto_config_network_tags = args[:desired_node_pool_auto_config_network_tags] if args.key?(:desired_node_pool_auto_config_network_tags)
1990
1996
  @desired_node_pool_auto_config_resource_manager_tags = args[:desired_node_pool_auto_config_resource_manager_tags] if args.key?(:desired_node_pool_auto_config_resource_manager_tags)
1991
1997
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
@@ -4446,6 +4452,12 @@ module Google
4446
4452
  # @return [Fixnum]
4447
4453
  attr_accessor :local_ssd_count
4448
4454
 
4455
+ # Specifies which method should be used for encrypting the Local SSDs attahced
4456
+ # to the node.
4457
+ # Corresponds to the JSON property `localSsdEncryptionMode`
4458
+ # @return [String]
4459
+ attr_accessor :local_ssd_encryption_mode
4460
+
4449
4461
  # NodePoolLoggingConfig specifies logging configuration for nodepools.
4450
4462
  # Corresponds to the JSON property `loggingConfig`
4451
4463
  # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
@@ -4635,6 +4647,7 @@ module Google
4635
4647
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
4636
4648
  @local_nvme_ssd_block_config = args[:local_nvme_ssd_block_config] if args.key?(:local_nvme_ssd_block_config)
4637
4649
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
4650
+ @local_ssd_encryption_mode = args[:local_ssd_encryption_mode] if args.key?(:local_ssd_encryption_mode)
4638
4651
  @logging_config = args[:logging_config] if args.key?(:logging_config)
4639
4652
  @machine_type = args[:machine_type] if args.key?(:machine_type)
4640
4653
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -5110,6 +5123,11 @@ module Google
5110
5123
  class NodePoolAutoConfig
5111
5124
  include Google::Apis::Core::Hashable
5112
5125
 
5126
+ # Parameters that can be configured on Linux nodes.
5127
+ # Corresponds to the JSON property `linuxNodeConfig`
5128
+ # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
5129
+ attr_accessor :linux_node_config
5130
+
5113
5131
  # Collection of Compute Engine network tags that can be applied to a node's
5114
5132
  # underlying VM instance.
5115
5133
  # Corresponds to the JSON property `networkTags`
@@ -5136,6 +5154,7 @@ module Google
5136
5154
 
5137
5155
  # Update properties of this object
5138
5156
  def update!(**args)
5157
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
5139
5158
  @network_tags = args[:network_tags] if args.key?(:network_tags)
5140
5159
  @node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
5141
5160
  @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
@@ -5164,19 +5183,19 @@ module Google
5164
5183
  # @return [String]
5165
5184
  attr_accessor :location_policy
5166
5185
 
5167
- # Maximum number of nodes for one location in the NodePool. Must be >=
5186
+ # Maximum number of nodes for one location in the node pool. Must be >=
5168
5187
  # min_node_count. There has to be enough quota to scale up the cluster.
5169
5188
  # Corresponds to the JSON property `maxNodeCount`
5170
5189
  # @return [Fixnum]
5171
5190
  attr_accessor :max_node_count
5172
5191
 
5173
- # Minimum number of nodes for one location in the NodePool. Must be >= 1 and <=
5174
- # max_node_count.
5192
+ # Minimum number of nodes for one location in the node pool. Must be greater
5193
+ # than or equal to 0 and less than or equal to max_node_count.
5175
5194
  # Corresponds to the JSON property `minNodeCount`
5176
5195
  # @return [Fixnum]
5177
5196
  attr_accessor :min_node_count
5178
5197
 
5179
- # Maximum number of nodes in the node pool. Must be greater than
5198
+ # Maximum number of nodes in the node pool. Must be greater than or equal to
5180
5199
  # total_min_node_count. There has to be enough quota to scale up the cluster.
5181
5200
  # The total_*_node_count fields are mutually exclusive with the *_node_count
5182
5201
  # fields.
@@ -5184,9 +5203,9 @@ module Google
5184
5203
  # @return [Fixnum]
5185
5204
  attr_accessor :total_max_node_count
5186
5205
 
5187
- # Minimum number of nodes in the node pool. Must be greater than 1 less than
5188
- # total_max_node_count. The total_*_node_count fields are mutually exclusive
5189
- # with the *_node_count fields.
5206
+ # Minimum number of nodes in the node pool. Must be greater than or equal to 0
5207
+ # and less than or equal to total_max_node_count. The total_*_node_count fields
5208
+ # are mutually exclusive with the *_node_count fields.
5190
5209
  # Corresponds to the JSON property `totalMinNodeCount`
5191
5210
  # @return [Fixnum]
5192
5211
  attr_accessor :total_min_node_count
@@ -7918,6 +7937,75 @@ module Google
7918
7937
  end
7919
7938
  end
7920
7939
 
7940
+ # UpgradeInfoEvent is a notification sent to customers about the upgrade
7941
+ # information of a resource.
7942
+ class UpgradeInfoEvent
7943
+ include Google::Apis::Core::Hashable
7944
+
7945
+ # The current version before the upgrade.
7946
+ # Corresponds to the JSON property `currentVersion`
7947
+ # @return [String]
7948
+ attr_accessor :current_version
7949
+
7950
+ # A brief description of the event.
7951
+ # Corresponds to the JSON property `description`
7952
+ # @return [String]
7953
+ attr_accessor :description
7954
+
7955
+ # The time when the operation ended.
7956
+ # Corresponds to the JSON property `endTime`
7957
+ # @return [String]
7958
+ attr_accessor :end_time
7959
+
7960
+ # The operation associated with this upgrade.
7961
+ # Corresponds to the JSON property `operation`
7962
+ # @return [String]
7963
+ attr_accessor :operation
7964
+
7965
+ # Optional relative path to the resource. For example in node pool upgrades, the
7966
+ # relative path of the node pool.
7967
+ # Corresponds to the JSON property `resource`
7968
+ # @return [String]
7969
+ attr_accessor :resource
7970
+
7971
+ # The resource type associated with the upgrade.
7972
+ # Corresponds to the JSON property `resourceType`
7973
+ # @return [String]
7974
+ attr_accessor :resource_type
7975
+
7976
+ # The time when the operation was started.
7977
+ # Corresponds to the JSON property `startTime`
7978
+ # @return [String]
7979
+ attr_accessor :start_time
7980
+
7981
+ # Output only. The state of the upgrade.
7982
+ # Corresponds to the JSON property `state`
7983
+ # @return [String]
7984
+ attr_accessor :state
7985
+
7986
+ # The target version for the upgrade.
7987
+ # Corresponds to the JSON property `targetVersion`
7988
+ # @return [String]
7989
+ attr_accessor :target_version
7990
+
7991
+ def initialize(**args)
7992
+ update!(**args)
7993
+ end
7994
+
7995
+ # Update properties of this object
7996
+ def update!(**args)
7997
+ @current_version = args[:current_version] if args.key?(:current_version)
7998
+ @description = args[:description] if args.key?(:description)
7999
+ @end_time = args[:end_time] if args.key?(:end_time)
8000
+ @operation = args[:operation] if args.key?(:operation)
8001
+ @resource = args[:resource] if args.key?(:resource)
8002
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
8003
+ @start_time = args[:start_time] if args.key?(:start_time)
8004
+ @state = args[:state] if args.key?(:state)
8005
+ @target_version = args[:target_version] if args.key?(:target_version)
8006
+ end
8007
+ end
8008
+
7921
8009
  # These upgrade settings control the level of parallelism and the level of
7922
8010
  # disruption caused by an upgrade. maxUnavailable controls the number of nodes
7923
8011
  # that can be simultaneously unavailable. maxSurge controls the number of
@@ -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.84.0"
19
+ GEM_VERSION = "0.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241017"
25
+ REVISION = "20241024"
26
26
  end
27
27
  end
28
28
  end
@@ -1084,6 +1084,12 @@ module Google
1084
1084
  include Google::Apis::Core::JsonObjectSupport
1085
1085
  end
1086
1086
 
1087
+ class UpgradeInfoEvent
1088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1089
+
1090
+ include Google::Apis::Core::JsonObjectSupport
1091
+ end
1092
+
1087
1093
  class UpgradeSettings
1088
1094
  class Representation < Google::Apis::Core::JsonRepresentation; end
1089
1095
 
@@ -1601,6 +1607,8 @@ module Google
1601
1607
 
1602
1608
  property :desired_node_pool_auto_config_kubelet_config, as: 'desiredNodePoolAutoConfigKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1603
1609
 
1610
+ property :desired_node_pool_auto_config_linux_node_config, as: 'desiredNodePoolAutoConfigLinuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
1611
+
1604
1612
  property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
1605
1613
 
1606
1614
  property :desired_node_pool_auto_config_resource_manager_tags, as: 'desiredNodePoolAutoConfigResourceManagerTags', class: Google::Apis::ContainerV1::ResourceManagerTags, decorator: Google::Apis::ContainerV1::ResourceManagerTags::Representation
@@ -2344,6 +2352,7 @@ module Google
2344
2352
  property :local_nvme_ssd_block_config, as: 'localNvmeSsdBlockConfig', class: Google::Apis::ContainerV1::LocalNvmeSsdBlockConfig, decorator: Google::Apis::ContainerV1::LocalNvmeSsdBlockConfig::Representation
2345
2353
 
2346
2354
  property :local_ssd_count, as: 'localSsdCount'
2355
+ property :local_ssd_encryption_mode, as: 'localSsdEncryptionMode'
2347
2356
  property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
2348
2357
 
2349
2358
  property :machine_type, as: 'machineType'
@@ -2482,6 +2491,8 @@ module Google
2482
2491
  class NodePoolAutoConfig
2483
2492
  # @private
2484
2493
  class Representation < Google::Apis::Core::JsonRepresentation
2494
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
2495
+
2485
2496
  property :network_tags, as: 'networkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
2486
2497
 
2487
2498
  property :node_kubelet_config, as: 'nodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
@@ -3196,6 +3207,21 @@ module Google
3196
3207
  end
3197
3208
  end
3198
3209
 
3210
+ class UpgradeInfoEvent
3211
+ # @private
3212
+ class Representation < Google::Apis::Core::JsonRepresentation
3213
+ property :current_version, as: 'currentVersion'
3214
+ property :description, as: 'description'
3215
+ property :end_time, as: 'endTime'
3216
+ property :operation, as: 'operation'
3217
+ property :resource, as: 'resource'
3218
+ property :resource_type, as: 'resourceType'
3219
+ property :start_time, as: 'startTime'
3220
+ property :state, as: 'state'
3221
+ property :target_version, as: 'targetVersion'
3222
+ end
3223
+ end
3224
+
3199
3225
  class UpgradeSettings
3200
3226
  # @private
3201
3227
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
11
+ date: 2024-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.85.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1