google-apis-container_v1beta1 0.52.0 → 0.54.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: b8e705e44c1504952cd36a8a08db1795e0425f3cb080021b9970742a7cac7913
4
- data.tar.gz: c47cc563d809f4110cf994fc0048970d7cbdedc31be1df5c3fbcdffb8793e4c5
3
+ metadata.gz: c18e1f824c9a1ee258b7c7bf0c9d891bd51bacdd7e6dcde584a146e16cfa6e23
4
+ data.tar.gz: 0236ab83784f92c48494f7212d5cc76ca9c4df0f7bdebc8c955e0dba6a6d6f87
5
5
  SHA512:
6
- metadata.gz: f997f27e12945f0b199a6c2b4deafa4b4b10c2764fe5439bbd8f802e2943c146ea0f9e7320a398d94ebf1b35bd99048a8b0ade02737f1ff4b6679a4475e6b77e
7
- data.tar.gz: ff3fbf128e140758286a549c8a0174443e7828a9d0999c35878e5d9671591d2ae1d87844e5028f5fdb2997d3e54cb8817bacdbbd301607244952a8dcb4411f6f
6
+ metadata.gz: 54b910ba5a95836c397176ba08357d7ad04fce686691b0f195b115fe872b925e27148ad84c005415bfb62a2d4061f65b6220721ee1587720b8c0d1754a68feeb
7
+ data.tar.gz: 9c02aedf210d27030b7a02b3fb168eb73f5a9af1dc8ce3f272e35b9a0f3f83765ac405998329aa7162c54bdd966a5f69f80fdef76a9413cad3e14c27e89891bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.54.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230626
6
+
7
+ ### v0.53.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230620
10
+
3
11
  ### v0.52.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230614
@@ -81,6 +81,11 @@ module Google
81
81
  class AdditionalPodRangesConfig
82
82
  include Google::Apis::Core::Hashable
83
83
 
84
+ # Output only. [Output only] Information for additional pod range.
85
+ # Corresponds to the JSON property `podRangeInfo`
86
+ # @return [Array<Google::Apis::ContainerV1beta1::RangeInfo>]
87
+ attr_accessor :pod_range_info
88
+
84
89
  # Name for pod secondary ipv4 range which has the actual range defined ahead.
85
90
  # Corresponds to the JSON property `podRangeNames`
86
91
  # @return [Array<String>]
@@ -92,6 +97,7 @@ module Google
92
97
 
93
98
  # Update properties of this object
94
99
  def update!(**args)
100
+ @pod_range_info = args[:pod_range_info] if args.key?(:pod_range_info)
95
101
  @pod_range_names = args[:pod_range_names] if args.key?(:pod_range_names)
96
102
  end
97
103
  end
@@ -193,6 +199,33 @@ module Google
193
199
  end
194
200
  end
195
201
 
202
+ # AdvancedDatapathObservabilityConfig specifies configuration of observability
203
+ # features of advanced datapath.
204
+ class AdvancedDatapathObservabilityConfig
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # Expose flow metrics on nodes
208
+ # Corresponds to the JSON property `enableMetrics`
209
+ # @return [Boolean]
210
+ attr_accessor :enable_metrics
211
+ alias_method :enable_metrics?, :enable_metrics
212
+
213
+ # Method used to make Relay available
214
+ # Corresponds to the JSON property `relayMode`
215
+ # @return [String]
216
+ attr_accessor :relay_mode
217
+
218
+ def initialize(**args)
219
+ update!(**args)
220
+ end
221
+
222
+ # Update properties of this object
223
+ def update!(**args)
224
+ @enable_metrics = args[:enable_metrics] if args.key?(:enable_metrics)
225
+ @relay_mode = args[:relay_mode] if args.key?(:relay_mode)
226
+ end
227
+ end
228
+
196
229
  # Specifies options for controlling advanced machine features.
197
230
  class AdvancedMachineFeatures
198
231
  include Google::Apis::Core::Hashable
@@ -380,6 +413,12 @@ module Google
380
413
  # @return [String]
381
414
  attr_accessor :image_type
382
415
 
416
+ # Enable or disable Kubelet read only port.
417
+ # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
418
+ # @return [Boolean]
419
+ attr_accessor :insecure_kubelet_readonly_port_enabled
420
+ alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
421
+
383
422
  # NodeManagement defines the set of node management services turned on for the
384
423
  # node pool.
385
424
  # Corresponds to the JSON property `management`
@@ -455,6 +494,7 @@ module Google
455
494
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
456
495
  @disk_type = args[:disk_type] if args.key?(:disk_type)
457
496
  @image_type = args[:image_type] if args.key?(:image_type)
497
+ @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
458
498
  @management = args[:management] if args.key?(:management)
459
499
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
460
500
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
@@ -2805,6 +2845,13 @@ module Google
2805
2845
  attr_accessor :create_subnetwork
2806
2846
  alias_method :create_subnetwork?, :create_subnetwork
2807
2847
 
2848
+ # Output only. [Output only] The utilization of the cluster default IPv4 range
2849
+ # for the pod. The ratio is Usage/[Total number of IPs in the secondary range],
2850
+ # Usage=numNodes*numZones*podIPsPerNode.
2851
+ # Corresponds to the JSON property `defaultPodIpv4RangeUtilization`
2852
+ # @return [Float]
2853
+ attr_accessor :default_pod_ipv4_range_utilization
2854
+
2808
2855
  # The ipv6 access type (internal or external) when create_subnetwork is true
2809
2856
  # Corresponds to the JSON property `ipv6AccessType`
2810
2857
  # @return [String]
@@ -2920,6 +2967,7 @@ module Google
2920
2967
  @cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
2921
2968
  @cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
2922
2969
  @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork)
2970
+ @default_pod_ipv4_range_utilization = args[:default_pod_ipv4_range_utilization] if args.key?(:default_pod_ipv4_range_utilization)
2923
2971
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
2924
2972
  @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
2925
2973
  @node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
@@ -3745,6 +3793,12 @@ module Google
3745
3793
  class MonitoringConfig
3746
3794
  include Google::Apis::Core::Hashable
3747
3795
 
3796
+ # AdvancedDatapathObservabilityConfig specifies configuration of observability
3797
+ # features of advanced datapath.
3798
+ # Corresponds to the JSON property `advancedDatapathObservabilityConfig`
3799
+ # @return [Google::Apis::ContainerV1beta1::AdvancedDatapathObservabilityConfig]
3800
+ attr_accessor :advanced_datapath_observability_config
3801
+
3748
3802
  # MonitoringComponentConfig is cluster monitoring component configuration.
3749
3803
  # Corresponds to the JSON property `componentConfig`
3750
3804
  # @return [Google::Apis::ContainerV1beta1::MonitoringComponentConfig]
@@ -3762,6 +3816,7 @@ module Google
3762
3816
 
3763
3817
  # Update properties of this object
3764
3818
  def update!(**args)
3819
+ @advanced_datapath_observability_config = args[:advanced_datapath_observability_config] if args.key?(:advanced_datapath_observability_config)
3765
3820
  @component_config = args[:component_config] if args.key?(:component_config)
3766
3821
  @managed_prometheus_config = args[:managed_prometheus_config] if args.key?(:managed_prometheus_config)
3767
3822
  end
@@ -4347,6 +4402,12 @@ module Google
4347
4402
  # @return [String]
4348
4403
  attr_accessor :cpu_manager_policy
4349
4404
 
4405
+ # Enable or disable Kubelet read only port.
4406
+ # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
4407
+ # @return [Boolean]
4408
+ attr_accessor :insecure_kubelet_readonly_port_enabled
4409
+ alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
4410
+
4350
4411
  # Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-
4351
4412
  # limiting/#pod-pid-limits Controls the maximum number of processes allowed to
4352
4413
  # run in a pod. The value must be greater than or equal to 1024 and less than
@@ -4364,6 +4425,7 @@ module Google
4364
4425
  @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
4365
4426
  @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
4366
4427
  @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
4428
+ @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
4367
4429
  @pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
4368
4430
  end
4369
4431
  end
@@ -4467,6 +4529,13 @@ module Google
4467
4529
  # @return [String]
4468
4530
  attr_accessor :pod_ipv4_cidr_block
4469
4531
 
4532
+ # Output only. [Output only] The utilization of the IPv4 range for the pod. The
4533
+ # ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*
4534
+ # numZones*podIPsPerNode.
4535
+ # Corresponds to the JSON property `podIpv4RangeUtilization`
4536
+ # @return [Float]
4537
+ attr_accessor :pod_ipv4_range_utilization
4538
+
4470
4539
  # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
4471
4540
  # ID is used for the new range. If `create_pod_range` is false, uses an existing
4472
4541
  # secondary range with this ID. Only applicable if `ip_allocation_policy.
@@ -4487,6 +4556,7 @@ module Google
4487
4556
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
4488
4557
  @pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
4489
4558
  @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
4559
+ @pod_ipv4_range_utilization = args[:pod_ipv4_range_utilization] if args.key?(:pod_ipv4_range_utilization)
4490
4560
  @pod_range = args[:pod_range] if args.key?(:pod_range)
4491
4561
  end
4492
4562
  end
@@ -5048,6 +5118,12 @@ module Google
5048
5118
  class PlacementPolicy
5049
5119
  include Google::Apis::Core::Hashable
5050
5120
 
5121
+ # TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/
5122
+ # docs/types-topologies#tpu_topologies
5123
+ # Corresponds to the JSON property `tpuTopology`
5124
+ # @return [String]
5125
+ attr_accessor :tpu_topology
5126
+
5051
5127
  # The type of placement.
5052
5128
  # Corresponds to the JSON property `type`
5053
5129
  # @return [String]
@@ -5059,6 +5135,7 @@ module Google
5059
5135
 
5060
5136
  # Update properties of this object
5061
5137
  def update!(**args)
5138
+ @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
5062
5139
  @type = args[:type] if args.key?(:type)
5063
5140
  end
5064
5141
  end
@@ -5257,6 +5334,31 @@ module Google
5257
5334
  end
5258
5335
  end
5259
5336
 
5337
+ # RangeInfo contains the range name and the range utilization by this cluster.
5338
+ class RangeInfo
5339
+ include Google::Apis::Core::Hashable
5340
+
5341
+ # Output only. [Output only] Name of a range.
5342
+ # Corresponds to the JSON property `rangeName`
5343
+ # @return [String]
5344
+ attr_accessor :range_name
5345
+
5346
+ # Output only. [Output only] The utilization of the range.
5347
+ # Corresponds to the JSON property `utilization`
5348
+ # @return [Float]
5349
+ attr_accessor :utilization
5350
+
5351
+ def initialize(**args)
5352
+ update!(**args)
5353
+ end
5354
+
5355
+ # Update properties of this object
5356
+ def update!(**args)
5357
+ @range_name = args[:range_name] if args.key?(:range_name)
5358
+ @utilization = args[:utilization] if args.key?(:utilization)
5359
+ end
5360
+ end
5361
+
5260
5362
  # Represents an arbitrary window of time that recurs.
5261
5363
  class RecurringTimeWindow
5262
5364
  include Google::Apis::Core::Hashable
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.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 = "20230614"
25
+ REVISION = "20230626"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AdvancedDatapathObservabilityConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class AdvancedMachineFeatures
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -742,6 +748,12 @@ module Google
742
748
  include Google::Apis::Core::JsonObjectSupport
743
749
  end
744
750
 
751
+ class RangeInfo
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
745
757
  class RecurringTimeWindow
746
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
759
 
@@ -1083,6 +1095,8 @@ module Google
1083
1095
  class AdditionalPodRangesConfig
1084
1096
  # @private
1085
1097
  class Representation < Google::Apis::Core::JsonRepresentation
1098
+ collection :pod_range_info, as: 'podRangeInfo', class: Google::Apis::ContainerV1beta1::RangeInfo, decorator: Google::Apis::ContainerV1beta1::RangeInfo::Representation
1099
+
1086
1100
  collection :pod_range_names, as: 'podRangeNames'
1087
1101
  end
1088
1102
  end
@@ -1119,6 +1133,14 @@ module Google
1119
1133
  end
1120
1134
  end
1121
1135
 
1136
+ class AdvancedDatapathObservabilityConfig
1137
+ # @private
1138
+ class Representation < Google::Apis::Core::JsonRepresentation
1139
+ property :enable_metrics, as: 'enableMetrics'
1140
+ property :relay_mode, as: 'relayMode'
1141
+ end
1142
+ end
1143
+
1122
1144
  class AdvancedMachineFeatures
1123
1145
  # @private
1124
1146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1170,6 +1192,7 @@ module Google
1170
1192
  property :disk_size_gb, as: 'diskSizeGb'
1171
1193
  property :disk_type, as: 'diskType'
1172
1194
  property :image_type, as: 'imageType'
1195
+ property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
1173
1196
  property :management, as: 'management', class: Google::Apis::ContainerV1beta1::NodeManagement, decorator: Google::Apis::ContainerV1beta1::NodeManagement::Representation
1174
1197
 
1175
1198
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -1810,6 +1833,7 @@ module Google
1810
1833
  property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
1811
1834
  property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
1812
1835
  property :create_subnetwork, as: 'createSubnetwork'
1836
+ property :default_pod_ipv4_range_utilization, as: 'defaultPodIpv4RangeUtilization'
1813
1837
  property :ipv6_access_type, as: 'ipv6AccessType'
1814
1838
  property :node_ipv4_cidr, as: 'nodeIpv4Cidr'
1815
1839
  property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
@@ -2081,6 +2105,8 @@ module Google
2081
2105
  class MonitoringConfig
2082
2106
  # @private
2083
2107
  class Representation < Google::Apis::Core::JsonRepresentation
2108
+ property :advanced_datapath_observability_config, as: 'advancedDatapathObservabilityConfig', class: Google::Apis::ContainerV1beta1::AdvancedDatapathObservabilityConfig, decorator: Google::Apis::ContainerV1beta1::AdvancedDatapathObservabilityConfig::Representation
2109
+
2084
2110
  property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1beta1::MonitoringComponentConfig, decorator: Google::Apis::ContainerV1beta1::MonitoringComponentConfig::Representation
2085
2111
 
2086
2112
  property :managed_prometheus_config, as: 'managedPrometheusConfig', class: Google::Apis::ContainerV1beta1::ManagedPrometheusConfig, decorator: Google::Apis::ContainerV1beta1::ManagedPrometheusConfig::Representation
@@ -2226,6 +2252,7 @@ module Google
2226
2252
  property :cpu_cfs_quota, as: 'cpuCfsQuota'
2227
2253
  property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
2228
2254
  property :cpu_manager_policy, as: 'cpuManagerPolicy'
2255
+ property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
2229
2256
  property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
2230
2257
  end
2231
2258
  end
@@ -2257,6 +2284,7 @@ module Google
2257
2284
  property :pod_cidr_overprovision_config, as: 'podCidrOverprovisionConfig', class: Google::Apis::ContainerV1beta1::PodCidrOverprovisionConfig, decorator: Google::Apis::ContainerV1beta1::PodCidrOverprovisionConfig::Representation
2258
2285
 
2259
2286
  property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
2287
+ property :pod_ipv4_range_utilization, as: 'podIpv4RangeUtilization'
2260
2288
  property :pod_range, as: 'podRange'
2261
2289
  end
2262
2290
  end
@@ -2399,6 +2427,7 @@ module Google
2399
2427
  class PlacementPolicy
2400
2428
  # @private
2401
2429
  class Representation < Google::Apis::Core::JsonRepresentation
2430
+ property :tpu_topology, as: 'tpuTopology'
2402
2431
  property :type, as: 'type'
2403
2432
  end
2404
2433
  end
@@ -2458,6 +2487,14 @@ module Google
2458
2487
  end
2459
2488
  end
2460
2489
 
2490
+ class RangeInfo
2491
+ # @private
2492
+ class Representation < Google::Apis::Core::JsonRepresentation
2493
+ property :range_name, as: 'rangeName'
2494
+ property :utilization, as: 'utilization'
2495
+ end
2496
+ end
2497
+
2461
2498
  class RecurringTimeWindow
2462
2499
  # @private
2463
2500
  class Representation < Google::Apis::Core::JsonRepresentation
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.52.0
4
+ version: 0.54.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-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-09 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.54.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: []