client.list_datasets

Retrieves the dataset IDs of all datasets accessible within a project.

Input ParametersTypeDefaultDescription
project_idstrNoneThe unique identifier for the project.
PROJECT_ID = "example_project"

client.list_datasets(
    project_id=PROJECT_ID
)
Return TypeDescription
listA list containing the dataset ID strings for each project.
[
    'dataset_a',
    'dataset_b',
    'dataset_c'
]