Relative Content

Tag Archive for google-cloud-platformgoogle-cloud-python

Dereference URLs in Google Cloud objects

I’m writing an application using the Google Cloud Python Client Libraries. Every so often, I encounter an object that references another via a URL. For example, the Zone object has a region field that contains a value like "https://www.googleapis.com/compute/v1/projects/myproject/regions/someregion".