google-apis-container_v1beta1 0.52.0 → 0.53.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: 28f5fb13517700bb00d0e6a168f2e43d413976000c38508ec15792b61c7c84a9
4
+ data.tar.gz: eab2ebc9bdfdc02c65e9f4b2299407a57f5d2e5a096cc29418ee7f6ec3c8c8a8
5
5
  SHA512:
6
- metadata.gz: f997f27e12945f0b199a6c2b4deafa4b4b10c2764fe5439bbd8f802e2943c146ea0f9e7320a398d94ebf1b35bd99048a8b0ade02737f1ff4b6679a4475e6b77e
7
- data.tar.gz: ff3fbf128e140758286a549c8a0174443e7828a9d0999c35878e5d9671591d2ae1d87844e5028f5fdb2997d3e54cb8817bacdbbd301607244952a8dcb4411f6f
6
+ metadata.gz: 405627a49ff795e79d8f937f185193124f21f26020781172cd752b64584a143f5a4228d4fe4aa7905fa4d687aef73cf2f777f4f959588ce228abff3f19e7198a
7
+ data.tar.gz: 41c628d65cf8b35f892a2ac16d8b669d5358e112932f64ede63a60d6588b2c20949aa23f9b62426567760b07c4dc84afe232c67df5b9246b35cd1cb76329b6a5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.53.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230620
6
+
3
7
  ### v0.52.0 (2023-06-25)
4
8
 
5
9
  * 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
@@ -380,6 +386,12 @@ module Google
380
386
  # @return [String]
381
387
  attr_accessor :image_type
382
388
 
389
+ # Enable or disable Kubelet read only port.
390
+ # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
391
+ # @return [Boolean]
392
+ attr_accessor :insecure_kubelet_readonly_port_enabled
393
+ alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
394
+
383
395
  # NodeManagement defines the set of node management services turned on for the
384
396
  # node pool.
385
397
  # Corresponds to the JSON property `management`
@@ -455,6 +467,7 @@ module Google
455
467
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
456
468
  @disk_type = args[:disk_type] if args.key?(:disk_type)
457
469
  @image_type = args[:image_type] if args.key?(:image_type)
470
+ @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
458
471
  @management = args[:management] if args.key?(:management)
459
472
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
460
473
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
@@ -2805,6 +2818,13 @@ module Google
2805
2818
  attr_accessor :create_subnetwork
2806
2819
  alias_method :create_subnetwork?, :create_subnetwork
2807
2820
 
2821
+ # Output only. [Output only] The utilization of the cluster default IPv4 range
2822
+ # for pod. The ratio is Usage/[Total number of IPs in the secondary range],
2823
+ # Usage=numNodes*numZones*podIPsPerNode.
2824
+ # Corresponds to the JSON property `defaultPodIpv4RangeUtilization`
2825
+ # @return [Float]
2826
+ attr_accessor :default_pod_ipv4_range_utilization
2827
+
2808
2828
  # The ipv6 access type (internal or external) when create_subnetwork is true
2809
2829
  # Corresponds to the JSON property `ipv6AccessType`
2810
2830
  # @return [String]
@@ -2920,6 +2940,7 @@ module Google
2920
2940
  @cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
2921
2941
  @cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
2922
2942
  @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork)
2943
+ @default_pod_ipv4_range_utilization = args[:default_pod_ipv4_range_utilization] if args.key?(:default_pod_ipv4_range_utilization)
2923
2944
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
2924
2945
  @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
2925
2946
  @node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
@@ -4347,6 +4368,12 @@ module Google
4347
4368
  # @return [String]
4348
4369
  attr_accessor :cpu_manager_policy
4349
4370
 
4371
+ # Enable or disable Kubelet read only port.
4372
+ # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
4373
+ # @return [Boolean]
4374
+ attr_accessor :insecure_kubelet_readonly_port_enabled
4375
+ alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
4376
+
4350
4377
  # Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-
4351
4378
  # limiting/#pod-pid-limits Controls the maximum number of processes allowed to
4352
4379
  # run in a pod. The value must be greater than or equal to 1024 and less than
@@ -4364,6 +4391,7 @@ module Google
4364
4391
  @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
4365
4392
  @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
4366
4393
  @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
4394
+ @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
4367
4395
  @pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
4368
4396
  end
4369
4397
  end
@@ -4467,6 +4495,13 @@ module Google
4467
4495
  # @return [String]
4468
4496
  attr_accessor :pod_ipv4_cidr_block
4469
4497
 
4498
+ # Output only. [Output only] The utilization of the IPv4 range for pod. The
4499
+ # ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*
4500
+ # numZones*podIPsPerNode.
4501
+ # Corresponds to the JSON property `podIpv4RangeUtilization`
4502
+ # @return [Float]
4503
+ attr_accessor :pod_ipv4_range_utilization
4504
+
4470
4505
  # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
4471
4506
  # ID is used for the new range. If `create_pod_range` is false, uses an existing
4472
4507
  # secondary range with this ID. Only applicable if `ip_allocation_policy.
@@ -4487,6 +4522,7 @@ module Google
4487
4522
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
4488
4523
  @pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
4489
4524
  @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
4525
+ @pod_ipv4_range_utilization = args[:pod_ipv4_range_utilization] if args.key?(:pod_ipv4_range_utilization)
4490
4526
  @pod_range = args[:pod_range] if args.key?(:pod_range)
4491
4527
  end
4492
4528
  end
@@ -5048,6 +5084,12 @@ module Google
5048
5084
  class PlacementPolicy
5049
5085
  include Google::Apis::Core::Hashable
5050
5086
 
5087
+ # TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/
5088
+ # docs/types-topologies#tpu_topologies
5089
+ # Corresponds to the JSON property `tpuTopology`
5090
+ # @return [String]
5091
+ attr_accessor :tpu_topology
5092
+
5051
5093
  # The type of placement.
5052
5094
  # Corresponds to the JSON property `type`
5053
5095
  # @return [String]
@@ -5059,6 +5101,7 @@ module Google
5059
5101
 
5060
5102
  # Update properties of this object
5061
5103
  def update!(**args)
5104
+ @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
5062
5105
  @type = args[:type] if args.key?(:type)
5063
5106
  end
5064
5107
  end
@@ -5257,6 +5300,31 @@ module Google
5257
5300
  end
5258
5301
  end
5259
5302
 
5303
+ # RangeInfo contains the range name and the range utilization by this cluster.
5304
+ class RangeInfo
5305
+ include Google::Apis::Core::Hashable
5306
+
5307
+ # Output only. [Output only] Name of a range.
5308
+ # Corresponds to the JSON property `rangeName`
5309
+ # @return [String]
5310
+ attr_accessor :range_name
5311
+
5312
+ # Output only. [Output only] The utilization of the range.
5313
+ # Corresponds to the JSON property `utilization`
5314
+ # @return [Float]
5315
+ attr_accessor :utilization
5316
+
5317
+ def initialize(**args)
5318
+ update!(**args)
5319
+ end
5320
+
5321
+ # Update properties of this object
5322
+ def update!(**args)
5323
+ @range_name = args[:range_name] if args.key?(:range_name)
5324
+ @utilization = args[:utilization] if args.key?(:utilization)
5325
+ end
5326
+ end
5327
+
5260
5328
  # Represents an arbitrary window of time that recurs.
5261
5329
  class RecurringTimeWindow
5262
5330
  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.53.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 = "20230620"
26
26
  end
27
27
  end
28
28
  end
@@ -742,6 +742,12 @@ module Google
742
742
  include Google::Apis::Core::JsonObjectSupport
743
743
  end
744
744
 
745
+ class RangeInfo
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
745
751
  class RecurringTimeWindow
746
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
753
 
@@ -1083,6 +1089,8 @@ module Google
1083
1089
  class AdditionalPodRangesConfig
1084
1090
  # @private
1085
1091
  class Representation < Google::Apis::Core::JsonRepresentation
1092
+ collection :pod_range_info, as: 'podRangeInfo', class: Google::Apis::ContainerV1beta1::RangeInfo, decorator: Google::Apis::ContainerV1beta1::RangeInfo::Representation
1093
+
1086
1094
  collection :pod_range_names, as: 'podRangeNames'
1087
1095
  end
1088
1096
  end
@@ -1170,6 +1178,7 @@ module Google
1170
1178
  property :disk_size_gb, as: 'diskSizeGb'
1171
1179
  property :disk_type, as: 'diskType'
1172
1180
  property :image_type, as: 'imageType'
1181
+ property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
1173
1182
  property :management, as: 'management', class: Google::Apis::ContainerV1beta1::NodeManagement, decorator: Google::Apis::ContainerV1beta1::NodeManagement::Representation
1174
1183
 
1175
1184
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -1810,6 +1819,7 @@ module Google
1810
1819
  property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
1811
1820
  property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
1812
1821
  property :create_subnetwork, as: 'createSubnetwork'
1822
+ property :default_pod_ipv4_range_utilization, as: 'defaultPodIpv4RangeUtilization'
1813
1823
  property :ipv6_access_type, as: 'ipv6AccessType'
1814
1824
  property :node_ipv4_cidr, as: 'nodeIpv4Cidr'
1815
1825
  property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
@@ -2226,6 +2236,7 @@ module Google
2226
2236
  property :cpu_cfs_quota, as: 'cpuCfsQuota'
2227
2237
  property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
2228
2238
  property :cpu_manager_policy, as: 'cpuManagerPolicy'
2239
+ property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
2229
2240
  property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
2230
2241
  end
2231
2242
  end
@@ -2257,6 +2268,7 @@ module Google
2257
2268
  property :pod_cidr_overprovision_config, as: 'podCidrOverprovisionConfig', class: Google::Apis::ContainerV1beta1::PodCidrOverprovisionConfig, decorator: Google::Apis::ContainerV1beta1::PodCidrOverprovisionConfig::Representation
2258
2269
 
2259
2270
  property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
2271
+ property :pod_ipv4_range_utilization, as: 'podIpv4RangeUtilization'
2260
2272
  property :pod_range, as: 'podRange'
2261
2273
  end
2262
2274
  end
@@ -2399,6 +2411,7 @@ module Google
2399
2411
  class PlacementPolicy
2400
2412
  # @private
2401
2413
  class Representation < Google::Apis::Core::JsonRepresentation
2414
+ property :tpu_topology, as: 'tpuTopology'
2402
2415
  property :type, as: 'type'
2403
2416
  end
2404
2417
  end
@@ -2458,6 +2471,14 @@ module Google
2458
2471
  end
2459
2472
  end
2460
2473
 
2474
+ class RangeInfo
2475
+ # @private
2476
+ class Representation < Google::Apis::Core::JsonRepresentation
2477
+ property :range_name, as: 'rangeName'
2478
+ property :utilization, as: 'utilization'
2479
+ end
2480
+ end
2481
+
2461
2482
  class RecurringTimeWindow
2462
2483
  # @private
2463
2484
  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.53.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-02 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.53.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: []