google-apis-container_v1 0.52.0 → 0.54.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: bb0e2743e67949830150199bee6a44cca5bd46f25c421c7450a0ccac41b917a8
4
- data.tar.gz: cb7b585f8d325459843071dc4347d27792c13d1a24c374d7397a4d676c906b67
3
+ metadata.gz: 0dd5666c9b10df745f8fd28b6db98c6d627a2e77d0493d27775a911c37a605b6
4
+ data.tar.gz: 185a6e8f4e332d246ebb498be926780e721e120c210f73c16a66476e8d20ed2a
5
5
  SHA512:
6
- metadata.gz: 8ad0e16ad00225065342b99935904eb2d1f90880ddf3d4cdd8d43e601a496f3e568ecd6a3deb0801e88e2edf7eaf99a873b3cc1c35f9e4036bae8916221ba170
7
- data.tar.gz: 5d6dfdb041df43fbff18815ed2a44be6d7522bc4b31e54f69b052e734c57603a7e1707cc43274e4f7350b541c3fc86cae427985fd995642118a353eb7ff68fbf
6
+ metadata.gz: 8d1307be8e53461c0606cfee4fcc1138fba06c4e64fdcc8b492252b0a75a1ecdc346b20f22c55748e7930cd3700d1aa1750bec4f08bef143b34b5a8a14d72c11
7
+ data.tar.gz: 52a8a39df58de95456186fe1e6be127e0c5b1447bf2643f904b3a88bce5bfaa8985afd8efd3c1584acadd07f83e4eac87d9b9a90538df081579ace49636186e4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.54.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230620
6
+
7
+ ### v0.53.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230522
10
+
3
11
  ### v0.52.0 (2023-06-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20230519
@@ -37,6 +37,12 @@ module Google
37
37
  # @return [String]
38
38
  attr_accessor :accelerator_type
39
39
 
40
+ # GPUDriverInstallationConfig specifies the version of GPU driver to be auto
41
+ # installed.
42
+ # Corresponds to the JSON property `gpuDriverInstallationConfig`
43
+ # @return [Google::Apis::ContainerV1::GpuDriverInstallationConfig]
44
+ attr_accessor :gpu_driver_installation_config
45
+
40
46
  # Size of partitions to create on the GPU. Valid values are described in the
41
47
  # NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
42
48
  # guide/#partitioning).
@@ -58,6 +64,7 @@ module Google
58
64
  def update!(**args)
59
65
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
60
66
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
67
+ @gpu_driver_installation_config = args[:gpu_driver_installation_config] if args.key?(:gpu_driver_installation_config)
61
68
  @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
62
69
  @gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
63
70
  end
@@ -68,6 +75,11 @@ module Google
68
75
  class AdditionalPodRangesConfig
69
76
  include Google::Apis::Core::Hashable
70
77
 
78
+ # Output only. [Output only] Information for additional pod range.
79
+ # Corresponds to the JSON property `podRangeInfo`
80
+ # @return [Array<Google::Apis::ContainerV1::RangeInfo>]
81
+ attr_accessor :pod_range_info
82
+
71
83
  # Name for pod secondary ipv4 range which has the actual range defined ahead.
72
84
  # Corresponds to the JSON property `podRangeNames`
73
85
  # @return [Array<String>]
@@ -79,6 +91,7 @@ module Google
79
91
 
80
92
  # Update properties of this object
81
93
  def update!(**args)
94
+ @pod_range_info = args[:pod_range_info] if args.key?(:pod_range_info)
82
95
  @pod_range_names = args[:pod_range_names] if args.key?(:pod_range_names)
83
96
  end
84
97
  end
@@ -113,6 +126,11 @@ module Google
113
126
  # @return [Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig]
114
127
  attr_accessor :gcp_filestore_csi_driver_config
115
128
 
129
+ # Configuration for the Cloud Storage Fuse CSI driver.
130
+ # Corresponds to the JSON property `gcsFuseCsiDriverConfig`
131
+ # @return [Google::Apis::ContainerV1::GcsFuseCsiDriverConfig]
132
+ attr_accessor :gcs_fuse_csi_driver_config
133
+
116
134
  # Configuration for the Backup for GKE Agent.
117
135
  # Corresponds to the JSON property `gkeBackupAgentConfig`
118
136
  # @return [Google::Apis::ContainerV1::GkeBackupAgentConfig]
@@ -154,6 +172,7 @@ module Google
154
172
  @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
155
173
  @gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
156
174
  @gcp_filestore_csi_driver_config = args[:gcp_filestore_csi_driver_config] if args.key?(:gcp_filestore_csi_driver_config)
175
+ @gcs_fuse_csi_driver_config = args[:gcs_fuse_csi_driver_config] if args.key?(:gcs_fuse_csi_driver_config)
157
176
  @gke_backup_agent_config = args[:gke_backup_agent_config] if args.key?(:gke_backup_agent_config)
158
177
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
159
178
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
@@ -250,6 +269,12 @@ module Google
250
269
  attr_accessor :enabled
251
270
  alias_method :enabled?, :enabled
252
271
 
272
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
273
+ # clusters.
274
+ # Corresponds to the JSON property `workloadPolicyConfig`
275
+ # @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
276
+ attr_accessor :workload_policy_config
277
+
253
278
  def initialize(**args)
254
279
  update!(**args)
255
280
  end
@@ -257,6 +282,7 @@ module Google
257
282
  # Update properties of this object
258
283
  def update!(**args)
259
284
  @enabled = args[:enabled] if args.key?(:enabled)
285
+ @workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config)
260
286
  end
261
287
  end
262
288
 
@@ -342,6 +368,12 @@ module Google
342
368
  # @return [String]
343
369
  attr_accessor :image_type
344
370
 
371
+ # Enable or disable Kubelet read only port.
372
+ # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
373
+ # @return [Boolean]
374
+ attr_accessor :insecure_kubelet_readonly_port_enabled
375
+ alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
376
+
345
377
  # NodeManagement defines the set of node management services turned on for the
346
378
  # node pool.
347
379
  # Corresponds to the JSON property `management`
@@ -421,6 +453,7 @@ module Google
421
453
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
422
454
  @disk_type = args[:disk_type] if args.key?(:disk_type)
423
455
  @image_type = args[:image_type] if args.key?(:image_type)
456
+ @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
424
457
  @management = args[:management] if args.key?(:management)
425
458
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
426
459
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
@@ -1082,6 +1115,12 @@ module Google
1082
1115
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
1083
1116
  attr_accessor :resource_usage_export_config
1084
1117
 
1118
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
1119
+ # the Security Posture API.
1120
+ # Corresponds to the JSON property `securityPostureConfig`
1121
+ # @return [Google::Apis::ContainerV1::SecurityPostureConfig]
1122
+ attr_accessor :security_posture_config
1123
+
1085
1124
  # [Output only] Server-defined URL for the resource.
1086
1125
  # Corresponds to the JSON property `selfLink`
1087
1126
  # @return [String]
@@ -1204,6 +1243,7 @@ module Google
1204
1243
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1205
1244
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
1206
1245
  @resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
1246
+ @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
1207
1247
  @self_link = args[:self_link] if args.key?(:self_link)
1208
1248
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
1209
1249
  @shielded_nodes = args[:shielded_nodes] if args.key?(:shielded_nodes)
@@ -1266,6 +1306,25 @@ module Google
1266
1306
  end
1267
1307
  end
1268
1308
 
1309
+ # Configuration of network bandwidth tiers
1310
+ class ClusterNetworkPerformanceConfig
1311
+ include Google::Apis::Core::Hashable
1312
+
1313
+ # Specifies the total network bandwidth tier for NodePools in the cluster.
1314
+ # Corresponds to the JSON property `totalEgressBandwidthTier`
1315
+ # @return [String]
1316
+ attr_accessor :total_egress_bandwidth_tier
1317
+
1318
+ def initialize(**args)
1319
+ update!(**args)
1320
+ end
1321
+
1322
+ # Update properties of this object
1323
+ def update!(**args)
1324
+ @total_egress_bandwidth_tier = args[:total_egress_bandwidth_tier] if args.key?(:total_egress_bandwidth_tier)
1325
+ end
1326
+ end
1327
+
1269
1328
  # ClusterUpdate describes an update to the cluster. Exactly one update can be
1270
1329
  # applied to a cluster with each request, so at most one field can be provided.
1271
1330
  class ClusterUpdate
@@ -1288,6 +1347,12 @@ module Google
1288
1347
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
1289
1348
  attr_accessor :desired_authenticator_groups_config
1290
1349
 
1350
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
1351
+ # clusters.
1352
+ # Corresponds to the JSON property `desiredAutopilotWorkloadPolicyConfig`
1353
+ # @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
1354
+ attr_accessor :desired_autopilot_workload_policy_config
1355
+
1291
1356
  # Configuration for Binary Authorization.
1292
1357
  # Corresponds to the JSON property `desiredBinaryAuthorization`
1293
1358
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
@@ -1448,6 +1513,11 @@ module Google
1448
1513
  # @return [String]
1449
1514
  attr_accessor :desired_monitoring_service
1450
1515
 
1516
+ # Configuration of network bandwidth tiers
1517
+ # Corresponds to the JSON property `desiredNetworkPerformanceConfig`
1518
+ # @return [Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig]
1519
+ attr_accessor :desired_network_performance_config
1520
+
1451
1521
  # Collection of Compute Engine network tags that can be applied to a node's
1452
1522
  # underlying VM instance.
1453
1523
  # Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
@@ -1511,6 +1581,12 @@ module Google
1511
1581
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
1512
1582
  attr_accessor :desired_resource_usage_export_config
1513
1583
 
1584
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
1585
+ # the Security Posture API.
1586
+ # Corresponds to the JSON property `desiredSecurityPostureConfig`
1587
+ # @return [Google::Apis::ContainerV1::SecurityPostureConfig]
1588
+ attr_accessor :desired_security_posture_config
1589
+
1514
1590
  # Config to block services with externalIPs field.
1515
1591
  # Corresponds to the JSON property `desiredServiceExternalIpsConfig`
1516
1592
  # @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
@@ -1567,6 +1643,7 @@ module Google
1567
1643
  @additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
1568
1644
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1569
1645
  @desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
1646
+ @desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
1570
1647
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1571
1648
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1572
1649
  @desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
@@ -1592,6 +1669,7 @@ module Google
1592
1669
  @desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
1593
1670
  @desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
1594
1671
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1672
+ @desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
1595
1673
  @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)
1596
1674
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1597
1675
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@@ -1602,6 +1680,7 @@ module Google
1602
1680
  @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1603
1681
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1604
1682
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1683
+ @desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
1605
1684
  @desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
1606
1685
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
1607
1686
  @desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
@@ -2093,6 +2172,26 @@ module Google
2093
2172
  end
2094
2173
  end
2095
2174
 
2175
+ # GPUDriverInstallationConfig specifies the version of GPU driver to be auto
2176
+ # installed.
2177
+ class GpuDriverInstallationConfig
2178
+ include Google::Apis::Core::Hashable
2179
+
2180
+ # Mode for how the GPU driver is installed.
2181
+ # Corresponds to the JSON property `gpuDriverVersion`
2182
+ # @return [String]
2183
+ attr_accessor :gpu_driver_version
2184
+
2185
+ def initialize(**args)
2186
+ update!(**args)
2187
+ end
2188
+
2189
+ # Update properties of this object
2190
+ def update!(**args)
2191
+ @gpu_driver_version = args[:gpu_driver_version] if args.key?(:gpu_driver_version)
2192
+ end
2193
+ end
2194
+
2096
2195
  # GPUSharingConfig represents the GPU sharing configuration for Hardware
2097
2196
  # Accelerators.
2098
2197
  class GpuSharingConfig
@@ -2199,6 +2298,26 @@ module Google
2199
2298
  end
2200
2299
  end
2201
2300
 
2301
+ # Configuration for the Cloud Storage Fuse CSI driver.
2302
+ class GcsFuseCsiDriverConfig
2303
+ include Google::Apis::Core::Hashable
2304
+
2305
+ # Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.
2306
+ # Corresponds to the JSON property `enabled`
2307
+ # @return [Boolean]
2308
+ attr_accessor :enabled
2309
+ alias_method :enabled?, :enabled
2310
+
2311
+ def initialize(**args)
2312
+ update!(**args)
2313
+ end
2314
+
2315
+ # Update properties of this object
2316
+ def update!(**args)
2317
+ @enabled = args[:enabled] if args.key?(:enabled)
2318
+ end
2319
+ end
2320
+
2202
2321
  # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
2203
2322
  class GetJsonWebKeysResponse
2204
2323
  include Google::Apis::Core::Hashable
@@ -2445,6 +2564,13 @@ module Google
2445
2564
  attr_accessor :create_subnetwork
2446
2565
  alias_method :create_subnetwork?, :create_subnetwork
2447
2566
 
2567
+ # Output only. [Output only] The utilization of the cluster default IPv4 range
2568
+ # for pod. The ratio is Usage/[Total number of IPs in the secondary range],
2569
+ # Usage=numNodes*numZones*podIPsPerNode.
2570
+ # Corresponds to the JSON property `defaultPodIpv4RangeUtilization`
2571
+ # @return [Float]
2572
+ attr_accessor :default_pod_ipv4_range_utilization
2573
+
2448
2574
  # The ipv6 access type (internal or external) when create_subnetwork is true
2449
2575
  # Corresponds to the JSON property `ipv6AccessType`
2450
2576
  # @return [String]
@@ -2558,6 +2684,7 @@ module Google
2558
2684
  @cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
2559
2685
  @cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
2560
2686
  @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork)
2687
+ @default_pod_ipv4_range_utilization = args[:default_pod_ipv4_range_utilization] if args.key?(:default_pod_ipv4_range_utilization)
2561
2688
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
2562
2689
  @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
2563
2690
  @node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
@@ -3336,6 +3463,11 @@ module Google
3336
3463
  # @return [String]
3337
3464
  attr_accessor :network
3338
3465
 
3466
+ # Configuration of network bandwidth tiers
3467
+ # Corresponds to the JSON property `networkPerformanceConfig`
3468
+ # @return [Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig]
3469
+ attr_accessor :network_performance_config
3470
+
3339
3471
  # The desired state of IPv6 connectivity to Google Services. By default, no
3340
3472
  # private IPv6 access to or from Google Services (all access will be via IPv4)
3341
3473
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -3368,6 +3500,7 @@ module Google
3368
3500
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
3369
3501
  @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
3370
3502
  @network = args[:network] if args.key?(:network)
3503
+ @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
3371
3504
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
3372
3505
  @service_external_ips_config = args[:service_external_ips_config] if args.key?(:service_external_ips_config)
3373
3506
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@@ -3845,6 +3978,12 @@ module Google
3845
3978
  # @return [String]
3846
3979
  attr_accessor :cpu_manager_policy
3847
3980
 
3981
+ # Enable or disable Kubelet read only port.
3982
+ # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
3983
+ # @return [Boolean]
3984
+ attr_accessor :insecure_kubelet_readonly_port_enabled
3985
+ alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
3986
+
3848
3987
  # Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-
3849
3988
  # limiting/#pod-pid-limits Controls the maximum number of processes allowed to
3850
3989
  # run in a pod. The value must be greater than or equal to 1024 and less than
@@ -3862,6 +4001,7 @@ module Google
3862
4001
  @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
3863
4002
  @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
3864
4003
  @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
4004
+ @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
3865
4005
  @pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
3866
4006
  end
3867
4007
  end
@@ -3970,6 +4110,13 @@ module Google
3970
4110
  # @return [String]
3971
4111
  attr_accessor :pod_ipv4_cidr_block
3972
4112
 
4113
+ # Output only. [Output only] The utilization of the IPv4 range for pod. The
4114
+ # ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*
4115
+ # numZones*podIPsPerNode.
4116
+ # Corresponds to the JSON property `podIpv4RangeUtilization`
4117
+ # @return [Float]
4118
+ attr_accessor :pod_ipv4_range_utilization
4119
+
3973
4120
  # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
3974
4121
  # ID is used for the new range. If `create_pod_range` is false, uses an existing
3975
4122
  # secondary range with this ID. Only applicable if `ip_allocation_policy.
@@ -3990,6 +4137,7 @@ module Google
3990
4137
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
3991
4138
  @pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
3992
4139
  @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
4140
+ @pod_ipv4_range_utilization = args[:pod_ipv4_range_utilization] if args.key?(:pod_ipv4_range_utilization)
3993
4141
  @pod_range = args[:pod_range] if args.key?(:pod_range)
3994
4142
  end
3995
4143
  end
@@ -4712,6 +4860,31 @@ module Google
4712
4860
  end
4713
4861
  end
4714
4862
 
4863
+ # RangeInfo contains the range name and the range utilization by this cluster.
4864
+ class RangeInfo
4865
+ include Google::Apis::Core::Hashable
4866
+
4867
+ # Output only. [Output only] Name of a range.
4868
+ # Corresponds to the JSON property `rangeName`
4869
+ # @return [String]
4870
+ attr_accessor :range_name
4871
+
4872
+ # Output only. [Output only] The utilization of the range.
4873
+ # Corresponds to the JSON property `utilization`
4874
+ # @return [Float]
4875
+ attr_accessor :utilization
4876
+
4877
+ def initialize(**args)
4878
+ update!(**args)
4879
+ end
4880
+
4881
+ # Update properties of this object
4882
+ def update!(**args)
4883
+ @range_name = args[:range_name] if args.key?(:range_name)
4884
+ @utilization = args[:utilization] if args.key?(:utilization)
4885
+ end
4886
+ end
4887
+
4715
4888
  # Represents an arbitrary window of time that recurs.
4716
4889
  class RecurringTimeWindow
4717
4890
  include Google::Apis::Core::Hashable
@@ -5086,6 +5259,32 @@ module Google
5086
5259
  end
5087
5260
  end
5088
5261
 
5262
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
5263
+ # the Security Posture API.
5264
+ class SecurityPostureConfig
5265
+ include Google::Apis::Core::Hashable
5266
+
5267
+ # Sets which mode to use for Security Posture features.
5268
+ # Corresponds to the JSON property `mode`
5269
+ # @return [String]
5270
+ attr_accessor :mode
5271
+
5272
+ # Sets which mode to use for vulnerability scanning.
5273
+ # Corresponds to the JSON property `vulnerabilityMode`
5274
+ # @return [String]
5275
+ attr_accessor :vulnerability_mode
5276
+
5277
+ def initialize(**args)
5278
+ update!(**args)
5279
+ end
5280
+
5281
+ # Update properties of this object
5282
+ def update!(**args)
5283
+ @mode = args[:mode] if args.key?(:mode)
5284
+ @vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
5285
+ end
5286
+ end
5287
+
5089
5288
  # Kubernetes Engine service configuration.
5090
5289
  class ServerConfig
5091
5290
  include Google::Apis::Core::Hashable
@@ -6753,6 +6952,27 @@ module Google
6753
6952
  @mode = args[:mode] if args.key?(:mode)
6754
6953
  end
6755
6954
  end
6955
+
6956
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
6957
+ # clusters.
6958
+ class WorkloadPolicyConfig
6959
+ include Google::Apis::Core::Hashable
6960
+
6961
+ # If true, workloads can use NET_ADMIN capability.
6962
+ # Corresponds to the JSON property `allowNetAdmin`
6963
+ # @return [Boolean]
6964
+ attr_accessor :allow_net_admin
6965
+ alias_method :allow_net_admin?, :allow_net_admin
6966
+
6967
+ def initialize(**args)
6968
+ update!(**args)
6969
+ end
6970
+
6971
+ # Update properties of this object
6972
+ def update!(**args)
6973
+ @allow_net_admin = args[:allow_net_admin] if args.key?(:allow_net_admin)
6974
+ end
6975
+ end
6756
6976
  end
6757
6977
  end
6758
6978
  end
@@ -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.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 = "20230519"
25
+ REVISION = "20230620"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ClusterNetworkPerformanceConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class ClusterUpdate
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class GpuDriverInstallationConfig
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class GpuSharingConfig
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -292,6 +304,12 @@ module Google
292
304
  include Google::Apis::Core::JsonObjectSupport
293
305
  end
294
306
 
307
+ class GcsFuseCsiDriverConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
295
313
  class GetJsonWebKeysResponse
296
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
315
 
@@ -658,6 +676,12 @@ module Google
658
676
  include Google::Apis::Core::JsonObjectSupport
659
677
  end
660
678
 
679
+ class RangeInfo
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
661
685
  class RecurringTimeWindow
662
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
687
 
@@ -718,6 +742,12 @@ module Google
718
742
  include Google::Apis::Core::JsonObjectSupport
719
743
  end
720
744
 
745
+ class SecurityPostureConfig
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
721
751
  class ServerConfig
722
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
753
 
@@ -934,11 +964,19 @@ module Google
934
964
  include Google::Apis::Core::JsonObjectSupport
935
965
  end
936
966
 
967
+ class WorkloadPolicyConfig
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
937
973
  class AcceleratorConfig
938
974
  # @private
939
975
  class Representation < Google::Apis::Core::JsonRepresentation
940
976
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
941
977
  property :accelerator_type, as: 'acceleratorType'
978
+ property :gpu_driver_installation_config, as: 'gpuDriverInstallationConfig', class: Google::Apis::ContainerV1::GpuDriverInstallationConfig, decorator: Google::Apis::ContainerV1::GpuDriverInstallationConfig::Representation
979
+
942
980
  property :gpu_partition_size, as: 'gpuPartitionSize'
943
981
  property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1::GpuSharingConfig, decorator: Google::Apis::ContainerV1::GpuSharingConfig::Representation
944
982
 
@@ -948,6 +986,8 @@ module Google
948
986
  class AdditionalPodRangesConfig
949
987
  # @private
950
988
  class Representation < Google::Apis::Core::JsonRepresentation
989
+ collection :pod_range_info, as: 'podRangeInfo', class: Google::Apis::ContainerV1::RangeInfo, decorator: Google::Apis::ContainerV1::RangeInfo::Representation
990
+
951
991
  collection :pod_range_names, as: 'podRangeNames'
952
992
  end
953
993
  end
@@ -965,6 +1005,8 @@ module Google
965
1005
 
966
1006
  property :gcp_filestore_csi_driver_config, as: 'gcpFilestoreCsiDriverConfig', class: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig::Representation
967
1007
 
1008
+ property :gcs_fuse_csi_driver_config, as: 'gcsFuseCsiDriverConfig', class: Google::Apis::ContainerV1::GcsFuseCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcsFuseCsiDriverConfig::Representation
1009
+
968
1010
  property :gke_backup_agent_config, as: 'gkeBackupAgentConfig', class: Google::Apis::ContainerV1::GkeBackupAgentConfig, decorator: Google::Apis::ContainerV1::GkeBackupAgentConfig::Representation
969
1011
 
970
1012
  property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
@@ -1005,6 +1047,8 @@ module Google
1005
1047
  # @private
1006
1048
  class Representation < Google::Apis::Core::JsonRepresentation
1007
1049
  property :enabled, as: 'enabled'
1050
+ property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
1051
+
1008
1052
  end
1009
1053
  end
1010
1054
 
@@ -1027,6 +1071,7 @@ module Google
1027
1071
  property :disk_size_gb, as: 'diskSizeGb'
1028
1072
  property :disk_type, as: 'diskType'
1029
1073
  property :image_type, as: 'imageType'
1074
+ property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
1030
1075
  property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
1031
1076
 
1032
1077
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -1213,6 +1258,8 @@ module Google
1213
1258
  hash :resource_labels, as: 'resourceLabels'
1214
1259
  property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
1215
1260
 
1261
+ property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
1262
+
1216
1263
  property :self_link, as: 'selfLink'
1217
1264
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
1218
1265
  property :shielded_nodes, as: 'shieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
@@ -1242,6 +1289,13 @@ module Google
1242
1289
  end
1243
1290
  end
1244
1291
 
1292
+ class ClusterNetworkPerformanceConfig
1293
+ # @private
1294
+ class Representation < Google::Apis::Core::JsonRepresentation
1295
+ property :total_egress_bandwidth_tier, as: 'totalEgressBandwidthTier'
1296
+ end
1297
+ end
1298
+
1245
1299
  class ClusterUpdate
1246
1300
  # @private
1247
1301
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1305,8 @@ module Google
1251
1305
 
1252
1306
  property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
1253
1307
 
1308
+ property :desired_autopilot_workload_policy_config, as: 'desiredAutopilotWorkloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
1309
+
1254
1310
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
1255
1311
 
1256
1312
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
@@ -1293,6 +1349,8 @@ module Google
1293
1349
  property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
1294
1350
 
1295
1351
  property :desired_monitoring_service, as: 'desiredMonitoringService'
1352
+ property :desired_network_performance_config, as: 'desiredNetworkPerformanceConfig', class: Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig, decorator: Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig::Representation
1353
+
1296
1354
  property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
1297
1355
 
1298
1356
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
@@ -1310,6 +1368,8 @@ module Google
1310
1368
 
1311
1369
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
1312
1370
 
1371
+ property :desired_security_posture_config, as: 'desiredSecurityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
1372
+
1313
1373
  property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
1314
1374
 
1315
1375
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
@@ -1469,6 +1529,13 @@ module Google
1469
1529
  end
1470
1530
  end
1471
1531
 
1532
+ class GpuDriverInstallationConfig
1533
+ # @private
1534
+ class Representation < Google::Apis::Core::JsonRepresentation
1535
+ property :gpu_driver_version, as: 'gpuDriverVersion'
1536
+ end
1537
+ end
1538
+
1472
1539
  class GpuSharingConfig
1473
1540
  # @private
1474
1541
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1505,6 +1572,13 @@ module Google
1505
1572
  end
1506
1573
  end
1507
1574
 
1575
+ class GcsFuseCsiDriverConfig
1576
+ # @private
1577
+ class Representation < Google::Apis::Core::JsonRepresentation
1578
+ property :enabled, as: 'enabled'
1579
+ end
1580
+ end
1581
+
1508
1582
  class GetJsonWebKeysResponse
1509
1583
  # @private
1510
1584
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1576,6 +1650,7 @@ module Google
1576
1650
  property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
1577
1651
  property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
1578
1652
  property :create_subnetwork, as: 'createSubnetwork'
1653
+ property :default_pod_ipv4_range_utilization, as: 'defaultPodIpv4RangeUtilization'
1579
1654
  property :ipv6_access_type, as: 'ipv6AccessType'
1580
1655
  property :node_ipv4_cidr, as: 'nodeIpv4Cidr'
1581
1656
  property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
@@ -1829,6 +1904,8 @@ module Google
1829
1904
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
1830
1905
 
1831
1906
  property :network, as: 'network'
1907
+ property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig, decorator: Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig::Representation
1908
+
1832
1909
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1833
1910
  property :service_external_ips_config, as: 'serviceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
1834
1911
 
@@ -1948,6 +2025,7 @@ module Google
1948
2025
  property :cpu_cfs_quota, as: 'cpuCfsQuota'
1949
2026
  property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
1950
2027
  property :cpu_manager_policy, as: 'cpuManagerPolicy'
2028
+ property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
1951
2029
  property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
1952
2030
  end
1953
2031
  end
@@ -1979,6 +2057,7 @@ module Google
1979
2057
  property :pod_cidr_overprovision_config, as: 'podCidrOverprovisionConfig', class: Google::Apis::ContainerV1::PodCidrOverprovisionConfig, decorator: Google::Apis::ContainerV1::PodCidrOverprovisionConfig::Representation
1980
2058
 
1981
2059
  property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
2060
+ property :pod_ipv4_range_utilization, as: 'podIpv4RangeUtilization'
1982
2061
  property :pod_range, as: 'podRange'
1983
2062
  end
1984
2063
  end
@@ -2164,6 +2243,14 @@ module Google
2164
2243
  end
2165
2244
  end
2166
2245
 
2246
+ class RangeInfo
2247
+ # @private
2248
+ class Representation < Google::Apis::Core::JsonRepresentation
2249
+ property :range_name, as: 'rangeName'
2250
+ property :utilization, as: 'utilization'
2251
+ end
2252
+ end
2253
+
2167
2254
  class RecurringTimeWindow
2168
2255
  # @private
2169
2256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2260,6 +2347,14 @@ module Google
2260
2347
  end
2261
2348
  end
2262
2349
 
2350
+ class SecurityPostureConfig
2351
+ # @private
2352
+ class Representation < Google::Apis::Core::JsonRepresentation
2353
+ property :mode, as: 'mode'
2354
+ property :vulnerability_mode, as: 'vulnerabilityMode'
2355
+ end
2356
+ end
2357
+
2263
2358
  class ServerConfig
2264
2359
  # @private
2265
2360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2659,6 +2754,13 @@ module Google
2659
2754
  property :mode, as: 'mode'
2660
2755
  end
2661
2756
  end
2757
+
2758
+ class WorkloadPolicyConfig
2759
+ # @private
2760
+ class Representation < Google::Apis::Core::JsonRepresentation
2761
+ property :allow_net_admin, as: 'allowNetAdmin'
2762
+ end
2763
+ end
2662
2764
  end
2663
2765
  end
2664
2766
  end
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.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-04 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.54.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: []