If set, only validate the request, but don't actually update the node pool.
Returns
Type
Description
bool
setValidateOnly
If set, only validate the request, but don't actually update the node pool.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getUpdateMask
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field can only include these
fields from AwsNodePool:
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field can only include these
fields from AwsNodePool:
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field can only include these
fields from AwsNodePool:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Anthos Multi Cloud V1 Client - Class UpdateAwsNodePoolRequest (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.UpdateAwsNodePoolRequest)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.UpdateAwsNodePoolRequest)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.UpdateAwsNodePoolRequest)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.UpdateAwsNodePoolRequest)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.UpdateAwsNodePoolRequest)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.UpdateAwsNodePoolRequest)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.UpdateAwsNodePoolRequest)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.UpdateAwsNodePoolRequest)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.UpdateAwsNodePoolRequest)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.UpdateAwsNodePoolRequest) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class UpdateAwsNodePoolRequest.\n\nRequest message for `AwsClusters.UpdateAwsNodePool` method.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAwsNodePool\n\nRequired. The [AwsNodePool](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsNodePool)\nresource to update.\n\n### hasAwsNodePool\n\n### clearAwsNodePool\n\n### setAwsNodePool\n\nRequired. The [AwsNodePool](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsNodePool)\nresource to update.\n\n### getValidateOnly\n\nIf set, only validate the request, but don't actually update the node pool.\n\n### setValidateOnly\n\nIf set, only validate the request, but don't actually update the node pool.\n\n### getUpdateMask\n\nRequired. Mask of fields to update. At least one path must be supplied in\nthis field. The elements of the repeated paths field can only include these\nfields from [AwsNodePool](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsNodePool):\n\n- `annotations`.\n\n\u003c!-- --\u003e\n\n- `version`.\n - `autoscaling.min_node_count`.\n - `autoscaling.max_node_count`.\n - `config.config_encryption.kms_key_arn`.\n - `config.security_group_ids`.\n - `config.root_volume.iops`.\n - `config.root_volume.throughput`.\n - `config.root_volume.kms_key_arn`.\n - `config.root_volume.volume_type`.\n - `config.root_volume.size_gib`.\n - `config.proxy_config`.\n - `config.proxy_config.secret_arn`.\n - `config.proxy_config.secret_version`.\n - `config.ssh_config`.\n - `config.ssh_config.ec2_key_pair`.\n - `config.instance_placement.tenancy`.\n - `config.iam_instance_profile`.\n - `config.labels`.\n - `config.tags`.\n - `config.autoscaling_metrics_collection`.\n - `config.autoscaling_metrics_collection.granularity`.\n - `config.autoscaling_metrics_collection.metrics`.\n - `config.instance_type`.\n - `management.auto_repair`.\n - `management`.\n - `update_settings`.\n - `update_settings.surge_settings`.\n - `update_settings.surge_settings.max_surge`.\n - `update_settings.surge_settings.max_unavailable`.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. Mask of fields to update. At least one path must be supplied in\nthis field. The elements of the repeated paths field can only include these\nfields from [AwsNodePool](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsNodePool):\n\n- `annotations`.\n\n\u003c!-- --\u003e\n\n- `version`.\n - `autoscaling.min_node_count`.\n - `autoscaling.max_node_count`.\n - `config.config_encryption.kms_key_arn`.\n - `config.security_group_ids`.\n - `config.root_volume.iops`.\n - `config.root_volume.throughput`.\n - `config.root_volume.kms_key_arn`.\n - `config.root_volume.volume_type`.\n - `config.root_volume.size_gib`.\n - `config.proxy_config`.\n - `config.proxy_config.secret_arn`.\n - `config.proxy_config.secret_version`.\n - `config.ssh_config`.\n - `config.ssh_config.ec2_key_pair`.\n - `config.instance_placement.tenancy`.\n - `config.iam_instance_profile`.\n - `config.labels`.\n - `config.tags`.\n - `config.autoscaling_metrics_collection`.\n - `config.autoscaling_metrics_collection.granularity`.\n - `config.autoscaling_metrics_collection.metrics`.\n - `config.instance_type`.\n - `management.auto_repair`.\n - `management`.\n - `update_settings`.\n - `update_settings.surge_settings`.\n - `update_settings.surge_settings.max_surge`.\n - `update_settings.surge_settings.max_unavailable`.\n\n### static::build"]]