Lists subnetworks that can be used for creating clusters in a project.

## Arguments

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent project where subnetworks are usable. Specified in the format `projects/*`. |
| `filter` | `string` Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=\[PROJECTID\]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID. |
| `pageSize` | `integer (https://developers.google.com/discovery/v1/type-format?tenant=cloud format)` The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500) |
| `pageToken` | `string` Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results. |

## Raised exceptions

| Exceptions ||
|---|---|
| `ConnectionError` | In case of a network problem (such as DNS failure or refused connection). |
| `HttpError` | If the response status is \>= 400 (excluding 429 and 503). |
| `TimeoutError` | If a long-running operation takes longer to finish than the specified timeout limit. |
| `TypeError` | If an operation or function receives an argument of the wrong type. |
| `ValueError` | If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout. |

## Response

If successful, the response contains an instance of [`ListUsableSubnetworksResponse`](https://docs.cloud.google.com/workflows/docs/reference/googleapis/container/v1beta1/Overview#ListUsableSubnetworksResponse).

## Subworkflow snippet

Some fields might be optional or required.
To identify required fields, refer to the [API documentation](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.aggregated.usableSubnetworks/list).

### YAML

```yaml
- list:
    call: googleapis.container.v1beta1.projects.aggregated.usableSubnetworks.list
    args:
        parent: ...
        filter: ...
        pageSize: ...
        pageToken: ...
    result: listResult
```

### JSON

```json
[
  {
    "list": {
      "call": "googleapis.container.v1beta1.projects.aggregated.usableSubnetworks.list",
      "args": {
        "parent": "...",
        "filter": "...",
        "pageSize": "...",
        "pageToken": "..."
      },
      "result": "listResult"
    }
  }
]
```