.. toctree:: :maxdepth: 2 :hidden: releases core/index bigquery/usage bigtable/usage datastore/usage dns/usage firestore/index language/usage pubsub/index resource-manager/api runtimeconfig/usage spanner/usage speech/index error-reporting/usage monitoring/usage logging/usage storage/client translate/usage vision/index videointelligence/index
The google-cloud library is pip install-able:
$ pip install google-cloudFor more information on setting up your Python development environment,
such as installing pip and virtualenv on your system, please refer
to Python Development Environment Setup Guide for Google Cloud Platform.
Google Cloud Datastore is a fully managed, schemaless database for storing non-relational data.
from google.cloud import datastore
client = datastore.Client()
key = client.key('Person')
entity = datastore.Entity(key=key)
entity['name'] = 'Your name'
entity['age'] = 25
client.put(entity)Google Cloud Storage allows you to store data on Google infrastructure.
from google.cloud import storage
client = storage.Client()
bucket = client.get_bucket('<your-bucket-name>')
blob = bucket.blob('my-test-file.txt')
blob.upload_from_string('this is test content!')