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 project ID string for each project.
[
    'dataset_a',
    'dataset_b',
    'dataset_c'
]