google-apis-container_v1beta1 0.54.0 → 0.55.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: c18e1f824c9a1ee258b7c7bf0c9d891bd51bacdd7e6dcde584a146e16cfa6e23
4
- data.tar.gz: 0236ab83784f92c48494f7212d5cc76ca9c4df0f7bdebc8c955e0dba6a6d6f87
3
+ metadata.gz: b6e5e9d70568a6270b4949f3f7578eb62ebf055540c7df1802cb27873eb857f2
4
+ data.tar.gz: 31336e0cb7652a222faa6e303a244450081a3147ad97cba71200e1353d0628f4
5
5
  SHA512:
6
- metadata.gz: 54b910ba5a95836c397176ba08357d7ad04fce686691b0f195b115fe872b925e27148ad84c005415bfb62a2d4061f65b6220721ee1587720b8c0d1754a68feeb
7
- data.tar.gz: 9c02aedf210d27030b7a02b3fb168eb73f5a9af1dc8ce3f272e35b9a0f3f83765ac405998329aa7162c54bdd966a5f69f80fdef76a9413cad3e14c27e89891bb
6
+ metadata.gz: df1dcd6de9a644428fa62dcd74cf5aabeaa0336ce0c2142ac44cd5b805c731eb0ebb8e8a62e49e09ae9ce0a6594dfbdbac4791515963faa96db7494315053671
7
+ data.tar.gz: d8d7faff0508d218679bd44f3c600e7c77ca214addc672f6c06e6d6b388474b8649740d3cb3f3bc6ff3b7c6004cb70cf64bc0ebf864455914193331f5100b29f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.55.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230629
6
+
3
7
  ### v0.54.0 (2023-07-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20230626
@@ -76,6 +76,65 @@ module Google
76
76
  end
77
77
  end
78
78
 
79
+ # AdditionalNodeNetworkConfig is the configuration for additional node networks
80
+ # within the NodeNetworkConfig message
81
+ class AdditionalNodeNetworkConfig
82
+ include Google::Apis::Core::Hashable
83
+
84
+ # Name of the VPC where the additional interface belongs
85
+ # Corresponds to the JSON property `network`
86
+ # @return [String]
87
+ attr_accessor :network
88
+
89
+ # Name of the subnetwork where the additional interface belongs
90
+ # Corresponds to the JSON property `subnetwork`
91
+ # @return [String]
92
+ attr_accessor :subnetwork
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @network = args[:network] if args.key?(:network)
101
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
102
+ end
103
+ end
104
+
105
+ # AdditionalPodNetworkConfig is the configuration for additional pod networks
106
+ # within the NodeNetworkConfig message
107
+ class AdditionalPodNetworkConfig
108
+ include Google::Apis::Core::Hashable
109
+
110
+ # Constraints applied to pods.
111
+ # Corresponds to the JSON property `maxPodsPerNode`
112
+ # @return [Google::Apis::ContainerV1beta1::MaxPodsConstraint]
113
+ attr_accessor :max_pods_per_node
114
+
115
+ # The name of the secondary range on the subnet which provides IP address for
116
+ # this pod range
117
+ # Corresponds to the JSON property `secondaryPodRange`
118
+ # @return [String]
119
+ attr_accessor :secondary_pod_range
120
+
121
+ # Name of the subnetwork where the additional pod network belongs
122
+ # Corresponds to the JSON property `subnetwork`
123
+ # @return [String]
124
+ attr_accessor :subnetwork
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
133
+ @secondary_pod_range = args[:secondary_pod_range] if args.key?(:secondary_pod_range)
134
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
135
+ end
136
+ end
137
+
79
138
  # AdditionalPodRangesConfig is the configuration for additional pod secondary
80
139
  # ranges supporting the ClusterUpdate message.
81
140
  class AdditionalPodRangesConfig
@@ -1573,6 +1632,12 @@ module Google
1573
1632
  # @return [Google::Apis::ContainerV1beta1::GcfsConfig]
1574
1633
  attr_accessor :desired_gcfs_config
1575
1634
 
1635
+ # HostMaintenancePolicy contains the maintenance policy for the hosts on which
1636
+ # the GKE VMs run on.
1637
+ # Corresponds to the JSON property `desiredHostMaintenancePolicy`
1638
+ # @return [Google::Apis::ContainerV1beta1::HostMaintenancePolicy]
1639
+ attr_accessor :desired_host_maintenance_policy
1640
+
1576
1641
  # IdentityServiceConfig is configuration for Identity Service which allows
1577
1642
  # customers to use external identity providers with the K8S API
1578
1643
  # Corresponds to the JSON property `desiredIdentityServiceConfig`
@@ -1844,6 +1909,7 @@ module Google
1844
1909
  @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1845
1910
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
1846
1911
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1912
+ @desired_host_maintenance_policy = args[:desired_host_maintenance_policy] if args.key?(:desired_host_maintenance_policy)
1847
1913
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1848
1914
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1849
1915
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@@ -2715,6 +2781,26 @@ module Google
2715
2781
  end
2716
2782
  end
2717
2783
 
2784
+ # HostMaintenancePolicy contains the maintenance policy for the hosts on which
2785
+ # the GKE VMs run on.
2786
+ class HostMaintenancePolicy
2787
+ include Google::Apis::Core::Hashable
2788
+
2789
+ # Specifies the frequency of planned maintenance events.
2790
+ # Corresponds to the JSON property `maintenanceInterval`
2791
+ # @return [String]
2792
+ attr_accessor :maintenance_interval
2793
+
2794
+ def initialize(**args)
2795
+ update!(**args)
2796
+ end
2797
+
2798
+ # Update properties of this object
2799
+ def update!(**args)
2800
+ @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
2801
+ end
2802
+ end
2803
+
2718
2804
  # RFC-2616: cache control support
2719
2805
  class HttpCacheControlResponseHeader
2720
2806
  include Google::Apis::Core::Hashable
@@ -3862,6 +3948,12 @@ module Google
3862
3948
  attr_accessor :enable_l4ilb_subsetting
3863
3949
  alias_method :enable_l4ilb_subsetting?, :enable_l4ilb_subsetting
3864
3950
 
3951
+ # Whether multi-networking is enabled for this cluster.
3952
+ # Corresponds to the JSON property `enableMultiNetworking`
3953
+ # @return [Boolean]
3954
+ attr_accessor :enable_multi_networking
3955
+ alias_method :enable_multi_networking?, :enable_multi_networking
3956
+
3865
3957
  # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
3866
3958
  # Corresponds to the JSON property `gatewayApiConfig`
3867
3959
  # @return [Google::Apis::ContainerV1beta1::GatewayApiConfig]
@@ -3909,6 +4001,7 @@ module Google
3909
4001
  @enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
3910
4002
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
3911
4003
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
4004
+ @enable_multi_networking = args[:enable_multi_networking] if args.key?(:enable_multi_networking)
3912
4005
  @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
3913
4006
  @network = args[:network] if args.key?(:network)
3914
4007
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
@@ -4118,6 +4211,12 @@ module Google
4118
4211
  # @return [Google::Apis::ContainerV1beta1::VirtualNic]
4119
4212
  attr_accessor :gvnic
4120
4213
 
4214
+ # HostMaintenancePolicy contains the maintenance policy for the hosts on which
4215
+ # the GKE VMs run on.
4216
+ # Corresponds to the JSON property `hostMaintenancePolicy`
4217
+ # @return [Google::Apis::ContainerV1beta1::HostMaintenancePolicy]
4218
+ attr_accessor :host_maintenance_policy
4219
+
4121
4220
  # The image type to use for this node. Note that for a given image type, the
4122
4221
  # latest version of it will be used. Please see https://cloud.google.com/
4123
4222
  # kubernetes-engine/docs/concepts/node-images for available image types.
@@ -4316,6 +4415,7 @@ module Google
4316
4415
  @fast_socket = args[:fast_socket] if args.key?(:fast_socket)
4317
4416
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
4318
4417
  @gvnic = args[:gvnic] if args.key?(:gvnic)
4418
+ @host_maintenance_policy = args[:host_maintenance_policy] if args.key?(:host_maintenance_policy)
4319
4419
  @image_type = args[:image_type] if args.key?(:image_type)
4320
4420
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
4321
4421
  @labels = args[:labels] if args.key?(:labels)
@@ -4352,6 +4452,12 @@ module Google
4352
4452
  # @return [Google::Apis::ContainerV1beta1::GcfsConfig]
4353
4453
  attr_accessor :gcfs_config
4354
4454
 
4455
+ # HostMaintenancePolicy contains the maintenance policy for the hosts on which
4456
+ # the GKE VMs run on.
4457
+ # Corresponds to the JSON property `hostMaintenancePolicy`
4458
+ # @return [Google::Apis::ContainerV1beta1::HostMaintenancePolicy]
4459
+ attr_accessor :host_maintenance_policy
4460
+
4355
4461
  # NodePoolLoggingConfig specifies logging configuration for nodepools.
4356
4462
  # Corresponds to the JSON property `loggingConfig`
4357
4463
  # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
@@ -4364,6 +4470,7 @@ module Google
4364
4470
  # Update properties of this object
4365
4471
  def update!(**args)
4366
4472
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
4473
+ @host_maintenance_policy = args[:host_maintenance_policy] if args.key?(:host_maintenance_policy)
4367
4474
  @logging_config = args[:logging_config] if args.key?(:logging_config)
4368
4475
  end
4369
4476
  end
@@ -4489,6 +4596,18 @@ module Google
4489
4596
  class NodeNetworkConfig
4490
4597
  include Google::Apis::Core::Hashable
4491
4598
 
4599
+ # We specify the additional node networks for this node pool using this list.
4600
+ # Each node network corresponds to an additional interface
4601
+ # Corresponds to the JSON property `additionalNodeNetworkConfigs`
4602
+ # @return [Array<Google::Apis::ContainerV1beta1::AdditionalNodeNetworkConfig>]
4603
+ attr_accessor :additional_node_network_configs
4604
+
4605
+ # We specify the additional pod networks for this node pool using this list.
4606
+ # Each pod network corresponds to an additional alias IP range for the node
4607
+ # Corresponds to the JSON property `additionalPodNetworkConfigs`
4608
+ # @return [Array<Google::Apis::ContainerV1beta1::AdditionalPodNetworkConfig>]
4609
+ attr_accessor :additional_pod_network_configs
4610
+
4492
4611
  # Input only. Whether to create a new range for pod IPs in this node pool.
4493
4612
  # Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
4494
4613
  # not specified. If neither `create_pod_range` or `pod_range` are specified, the
@@ -4551,6 +4670,8 @@ module Google
4551
4670
 
4552
4671
  # Update properties of this object
4553
4672
  def update!(**args)
4673
+ @additional_node_network_configs = args[:additional_node_network_configs] if args.key?(:additional_node_network_configs)
4674
+ @additional_pod_network_configs = args[:additional_pod_network_configs] if args.key?(:additional_pod_network_configs)
4554
4675
  @create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
4555
4676
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
4556
4677
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
@@ -5118,6 +5239,13 @@ module Google
5118
5239
  class PlacementPolicy
5119
5240
  include Google::Apis::Core::Hashable
5120
5241
 
5242
+ # If set, refers to the name of a custom resource policy supplied by the user.
5243
+ # The resource policy must be in the same project and region as the node pool.
5244
+ # If not found, InvalidArgument error is returned.
5245
+ # Corresponds to the JSON property `policyName`
5246
+ # @return [String]
5247
+ attr_accessor :policy_name
5248
+
5121
5249
  # TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/
5122
5250
  # docs/types-topologies#tpu_topologies
5123
5251
  # Corresponds to the JSON property `tpuTopology`
@@ -5135,6 +5263,7 @@ module Google
5135
5263
 
5136
5264
  # Update properties of this object
5137
5265
  def update!(**args)
5266
+ @policy_name = args[:policy_name] if args.key?(:policy_name)
5138
5267
  @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
5139
5268
  @type = args[:type] if args.key?(:type)
5140
5269
  end
@@ -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.54.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230626"
25
+ REVISION = "20230629"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,18 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AdditionalNodeNetworkConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AdditionalPodNetworkConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class AdditionalPodRangesConfig
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -364,6 +376,12 @@ module Google
364
376
  include Google::Apis::Core::JsonObjectSupport
365
377
  end
366
378
 
379
+ class HostMaintenancePolicy
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
367
385
  class HttpCacheControlResponseHeader
368
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
387
 
@@ -1092,6 +1110,24 @@ module Google
1092
1110
  end
1093
1111
  end
1094
1112
 
1113
+ class AdditionalNodeNetworkConfig
1114
+ # @private
1115
+ class Representation < Google::Apis::Core::JsonRepresentation
1116
+ property :network, as: 'network'
1117
+ property :subnetwork, as: 'subnetwork'
1118
+ end
1119
+ end
1120
+
1121
+ class AdditionalPodNetworkConfig
1122
+ # @private
1123
+ class Representation < Google::Apis::Core::JsonRepresentation
1124
+ property :max_pods_per_node, as: 'maxPodsPerNode', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation
1125
+
1126
+ property :secondary_pod_range, as: 'secondaryPodRange'
1127
+ property :subnetwork, as: 'subnetwork'
1128
+ end
1129
+ end
1130
+
1095
1131
  class AdditionalPodRangesConfig
1096
1132
  # @private
1097
1133
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1482,6 +1518,8 @@ module Google
1482
1518
 
1483
1519
  property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
1484
1520
 
1521
+ property :desired_host_maintenance_policy, as: 'desiredHostMaintenancePolicy', class: Google::Apis::ContainerV1beta1::HostMaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::HostMaintenancePolicy::Representation
1522
+
1485
1523
  property :desired_identity_service_config, as: 'desiredIdentityServiceConfig', class: Google::Apis::ContainerV1beta1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1beta1::IdentityServiceConfig::Representation
1486
1524
 
1487
1525
  property :desired_image_type, as: 'desiredImageType'
@@ -1800,6 +1838,13 @@ module Google
1800
1838
  end
1801
1839
  end
1802
1840
 
1841
+ class HostMaintenancePolicy
1842
+ # @private
1843
+ class Representation < Google::Apis::Core::JsonRepresentation
1844
+ property :maintenance_interval, as: 'maintenanceInterval'
1845
+ end
1846
+ end
1847
+
1803
1848
  class HttpCacheControlResponseHeader
1804
1849
  # @private
1805
1850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2125,6 +2170,7 @@ module Google
2125
2170
  property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
2126
2171
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
2127
2172
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
2173
+ property :enable_multi_networking, as: 'enableMultiNetworking'
2128
2174
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1beta1::GatewayApiConfig, decorator: Google::Apis::ContainerV1beta1::GatewayApiConfig::Representation
2129
2175
 
2130
2176
  property :network, as: 'network'
@@ -2198,6 +2244,8 @@ module Google
2198
2244
 
2199
2245
  property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1beta1::VirtualNic, decorator: Google::Apis::ContainerV1beta1::VirtualNic::Representation
2200
2246
 
2247
+ property :host_maintenance_policy, as: 'hostMaintenancePolicy', class: Google::Apis::ContainerV1beta1::HostMaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::HostMaintenancePolicy::Representation
2248
+
2201
2249
  property :image_type, as: 'imageType'
2202
2250
  property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1beta1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1beta1::NodeKubeletConfig::Representation
2203
2251
 
@@ -2241,6 +2289,8 @@ module Google
2241
2289
  class Representation < Google::Apis::Core::JsonRepresentation
2242
2290
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
2243
2291
 
2292
+ property :host_maintenance_policy, as: 'hostMaintenancePolicy', class: Google::Apis::ContainerV1beta1::HostMaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::HostMaintenancePolicy::Representation
2293
+
2244
2294
  property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
2245
2295
 
2246
2296
  end
@@ -2277,6 +2327,10 @@ module Google
2277
2327
  class NodeNetworkConfig
2278
2328
  # @private
2279
2329
  class Representation < Google::Apis::Core::JsonRepresentation
2330
+ collection :additional_node_network_configs, as: 'additionalNodeNetworkConfigs', class: Google::Apis::ContainerV1beta1::AdditionalNodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::AdditionalNodeNetworkConfig::Representation
2331
+
2332
+ collection :additional_pod_network_configs, as: 'additionalPodNetworkConfigs', class: Google::Apis::ContainerV1beta1::AdditionalPodNetworkConfig, decorator: Google::Apis::ContainerV1beta1::AdditionalPodNetworkConfig::Representation
2333
+
2280
2334
  property :create_pod_range, as: 'createPodRange'
2281
2335
  property :enable_private_nodes, as: 'enablePrivateNodes'
2282
2336
  property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ContainerV1beta1::NetworkPerformanceConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPerformanceConfig::Representation
@@ -2427,6 +2481,7 @@ module Google
2427
2481
  class PlacementPolicy
2428
2482
  # @private
2429
2483
  class Representation < Google::Apis::Core::JsonRepresentation
2484
+ property :policy_name, as: 'policyName'
2430
2485
  property :tpu_topology, as: 'tpuTopology'
2431
2486
  property :type, as: 'type'
2432
2487
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.55.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: 2023-07-09 00:00:00.000000000 Z
11
+ date: 2023-07-16 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.55.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []