Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy
Authorization requires the following IAM permission on the specified resource networkPolicy:
The maximum number of external IP addresses to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.
pageToken
string
A page token, received from a previous networkPolicies.fetchExternalAddresses call. Provide this to retrieve the subsequent page.
When paginating, all parameters provided to networkPolicies.fetchExternalAddresses, except for pageSize and pageToken, must match the call that provided the page token.
[[["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-06-30 UTC."],[],[],null,["# Method: projects.locations.networkPolicies.fetchExternalAddresses\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FetchNetworkPolicyExternalAddressesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.\n\n### HTTP request\n\n`GET https://vmwareengine.googleapis.com/v1/{networkPolicy=projects/*/locations/*/networkPolicies/*}:fetchExternalAddresses`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [VmwareEngine.FetchNetworkPolicyExternalAddresses](/vmware-engine/docs/reference/rest/v1/projects.locations.networkPolicies/fetchExternalAddresses#google.cloud.vmwareengine.v1.VmwareEngine.FetchNetworkPolicyExternalAddresses)\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/external/authorization-gcp)."]]