google-apis-container_v1beta1 0.50.0 → 0.51.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: cafd878f5993b410dc7106b66498014ffb442bebbd8b8418e5ac324245f26add
4
+ data.tar.gz: f4edaa5d6fc52da8c78a437e3a298c8f11cf15d2cbcc1afb84ad8dbeed795888
5
5
  SHA512:
6
- metadata.gz: 1e9d5845a22dfe06b6a52bd1731d68b535027bfd80d4423adb9182bba1eb9efccfc0c094fd610a38e537a97dea03ef68709e9c7d9fab666fb21334bc2e8dd250
7
- data.tar.gz: 3625881a7e9ccf3ab1fd46cb42075f12f930a60e43bdd3bc230fb9edda280b98eb4869c9817ff96e690a4feb60fcd1b0b077a7a7bb5315b8f255da22195b900d
6
+ metadata.gz: ea63c39180faf8d8cfb6f40f1e925cdf1929236c51c385a2b6ea058a1d8bd650e576b577890f3a6aa553002be0f02906d5d0752d837522c94f9b095639765ae7
7
+ data.tar.gz: 1cedf1324fff42c791416ce6d63b824ce8a5184096d8ab0ed18e92ea9144bee65a8038920efb3ce788f966c0146a6d134311a3e79e07e9921a3c2fdb3ae60cf6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.51.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230522
6
+
3
7
  ### v0.50.0 (2023-05-28)
4
8
 
5
9
  * 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)
@@ -1306,6 +1438,12 @@ module Google
1306
1438
  # @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
1307
1439
  attr_accessor :desired_authenticator_groups_config
1308
1440
 
1441
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
1442
+ # clusters.
1443
+ # Corresponds to the JSON property `desiredAutopilotWorkloadPolicyConfig`
1444
+ # @return [Google::Apis::ContainerV1beta1::WorkloadPolicyConfig]
1445
+ attr_accessor :desired_autopilot_workload_policy_config
1446
+
1309
1447
  # Configuration for Binary Authorization.
1310
1448
  # Corresponds to the JSON property `desiredBinaryAuthorization`
1311
1449
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
@@ -1349,6 +1487,12 @@ module Google
1349
1487
  # @return [Google::Apis::ContainerV1beta1::DnsConfig]
1350
1488
  attr_accessor :desired_dns_config
1351
1489
 
1490
+ # Enable/Disable FQDN Network Policy for the cluster.
1491
+ # Corresponds to the JSON property `desiredEnableFqdnNetworkPolicy`
1492
+ # @return [Boolean]
1493
+ attr_accessor :desired_enable_fqdn_network_policy
1494
+ alias_method :desired_enable_fqdn_network_policy?, :desired_enable_fqdn_network_policy
1495
+
1352
1496
  # Enable/Disable private endpoint for the cluster's master.
1353
1497
  # Corresponds to the JSON property `desiredEnablePrivateEndpoint`
1354
1498
  # @return [Boolean]
@@ -1388,6 +1532,11 @@ module Google
1388
1532
  # @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
1389
1533
  attr_accessor :desired_intra_node_visibility_config
1390
1534
 
1535
+ # Kubernetes open source beta apis enabled on the cluster.
1536
+ # Corresponds to the JSON property `desiredK8sBetaApis`
1537
+ # @return [Google::Apis::ContainerV1beta1::K8sBetaApiConfig]
1538
+ attr_accessor :desired_k8s_beta_apis
1539
+
1391
1540
  # ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
1392
1541
  # subsetting on this cluster.
1393
1542
  # Corresponds to the JSON property `desiredL4ilbSubsettingConfig`
@@ -1540,6 +1689,12 @@ module Google
1540
1689
  # @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
1541
1690
  attr_accessor :desired_resource_usage_export_config
1542
1691
 
1692
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
1693
+ # the Security Posture API.
1694
+ # Corresponds to the JSON property `desiredSecurityPostureConfig`
1695
+ # @return [Google::Apis::ContainerV1beta1::SecurityPostureConfig]
1696
+ attr_accessor :desired_security_posture_config
1697
+
1543
1698
  # Config to block services with externalIPs field.
1544
1699
  # Corresponds to the JSON property `desiredServiceExternalIpsConfig`
1545
1700
  # @return [Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig]
@@ -1584,6 +1739,11 @@ module Google
1584
1739
  # @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
1585
1740
  attr_accessor :desired_workload_identity_config
1586
1741
 
1742
+ # Kubernetes open source beta apis enabled on the cluster.
1743
+ # Corresponds to the JSON property `enableK8sBetaApis`
1744
+ # @return [Google::Apis::ContainerV1beta1::K8sBetaApiConfig]
1745
+ attr_accessor :enable_k8s_beta_apis
1746
+
1587
1747
  # The current etag of the cluster. If an etag is provided and does not match the
1588
1748
  # current etag of the cluster, update will be blocked and an ABORTED error will
1589
1749
  # be returned.
@@ -1606,6 +1766,7 @@ module Google
1606
1766
  @additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
1607
1767
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1608
1768
  @desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
1769
+ @desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
1609
1770
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1610
1771
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1611
1772
  @desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
@@ -1614,6 +1775,7 @@ module Google
1614
1775
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1615
1776
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1616
1777
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1778
+ @desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
1617
1779
  @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1618
1780
  @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1619
1781
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
@@ -1621,6 +1783,7 @@ module Google
1621
1783
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1622
1784
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1623
1785
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1786
+ @desired_k8s_beta_apis = args[:desired_k8s_beta_apis] if args.key?(:desired_k8s_beta_apis)
1624
1787
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
1625
1788
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
1626
1789
  @desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
@@ -1643,6 +1806,7 @@ module Google
1643
1806
  @desired_protect_config = args[:desired_protect_config] if args.key?(:desired_protect_config)
1644
1807
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1645
1808
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1809
+ @desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
1646
1810
  @desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
1647
1811
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
1648
1812
  @desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
@@ -1651,6 +1815,7 @@ module Google
1651
1815
  @desired_workload_alts_config = args[:desired_workload_alts_config] if args.key?(:desired_workload_alts_config)
1652
1816
  @desired_workload_certificates = args[:desired_workload_certificates] if args.key?(:desired_workload_certificates)
1653
1817
  @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
1818
+ @enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
1654
1819
  @etag = args[:etag] if args.key?(:etag)
1655
1820
  @removed_additional_pod_ranges_config = args[:removed_additional_pod_ranges_config] if args.key?(:removed_additional_pod_ranges_config)
1656
1821
  end
@@ -2210,6 +2375,26 @@ module Google
2210
2375
  end
2211
2376
  end
2212
2377
 
2378
+ # GPUDriverInstallationConfig specifies the version of GPU driver to be auto
2379
+ # installed.
2380
+ class GpuDriverInstallationConfig
2381
+ include Google::Apis::Core::Hashable
2382
+
2383
+ # Mode for how the GPU driver is installed.
2384
+ # Corresponds to the JSON property `gpuDriverVersion`
2385
+ # @return [String]
2386
+ attr_accessor :gpu_driver_version
2387
+
2388
+ def initialize(**args)
2389
+ update!(**args)
2390
+ end
2391
+
2392
+ # Update properties of this object
2393
+ def update!(**args)
2394
+ @gpu_driver_version = args[:gpu_driver_version] if args.key?(:gpu_driver_version)
2395
+ end
2396
+ end
2397
+
2213
2398
  # GPUSharingConfig represents the GPU sharing configuration for Hardware
2214
2399
  # Accelerators.
2215
2400
  class GpuSharingConfig
@@ -2862,6 +3047,25 @@ module Google
2862
3047
  end
2863
3048
  end
2864
3049
 
3050
+ # Kubernetes open source beta apis enabled on the cluster.
3051
+ class K8sBetaApiConfig
3052
+ include Google::Apis::Core::Hashable
3053
+
3054
+ # api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
3055
+ # Corresponds to the JSON property `enabledApis`
3056
+ # @return [Array<String>]
3057
+ attr_accessor :enabled_apis
3058
+
3059
+ def initialize(**args)
3060
+ update!(**args)
3061
+ end
3062
+
3063
+ # Update properties of this object
3064
+ def update!(**args)
3065
+ @enabled_apis = args[:enabled_apis] if args.key?(:enabled_apis)
3066
+ end
3067
+ end
3068
+
2865
3069
  # Configuration options for the KALM addon.
2866
3070
  class KalmConfig
2867
3071
  include Google::Apis::Core::Hashable
@@ -3559,6 +3763,12 @@ module Google
3559
3763
  # @return [Google::Apis::ContainerV1beta1::DnsConfig]
3560
3764
  attr_accessor :dns_config
3561
3765
 
3766
+ # Whether FQDN Network Policy is enabled on this cluster.
3767
+ # Corresponds to the JSON property `enableFqdnNetworkPolicy`
3768
+ # @return [Boolean]
3769
+ attr_accessor :enable_fqdn_network_policy
3770
+ alias_method :enable_fqdn_network_policy?, :enable_fqdn_network_policy
3771
+
3562
3772
  # Whether Intra-node visibility is enabled for this cluster. This makes same
3563
3773
  # node pod to pod traffic visible for VPC network.
3564
3774
  # Corresponds to the JSON property `enableIntraNodeVisibility`
@@ -3611,6 +3821,7 @@ module Google
3611
3821
  @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
3612
3822
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
3613
3823
  @dns_config = args[:dns_config] if args.key?(:dns_config)
3824
+ @enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
3614
3825
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
3615
3826
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
3616
3827
  @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
@@ -4277,6 +4488,11 @@ module Google
4277
4488
  # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
4278
4489
  attr_accessor :autoscaling
4279
4490
 
4491
+ # Best effort provisioning.
4492
+ # Corresponds to the JSON property `bestEffortProvisioning`
4493
+ # @return [Google::Apis::ContainerV1beta1::BestEffortProvisioning]
4494
+ attr_accessor :best_effort_provisioning
4495
+
4280
4496
  # Which conditions caused the current node pool state.
4281
4497
  # Corresponds to the JSON property `conditions`
4282
4498
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
@@ -4410,6 +4626,7 @@ module Google
4410
4626
  # Update properties of this object
4411
4627
  def update!(**args)
4412
4628
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
4629
+ @best_effort_provisioning = args[:best_effort_provisioning] if args.key?(:best_effort_provisioning)
4413
4630
  @conditions = args[:conditions] if args.key?(:conditions)
4414
4631
  @config = args[:config] if args.key?(:config)
4415
4632
  @etag = args[:etag] if args.key?(:etag)
@@ -5396,6 +5613,32 @@ module Google
5396
5613
  end
5397
5614
  end
5398
5615
 
5616
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
5617
+ # the Security Posture API.
5618
+ class SecurityPostureConfig
5619
+ include Google::Apis::Core::Hashable
5620
+
5621
+ # Sets which mode to use for Security Posture features.
5622
+ # Corresponds to the JSON property `mode`
5623
+ # @return [String]
5624
+ attr_accessor :mode
5625
+
5626
+ # Sets which mode to use for vulnerability scanning.
5627
+ # Corresponds to the JSON property `vulnerabilityMode`
5628
+ # @return [String]
5629
+ attr_accessor :vulnerability_mode
5630
+
5631
+ def initialize(**args)
5632
+ update!(**args)
5633
+ end
5634
+
5635
+ # Update properties of this object
5636
+ def update!(**args)
5637
+ @mode = args[:mode] if args.key?(:mode)
5638
+ @vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
5639
+ end
5640
+ end
5641
+
5399
5642
  # Kubernetes Engine service configuration.
5400
5643
  class ServerConfig
5401
5644
  include Google::Apis::Core::Hashable
@@ -7221,6 +7464,27 @@ module Google
7221
7464
  @node_metadata = args[:node_metadata] if args.key?(:node_metadata)
7222
7465
  end
7223
7466
  end
7467
+
7468
+ # WorkloadPolicyConfig is the configuration of workload policy for autopilot
7469
+ # clusters.
7470
+ class WorkloadPolicyConfig
7471
+ include Google::Apis::Core::Hashable
7472
+
7473
+ # If true, workloads can use NET_ADMIN capability.
7474
+ # Corresponds to the JSON property `allowNetAdmin`
7475
+ # @return [Boolean]
7476
+ attr_accessor :allow_net_admin
7477
+ alias_method :allow_net_admin?, :allow_net_admin
7478
+
7479
+ def initialize(**args)
7480
+ update!(**args)
7481
+ end
7482
+
7483
+ # Update properties of this object
7484
+ def update!(**args)
7485
+ @allow_net_admin = args[:allow_net_admin] if args.key?(:allow_net_admin)
7486
+ end
7487
+ end
7224
7488
  end
7225
7489
  end
7226
7490
  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.51.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 = "20230522"
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
 
@@ -268,6 +286,12 @@ module Google
268
286
  include Google::Apis::Core::JsonObjectSupport
269
287
  end
270
288
 
289
+ class GpuDriverInstallationConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
271
295
  class GpuSharingConfig
272
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
297
 
@@ -376,6 +400,12 @@ module Google
376
400
  include Google::Apis::Core::JsonObjectSupport
377
401
  end
378
402
 
403
+ class K8sBetaApiConfig
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
379
409
  class KalmConfig
380
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
411
 
@@ -766,6 +796,12 @@ module Google
766
796
  include Google::Apis::Core::JsonObjectSupport
767
797
  end
768
798
 
799
+ class SecurityPostureConfig
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
769
805
  class ServerConfig
770
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
807
 
@@ -1018,11 +1054,19 @@ module Google
1018
1054
  include Google::Apis::Core::JsonObjectSupport
1019
1055
  end
1020
1056
 
1057
+ class WorkloadPolicyConfig
1058
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1059
+
1060
+ include Google::Apis::Core::JsonObjectSupport
1061
+ end
1062
+
1021
1063
  class AcceleratorConfig
1022
1064
  # @private
1023
1065
  class Representation < Google::Apis::Core::JsonRepresentation
1024
1066
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
1025
1067
  property :accelerator_type, as: 'acceleratorType'
1068
+ property :gpu_driver_installation_config, as: 'gpuDriverInstallationConfig', class: Google::Apis::ContainerV1beta1::GpuDriverInstallationConfig, decorator: Google::Apis::ContainerV1beta1::GpuDriverInstallationConfig::Representation
1069
+
1026
1070
  property :gpu_partition_size, as: 'gpuPartitionSize'
1027
1071
  property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1beta1::GpuSharingConfig, decorator: Google::Apis::ContainerV1beta1::GpuSharingConfig::Representation
1028
1072
 
@@ -1096,6 +1140,20 @@ module Google
1096
1140
  # @private
1097
1141
  class Representation < Google::Apis::Core::JsonRepresentation
1098
1142
  property :enabled, as: 'enabled'
1143
+ property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig::Representation
1144
+
1145
+ end
1146
+ end
1147
+
1148
+ class AutopilotCompatibilityIssue
1149
+ # @private
1150
+ class Representation < Google::Apis::Core::JsonRepresentation
1151
+ property :constraint_type, as: 'constraintType'
1152
+ property :description, as: 'description'
1153
+ property :documentation_url, as: 'documentationUrl'
1154
+ property :incompatibility_type, as: 'incompatibilityType'
1155
+ property :last_observation, as: 'lastObservation'
1156
+ collection :subjects, as: 'subjects'
1099
1157
  end
1100
1158
  end
1101
1159
 
@@ -1126,6 +1184,14 @@ module Google
1126
1184
  end
1127
1185
  end
1128
1186
 
1187
+ class BestEffortProvisioning
1188
+ # @private
1189
+ class Representation < Google::Apis::Core::JsonRepresentation
1190
+ property :enabled, as: 'enabled'
1191
+ property :min_provision_nodes, as: 'minProvisionNodes'
1192
+ end
1193
+ end
1194
+
1129
1195
  class BigQueryDestination
1130
1196
  # @private
1131
1197
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1171,6 +1237,15 @@ module Google
1171
1237
  end
1172
1238
  end
1173
1239
 
1240
+ class CheckAutopilotCompatibilityResponse
1241
+ # @private
1242
+ class Representation < Google::Apis::Core::JsonRepresentation
1243
+ collection :issues, as: 'issues', class: Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue, decorator: Google::Apis::ContainerV1beta1::AutopilotCompatibilityIssue::Representation
1244
+
1245
+ property :summary, as: 'summary'
1246
+ end
1247
+ end
1248
+
1174
1249
  class CidrBlock
1175
1250
  # @private
1176
1251
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1225,6 +1300,8 @@ module Google
1225
1300
  property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation
1226
1301
 
1227
1302
  property :description, as: 'description'
1303
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1beta1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1beta1::K8sBetaApiConfig::Representation
1304
+
1228
1305
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
1229
1306
  property :enable_tpu, as: 'enableTpu'
1230
1307
  property :endpoint, as: 'endpoint'
@@ -1291,6 +1368,8 @@ module Google
1291
1368
  hash :resource_labels, as: 'resourceLabels'
1292
1369
  property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
1293
1370
 
1371
+ property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1beta1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1beta1::SecurityPostureConfig::Representation
1372
+
1294
1373
  property :self_link, as: 'selfLink'
1295
1374
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
1296
1375
  property :shielded_nodes, as: 'shieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation
@@ -1342,6 +1421,8 @@ module Google
1342
1421
 
1343
1422
  property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig::Representation
1344
1423
 
1424
+ property :desired_autopilot_workload_policy_config, as: 'desiredAutopilotWorkloadPolicyConfig', class: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig::Representation
1425
+
1345
1426
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
1346
1427
 
1347
1428
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
@@ -1357,6 +1438,7 @@ module Google
1357
1438
 
1358
1439
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1359
1440
 
1441
+ property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
1360
1442
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1361
1443
  property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1beta1::Fleet, decorator: Google::Apis::ContainerV1beta1::Fleet::Representation
1362
1444
 
@@ -1369,6 +1451,8 @@ module Google
1369
1451
  property :desired_image_type, as: 'desiredImageType'
1370
1452
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
1371
1453
 
1454
+ property :desired_k8s_beta_apis, as: 'desiredK8sBetaApis', class: Google::Apis::ContainerV1beta1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1beta1::K8sBetaApiConfig::Representation
1455
+
1372
1456
  property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1beta1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1beta1::IlbSubsettingConfig::Representation
1373
1457
 
1374
1458
  collection :desired_locations, as: 'desiredLocations'
@@ -1406,6 +1490,8 @@ module Google
1406
1490
 
1407
1491
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
1408
1492
 
1493
+ property :desired_security_posture_config, as: 'desiredSecurityPostureConfig', class: Google::Apis::ContainerV1beta1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1beta1::SecurityPostureConfig::Representation
1494
+
1409
1495
  property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig::Representation
1410
1496
 
1411
1497
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation
@@ -1421,6 +1507,8 @@ module Google
1421
1507
 
1422
1508
  property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
1423
1509
 
1510
+ property :enable_k8s_beta_apis, as: 'enableK8sBetaApis', class: Google::Apis::ContainerV1beta1::K8sBetaApiConfig, decorator: Google::Apis::ContainerV1beta1::K8sBetaApiConfig::Representation
1511
+
1424
1512
  property :etag, as: 'etag'
1425
1513
  property :removed_additional_pod_ranges_config, as: 'removedAdditionalPodRangesConfig', class: Google::Apis::ContainerV1beta1::AdditionalPodRangesConfig, decorator: Google::Apis::ContainerV1beta1::AdditionalPodRangesConfig::Representation
1426
1514
 
@@ -1585,6 +1673,13 @@ module Google
1585
1673
  end
1586
1674
  end
1587
1675
 
1676
+ class GpuDriverInstallationConfig
1677
+ # @private
1678
+ class Representation < Google::Apis::Core::JsonRepresentation
1679
+ property :gpu_driver_version, as: 'gpuDriverVersion'
1680
+ end
1681
+ end
1682
+
1588
1683
  class GpuSharingConfig
1589
1684
  # @private
1590
1685
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1755,6 +1850,13 @@ module Google
1755
1850
  end
1756
1851
  end
1757
1852
 
1853
+ class K8sBetaApiConfig
1854
+ # @private
1855
+ class Representation < Google::Apis::Core::JsonRepresentation
1856
+ collection :enabled_apis, as: 'enabledApis'
1857
+ end
1858
+ end
1859
+
1758
1860
  class KalmConfig
1759
1861
  # @private
1760
1862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1979,6 +2081,7 @@ module Google
1979
2081
 
1980
2082
  property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1981
2083
 
2084
+ property :enable_fqdn_network_policy, as: 'enableFqdnNetworkPolicy'
1982
2085
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1983
2086
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1984
2087
  property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1beta1::GatewayApiConfig, decorator: Google::Apis::ContainerV1beta1::GatewayApiConfig::Representation
@@ -2146,6 +2249,8 @@ module Google
2146
2249
  class Representation < Google::Apis::Core::JsonRepresentation
2147
2250
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
2148
2251
 
2252
+ property :best_effort_provisioning, as: 'bestEffortProvisioning', class: Google::Apis::ContainerV1beta1::BestEffortProvisioning, decorator: Google::Apis::ContainerV1beta1::BestEffortProvisioning::Representation
2253
+
2149
2254
  collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
2150
2255
 
2151
2256
  property :config, as: 'config', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
@@ -2435,6 +2540,14 @@ module Google
2435
2540
  end
2436
2541
  end
2437
2542
 
2543
+ class SecurityPostureConfig
2544
+ # @private
2545
+ class Representation < Google::Apis::Core::JsonRepresentation
2546
+ property :mode, as: 'mode'
2547
+ property :vulnerability_mode, as: 'vulnerabilityMode'
2548
+ end
2549
+ end
2550
+
2438
2551
  class ServerConfig
2439
2552
  # @private
2440
2553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2889,6 +3002,13 @@ module Google
2889
3002
  property :node_metadata, as: 'nodeMetadata'
2890
3003
  end
2891
3004
  end
3005
+
3006
+ class WorkloadPolicyConfig
3007
+ # @private
3008
+ class Representation < Google::Apis::Core::JsonRepresentation
3009
+ property :allow_net_admin, as: 'allowNetAdmin'
3010
+ end
3011
+ end
2892
3012
  end
2893
3013
  end
2894
3014
  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.51.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-04 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.51.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: []