# Method: projects.locations.appConnections.resolve

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

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

### HTTP request

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

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The resource name of the AppConnection location using the form: `projects/{projectId}/locations/{locationId}` Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `beyondcorp.appConnections.list` |

### Query parameters

| Parameters ||
|---|---|
| `appConnectorId` | `string` Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: `projects/{projectId}/locations/{locationId}/appConnectors/{appConnectorId}` |
| `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 `https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.appConnections/resolve#body.ResolveAppConnectionsResponse.FIELDS.next_page_token` to determine if there are more instances left to be queried. |
| `pageToken` | `string` Optional. The nextPageToken value returned from a previous ResolveAppConnectionsResponse, if any. |

### Request body

The request body must be empty.

### Response body

Response message for BeyondCorp.ResolveAppConnections.

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

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

| Fields ||
|---|---|
| `appConnectionDetails[]` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.appConnections/resolve#AppConnectionDetails`)`` A list of BeyondCorp AppConnections with details 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).

## AppConnectionDetails

Details of the AppConnection.

| JSON representation |
|---|
| ``` { "appConnection": { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.appConnections#AppConnection`) }, "recentMigVms": [ string ] } ``` |

| Fields ||
|---|---|
| `appConnection` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/projects.locations.appConnections#AppConnection`)`` A BeyondCorp AppConnection in the project. |
| `recentMigVms[]` | `string` If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://www.googleapis.com/compute/v1/projects/{projectId}/zones/{zone_id}/instances/{instance_id}`. |