Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

Google Compute Engine Samples

This section contains samples for Google Compute Engine.

Running the samples

  1. Your environment must be setup with authentication information. Note that Cloud Monitoring does not currently work with gcloud auth. You will need to use a service account when running locally and set the GOOGLE_APPLICATION_CREDENTIALS environment variable.

     $ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
    
  2. Install dependencies from requirements.txt

     $ pip install -r requirements.txt
    
  3. Depending on the sample, you may also need to create resources on the Google Developers Console. Refer to the sample description and associated documentation page.

Additional resources

For more information on Compute Engine you can visit:

https://cloud.google.com/compute

For more information on the Cloud Monitoring API Python library surface you can visit:

https://developers.google.com/resources/api-libraries/documentation/compute/v1/python/latest/

For information on the Python Client Library visit:

https://developers.google.com/api-client-library/python

Morty Proxy This is a proxified and sanitized view of the page, visit original site.