- [HTTP request](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.request_body)
- [Response body](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.ListProducerExtensionsResponse.SCHEMA_REPRESENTATION)
- [IAM Permissions](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions/list#body.aspect)

Lists `ProducerExtension` resources in a given project and location.

### HTTP request

`GET https://networkservices.googleapis.com/v1beta1/{parent=projects/*/locations/*}/producerExtensions`

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The project and location from which the `ProducerExtension` resources should be listed, specified in this format: `projects/{project}/locations/{location}`. |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. Maximum number of `ProducerExtension` resources to return per call. |
| `pageToken` | `string` Optional. The value returned by the last `ListProducerExtensionsResponse`. It indicates that this is a continuation of a prior `producerExtensions.list`call, and that the system should return the next page of data. |

### Request body

The request body must be empty.

### Response body

Response returned by the `producerExtensions.list` method.

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

| JSON representation |
|---|
| ``` { "producerExtensions": [ { object (`https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions#ProducerExtension`) } ], "nextPageToken": string, "unreachable": [ string ] } ``` |

| Fields ||
|---|---|
| `producerExtensions[]` | ``object (`https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.producerExtensions#ProducerExtension`)`` List of `ProducerExtension` resources. |
| `nextPageToken` | `string` If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`. |
| `unreachable[]` | `string` Unordered list. Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable. The resource names are in the format: `projects/{project}/locations/{location}/producerExtensions/{producerExtension}`. |

### IAM Permissions

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

- `networkservices.producerExtensions.list`

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