# Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesRequest (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.1 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesRequest.

Request message for
[VmwareEngine.FetchNetworkPolicyExternalAddresses](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-VmwareEngine-Client#Google__Cloud__VmwareEngine__V1__VmwareEngine__Client_fetch_network_policy_external_addresses_instance_ "Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#fetch_network_policy_external_addresses (method)")

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #network_policy

    def network_policy() -> ::String

**Returns**

- (::String) --- 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`

### #network_policy=

    def network_policy=(value) -> ::String

**Parameter**

- **value** (::String) --- 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`
**Returns**

- (::String) --- 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`

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- 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.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.
**Returns**

- (::Integer) --- 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.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- A page token, received from a previous `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the subsequent page.


  When paginating, all parameters provided to
  `FetchNetworkPolicyExternalAddresses`, except for `page_size` and
  `page_token`, must match the call that provided the page token.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A page token, received from a previous `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the subsequent page.


  When paginating, all parameters provided to
  `FetchNetworkPolicyExternalAddresses`, except for `page_size` and
  `page_token`, must match the call that provided the page token.
**Returns**

- (::String) --- A page token, received from a previous `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the subsequent page.


  When paginating, all parameters provided to
  `FetchNetworkPolicyExternalAddresses`, except for `page_size` and
  `page_token`, must match the call that provided the page token.