1

It's possible to invalidating cached content with Google Cloud Python SDK?

I use google.cloud.storage to upload file in the bucket.

However, I haven't found a Python library for CDN.

There is only glcoud tools ...

Thanks

1

You can use the urlMaps.invalidateCache API method provided with the google-api-python-client package, see https://cloud.google.com/compute/docs/reference/rest/v1/urlMaps/invalidateCache for more details and a Python example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.