# Google Cloud Network Security V1 Client - Class ListGatewaySecurityPoliciesResponse (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class ListGatewaySecurityPoliciesResponse.

Response returned by the ListGatewaySecurityPolicies method.

Generated from protobuf message `google.cloud.networksecurity.v1.ListGatewaySecurityPoliciesResponse`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gateway_security_policies` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.GatewaySecurityPolicy>` List of GatewaySecurityPolicies resources. |
| `↳ next_page_token` | `string` If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getGatewaySecurityPolicies

List of GatewaySecurityPolicies resources.

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

### setGatewaySecurityPolicies

List of GatewaySecurityPolicies resources.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.GatewaySecurityPolicy>` |

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

### getNextPageToken

If there might be more results than those appearing in this response, then
'next_page_token' is included. To get the next set of results, call this
method again using the value of 'next_page_token' as 'page_token'.

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

### setNextPageToken

If there might be more results than those appearing in this response, then
'next_page_token' is included. To get the next set of results, call this
method again using the value of 'next_page_token' as 'page_token'.

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

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

### getUnreachable

Locations that could not be reached.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

Locations that could not be reached.

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

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