> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List BigQuery Datasets

Lists all datasets in the specified project to which you have been granted the READER dataset role.

<Note>
  External Documentation

  To learn more, visit the [GCP documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                      |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Filter           | An expression for filtering the results of the request by label. The<br />syntax is "labels.`name`:`value`". Multiple filters can be ANDed together by<br />connecting with a space. Example: "labels.department:receiving labels.active".<br />See Filtering datasets using labels for details. |
  | Project ID       | Project ID of the datasets to be listed.                                                                                                                                                                                                                                                         |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                 |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter   | Description                                                        |
  | ----------- | ------------------------------------------------------------------ |
  | All         | Whether to list all datasets, including hidden ones.               |
  | Fields      | Selector specifying which fields to include in a partial response. |
  | Max Results | The maximum number of results to return.                           |
</div>

## Example Output

```json theme={"dark"}
{
	"kind": "bigquery#datasetList",
	"etag": "JTA2N6OOwOWmTwxyLqQXgA==",
	"datasets": [
		{
			"kind": "bigquery#dataset",
			"id": "project:database",
			"datasetReference": {
				"datasetId": "Test",
				"projectId": "project"
			},
			"location": "us-central1"
		}
	]
}
```

## Workflow Library Example

[List Bigquery Datasets with Gcp and Send Results Via Email](https://library.blinkops.com/workflows/list-bigquery-datasets-with-gcp-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-bigquery-datasets-with-gcp-and-send-results-via-email/canvas" />
</div>
