Accessing Google Cloud resources manually is straightforward. We can use the Web UI or the SDK in the console. However, when we try to the same thing programmatically, from the context of a local script or a cloud function, we run into authorization problems.
In this YouTube tutorial we are writing a Cloud Function that accesses the Notebooks API in Google Clouds. We are using Python 3 for writing the function. The same method can be adapted to any Google Cloud resource or operation as long as there is a REST API for it.
Source code:
https://vladsave.com/?p=121
Business website for inquiries:
https://vladsave.com/?p=121
Chapters:
00:00 Introduction
00:59 Google Notebooks API, calling with Postman
02:47 Google API Python client
05:42 Transfer the code to a Cloud Function
На этой странице сайта вы можете посмотреть видео онлайн Access Google Cloud resources from a Python Cloud Function длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Vladsave Coding 29 Октябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,988 раз и оно понравилось 27 зрителям. Приятного просмотра!