From the course: Cloud Native Projects: GCP Serverless

Unlock this course with a free trial

Join today to access over 25,400 courses taught by industry experts.

Cloud Functions with Python

Cloud Functions with Python

- [Instructor] So now it's time to get started with our first Cloud Function using the Python language. So the first thing that I want you to do is I want you, in your browser, to navigate to console.cloud.google.com, and I want you to get into the Cloud Functions, and then into your project. And in this case, I'm in a project called CNP-fpmoles, which you can see by the dropdown in the banner. And you'll see I have no functions defined. Now, there's a couple ways to get our first function out there, but I'm going to walk through the browser first to create our first function, and then we'll go write that code. So let's go ahead and click Create Function here. Now, you'll see that we can name our function, and we're going to name this one python_example. Select a region that's close to you. In my case, it's us-central1. You'll see we have a dropdown here for Trigger type. And there's all different kinds of triggers you…

Contents