google-apis-container_v1 0.83.0 → 0.85.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: 0d3c8aa1f33b2e17a06bba1bd8dbe6640b7c96132901865906f18f1f7d2e3fe7
4
- data.tar.gz: '0876a17d400b96acd34690a77f835ac81de99294ac5a5cd73dd8caa01e71de74'
3
+ metadata.gz: b3d3d546797aed87caa7d737a553ac0892b7384ecfe430d6c90081b57d425f2f
4
+ data.tar.gz: b960470ba70e2ef403ee631fa633e14a9b3d5416dbb5002dba5280de3ab90038
5
5
  SHA512:
6
- metadata.gz: 5d4441e76dc1a1bc2c2b1720fe2dfdfa2533be9e9c13e87e761d2c0b0716bfcdbb8af66807f98c93ea34a87be7911de6ad0bbc0481d9e926453e1da258a72284
7
- data.tar.gz: 3716a5f95a73b40d1218ce791a1bcecd4c8134d21a50145932e9d4b023980e4cd1918b1e1cccd75a9c4e3d62e1cd9a57a67b72acf5dde9da50273dbef7bf05aa
6
+ metadata.gz: 31ac3c18f52f0789cab82ef430c2a1dca711df4ff36fcc4b4bc83c788fc7cd8ed45db8309109971f89688eeab73c36837a80482e7205dca417d7ac27fb562218
7
+ data.tar.gz: 30cbaa5e6e1ec634910ca46cec39d2b4cd1c9f225abd4714e87c324c509cc43cd03c5122fc30ee8470607f148508a959ca100c14127e089e155b74f030d81d7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.84.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241017
10
+
3
11
  ### v0.83.0 (2024-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20241008
@@ -1656,6 +1656,11 @@ module Google
1656
1656
  attr_accessor :desired_enable_private_endpoint
1657
1657
  alias_method :desired_enable_private_endpoint?, :desired_enable_private_endpoint
1658
1658
 
1659
+ # DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
1660
+ # Corresponds to the JSON property `desiredEnterpriseConfig`
1661
+ # @return [Google::Apis::ContainerV1::DesiredEnterpriseConfig]
1662
+ attr_accessor :desired_enterprise_config
1663
+
1659
1664
  # Fleet is the fleet configuration for the cluster.
1660
1665
  # Corresponds to the JSON property `desiredFleet`
1661
1666
  # @return [Google::Apis::ContainerV1::Fleet]
@@ -1786,6 +1791,11 @@ module Google
1786
1791
  # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
1787
1792
  attr_accessor :desired_node_pool_auto_config_kubelet_config
1788
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
+
1789
1799
  # Collection of Compute Engine network tags that can be applied to a node's
1790
1800
  # underlying VM instance.
1791
1801
  # Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
@@ -1960,6 +1970,7 @@ module Google
1960
1970
  @desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
1961
1971
  @desired_enable_multi_networking = args[:desired_enable_multi_networking] if args.key?(:desired_enable_multi_networking)
1962
1972
  @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1973
+ @desired_enterprise_config = args[:desired_enterprise_config] if args.key?(:desired_enterprise_config)
1963
1974
  @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1964
1975
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
1965
1976
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
@@ -1980,6 +1991,7 @@ module Google
1980
1991
  @desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
1981
1992
  @desired_node_kubelet_config = args[:desired_node_kubelet_config] if args.key?(:desired_node_kubelet_config)
1982
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)
1983
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)
1984
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)
1985
1997
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
@@ -2494,6 +2506,25 @@ module Google
2494
2506
  end
2495
2507
  end
2496
2508
 
2509
+ # DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
2510
+ class DesiredEnterpriseConfig
2511
+ include Google::Apis::Core::Hashable
2512
+
2513
+ # desired_tier specifies the desired tier of the cluster.
2514
+ # Corresponds to the JSON property `desiredTier`
2515
+ # @return [String]
2516
+ attr_accessor :desired_tier
2517
+
2518
+ def initialize(**args)
2519
+ update!(**args)
2520
+ end
2521
+
2522
+ # Update properties of this object
2523
+ def update!(**args)
2524
+ @desired_tier = args[:desired_tier] if args.key?(:desired_tier)
2525
+ end
2526
+ end
2527
+
2497
2528
  # Configuration for NodeLocal DNSCache
2498
2529
  class DnsCacheConfig
2499
2530
  include Google::Apis::Core::Hashable
@@ -2539,6 +2570,11 @@ module Google
2539
2570
  # @return [String]
2540
2571
  attr_accessor :cluster_tier
2541
2572
 
2573
+ # desired_tier specifies the desired tier of the cluster.
2574
+ # Corresponds to the JSON property `desiredTier`
2575
+ # @return [String]
2576
+ attr_accessor :desired_tier
2577
+
2542
2578
  def initialize(**args)
2543
2579
  update!(**args)
2544
2580
  end
@@ -2546,6 +2582,7 @@ module Google
2546
2582
  # Update properties of this object
2547
2583
  def update!(**args)
2548
2584
  @cluster_tier = args[:cluster_tier] if args.key?(:cluster_tier)
2585
+ @desired_tier = args[:desired_tier] if args.key?(:desired_tier)
2549
2586
  end
2550
2587
  end
2551
2588
 
@@ -4415,6 +4452,12 @@ module Google
4415
4452
  # @return [Fixnum]
4416
4453
  attr_accessor :local_ssd_count
4417
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
+
4418
4461
  # NodePoolLoggingConfig specifies logging configuration for nodepools.
4419
4462
  # Corresponds to the JSON property `loggingConfig`
4420
4463
  # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
@@ -4604,6 +4647,7 @@ module Google
4604
4647
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
4605
4648
  @local_nvme_ssd_block_config = args[:local_nvme_ssd_block_config] if args.key?(:local_nvme_ssd_block_config)
4606
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)
4607
4651
  @logging_config = args[:logging_config] if args.key?(:logging_config)
4608
4652
  @machine_type = args[:machine_type] if args.key?(:machine_type)
4609
4653
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -5079,6 +5123,11 @@ module Google
5079
5123
  class NodePoolAutoConfig
5080
5124
  include Google::Apis::Core::Hashable
5081
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
+
5082
5131
  # Collection of Compute Engine network tags that can be applied to a node's
5083
5132
  # underlying VM instance.
5084
5133
  # Corresponds to the JSON property `networkTags`
@@ -5105,6 +5154,7 @@ module Google
5105
5154
 
5106
5155
  # Update properties of this object
5107
5156
  def update!(**args)
5157
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
5108
5158
  @network_tags = args[:network_tags] if args.key?(:network_tags)
5109
5159
  @node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
5110
5160
  @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
@@ -5133,19 +5183,19 @@ module Google
5133
5183
  # @return [String]
5134
5184
  attr_accessor :location_policy
5135
5185
 
5136
- # 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 >=
5137
5187
  # min_node_count. There has to be enough quota to scale up the cluster.
5138
5188
  # Corresponds to the JSON property `maxNodeCount`
5139
5189
  # @return [Fixnum]
5140
5190
  attr_accessor :max_node_count
5141
5191
 
5142
- # Minimum number of nodes for one location in the NodePool. Must be >= 1 and <=
5143
- # 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.
5144
5194
  # Corresponds to the JSON property `minNodeCount`
5145
5195
  # @return [Fixnum]
5146
5196
  attr_accessor :min_node_count
5147
5197
 
5148
- # 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
5149
5199
  # total_min_node_count. There has to be enough quota to scale up the cluster.
5150
5200
  # The total_*_node_count fields are mutually exclusive with the *_node_count
5151
5201
  # fields.
@@ -5153,9 +5203,9 @@ module Google
5153
5203
  # @return [Fixnum]
5154
5204
  attr_accessor :total_max_node_count
5155
5205
 
5156
- # Minimum number of nodes in the node pool. Must be greater than 1 less than
5157
- # total_max_node_count. The total_*_node_count fields are mutually exclusive
5158
- # 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.
5159
5209
  # Corresponds to the JSON property `totalMinNodeCount`
5160
5210
  # @return [Fixnum]
5161
5211
  attr_accessor :total_min_node_count
@@ -7887,6 +7937,75 @@ module Google
7887
7937
  end
7888
7938
  end
7889
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
+
7890
8009
  # These upgrade settings control the level of parallelism and the level of
7891
8010
  # disruption caused by an upgrade. maxUnavailable controls the number of nodes
7892
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.83.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 = "20241008"
25
+ REVISION = "20241024"
26
26
  end
27
27
  end
28
28
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class DesiredEnterpriseConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class DnsCacheConfig
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -1078,6 +1084,12 @@ module Google
1078
1084
  include Google::Apis::Core::JsonObjectSupport
1079
1085
  end
1080
1086
 
1087
+ class UpgradeInfoEvent
1088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1089
+
1090
+ include Google::Apis::Core::JsonObjectSupport
1091
+ end
1092
+
1081
1093
  class UpgradeSettings
1082
1094
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1095
 
@@ -1559,6 +1571,8 @@ module Google
1559
1571
  property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
1560
1572
  property :desired_enable_multi_networking, as: 'desiredEnableMultiNetworking'
1561
1573
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1574
+ property :desired_enterprise_config, as: 'desiredEnterpriseConfig', class: Google::Apis::ContainerV1::DesiredEnterpriseConfig, decorator: Google::Apis::ContainerV1::DesiredEnterpriseConfig::Representation
1575
+
1562
1576
  property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1::Fleet, decorator: Google::Apis::ContainerV1::Fleet::Representation
1563
1577
 
1564
1578
  property :desired_gateway_api_config, as: 'desiredGatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
@@ -1593,6 +1607,8 @@ module Google
1593
1607
 
1594
1608
  property :desired_node_pool_auto_config_kubelet_config, as: 'desiredNodePoolAutoConfigKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1595
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
+
1596
1612
  property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
1597
1613
 
1598
1614
  property :desired_node_pool_auto_config_resource_manager_tags, as: 'desiredNodePoolAutoConfigResourceManagerTags', class: Google::Apis::ContainerV1::ResourceManagerTags, decorator: Google::Apis::ContainerV1::ResourceManagerTags::Representation
@@ -1785,6 +1801,13 @@ module Google
1785
1801
  end
1786
1802
  end
1787
1803
 
1804
+ class DesiredEnterpriseConfig
1805
+ # @private
1806
+ class Representation < Google::Apis::Core::JsonRepresentation
1807
+ property :desired_tier, as: 'desiredTier'
1808
+ end
1809
+ end
1810
+
1788
1811
  class DnsCacheConfig
1789
1812
  # @private
1790
1813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1802,6 +1825,7 @@ module Google
1802
1825
  # @private
1803
1826
  class Representation < Google::Apis::Core::JsonRepresentation
1804
1827
  property :cluster_tier, as: 'clusterTier'
1828
+ property :desired_tier, as: 'desiredTier'
1805
1829
  end
1806
1830
  end
1807
1831
 
@@ -2328,6 +2352,7 @@ module Google
2328
2352
  property :local_nvme_ssd_block_config, as: 'localNvmeSsdBlockConfig', class: Google::Apis::ContainerV1::LocalNvmeSsdBlockConfig, decorator: Google::Apis::ContainerV1::LocalNvmeSsdBlockConfig::Representation
2329
2353
 
2330
2354
  property :local_ssd_count, as: 'localSsdCount'
2355
+ property :local_ssd_encryption_mode, as: 'localSsdEncryptionMode'
2331
2356
  property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
2332
2357
 
2333
2358
  property :machine_type, as: 'machineType'
@@ -2466,6 +2491,8 @@ module Google
2466
2491
  class NodePoolAutoConfig
2467
2492
  # @private
2468
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
+
2469
2496
  property :network_tags, as: 'networkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
2470
2497
 
2471
2498
  property :node_kubelet_config, as: 'nodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
@@ -3180,6 +3207,21 @@ module Google
3180
3207
  end
3181
3208
  end
3182
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
+
3183
3225
  class UpgradeSettings
3184
3226
  # @private
3185
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.83.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-10-27 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.83.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