# Google Cloud Container V1 Client - Class ClusterUpdate (2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.0 2.3.4 2.2.1 2.1.0 2.0.0 1.33.0 1.32.0 1.31.0 1.30.3 1.24.0 1.23.0 1.22.0 1.21.1 1.20.0 1.19.0 1.18.0 1.17.1 1.16.0 1.15.0 1.14.0 1.13.1 1.12.1 1.10.3 1.9.1 Reference documentation and code samples for the Google Cloud Container V1 Client class ClusterUpdate.

ClusterUpdate describes an update to the cluster. Exactly one update can
be applied to a cluster with each request, so at most one field can be
provided.

Generated from protobuf message `google.container.v1.ClusterUpdate`

## Namespace

Google \\ Cloud \\ Container \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ desired_node_version` | `string` The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version |
| `↳ desired_monitoring_service` | `string` The monitoring service the cluster should use to write metrics. Currently available options: \* \* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model \* \* `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). \* \* `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions. |
| `↳ desired_addons_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AddonsConfig` Configurations for the various addons available to run in the cluster. |
| `↳ desired_node_pool_id` | `string` The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster. |
| `↳ desired_image_type` | `string` The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well. |
| `↳ desired_image` | `string` The desired name of the image to use for this node. This is used to create clusters using a custom image. NOTE: Set the "desired_node_pool" field as well. |
| `↳ desired_image_project` | `string` The project containing the desired image to use for this node. This is used to create clusters using a custom image. NOTE: Set the "desired_node_pool" field as well. |
| `↳ desired_database_encryption` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DatabaseEncryption` Configuration of etcd encryption. |
| `↳ desired_workload_identity_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.WorkloadIdentityConfig` Configuration for Workload Identity. |
| `↳ desired_mesh_certificates` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MeshCertificates` Configuration for issuance of mTLS keys and certificates to Kubernetes pods. |
| `↳ desired_shielded_nodes` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ShieldedNodes` Configuration for Shielded Nodes. |
| `↳ desired_cost_management_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.CostManagementConfig` The desired configuration for the fine-grained cost management feature. |
| `↳ desired_dns_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DNSConfig` DNSConfig contains clusterDNS config for this cluster. |
| `↳ desired_node_pool_autoscaling` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodePoolAutoscaling` Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool. |
| `↳ desired_locations` | `string[]` The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed. |
| `↳ desired_master_authorized_networks_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MasterAuthorizedNetworksConfig` The desired configuration options for master authorized networks feature. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead. |
| `↳ desired_cluster_autoscaling` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterAutoscaling` Cluster-level autoscaling configuration. |
| `↳ desired_binary_authorization` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.BinaryAuthorization` The desired configuration options for the Binary Authorization feature. |
| `↳ desired_logging_service` | `string` The logging service the cluster should use to write logs. Currently available options: \* \* `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model \* \* `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). \* \* `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. |
| `↳ desired_resource_usage_export_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ResourceUsageExportConfig` The desired configuration for exporting resource usage. |
| `↳ desired_vertical_pod_autoscaling` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.VerticalPodAutoscaling` Cluster-level Vertical Pod Autoscaling configuration. |
| `↳ desired_private_cluster_config` | `PrivateClusterConfig` The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also [ClusterUpdate.desired_enable_private_endpoint](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterUpdate#_Google_Cloud_Container_V1_ClusterUpdate__getDesiredEnablePrivateEndpoint__) for modifying other fields within PrivateClusterConfig. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead. |
| `↳ desired_intra_node_visibility_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.IntraNodeVisibilityConfig` The desired config of Intra-node visibility. |
| `↳ desired_default_snat_status` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DefaultSnatStatus` The desired status of whether to disable default sNAT for this cluster. |
| `↳ desired_release_channel` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ReleaseChannel` The desired release channel configuration. |
| `↳ desired_l4ilb_subsetting_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ILBSubsettingConfig` The desired L4 Internal Load Balancer Subsetting configuration. |
| `↳ desired_datapath_provider` | `int` The desired datapath provider for the cluster. |
| `↳ desired_private_ipv6_google_access` | `int` The desired state of IPv6 connectivity to Google Services. |
| `↳ desired_notification_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NotificationConfig` The desired notification configuration. |
| `↳ desired_authenticator_groups_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AuthenticatorGroupsConfig` The desired authenticator groups config for the cluster. |
| `↳ desired_logging_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.LoggingConfig` The desired logging configuration. |
| `↳ desired_monitoring_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MonitoringConfig` The desired monitoring configuration. |
| `↳ desired_identity_service_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.IdentityServiceConfig` The desired Identity Service component configuration. |
| `↳ desired_service_external_ips_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ServiceExternalIPsConfig` ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field. |
| `↳ desired_enable_private_endpoint` | `bool` Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true. |
| `↳ desired_default_enable_private_nodes` | `bool` Override the default setting of whether future created nodes have private IP addresses only, namely [NetworkConfig.default_enable_private_nodes](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkConfig#_Google_Cloud_Container_V1_NetworkConfig__getDefaultEnablePrivateNodes__) |
| `↳ desired_control_plane_endpoints_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ControlPlaneEndpointsConfig` [Control plane endpoints](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.Cluster#_Google_Cloud_Container_V1_Cluster__getControlPlaneEndpointsConfig__) configuration. |
| `↳ desired_master_version` | `string` The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version |
| `↳ desired_gcfs_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GcfsConfig` The desired GCFS config for the cluster |
| `↳ desired_node_pool_auto_config_network_tags` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkTags` The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. |
| `↳ desired_pod_autoscaling` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PodAutoscaling` The desired config for pod autoscaling. |
| `↳ desired_gateway_api_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GatewayAPIConfig` The desired config of Gateway API on this cluster. |
| `↳ etag` | `string` The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned. |
| `↳ desired_node_pool_logging_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodePoolLoggingConfig` The desired node pool logging configuration defaults for the cluster. |
| `↳ desired_fleet` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.Fleet` The desired fleet configuration for the cluster. |
| `↳ desired_stack_type` | `int` The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type. |
| `↳ additional_pod_ranges_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AdditionalPodRangesConfig` The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs. |
| `↳ removed_additional_pod_ranges_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AdditionalPodRangesConfig` The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument. |
| `↳ enable_k8s_beta_apis` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.K8sBetaAPIConfig` Kubernetes open source beta apis enabled on the cluster. Only beta apis |
| `↳ desired_security_posture_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecurityPostureConfig` Enable/Disable Security Posture API features for the cluster. |
| `↳ desired_network_performance_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkConfig.ClusterNetworkPerformanceConfig` The desired network performance config. |
| `↳ desired_enable_fqdn_network_policy` | `bool` Enable/Disable FQDN Network Policy for the cluster. |
| `↳ desired_autopilot_workload_policy_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.WorkloadPolicyConfig` WorkloadPolicyConfig is the configuration related to GCW workload policy |
| `↳ desired_k8s_beta_apis` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.K8sBetaAPIConfig` Desired Beta APIs to be enabled for cluster. |
| `↳ desired_containerd_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ContainerdConfig` The desired containerd config for the cluster. |
| `↳ desired_enable_multi_networking` | `bool` Enable/Disable Multi-Networking for the cluster |
| `↳ desired_node_pool_auto_config_resource_manager_tags` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ResourceManagerTags` The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. |
| `↳ desired_in_transit_encryption_config` | `int` Specify the details of in-transit encryption. |
| `↳ desired_enable_cilium_clusterwide_network_policy` | `bool` Enable/Disable Cilium Clusterwide Network Policy for the cluster. |
| `↳ desired_secret_manager_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecretManagerConfig` Enable/Disable Secret Manager Config. |
| `↳ desired_compliance_posture_config` | `CompliancePostureConfig` Deprecated: Compliance Posture is no longer supported. For more details, see <https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation>. Enable/Disable Compliance Posture features for the cluster. |
| `↳ desired_node_kubelet_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeKubeletConfig` The desired node kubelet config for the cluster. |
| `↳ desired_node_pool_auto_config_kubelet_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeKubeletConfig` The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. |
| `↳ user_managed_keys_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.UserManagedKeysConfig` The Custom keys configuration for the cluster. This field is deprecated. Use [ClusterUpdate.desired_user_managed_keys_config](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterUpdate#_Google_Cloud_Container_V1_ClusterUpdate__getDesiredUserManagedKeysConfig__) instead. |
| `↳ desired_rbac_binding_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.RBACBindingConfig` RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. |
| `↳ desired_additional_ip_ranges_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DesiredAdditionalIPRangesConfig` The desired config for additional subnetworks attached to the cluster. |
| `↳ desired_enterprise_config` | `DesiredEnterpriseConfig` The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are now available without an Enterprise tier. |
| `↳ desired_auto_ipam_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AutoIpamConfig` AutoIpamConfig contains all information related to Auto IPAM |
| `↳ desired_disable_l4_lb_firewall_reconciliation` | `bool` Enable/Disable L4 LB VPC firewall reconciliation for the cluster. |
| `↳ desired_node_pool_auto_config_linux_node_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.LinuxNodeConfig` The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here. |
| `↳ desired_user_managed_keys_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.UserManagedKeysConfig` The desired user managed keys config for the cluster. |
| `↳ desired_anonymous_authentication_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AnonymousAuthenticationConfig` Configuration for limiting anonymous access to all endpoints except the health checks. |
| `↳ gke_auto_upgrade_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GkeAutoUpgradeConfig` Configuration for GKE auto upgrade. |
| `↳ desired_network_tier_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkTierConfig` The desired network tier configuration for the cluster. |
| `↳ desired_secret_sync_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecretSyncConfig` Configuration for sync Secret Manager secrets as k8s secrets. |
| `↳ desired_privileged_admission_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PrivilegedAdmissionConfig` The desired privileged admission config for the cluster. |
| `↳ desired_control_plane_egress` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ControlPlaneEgress` The desired control plane egress control config for the cluster. |
| `↳ desired_managed_opentelemetry_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ManagedOpenTelemetryConfig` The desired managed open telemetry configuration. |
| `↳ desired_autopilot_cluster_policy_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterPolicyConfig` The desired autopilot cluster policies that to be enforced in the cluster. |
| `↳ desired_managed_machine_learning_diagnostics_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ManagedMachineLearningDiagnosticsConfig` The desired managed machine learning diagnostics configuration. |
| `↳ desired_node_creation_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeCreationConfig` Optional. The desired NodeCreationConfig for the cluster. |

### getDesiredNodeVersion

The Kubernetes version to change the nodes to (typically an
upgrade).

Users may specify either explicit versions offered by
Kubernetes Engine or version aliases, which have the following behavior:

- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the Kubernetes master version

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredNodeVersion

The Kubernetes version to change the nodes to (typically an
upgrade).

Users may specify either explicit versions offered by
Kubernetes Engine or version aliases, which have the following behavior:

- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the Kubernetes master version

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredMonitoringService

The monitoring service the cluster should use to write metrics.

Currently available options:

- `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model
- `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
- `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredMonitoringService

The monitoring service the cluster should use to write metrics.

Currently available options:

- `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model
- `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
- `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAddonsConfig

Configurations for the various addons available to run in the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AddonsConfig|null` |   |

### hasDesiredAddonsConfig

### clearDesiredAddonsConfig

### setDesiredAddonsConfig

Configurations for the various addons available to run in the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AddonsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolId

The node pool to be upgraded. This field is mandatory if
"desired_node_version", "desired_image_family" or
"desired_node_pool_autoscaling" is specified and there is more than one
node pool on the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredNodePoolId

The node pool to be upgraded. This field is mandatory if
"desired_node_version", "desired_image_family" or
"desired_node_pool_autoscaling" is specified and there is more than one
node pool on the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredImageType

The desired image type for the node pool.

NOTE: Set the "desired_node_pool" field as well.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredImageType

The desired image type for the node pool.

NOTE: Set the "desired_node_pool" field as well.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredImage

The desired name of the image to use for this node.

This is used to create clusters using a custom image.
NOTE: Set the "desired_node_pool" field as well.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredImage

The desired name of the image to use for this node.

This is used to create clusters using a custom image.
NOTE: Set the "desired_node_pool" field as well.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredImageProject

The project containing the desired image to use for this node.

This is used to create clusters using a custom image.
NOTE: Set the "desired_node_pool" field as well.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredImageProject

The project containing the desired image to use for this node.

This is used to create clusters using a custom image.
NOTE: Set the "desired_node_pool" field as well.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredDatabaseEncryption

Configuration of etcd encryption.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DatabaseEncryption|null` |   |

### hasDesiredDatabaseEncryption

### clearDesiredDatabaseEncryption

### setDesiredDatabaseEncryption

Configuration of etcd encryption.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DatabaseEncryption` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredWorkloadIdentityConfig

Configuration for Workload Identity.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.WorkloadIdentityConfig|null` |   |

### hasDesiredWorkloadIdentityConfig

### clearDesiredWorkloadIdentityConfig

### setDesiredWorkloadIdentityConfig

Configuration for Workload Identity.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.WorkloadIdentityConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredMeshCertificates

Configuration for issuance of mTLS keys and certificates to Kubernetes
pods.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MeshCertificates|null` |   |

### hasDesiredMeshCertificates

### clearDesiredMeshCertificates

### setDesiredMeshCertificates

Configuration for issuance of mTLS keys and certificates to Kubernetes
pods.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MeshCertificates` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredShieldedNodes

Configuration for Shielded Nodes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ShieldedNodes|null` |   |

### hasDesiredShieldedNodes

### clearDesiredShieldedNodes

### setDesiredShieldedNodes

Configuration for Shielded Nodes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ShieldedNodes` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredCostManagementConfig

The desired configuration for the fine-grained cost management feature.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.CostManagementConfig|null` |   |

### hasDesiredCostManagementConfig

### clearDesiredCostManagementConfig

### setDesiredCostManagementConfig

The desired configuration for the fine-grained cost management feature.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.CostManagementConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredDnsConfig

DNSConfig contains clusterDNS config for this cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DNSConfig|null` |   |

### hasDesiredDnsConfig

### clearDesiredDnsConfig

### setDesiredDnsConfig

DNSConfig contains clusterDNS config for this cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DNSConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolAutoscaling

Autoscaler configuration for the node pool specified in
desired_node_pool_id. If there is only one pool in the
cluster and desired_node_pool_id is not provided then
the change applies to that single node pool.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodePoolAutoscaling|null` |   |

### hasDesiredNodePoolAutoscaling

### clearDesiredNodePoolAutoscaling

### setDesiredNodePoolAutoscaling

Autoscaler configuration for the node pool specified in
desired_node_pool_id. If there is only one pool in the
cluster and desired_node_pool_id is not provided then
the change applies to that single node pool.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodePoolAutoscaling` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredLocations

The desired list of Google Compute Engine
[zones](https://cloud.google.com/compute/docs/zones#available)
in which the cluster's nodes should be located.

This list must always include the cluster's primary zone.
Warning: changing cluster locations will update the locations of all node
pools and will result in nodes being added and/or removed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setDesiredLocations

The desired list of Google Compute Engine
[zones](https://cloud.google.com/compute/docs/zones#available)
in which the cluster's nodes should be located.

This list must always include the cluster's primary zone.
Warning: changing cluster locations will update the locations of all node
pools and will result in nodes being added and/or removed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredMasterAuthorizedNetworksConfig

The desired configuration options for master authorized networks feature.

Deprecated: Use
desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config
instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MasterAuthorizedNetworksConfig|null` |   |

### hasDesiredMasterAuthorizedNetworksConfig

### clearDesiredMasterAuthorizedNetworksConfig

### setDesiredMasterAuthorizedNetworksConfig

The desired configuration options for master authorized networks feature.

Deprecated: Use
desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config
instead.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MasterAuthorizedNetworksConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredClusterAutoscaling

Cluster-level autoscaling configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterAutoscaling|null` |   |

### hasDesiredClusterAutoscaling

### clearDesiredClusterAutoscaling

### setDesiredClusterAutoscaling

Cluster-level autoscaling configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterAutoscaling` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredBinaryAuthorization

The desired configuration options for the Binary Authorization feature.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.BinaryAuthorization|null` |   |

### hasDesiredBinaryAuthorization

### clearDesiredBinaryAuthorization

### setDesiredBinaryAuthorization

The desired configuration options for the Binary Authorization feature.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.BinaryAuthorization` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredLoggingService

The logging service the cluster should use to write logs.

Currently available options:

- `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model
- `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15).
- `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredLoggingService

The logging service the cluster should use to write logs.

Currently available options:

- `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model
- `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15).
- `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredResourceUsageExportConfig

The desired configuration for exporting resource usage.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ResourceUsageExportConfig|null` |   |

### hasDesiredResourceUsageExportConfig

### clearDesiredResourceUsageExportConfig

### setDesiredResourceUsageExportConfig

The desired configuration for exporting resource usage.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ResourceUsageExportConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredVerticalPodAutoscaling

Cluster-level Vertical Pod Autoscaling configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.VerticalPodAutoscaling|null` |   |

### hasDesiredVerticalPodAutoscaling

### clearDesiredVerticalPodAutoscaling

### setDesiredVerticalPodAutoscaling

Cluster-level Vertical Pod Autoscaling configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.VerticalPodAutoscaling` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredPrivateClusterConfig

The desired private cluster configuration. master_global_access_config is
the only field that can be changed via this field.

See also
[ClusterUpdate.desired_enable_private_endpoint](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterUpdate#_Google_Cloud_Container_V1_ClusterUpdate__getDesiredEnablePrivateEndpoint__)
for modifying other fields within
PrivateClusterConfig.
Deprecated: Use
desired_control_plane_endpoints_config.ip_endpoints_config.global_access
instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PrivateClusterConfig|null` |   |

### hasDesiredPrivateClusterConfig

### clearDesiredPrivateClusterConfig

### setDesiredPrivateClusterConfig

The desired private cluster configuration. master_global_access_config is
the only field that can be changed via this field.

See also
[ClusterUpdate.desired_enable_private_endpoint](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterUpdate#_Google_Cloud_Container_V1_ClusterUpdate__getDesiredEnablePrivateEndpoint__)
for modifying other fields within
PrivateClusterConfig.
Deprecated: Use
desired_control_plane_endpoints_config.ip_endpoints_config.global_access
instead.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `PrivateClusterConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredIntraNodeVisibilityConfig

The desired config of Intra-node visibility.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.IntraNodeVisibilityConfig|null` |   |

### hasDesiredIntraNodeVisibilityConfig

### clearDesiredIntraNodeVisibilityConfig

### setDesiredIntraNodeVisibilityConfig

The desired config of Intra-node visibility.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.IntraNodeVisibilityConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredDefaultSnatStatus

The desired status of whether to disable default sNAT for this cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DefaultSnatStatus|null` |   |

### hasDesiredDefaultSnatStatus

### clearDesiredDefaultSnatStatus

### setDesiredDefaultSnatStatus

The desired status of whether to disable default sNAT for this cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DefaultSnatStatus` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredReleaseChannel

The desired release channel configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ReleaseChannel|null` |   |

### hasDesiredReleaseChannel

### clearDesiredReleaseChannel

### setDesiredReleaseChannel

The desired release channel configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ReleaseChannel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredL4IlbSubsettingConfig

The desired L4 Internal Load Balancer Subsetting configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ILBSubsettingConfig|null` |   |

### hasDesiredL4IlbSubsettingConfig

### clearDesiredL4IlbSubsettingConfig

### setDesiredL4IlbSubsettingConfig

The desired L4 Internal Load Balancer Subsetting configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ILBSubsettingConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredDatapathProvider

The desired datapath provider for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DatapathProvider](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DatapathProvider). |

### setDesiredDatapathProvider

The desired datapath provider for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DatapathProvider](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DatapathProvider). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredPrivateIpv6GoogleAccess

The desired state of IPv6 connectivity to Google Services.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [PrivateIPv6GoogleAccess](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PrivateIPv6GoogleAccess). |

### setDesiredPrivateIpv6GoogleAccess

The desired state of IPv6 connectivity to Google Services.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [PrivateIPv6GoogleAccess](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PrivateIPv6GoogleAccess). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNotificationConfig

The desired notification configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NotificationConfig|null` |   |

### hasDesiredNotificationConfig

### clearDesiredNotificationConfig

### setDesiredNotificationConfig

The desired notification configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NotificationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAuthenticatorGroupsConfig

The desired authenticator groups config for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AuthenticatorGroupsConfig|null` |   |

### hasDesiredAuthenticatorGroupsConfig

### clearDesiredAuthenticatorGroupsConfig

### setDesiredAuthenticatorGroupsConfig

The desired authenticator groups config for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AuthenticatorGroupsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredLoggingConfig

The desired logging configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.LoggingConfig|null` |   |

### hasDesiredLoggingConfig

### clearDesiredLoggingConfig

### setDesiredLoggingConfig

The desired logging configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.LoggingConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredMonitoringConfig

The desired monitoring configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MonitoringConfig|null` |   |

### hasDesiredMonitoringConfig

### clearDesiredMonitoringConfig

### setDesiredMonitoringConfig

The desired monitoring configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.MonitoringConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredIdentityServiceConfig

The desired Identity Service component configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.IdentityServiceConfig|null` |   |

### hasDesiredIdentityServiceConfig

### clearDesiredIdentityServiceConfig

### setDesiredIdentityServiceConfig

The desired Identity Service component configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.IdentityServiceConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredServiceExternalIpsConfig

ServiceExternalIPsConfig specifies the config for the use of Services with
ExternalIPs field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ServiceExternalIPsConfig|null` |   |

### hasDesiredServiceExternalIpsConfig

### clearDesiredServiceExternalIpsConfig

### setDesiredServiceExternalIpsConfig

ServiceExternalIPsConfig specifies the config for the use of Services with
ExternalIPs field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ServiceExternalIPsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredEnablePrivateEndpoint

Enable/Disable private endpoint for the cluster's master.

Deprecated: Use
desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint
instead. Note that the value of enable_public_endpoint is reversed: if
enable_private_endpoint is false, then enable_public_endpoint will be true.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDesiredEnablePrivateEndpoint

### clearDesiredEnablePrivateEndpoint

### setDesiredEnablePrivateEndpoint

Enable/Disable private endpoint for the cluster's master.

Deprecated: Use
desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint
instead. Note that the value of enable_public_endpoint is reversed: if
enable_private_endpoint is false, then enable_public_endpoint will be true.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredDefaultEnablePrivateNodes

Override the default setting of whether future created
nodes have private IP addresses only, namely
[NetworkConfig.default_enable_private_nodes](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkConfig#_Google_Cloud_Container_V1_NetworkConfig__getDefaultEnablePrivateNodes__)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDesiredDefaultEnablePrivateNodes

### clearDesiredDefaultEnablePrivateNodes

### setDesiredDefaultEnablePrivateNodes

Override the default setting of whether future created
nodes have private IP addresses only, namely
[NetworkConfig.default_enable_private_nodes](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkConfig#_Google_Cloud_Container_V1_NetworkConfig__getDefaultEnablePrivateNodes__)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredControlPlaneEndpointsConfig

[Control plane
endpoints](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.Cluster#_Google_Cloud_Container_V1_Cluster__getControlPlaneEndpointsConfig__)
configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ControlPlaneEndpointsConfig|null` |   |

### hasDesiredControlPlaneEndpointsConfig

### clearDesiredControlPlaneEndpointsConfig

### setDesiredControlPlaneEndpointsConfig

[Control plane
endpoints](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.Cluster#_Google_Cloud_Container_V1_Cluster__getControlPlaneEndpointsConfig__)
configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ControlPlaneEndpointsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredMasterVersion

The Kubernetes version to change the master to.

Users may specify either explicit versions offered by
Kubernetes Engine or version aliases, which have the following behavior:

- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the default Kubernetes version

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDesiredMasterVersion

The Kubernetes version to change the master to.

Users may specify either explicit versions offered by
Kubernetes Engine or version aliases, which have the following behavior:

- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the default Kubernetes version

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredGcfsConfig

The desired GCFS config for the cluster

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GcfsConfig|null` |   |

### hasDesiredGcfsConfig

### clearDesiredGcfsConfig

### setDesiredGcfsConfig

The desired GCFS config for the cluster

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GcfsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolAutoConfigNetworkTags

The desired network tags that apply to all auto-provisioned node pools
in autopilot clusters and node auto-provisioning enabled clusters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkTags|null` |   |

### hasDesiredNodePoolAutoConfigNetworkTags

### clearDesiredNodePoolAutoConfigNetworkTags

### setDesiredNodePoolAutoConfigNetworkTags

The desired network tags that apply to all auto-provisioned node pools
in autopilot clusters and node auto-provisioning enabled clusters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkTags` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredPodAutoscaling

The desired config for pod autoscaling.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PodAutoscaling|null` |   |

### hasDesiredPodAutoscaling

### clearDesiredPodAutoscaling

### setDesiredPodAutoscaling

The desired config for pod autoscaling.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PodAutoscaling` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredGatewayApiConfig

The desired config of Gateway API on this cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GatewayAPIConfig|null` |   |

### hasDesiredGatewayApiConfig

### clearDesiredGatewayApiConfig

### setDesiredGatewayApiConfig

The desired config of Gateway API on this cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GatewayAPIConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEtag

The current etag of the cluster.

If an etag is provided and does not match the current etag of the cluster,
update will be blocked and an ABORTED error will be returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setEtag

The current etag of the cluster.

If an etag is provided and does not match the current etag of the cluster,
update will be blocked and an ABORTED error will be returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolLoggingConfig

The desired node pool logging configuration defaults for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodePoolLoggingConfig|null` |   |

### hasDesiredNodePoolLoggingConfig

### clearDesiredNodePoolLoggingConfig

### setDesiredNodePoolLoggingConfig

The desired node pool logging configuration defaults for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodePoolLoggingConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredFleet

The desired fleet configuration for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.Fleet|null` |   |

### hasDesiredFleet

### clearDesiredFleet

### setDesiredFleet

The desired fleet configuration for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.Fleet` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredStackType

The desired stack type of the cluster.

If a stack type is provided and does not match the current stack type of
the cluster, update will attempt to change the stack type to the new type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [StackType](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.StackType). |

### setDesiredStackType

The desired stack type of the cluster.

If a stack type is provided and does not match the current stack type of
the cluster, update will attempt to change the stack type to the new type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [StackType](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.StackType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdditionalPodRangesConfig

The additional pod ranges to be added to the cluster. These pod ranges
can be used by node pools to allocate pod IPs.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AdditionalPodRangesConfig|null` |   |

### hasAdditionalPodRangesConfig

### clearAdditionalPodRangesConfig

### setAdditionalPodRangesConfig

The additional pod ranges to be added to the cluster. These pod ranges
can be used by node pools to allocate pod IPs.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AdditionalPodRangesConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRemovedAdditionalPodRangesConfig

The additional pod ranges that are to be removed from the cluster.

The pod ranges specified here must have been specified earlier in the
'additional_pod_ranges_config' argument.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AdditionalPodRangesConfig|null` |   |

### hasRemovedAdditionalPodRangesConfig

### clearRemovedAdditionalPodRangesConfig

### setRemovedAdditionalPodRangesConfig

The additional pod ranges that are to be removed from the cluster.

The pod ranges specified here must have been specified earlier in the
'additional_pod_ranges_config' argument.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AdditionalPodRangesConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnableK8SBetaApis

Kubernetes open source beta apis enabled on the cluster. Only beta apis

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.K8sBetaAPIConfig|null` |   |

### hasEnableK8SBetaApis

### clearEnableK8SBetaApis

### setEnableK8SBetaApis

Kubernetes open source beta apis enabled on the cluster. Only beta apis

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.K8sBetaAPIConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredSecurityPostureConfig

Enable/Disable Security Posture API features for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecurityPostureConfig|null` |   |

### hasDesiredSecurityPostureConfig

### clearDesiredSecurityPostureConfig

### setDesiredSecurityPostureConfig

Enable/Disable Security Posture API features for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecurityPostureConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNetworkPerformanceConfig

The desired network performance config.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkConfig.ClusterNetworkPerformanceConfig|null` |   |

### hasDesiredNetworkPerformanceConfig

### clearDesiredNetworkPerformanceConfig

### setDesiredNetworkPerformanceConfig

The desired network performance config.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkConfig.ClusterNetworkPerformanceConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredEnableFqdnNetworkPolicy

Enable/Disable FQDN Network Policy for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDesiredEnableFqdnNetworkPolicy

### clearDesiredEnableFqdnNetworkPolicy

### setDesiredEnableFqdnNetworkPolicy

Enable/Disable FQDN Network Policy for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAutopilotWorkloadPolicyConfig

WorkloadPolicyConfig is the configuration related to GCW workload policy

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.WorkloadPolicyConfig|null` |   |

### hasDesiredAutopilotWorkloadPolicyConfig

### clearDesiredAutopilotWorkloadPolicyConfig

### setDesiredAutopilotWorkloadPolicyConfig

WorkloadPolicyConfig is the configuration related to GCW workload policy

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.WorkloadPolicyConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredK8SBetaApis

Desired Beta APIs to be enabled for cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.K8sBetaAPIConfig|null` |   |

### hasDesiredK8SBetaApis

### clearDesiredK8SBetaApis

### setDesiredK8SBetaApis

Desired Beta APIs to be enabled for cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.K8sBetaAPIConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredContainerdConfig

The desired containerd config for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ContainerdConfig|null` |   |

### hasDesiredContainerdConfig

### clearDesiredContainerdConfig

### setDesiredContainerdConfig

The desired containerd config for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ContainerdConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredEnableMultiNetworking

Enable/Disable Multi-Networking for the cluster

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDesiredEnableMultiNetworking

### clearDesiredEnableMultiNetworking

### setDesiredEnableMultiNetworking

Enable/Disable Multi-Networking for the cluster

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolAutoConfigResourceManagerTags

The desired resource manager tags that apply to all auto-provisioned node
pools in autopilot clusters and node auto-provisioning enabled clusters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ResourceManagerTags|null` |   |

### hasDesiredNodePoolAutoConfigResourceManagerTags

### clearDesiredNodePoolAutoConfigResourceManagerTags

### setDesiredNodePoolAutoConfigResourceManagerTags

The desired resource manager tags that apply to all auto-provisioned node
pools in autopilot clusters and node auto-provisioning enabled clusters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ResourceManagerTags` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredInTransitEncryptionConfig

Specify the details of in-transit encryption.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasDesiredInTransitEncryptionConfig

### clearDesiredInTransitEncryptionConfig

### setDesiredInTransitEncryptionConfig

Specify the details of in-transit encryption.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredEnableCiliumClusterwideNetworkPolicy

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDesiredEnableCiliumClusterwideNetworkPolicy

### clearDesiredEnableCiliumClusterwideNetworkPolicy

### setDesiredEnableCiliumClusterwideNetworkPolicy

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredSecretManagerConfig

Enable/Disable Secret Manager Config.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecretManagerConfig|null` |   |

### hasDesiredSecretManagerConfig

### clearDesiredSecretManagerConfig

### setDesiredSecretManagerConfig

Enable/Disable Secret Manager Config.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecretManagerConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredCompliancePostureConfig

Deprecated: Compliance Posture is no longer supported.

For more details, see
<https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation>.
Enable/Disable Compliance Posture features for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CompliancePostureConfig|null` |   |

### hasDesiredCompliancePostureConfig

### clearDesiredCompliancePostureConfig

### setDesiredCompliancePostureConfig

Deprecated: Compliance Posture is no longer supported.

For more details, see
<https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation>.
Enable/Disable Compliance Posture features for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `CompliancePostureConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodeKubeletConfig

The desired node kubelet config for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeKubeletConfig|null` |   |

### hasDesiredNodeKubeletConfig

### clearDesiredNodeKubeletConfig

### setDesiredNodeKubeletConfig

The desired node kubelet config for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeKubeletConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolAutoConfigKubeletConfig

The desired node kubelet config for all auto-provisioned node pools
in autopilot clusters and node auto-provisioning enabled clusters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeKubeletConfig|null` |   |

### hasDesiredNodePoolAutoConfigKubeletConfig

### clearDesiredNodePoolAutoConfigKubeletConfig

### setDesiredNodePoolAutoConfigKubeletConfig

The desired node kubelet config for all auto-provisioned node pools
in autopilot clusters and node auto-provisioning enabled clusters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeKubeletConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUserManagedKeysConfig

The Custom keys configuration for the cluster.

This field is deprecated.
Use
[ClusterUpdate.desired_user_managed_keys_config](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterUpdate#_Google_Cloud_Container_V1_ClusterUpdate__getDesiredUserManagedKeysConfig__)
instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.UserManagedKeysConfig|null` |   |

### hasUserManagedKeysConfig

### clearUserManagedKeysConfig

### setUserManagedKeysConfig

The Custom keys configuration for the cluster.

This field is deprecated.
Use
[ClusterUpdate.desired_user_managed_keys_config](https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterUpdate#_Google_Cloud_Container_V1_ClusterUpdate__getDesiredUserManagedKeysConfig__)
instead.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.UserManagedKeysConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredRbacBindingConfig

RBACBindingConfig allows user to restrict ClusterRoleBindings an
RoleBindings that can be created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.RBACBindingConfig|null` |   |

### hasDesiredRbacBindingConfig

### clearDesiredRbacBindingConfig

### setDesiredRbacBindingConfig

RBACBindingConfig allows user to restrict ClusterRoleBindings an
RoleBindings that can be created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.RBACBindingConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAdditionalIpRangesConfig

The desired config for additional subnetworks attached to the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DesiredAdditionalIPRangesConfig|null` |   |

### hasDesiredAdditionalIpRangesConfig

### clearDesiredAdditionalIpRangesConfig

### setDesiredAdditionalIpRangesConfig

The desired config for additional subnetworks attached to the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.DesiredAdditionalIPRangesConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredEnterpriseConfig

The desired enterprise configuration for the cluster.

Deprecated: GKE Enterprise features are now available without an Enterprise
tier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DesiredEnterpriseConfig|null` |   |

### hasDesiredEnterpriseConfig

### clearDesiredEnterpriseConfig

### setDesiredEnterpriseConfig

The desired enterprise configuration for the cluster.

Deprecated: GKE Enterprise features are now available without an Enterprise
tier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `DesiredEnterpriseConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAutoIpamConfig

AutoIpamConfig contains all information related to Auto IPAM

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AutoIpamConfig|null` |   |

### hasDesiredAutoIpamConfig

### clearDesiredAutoIpamConfig

### setDesiredAutoIpamConfig

AutoIpamConfig contains all information related to Auto IPAM

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AutoIpamConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredDisableL4LbFirewallReconciliation

Enable/Disable L4 LB VPC firewall reconciliation for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDesiredDisableL4LbFirewallReconciliation

### clearDesiredDisableL4LbFirewallReconciliation

### setDesiredDisableL4LbFirewallReconciliation

Enable/Disable L4 LB VPC firewall reconciliation for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodePoolAutoConfigLinuxNodeConfig

The desired Linux node config for all auto-provisioned node pools
in autopilot clusters and node auto-provisioning enabled clusters.

Currently only `cgroup_mode` can be set here.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.LinuxNodeConfig|null` |   |

### hasDesiredNodePoolAutoConfigLinuxNodeConfig

### clearDesiredNodePoolAutoConfigLinuxNodeConfig

### setDesiredNodePoolAutoConfigLinuxNodeConfig

The desired Linux node config for all auto-provisioned node pools
in autopilot clusters and node auto-provisioning enabled clusters.

Currently only `cgroup_mode` can be set here.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.LinuxNodeConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredUserManagedKeysConfig

The desired user managed keys config for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.UserManagedKeysConfig|null` |   |

### hasDesiredUserManagedKeysConfig

### clearDesiredUserManagedKeysConfig

### setDesiredUserManagedKeysConfig

The desired user managed keys config for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.UserManagedKeysConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAnonymousAuthenticationConfig

Configuration for limiting anonymous access to all endpoints except the
health checks.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AnonymousAuthenticationConfig|null` |   |

### hasDesiredAnonymousAuthenticationConfig

### clearDesiredAnonymousAuthenticationConfig

### setDesiredAnonymousAuthenticationConfig

Configuration for limiting anonymous access to all endpoints except the
health checks.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.AnonymousAuthenticationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGkeAutoUpgradeConfig

Configuration for GKE auto upgrade.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GkeAutoUpgradeConfig|null` |   |

### hasGkeAutoUpgradeConfig

### clearGkeAutoUpgradeConfig

### setGkeAutoUpgradeConfig

Configuration for GKE auto upgrade.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.GkeAutoUpgradeConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNetworkTierConfig

The desired network tier configuration for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkTierConfig|null` |   |

### hasDesiredNetworkTierConfig

### clearDesiredNetworkTierConfig

### setDesiredNetworkTierConfig

The desired network tier configuration for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NetworkTierConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredSecretSyncConfig

Configuration for sync Secret Manager secrets as k8s secrets.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecretSyncConfig|null` |   |

### hasDesiredSecretSyncConfig

### clearDesiredSecretSyncConfig

### setDesiredSecretSyncConfig

Configuration for sync Secret Manager secrets as k8s secrets.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.SecretSyncConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredPrivilegedAdmissionConfig

The desired privileged admission config for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PrivilegedAdmissionConfig|null` |   |

### hasDesiredPrivilegedAdmissionConfig

### clearDesiredPrivilegedAdmissionConfig

### setDesiredPrivilegedAdmissionConfig

The desired privileged admission config for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.PrivilegedAdmissionConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredControlPlaneEgress

The desired control plane egress control config for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ControlPlaneEgress|null` |   |

### hasDesiredControlPlaneEgress

### clearDesiredControlPlaneEgress

### setDesiredControlPlaneEgress

The desired control plane egress control config for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ControlPlaneEgress` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredManagedOpentelemetryConfig

The desired managed open telemetry configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ManagedOpenTelemetryConfig|null` |   |

### hasDesiredManagedOpentelemetryConfig

### clearDesiredManagedOpentelemetryConfig

### setDesiredManagedOpentelemetryConfig

The desired managed open telemetry configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ManagedOpenTelemetryConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredAutopilotClusterPolicyConfig

The desired autopilot cluster policies that to be enforced in the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterPolicyConfig|null` |   |

### hasDesiredAutopilotClusterPolicyConfig

### clearDesiredAutopilotClusterPolicyConfig

### setDesiredAutopilotClusterPolicyConfig

The desired autopilot cluster policies that to be enforced in the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ClusterPolicyConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredManagedMachineLearningDiagnosticsConfig

The desired managed machine learning diagnostics configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ManagedMachineLearningDiagnosticsConfig|null` |   |

### hasDesiredManagedMachineLearningDiagnosticsConfig

### clearDesiredManagedMachineLearningDiagnosticsConfig

### setDesiredManagedMachineLearningDiagnosticsConfig

The desired managed machine learning diagnostics configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.ManagedMachineLearningDiagnosticsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDesiredNodeCreationConfig

Optional. The desired NodeCreationConfig for the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeCreationConfig|null` |   |

### hasDesiredNodeCreationConfig

### clearDesiredNodeCreationConfig

### setDesiredNodeCreationConfig

Optional. The desired NodeCreationConfig for the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-container/latest/V1.NodeCreationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |