Required. The agent pool to update. agent_pool is expected to specify following fields: * * name * * display_name * * bandwidth_limit An UpdateAgentPoolRequest with any other fields is rejected with the error INVALID_ARGUMENT.
The field mask of the fields in agentPool to update in this request. The following agentPool fields can be updated: * * display_name * * bandwidth_limit
getAgentPool
Required. The agent pool to update. agent_pool is expected to specify
following fields:
[[["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 Cloud Storage Transfer V1 Client - Class UpdateAgentPoolRequest (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-storage-transfer/latest/V1.UpdateAgentPoolRequest)\n- [2.2.0](/php/docs/reference/cloud-storage-transfer/2.2.0/V1.UpdateAgentPoolRequest)\n- [2.1.1](/php/docs/reference/cloud-storage-transfer/2.1.1/V1.UpdateAgentPoolRequest)\n- [2.0.2](/php/docs/reference/cloud-storage-transfer/2.0.2/V1.UpdateAgentPoolRequest)\n- [1.5.0](/php/docs/reference/cloud-storage-transfer/1.5.0/V1.UpdateAgentPoolRequest)\n- [1.4.5](/php/docs/reference/cloud-storage-transfer/1.4.5/V1.UpdateAgentPoolRequest)\n- [1.3.1](/php/docs/reference/cloud-storage-transfer/1.3.1/V1.UpdateAgentPoolRequest)\n- [1.2.0](/php/docs/reference/cloud-storage-transfer/1.2.0/V1.UpdateAgentPoolRequest)\n- [1.1.1](/php/docs/reference/cloud-storage-transfer/1.1.1/V1.UpdateAgentPoolRequest)\n- [1.0.6](/php/docs/reference/cloud-storage-transfer/1.0.6/V1.UpdateAgentPoolRequest) \nReference documentation and code samples for the Google Cloud Storage Transfer V1 Client class UpdateAgentPoolRequest.\n\nSpecifies the request passed to UpdateAgentPool.\n\nGenerated from protobuf message `google.storagetransfer.v1.UpdateAgentPoolRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ StorageTransfer \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAgentPool\n\nRequired. The agent pool to update. `agent_pool` is expected to specify\nfollowing fields:\n\n- [name](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getName__)\n- [display_name](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getDisplayName__)\n- [bandwidth_limit](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getBandwidthLimit__) An `UpdateAgentPoolRequest` with any other fields is rejected with the error [INVALID_ARGUMENT](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__INVALID_ARGUMENT).\n\n### hasAgentPool\n\n### clearAgentPool\n\n### setAgentPool\n\nRequired. The agent pool to update. `agent_pool` is expected to specify\nfollowing fields:\n\n- [name](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getName__)\n- [display_name](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getDisplayName__)\n- [bandwidth_limit](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getBandwidthLimit__) An `UpdateAgentPoolRequest` with any other fields is rejected with the error [INVALID_ARGUMENT](https://cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__INVALID_ARGUMENT).\n\n### getUpdateMask\n\nThe [field mask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)\nof the fields in `agentPool` to update in this request.\n\nThe following `agentPool` fields can be updated:\n\n- [display_name](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getDisplayName__)\n- [bandwidth_limit](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getBandwidthLimit__)\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe [field mask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)\nof the fields in `agentPool` to update in this request.\n\nThe following `agentPool` fields can be updated:\n\n- [display_name](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getDisplayName__)\n- [bandwidth_limit](/php/docs/reference/cloud-storage-transfer/latest/V1.AgentPool#_Google_Cloud_StorageTransfer_V1_AgentPool__getBandwidthLimit__)\n\n### static::build"]]