To quickly find all resources within a project or even a parent org, we can use asset manager and resource manager API in GCP.

Passing in a Project name

gcloud asset search-all-resources --scope=projects/my-proj-name --page-size=500 --format=json

Passing in a Resource Type
To look for individual resource types (all VMs in an org), use the following APIs, instead of passing in the project name, pass in the type of resource (API)
dataflow.googleapis.com/Job  // for Notebook

gcloud asset search-all-resources --asset-types='compute.googleapis.com/Instance,storage.googleapis.com/Bucket' --query='labels.name:*' --format='table(name, assetType, labels)'”