- [HTTP request](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.request_body)
- [Response body](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.ListBindingMatchingResourcesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.aspect)
- [Try it!](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#try-it)

Lists Binding Matching Resources for a given AutoProtectionPolicyBinding.

### HTTP request

Choose an endpoint:
global africa-south1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-northeast3 asia-south1 asia-south2 asia-southeast1 asia-southeast2 australia-southeast1 australia-southeast2 europe-central2 europe-north1 europe-north2 europe-southwest1 europe-west1 europe-west2 europe-west3 europe-west4 europe-west6 europe-west8 europe-west9 europe-west10 europe-west12 me-central1 me-central2 me-west1 northamerica-northeast1 northamerica-northeast2 northamerica-south1 southamerica-east1 southamerica-west1 us-central1 us-central2 us-east1 us-east4 us-east5 us-east7 us-south1 us-west1 us-west2 us-west3 us-west4 us-west8 us eu   
`GET https://backupdr.googleapis.com/v1/{parent=projects/*/locations/*/autoProtectionPolicies/*/bindings/*}/matchingResources`

<br />

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The project, location, auto protection policy and binding for which to retrieve `BindingMatchingResources` information. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{autoProtectionPolicy}/bindings/{binding}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. The maximum number of `BindingMatchingResources` to return in a single response. The default page size is 100 and maximum page size is 200. Note that the response may include a partial list and a caller should only rely on the response's `https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.ListBindingMatchingResourcesResponse.FIELDS.next_page_token` to determine if there are more instances left to be queried. |
| `pageToken` | `string` Optional. The value of `https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.ListBindingMatchingResourcesResponse.FIELDS.next_page_token` received from a previous `matchingResources.list` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `matchingResources.list` must match the call that provided the page token. |
| `filter` | `string` Optional. Field match expression used to filter the results. |
| `orderBy` | `string` Optional. Field by which to sort the results. |

### Request body

The request body must be empty.

### Response body

The response message for getting a list of `BindingMatchingResources`.

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

| JSON representation |
|---|
| ``` { "matchingResources": [ { object (`https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources#BindingMatchingResource`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `matchingResources[]` | ``object (`https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources#BindingMatchingResource`)`` The list of `BindingMatchingResources` in the project,location for the specified binding. |
| `nextPageToken` | `string` A token which may be sent as `https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1/projects.locations.autoProtectionPolicies.bindings.matchingResources/list#body.QUERY_PARAMETERS.page_token` in a subsequent `matchingResources.list` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. |

### Authorization scopes

Requires one of the following OAuth scopes:

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

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