Google cloud platform documentation. Samples are compatible with Python 3.