# Method: projects.locations.securityGateways.applications.list

- [HTTP request](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.request_body)
- [Response body](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.ListApplicationsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications/list#try-it)

Lists Applications in a given project and location.

### HTTP request

`GET https://beyondcorp.googleapis.com/v1/{parent=projects/*/locations/*/securityGateways/*}/applications`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent location to which the resources belong. `projects/{projectId}/locations/global/securityGateways/{securityGatewayId}` |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the pageSize value, the response may include a partial list and a caller should only rely on response's \[nextPageToken\]\[BeyondCorp.ListApplicationsResponse.next_page_token\] to determine if there are more instances left to be queried. |
| `pageToken` | `string` Optional. The nextPageToken value returned from a previous ListApplicationsRequest, if any. |
| `filter` | `string` Optional. A filter specifying constraints of a list operation. All fields in the Application message are supported. For example, the following query will return the Application with displayName "test-application" For more information, please refer to <https://google.aip.dev/160>. |
| `orderBy` | `string` Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information. |

### Request body

The request body must be empty.

### Response body

Message for response to listing Applications.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "applications": [ { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications#Application`) } ], "nextPageToken": string, "unreachable": [ string ] } ``` |

| Fields ||
|---|---|
| `applications[]` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.securityGateways.applications#Application`)`` A list of BeyondCorp Application in the project. |
| `nextPageToken` | `string` A token to retrieve the next page of results, or empty if there are no more results in the list. |
| `unreachable[]` | `string` A list of locations that could not be reached. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `beyondcorp.sgApplications.list`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).