# Google Cloud Vmware Engine V1 Client - Class FetchNetworkPolicyExternalAddressesResponse (1.3.0)

1.3.0 (latest) 1.2.2 1.1.4 1.0.0 0.5.6 0.4.0 0.3.3 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class FetchNetworkPolicyExternalAddressesResponse.

Response message for
[VmwareEngine.FetchNetworkPolicyExternalAddresses](https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.Client.VmwareEngineClient#_Google_Cloud_VmwareEngine_V1_Client_VmwareEngineClient__fetchNetworkPolicyExternalAddresses__)

Generated from protobuf message `google.cloud.vmwareengine.v1.FetchNetworkPolicyExternalAddressesResponse`

## Namespace

Google \\ Cloud \\ VmwareEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ external_addresses` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.ExternalAddress>` A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy. |
| `↳ next_page_token` | `string` A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getExternalAddresses

A list of external IP addresses assigned to VMware workload VMs within the
scope of the given network policy.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.ExternalAddress>` |   |

### setExternalAddresses

A list of external IP addresses assigned to VMware workload VMs within the
scope of the given network policy.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.ExternalAddress>` |

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

### getNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

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