Cloud Code for Cloud Shell, which is built into Cloud Shell Editor, comes with a collection of sample applications to get you started quickly.
To create a Cloud Run service using a sample:
Open the command palette (press
Por click View > Command Palette) and then run the Cloud Code: New Application command.
Select Cloud Run application as the type of sample.
Select the sample for the language you're using.
Choose a service location on your local machine and then press
Cloud Code clones the sample application and opens your newly-created project for use.