google-apis-container_v1beta1 0.50.0 → 0.52.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: a622a7036efda8c8e4dbf27ba76f737fb265844a19a74a7ba394bc1e2dd9e156
4
- data.tar.gz: 6528546525b500df1fc306b84a733270fa4c39dc4e2833c8eac17a0ae4c6e402
3
+ metadata.gz: b8e705e44c1504952cd36a8a08db1795e0425f3cb080021b9970742a7cac7913
4
+ data.tar.gz: c47cc563d809f4110cf994fc0048970d7cbdedc31be1df5c3fbcdffb8793e4c5
5
5
  SHA512:
6
- metadata.gz: 1e9d5845a22dfe06b6a52bd1731d68b535027bfd80d4423adb9182bba1eb9efccfc0c094fd610a38e537a97dea03ef68709e9c7d9fab666fb21334bc2e8dd250
7
- data.tar.gz: 3625881a7e9ccf3ab1fd46cb42075f12f930a60e43bdd3bc230fb9edda280b98eb4869c9817ff96e690a4feb60fcd1b0b077a7a7bb5315b8f255da22195b900d
6
+ metadata.gz: f997f27e12945f0b199a6c2b4deafa4b4b10c2764fe5439bbd8f802e2943c146ea0f9e7320a398d94ebf1b35bd99048a8b0ade02737f1ff4b6679a4475e6b77e
7
+ data.tar.gz: ff3fbf128e140758286a549c8a0174443e7828a9d0999c35878e5d9671591d2ae1d87844e5028f5fdb2997d3e54cb8817bacdbbd301607244952a8dcb4411f6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.52.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230614
6
+
7
+ ### v0.51.0 (2023-06-04)
8
+
9
+ * Regenerated from discovery document revision 20230522
10
+
3
11
  ### v0.50.0 (2023-05-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20230515
@@ -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::ContainerV1beta1::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).
@@ -63,6 +69,7 @@ module Google
63
69
  def update!(**args)
64
70
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
65
71
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
72
+ @gpu_driver_installation_config = args[:gpu_driver_installation_config] if args.key?(:gpu_driver_installation_config)
66
73
  @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
67
74
  @gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
68
75
  @max_time_shared_clients_per_gpu = args[:max_time_shared_clients_per_gpu] if args.key?(:max_time_shared_clients_per_gpu)
@@ -274,6 +281,12 @@ module Google
274
281
  attr_accessor :enabled
275
282
  alias_method :enabled?, :enabled
276
283
 
284
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
285
+ # clusters.
286
+ # Corresponds to the JSON property `workloadPolicyConfig`
287
+ # @return [Google::Apis::ContainerV1beta1::WorkloadPolicyConfig]
288
+ attr_accessor :workload_policy_config
289
+
277
290
  def initialize(**args)
278
291
  update!(**args)
279
292
  end
@@ -281,6 +294,57 @@ module Google
281
294
  # Update properties of this object
282
295
  def update!(**args)
283
296
  @enabled = args[:enabled] if args.key?(:enabled)
297
+ @workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config)
298
+ end
299
+ end
300
+
301
+ # AutopilotCompatibilityIssue contains information about a specific
302
+ # compatibility issue with Autopilot mode.
303
+ class AutopilotCompatibilityIssue
304
+ include Google::Apis::Core::Hashable
305
+
306
+ # The constraint type of the issue.
307
+ # Corresponds to the JSON property `constraintType`
308
+ # @return [String]
309
+ attr_accessor :constraint_type
310
+
311
+ # The description of the issue.
312
+ # Corresponds to the JSON property `description`
313
+ # @return [String]
314
+ attr_accessor :description
315
+
316
+ # A URL to a public documnetation, which addresses resolving this issue.
317
+ # Corresponds to the JSON property `documentationUrl`
318
+ # @return [String]
319
+ attr_accessor :documentation_url
320
+
321
+ # The incompatibility type of this issue.
322
+ # Corresponds to the JSON property `incompatibilityType`
323
+ # @return [String]
324
+ attr_accessor :incompatibility_type
325
+
326
+ # The last time when this issue was observed.
327
+ # Corresponds to the JSON property `lastObservation`
328
+ # @return [String]
329
+ attr_accessor :last_observation
330
+
331
+ # The name of the resources which are subject to this issue.
332
+ # Corresponds to the JSON property `subjects`
333
+ # @return [Array<String>]
334
+ attr_accessor :subjects
335
+
336
+ def initialize(**args)
337
+ update!(**args)
338
+ end
339
+
340
+ # Update properties of this object
341
+ def update!(**args)
342
+ @constraint_type = args[:constraint_type] if args.key?(:constraint_type)
343
+ @description = args[:description] if args.key?(:description)
344
+ @documentation_url = args[:documentation_url] if args.key?(:documentation_url)
345
+ @incompatibility_type = args[:incompatibility_type] if args.key?(:incompatibility_type)
346
+ @last_observation = args[:last_observation] if args.key?(:last_observation)
347
+ @subjects = args[:subjects] if args.key?(:subjects)
284
348
  end
285
349
  end
286
350
 
@@ -425,6 +489,36 @@ module Google
425
489
  end
426
490
  end
427
491
 
492
+ # Best effort provisioning.
493
+ class BestEffortProvisioning
494
+ include Google::Apis::Core::Hashable
495
+
496
+ # When this is enabled, cluster/node pool creations will ignore non-fatal errors
497
+ # like stockout to best provision as many nodes as possible right now and
498
+ # eventually bring up all target number of nodes
499
+ # Corresponds to the JSON property `enabled`
500
+ # @return [Boolean]
501
+ attr_accessor :enabled
502
+ alias_method :enabled?, :enabled
503
+
504
+ # Minimum number of nodes to be provisioned to be considered as succeeded, and
505
+ # the rest of nodes will be provisioned gradually and eventually when stockout
506
+ # issue has been resolved.
507
+ # Corresponds to the JSON property `minProvisionNodes`
508
+ # @return [Fixnum]
509
+ attr_accessor :min_provision_nodes
510
+
511
+ def initialize(**args)
512
+ update!(**args)
513
+ end
514
+
515
+ # Update properties of this object
516
+ def update!(**args)
517
+ @enabled = args[:enabled] if args.key?(:enabled)
518
+ @min_provision_nodes = args[:min_provision_nodes] if args.key?(:min_provision_nodes)
519
+ end
520
+ end
521
+
428
522
  # Parameters for using BigQuery as the destination of resource usage export.
429
523
  class BigQueryDestination
430
524
  include Google::Apis::Core::Hashable
@@ -588,6 +682,31 @@ module Google
588
682
  end
589
683
  end
590
684
 
685
+ # CheckAutopilotCompatibilityResponse has a list of compatibility issues.
686
+ class CheckAutopilotCompatibilityResponse
687
+ include Google::Apis::Core::Hashable
688
+
689
+ # The list of issues for the given operation.
690
+ # Corresponds to the JSON property `issues`
691
+ # @return [Array<Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue>]
692
+ attr_accessor :issues
693
+
694
+ # The summary of the autopilot compatibility response.
695
+ # Corresponds to the JSON property `summary`
696
+ # @return [String]
697
+ attr_accessor :summary
698
+
699
+ def initialize(**args)
700
+ update!(**args)
701
+ end
702
+
703
+ # Update properties of this object
704
+ def update!(**args)
705
+ @issues = args[:issues] if args.key?(:issues)
706
+ @summary = args[:summary] if args.key?(:summary)
707
+ end
708
+ end
709
+
591
710
  # CidrBlock contains an optional name and one CIDR block.
592
711
  class CidrBlock
593
712
  include Google::Apis::Core::Hashable
@@ -761,6 +880,11 @@ module Google
761
880
  # @return [String]
762
881
  attr_accessor :description
763
882
 
883
+ # Kubernetes open source beta apis enabled on the cluster.
884
+ # Corresponds to the JSON property `enableK8sBetaApis`
885
+ # @return [Google::Apis::ContainerV1beta1::K8sBetaApiConfig]
886
+ attr_accessor :enable_k8s_beta_apis
887
+
764
888
  # Kubernetes alpha features are enabled on this cluster. This includes alpha API
765
889
  # groups (e.g. v1beta1) and features that may not be production ready in the
766
890
  # kubernetes version of the master and nodes. The cluster has no SLA for uptime
@@ -1057,6 +1181,12 @@ module Google
1057
1181
  # @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
1058
1182
  attr_accessor :resource_usage_export_config
1059
1183
 
1184
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
1185
+ # the Security Posture API.
1186
+ # Corresponds to the JSON property `securityPostureConfig`
1187
+ # @return [Google::Apis::ContainerV1beta1::SecurityPostureConfig]
1188
+ attr_accessor :security_posture_config
1189
+
1060
1190
  # [Output only] Server-defined URL for the resource.
1061
1191
  # Corresponds to the JSON property `selfLink`
1062
1192
  # @return [String]
@@ -1157,6 +1287,7 @@ module Google
1157
1287
  @database_encryption = args[:database_encryption] if args.key?(:database_encryption)
1158
1288
  @default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
1159
1289
  @description = args[:description] if args.key?(:description)
1290
+ @enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
1160
1291
  @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
1161
1292
  @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
1162
1293
  @endpoint = args[:endpoint] if args.key?(:endpoint)
@@ -1200,6 +1331,7 @@ module Google
1200
1331
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1201
1332
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
1202
1333
  @resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
1334
+ @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
1203
1335
  @self_link = args[:self_link] if args.key?(:self_link)
1204
1336
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
1205
1337
  @shielded_nodes = args[:shielded_nodes] if args.key?(:shielded_nodes)
@@ -1265,6 +1397,25 @@ module Google
1265
1397
  end
1266
1398
  end
1267
1399
 
1400
+ # Configuration of all network bandwidth tiers
1401
+ class ClusterNetworkPerformanceConfig
1402
+ include Google::Apis::Core::Hashable
1403
+
1404
+ # Specifies the total network bandwidth tier for the NodePool.
1405
+ # Corresponds to the JSON property `totalEgressBandwidthTier`
1406
+ # @return [String]
1407
+ attr_accessor :total_egress_bandwidth_tier
1408
+
1409
+ def initialize(**args)
1410
+ update!(**args)
1411
+ end
1412
+
1413
+ # Update properties of this object
1414
+ def update!(**args)
1415
+ @total_egress_bandwidth_tier = args[:total_egress_bandwidth_tier] if args.key?(:total_egress_bandwidth_tier)
1416
+ end
1417
+ end
1418
+
1268
1419
  # Telemetry integration for the cluster.
1269
1420
  class ClusterTelemetry
1270
1421
  include Google::Apis::Core::Hashable
@@ -1306,6 +1457,12 @@ module Google
1306
1457
  # @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
1307
1458
  attr_accessor :desired_authenticator_groups_config
1308
1459
 
1460
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
1461
+ # clusters.
1462
+ # Corresponds to the JSON property `desiredAutopilotWorkloadPolicyConfig`
1463
+ # @return [Google::Apis::ContainerV1beta1::WorkloadPolicyConfig]
1464
+ attr_accessor :desired_autopilot_workload_policy_config
1465
+
1309
1466
  # Configuration for Binary Authorization.
1310
1467
  # Corresponds to the JSON property `desiredBinaryAuthorization`
1311
1468
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
@@ -1349,6 +1506,12 @@ module Google
1349
1506
  # @return [Google::Apis::ContainerV1beta1::DnsConfig]
1350
1507
  attr_accessor :desired_dns_config
1351
1508
 
1509
+ # Enable/Disable FQDN Network Policy for the cluster.
1510
+ # Corresponds to the JSON property `desiredEnableFqdnNetworkPolicy`
1511
+ # @return [Boolean]
1512
+ attr_accessor :desired_enable_fqdn_network_policy
1513
+ alias_method :desired_enable_fqdn_network_policy?, :desired_enable_fqdn_network_policy
1514
+
1352
1515
  # Enable/Disable private endpoint for the cluster's master.
1353
1516
  # Corresponds to the JSON property `desiredEnablePrivateEndpoint`
1354
1517
  # @return [Boolean]
@@ -1388,6 +1551,11 @@ module Google
1388
1551
  # @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
1389
1552
  attr_accessor :desired_intra_node_visibility_config
1390
1553
 
1554
+ # Kubernetes open source beta apis enabled on the cluster.
1555
+ # Corresponds to the JSON property `desiredK8sBetaApis`
1556
+ # @return [Google::Apis::ContainerV1beta1::K8sBetaApiConfig]
1557
+ attr_accessor :desired_k8s_beta_apis
1558
+
1391
1559
  # ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
1392
1560
  # subsetting on this cluster.
1393
1561
  # Corresponds to the JSON property `desiredL4ilbSubsettingConfig`
@@ -1464,6 +1632,11 @@ module Google
1464
1632
  # @return [String]
1465
1633
  attr_accessor :desired_monitoring_service
1466
1634
 
1635
+ # Configuration of all network bandwidth tiers
1636
+ # Corresponds to the JSON property `desiredNetworkPerformanceConfig`
1637
+ # @return [Google::Apis::ContainerV1beta1::ClusterNetworkPerformanceConfig]
1638
+ attr_accessor :desired_network_performance_config
1639
+
1467
1640
  # Collection of Compute Engine network tags that can be applied to a node's
1468
1641
  # underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
1469
1642
  # docs/reference/rest/v1/NodeConfig)).
@@ -1540,6 +1713,12 @@ module Google
1540
1713
  # @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
1541
1714
  attr_accessor :desired_resource_usage_export_config
1542
1715
 
1716
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
1717
+ # the Security Posture API.
1718
+ # Corresponds to the JSON property `desiredSecurityPostureConfig`
1719
+ # @return [Google::Apis::ContainerV1beta1::SecurityPostureConfig]
1720
+ attr_accessor :desired_security_posture_config
1721
+
1543
1722
  # Config to block services with externalIPs field.
1544
1723
  # Corresponds to the JSON property `desiredServiceExternalIpsConfig`
1545
1724
  # @return [Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig]
@@ -1584,6 +1763,11 @@ module Google
1584
1763
  # @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
1585
1764
  attr_accessor :desired_workload_identity_config
1586
1765
 
1766
+ # Kubernetes open source beta apis enabled on the cluster.
1767
+ # Corresponds to the JSON property `enableK8sBetaApis`
1768
+ # @return [Google::Apis::ContainerV1beta1::K8sBetaApiConfig]
1769
+ attr_accessor :enable_k8s_beta_apis
1770
+
1587
1771
  # The current etag of the cluster. If an etag is provided and does not match the
1588
1772
  # current etag of the cluster, update will be blocked and an ABORTED error will
1589
1773
  # be returned.
@@ -1606,6 +1790,7 @@ module Google
1606
1790
  @additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
1607
1791
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1608
1792
  @desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
1793
+ @desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
1609
1794
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1610
1795
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1611
1796
  @desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
@@ -1614,6 +1799,7 @@ module Google
1614
1799
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1615
1800
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1616
1801
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1802
+ @desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
1617
1803
  @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1618
1804
  @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1619
1805
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
@@ -1621,6 +1807,7 @@ module Google
1621
1807
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1622
1808
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1623
1809
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1810
+ @desired_k8s_beta_apis = args[:desired_k8s_beta_apis] if args.key?(:desired_k8s_beta_apis)
1624
1811
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
1625
1812
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
1626
1813
  @desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
@@ -1631,6 +1818,7 @@ module Google
1631
1818
  @desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
1632
1819
  @desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
1633
1820
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1821
+ @desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
1634
1822
  @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)
1635
1823
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1636
1824
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@@ -1643,6 +1831,7 @@ module Google
1643
1831
  @desired_protect_config = args[:desired_protect_config] if args.key?(:desired_protect_config)
1644
1832
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1645
1833
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1834
+ @desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
1646
1835
  @desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
1647
1836
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
1648
1837
  @desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
@@ -1651,6 +1840,7 @@ module Google
1651
1840
  @desired_workload_alts_config = args[:desired_workload_alts_config] if args.key?(:desired_workload_alts_config)
1652
1841
  @desired_workload_certificates = args[:desired_workload_certificates] if args.key?(:desired_workload_certificates)
1653
1842
  @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
1843
+ @enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
1654
1844
  @etag = args[:etag] if args.key?(:etag)
1655
1845
  @removed_additional_pod_ranges_config = args[:removed_additional_pod_ranges_config] if args.key?(:removed_additional_pod_ranges_config)
1656
1846
  end
@@ -2210,6 +2400,26 @@ module Google
2210
2400
  end
2211
2401
  end
2212
2402
 
2403
+ # GPUDriverInstallationConfig specifies the version of GPU driver to be auto
2404
+ # installed.
2405
+ class GpuDriverInstallationConfig
2406
+ include Google::Apis::Core::Hashable
2407
+
2408
+ # Mode for how the GPU driver is installed.
2409
+ # Corresponds to the JSON property `gpuDriverVersion`
2410
+ # @return [String]
2411
+ attr_accessor :gpu_driver_version
2412
+
2413
+ def initialize(**args)
2414
+ update!(**args)
2415
+ end
2416
+
2417
+ # Update properties of this object
2418
+ def update!(**args)
2419
+ @gpu_driver_version = args[:gpu_driver_version] if args.key?(:gpu_driver_version)
2420
+ end
2421
+ end
2422
+
2213
2423
  # GPUSharingConfig represents the GPU sharing configuration for Hardware
2214
2424
  # Accelerators.
2215
2425
  class GpuSharingConfig
@@ -2862,6 +3072,25 @@ module Google
2862
3072
  end
2863
3073
  end
2864
3074
 
3075
+ # Kubernetes open source beta apis enabled on the cluster.
3076
+ class K8sBetaApiConfig
3077
+ include Google::Apis::Core::Hashable
3078
+
3079
+ # api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
3080
+ # Corresponds to the JSON property `enabledApis`
3081
+ # @return [Array<String>]
3082
+ attr_accessor :enabled_apis
3083
+
3084
+ def initialize(**args)
3085
+ update!(**args)
3086
+ end
3087
+
3088
+ # Update properties of this object
3089
+ def update!(**args)
3090
+ @enabled_apis = args[:enabled_apis] if args.key?(:enabled_apis)
3091
+ end
3092
+ end
3093
+
2865
3094
  # Configuration options for the KALM addon.
2866
3095
  class KalmConfig
2867
3096
  include Google::Apis::Core::Hashable
@@ -3559,6 +3788,12 @@ module Google
3559
3788
  # @return [Google::Apis::ContainerV1beta1::DnsConfig]
3560
3789
  attr_accessor :dns_config
3561
3790
 
3791
+ # Whether FQDN Network Policy is enabled on this cluster.
3792
+ # Corresponds to the JSON property `enableFqdnNetworkPolicy`
3793
+ # @return [Boolean]
3794
+ attr_accessor :enable_fqdn_network_policy
3795
+ alias_method :enable_fqdn_network_policy?, :enable_fqdn_network_policy
3796
+
3562
3797
  # Whether Intra-node visibility is enabled for this cluster. This makes same
3563
3798
  # node pod to pod traffic visible for VPC network.
3564
3799
  # Corresponds to the JSON property `enableIntraNodeVisibility`
@@ -3584,6 +3819,11 @@ module Google
3584
3819
  # @return [String]
3585
3820
  attr_accessor :network
3586
3821
 
3822
+ # Configuration of all network bandwidth tiers
3823
+ # Corresponds to the JSON property `networkPerformanceConfig`
3824
+ # @return [Google::Apis::ContainerV1beta1::ClusterNetworkPerformanceConfig]
3825
+ attr_accessor :network_performance_config
3826
+
3587
3827
  # The desired state of IPv6 connectivity to Google Services. By default, no
3588
3828
  # private IPv6 access to or from Google Services (all access will be via IPv4)
3589
3829
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -3611,10 +3851,12 @@ module Google
3611
3851
  @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
3612
3852
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
3613
3853
  @dns_config = args[:dns_config] if args.key?(:dns_config)
3854
+ @enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
3614
3855
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
3615
3856
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
3616
3857
  @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
3617
3858
  @network = args[:network] if args.key?(:network)
3859
+ @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
3618
3860
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
3619
3861
  @service_external_ips_config = args[:service_external_ips_config] if args.key?(:service_external_ips_config)
3620
3862
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@@ -3924,7 +4166,7 @@ module Google
3924
4166
  attr_accessor :oauth_scopes
3925
4167
 
3926
4168
  # Whether the nodes are created as preemptible VM instances. See: https://cloud.
3927
- # google.com/compute/docs/instances/preemptible for more inforamtion about
4169
+ # google.com/compute/docs/instances/preemptible for more information about
3928
4170
  # preemptible VM instances.
3929
4171
  # Corresponds to the JSON property `preemptible`
3930
4172
  # @return [Boolean]
@@ -4277,6 +4519,11 @@ module Google
4277
4519
  # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
4278
4520
  attr_accessor :autoscaling
4279
4521
 
4522
+ # Best effort provisioning.
4523
+ # Corresponds to the JSON property `bestEffortProvisioning`
4524
+ # @return [Google::Apis::ContainerV1beta1::BestEffortProvisioning]
4525
+ attr_accessor :best_effort_provisioning
4526
+
4280
4527
  # Which conditions caused the current node pool state.
4281
4528
  # Corresponds to the JSON property `conditions`
4282
4529
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
@@ -4410,6 +4657,7 @@ module Google
4410
4657
  # Update properties of this object
4411
4658
  def update!(**args)
4412
4659
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
4660
+ @best_effort_provisioning = args[:best_effort_provisioning] if args.key?(:best_effort_provisioning)
4413
4661
  @conditions = args[:conditions] if args.key?(:conditions)
4414
4662
  @config = args[:config] if args.key?(:config)
4415
4663
  @etag = args[:etag] if args.key?(:etag)
@@ -5396,6 +5644,32 @@ module Google
5396
5644
  end
5397
5645
  end
5398
5646
 
5647
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
5648
+ # the Security Posture API.
5649
+ class SecurityPostureConfig
5650
+ include Google::Apis::Core::Hashable
5651
+
5652
+ # Sets which mode to use for Security Posture features.
5653
+ # Corresponds to the JSON property `mode`
5654
+ # @return [String]
5655
+ attr_accessor :mode
5656
+
5657
+ # Sets which mode to use for vulnerability scanning.
5658
+ # Corresponds to the JSON property `vulnerabilityMode`
5659
+ # @return [String]
5660
+ attr_accessor :vulnerability_mode
5661
+
5662
+ def initialize(**args)
5663
+ update!(**args)
5664
+ end
5665
+
5666
+ # Update properties of this object
5667
+ def update!(**args)
5668
+ @mode = args[:mode] if args.key?(:mode)
5669
+ @vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
5670
+ end
5671
+ end
5672
+
5399
5673
  # Kubernetes Engine service configuration.
5400
5674
  class ServerConfig
5401
5675
  include Google::Apis::Core::Hashable
@@ -7221,6 +7495,27 @@ module Google
7221
7495
  @node_metadata = args[:node_metadata] if args.key?(:node_metadata)
7222
7496
  end
7223
7497
  end
7498
+
7499
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
7500
+ # clusters.
7501
+ class WorkloadPolicyConfig
7502
+ include Google::Apis::Core::Hashable
7503
+
7504
+ # If true, workloads can use NET_ADMIN capability.
7505
+ # Corresponds to the JSON property `allowNetAdmin`
7506
+ # @return [Boolean]
7507
+ attr_accessor :allow_net_admin
7508
+ alias_method :allow_net_admin?, :allow_net_admin
7509
+
7510
+ def initialize(**args)
7511
+ update!(**args)
7512
+ end
7513
+
7514
+ # Update properties of this object
7515
+ def update!(**args)
7516
+ @allow_net_admin = args[:allow_net_admin] if args.key?(:allow_net_admin)
7517
+ end
7518
+ end
7224
7519
  end
7225
7520
  end
7226
7521
  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.50.0"
19
+ GEM_VERSION = "0.52.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 = "20230515"
25
+ REVISION = "20230614"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class AutopilotCompatibilityIssue
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class AutoprovisioningNodePoolDefaults
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class BestEffortProvisioning
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class BigQueryDestination
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -106,6 +118,12 @@ module Google
106
118
  include Google::Apis::Core::JsonObjectSupport
107
119
  end
108
120
 
121
+ class CheckAutopilotCompatibilityResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
109
127
  class CidrBlock
110
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
129
 
@@ -136,6 +154,12 @@ module Google
136
154
  include Google::Apis::Core::JsonObjectSupport
137
155
  end
138
156
 
157
+ class ClusterNetworkPerformanceConfig
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
139
163
  class ClusterTelemetry
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
@@ -268,6 +292,12 @@ module Google
268
292
  include Google::Apis::Core::JsonObjectSupport
269
293
  end
270
294
 
295
+ class GpuDriverInstallationConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
271
301
  class GpuSharingConfig
272
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
303
 
@@ -376,6 +406,12 @@ module Google
376
406
  include Google::Apis::Core::JsonObjectSupport
377
407
  end
378
408
 
409
+ class K8sBetaApiConfig
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
379
415
  class KalmConfig
380
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
417
 
@@ -766,6 +802,12 @@ module Google
766
802
  include Google::Apis::Core::JsonObjectSupport
767
803
  end
768
804
 
805
+ class SecurityPostureConfig
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
769
811
  class ServerConfig
770
812
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
813
 
@@ -1018,11 +1060,19 @@ module Google
1018
1060
  include Google::Apis::Core::JsonObjectSupport
1019
1061
  end
1020
1062
 
1063
+ class WorkloadPolicyConfig
1064
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1065
+
1066
+ include Google::Apis::Core::JsonObjectSupport
1067
+ end
1068
+
1021
1069
  class AcceleratorConfig
1022
1070
  # @private
1023
1071
  class Representation < Google::Apis::Core::JsonRepresentation
1024
1072
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
1025
1073
  property :accelerator_type, as: 'acceleratorType'
1074
+ property :gpu_driver_installation_config, as: 'gpuDriverInstallationConfig', class: Google::Apis::ContainerV1beta1::GpuDriverInstallationConfig, decorator: Google::Apis::ContainerV1beta1::GpuDriverInstallationConfig::Representation
1075
+
1026
1076
  property :gpu_partition_size, as: 'gpuPartitionSize'
1027
1077
  property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1beta1::GpuSharingConfig, decorator: Google::Apis::ContainerV1beta1::GpuSharingConfig::Representation
1028
1078
 
@@ -1096,6 +1146,20 @@ module Google
1096
1146
  # @private
1097
1147
  class Representation < Google::Apis::Core::JsonRepresentation
1098
1148
  property :enabled, as: 'enabled'
1149
+ property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig::Representation
1150
+
1151
+ end
1152
+ end
1153
+
1154
+ class AutopilotCompatibilityIssue
1155
+ # @private
1156
+ class Representation < Google::Apis::Core::JsonRepresentation
1157
+ property :constraint_type, as: 'constraintType'
1158
+ property :description, as: 'description'
1159
+ property :documentation_url, as: 'documentationUrl'
1160
+ property :incompatibility_type, as: 'incompatibilityType'
1161
+ property :last_observation, as: 'lastObservation'
1162
+ collection :subjects, as: 'subjects'
1099
1163
  end
1100
1164
  end
1101
1165
 
@@ -1126,6 +1190,14 @@ module Google
1126
1190
  end
1127
1191
  end
1128
1192
 
1193
+ class BestEffortProvisioning
1194
+ # @private
1195
+ class Representation < Google::Apis::Core::JsonRepresentation
1196
+ property :enabled, as: 'enabled'
1197
+ property :min_provision_nodes, as: 'minProvisionNodes'
1198
+ end
1199
+ end
1200
+
1129
1201
  class BigQueryDestination
1130
1202
  # @private
1131
1203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1171,6 +1243,15 @@ module Google
1171
1243
  end
1172
1244
  end
1173
1245
 
1246
+ class CheckAutopilotCompatibilityResponse
1247
+ # @private
1248
+ class Representation < Google::Apis::Core::JsonRepresentation
1249
+ collection :issues, as: 'issues', class: Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue, decorator: Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue::Representation
1250
+
1251
+ property :summary, as: 'summary'
1252
+ end
1253
+ end
1254
+
1174
1255
  class CidrBlock
1175
1256
  # @private
1176
1257
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1225,6 +1306,8 @@ module Google
1225
1306
  property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation
1226
1307
 
1227
1308
  property :description, as: 'description'
1309
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1beta1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1beta1::K8sBetaApiConfig::Representation
1310
+
1228
1311
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
1229
1312
  property :enable_tpu, as: 'enableTpu'
1230
1313
  property :endpoint, as: 'endpoint'
@@ -1291,6 +1374,8 @@ module Google
1291
1374
  hash :resource_labels, as: 'resourceLabels'
1292
1375
  property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
1293
1376
 
1377
+ property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1beta1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1beta1::SecurityPostureConfig::Representation
1378
+
1294
1379
  property :self_link, as: 'selfLink'
1295
1380
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
1296
1381
  property :shielded_nodes, as: 'shieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation
@@ -1326,6 +1411,13 @@ module Google
1326
1411
  end
1327
1412
  end
1328
1413
 
1414
+ class ClusterNetworkPerformanceConfig
1415
+ # @private
1416
+ class Representation < Google::Apis::Core::JsonRepresentation
1417
+ property :total_egress_bandwidth_tier, as: 'totalEgressBandwidthTier'
1418
+ end
1419
+ end
1420
+
1329
1421
  class ClusterTelemetry
1330
1422
  # @private
1331
1423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1342,6 +1434,8 @@ module Google
1342
1434
 
1343
1435
  property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig::Representation
1344
1436
 
1437
+ property :desired_autopilot_workload_policy_config, as: 'desiredAutopilotWorkloadPolicyConfig', class: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig::Representation
1438
+
1345
1439
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
1346
1440
 
1347
1441
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
@@ -1357,6 +1451,7 @@ module Google
1357
1451
 
1358
1452
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1359
1453
 
1454
+ property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
1360
1455
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1361
1456
  property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1beta1::Fleet, decorator: Google::Apis::ContainerV1beta1::Fleet::Representation
1362
1457
 
@@ -1369,6 +1464,8 @@ module Google
1369
1464
  property :desired_image_type, as: 'desiredImageType'
1370
1465
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
1371
1466
 
1467
+ property :desired_k8s_beta_apis, as: 'desiredK8sBetaApis', class: Google::Apis::ContainerV1beta1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1beta1::K8sBetaApiConfig::Representation
1468
+
1372
1469
  property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1beta1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1beta1::IlbSubsettingConfig::Representation
1373
1470
 
1374
1471
  collection :desired_locations, as: 'desiredLocations'
@@ -1385,6 +1482,8 @@ module Google
1385
1482
  property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1beta1::MonitoringConfig, decorator: Google::Apis::ContainerV1beta1::MonitoringConfig::Representation
1386
1483
 
1387
1484
  property :desired_monitoring_service, as: 'desiredMonitoringService'
1485
+ property :desired_network_performance_config, as: 'desiredNetworkPerformanceConfig', class: Google::Apis::ContainerV1beta1::ClusterNetworkPerformanceConfig, decorator: Google::Apis::ContainerV1beta1::ClusterNetworkPerformanceConfig::Representation
1486
+
1388
1487
  property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1beta1::NetworkTags, decorator: Google::Apis::ContainerV1beta1::NetworkTags::Representation
1389
1488
 
1390
1489
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
@@ -1406,6 +1505,8 @@ module Google
1406
1505
 
1407
1506
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
1408
1507
 
1508
+ property :desired_security_posture_config, as: 'desiredSecurityPostureConfig', class: Google::Apis::ContainerV1beta1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1beta1::SecurityPostureConfig::Representation
1509
+
1409
1510
  property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig::Representation
1410
1511
 
1411
1512
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation
@@ -1421,6 +1522,8 @@ module Google
1421
1522
 
1422
1523
  property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
1423
1524
 
1525
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1beta1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1beta1::K8sBetaApiConfig::Representation
1526
+
1424
1527
  property :etag, as: 'etag'
1425
1528
  property :removed_additional_pod_ranges_config, as: 'removedAdditionalPodRangesConfig', class: Google::Apis::ContainerV1beta1::AdditionalPodRangesConfig, decorator: Google::Apis::ContainerV1beta1::AdditionalPodRangesConfig::Representation
1426
1529
 
@@ -1585,6 +1688,13 @@ module Google
1585
1688
  end
1586
1689
  end
1587
1690
 
1691
+ class GpuDriverInstallationConfig
1692
+ # @private
1693
+ class Representation < Google::Apis::Core::JsonRepresentation
1694
+ property :gpu_driver_version, as: 'gpuDriverVersion'
1695
+ end
1696
+ end
1697
+
1588
1698
  class GpuSharingConfig
1589
1699
  # @private
1590
1700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1755,6 +1865,13 @@ module Google
1755
1865
  end
1756
1866
  end
1757
1867
 
1868
+ class K8sBetaApiConfig
1869
+ # @private
1870
+ class Representation < Google::Apis::Core::JsonRepresentation
1871
+ collection :enabled_apis, as: 'enabledApis'
1872
+ end
1873
+ end
1874
+
1758
1875
  class KalmConfig
1759
1876
  # @private
1760
1877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1979,11 +2096,14 @@ module Google
1979
2096
 
1980
2097
  property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1981
2098
 
2099
+ property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
1982
2100
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1983
2101
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1984
2102
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1beta1::GatewayApiConfig, decorator: Google::Apis::ContainerV1beta1::GatewayApiConfig::Representation
1985
2103
 
1986
2104
  property :network, as: 'network'
2105
+ property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ContainerV1beta1::ClusterNetworkPerformanceConfig, decorator: Google::Apis::ContainerV1beta1::ClusterNetworkPerformanceConfig::Representation
2106
+
1987
2107
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1988
2108
  property :service_external_ips_config, as: 'serviceExternalIpsConfig', class: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig::Representation
1989
2109
 
@@ -2146,6 +2266,8 @@ module Google
2146
2266
  class Representation < Google::Apis::Core::JsonRepresentation
2147
2267
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
2148
2268
 
2269
+ property :best_effort_provisioning, as: 'bestEffortProvisioning', class: Google::Apis::ContainerV1beta1::BestEffortProvisioning, decorator: Google::Apis::ContainerV1beta1::BestEffortProvisioning::Representation
2270
+
2149
2271
  collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
2150
2272
 
2151
2273
  property :config, as: 'config', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
@@ -2435,6 +2557,14 @@ module Google
2435
2557
  end
2436
2558
  end
2437
2559
 
2560
+ class SecurityPostureConfig
2561
+ # @private
2562
+ class Representation < Google::Apis::Core::JsonRepresentation
2563
+ property :mode, as: 'mode'
2564
+ property :vulnerability_mode, as: 'vulnerabilityMode'
2565
+ end
2566
+ end
2567
+
2438
2568
  class ServerConfig
2439
2569
  # @private
2440
2570
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2889,6 +3019,13 @@ module Google
2889
3019
  property :node_metadata, as: 'nodeMetadata'
2890
3020
  end
2891
3021
  end
3022
+
3023
+ class WorkloadPolicyConfig
3024
+ # @private
3025
+ class Representation < Google::Apis::Core::JsonRepresentation
3026
+ property :allow_net_admin, as: 'allowNetAdmin'
3027
+ end
3028
+ end
2892
3029
  end
2893
3030
  end
2894
3031
  end
@@ -169,6 +169,38 @@ module Google
169
169
  execute_or_queue_command(command, &block)
170
170
  end
171
171
 
172
+ # Checks the cluster compatibility with Autopilot mode, and returns a list of
173
+ # compatibility issues.
174
+ # @param [String] name
175
+ # The name (project, location, cluster) of the cluster to retrieve. Specified in
176
+ # the format `projects/*/locations/*/clusters/*`.
177
+ # @param [String] fields
178
+ # Selector specifying which fields to include in a partial response.
179
+ # @param [String] quota_user
180
+ # Available to use for quota purposes for server-side applications. Can be any
181
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
182
+ # @param [Google::Apis::RequestOptions] options
183
+ # Request-specific options
184
+ #
185
+ # @yield [result, err] Result & error if block supplied
186
+ # @yieldparam result [Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse] parsed result object
187
+ # @yieldparam err [StandardError] error object if request failed
188
+ #
189
+ # @return [Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse]
190
+ #
191
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
192
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
193
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
194
+ def check_project_location_cluster_autopilot_compatibility(name, fields: nil, quota_user: nil, options: nil, &block)
195
+ command = make_simple_command(:get, 'v1beta1/{+name}:checkAutopilotCompatibility', options)
196
+ command.response_representation = Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse::Representation
197
+ command.response_class = Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse
198
+ command.params['name'] = name unless name.nil?
199
+ command.query['fields'] = fields unless fields.nil?
200
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
201
+ execute_or_queue_command(command, &block)
202
+ end
203
+
172
204
  # Completes master IP rotation.
173
205
  # @param [String] name
174
206
  # The name (project, location, cluster name) of the cluster to complete IP
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.50.0
4
+ version: 0.52.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-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-25 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.52.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: []