Sample command-line programs for interacting with the Notebooks API.
Go to the Google Cloud Console.
Under API Manager, search for the Google Cloud Notebooks API and enable it. You can also enable API via Command Line:
gcloud services enable notebooks.googleapis.com
To install, run the following commands. If you want to use virtualenv (recommended), run the commands within a virtualenv.
pip install -r requirements.txt
Note: While this sample demonstrates interacting with Notebooks via the API, the functionality demonstrated here could also be accomplished using the Cloud Console or the gcloud CLI
Please see the Google cloud authentication guide. The recommended approach to running these samples is a Service Account with a JSON key.