Create a Cloud Run service from a sample application in Cloud Code for Cloud Shell

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:

  1. Open the command palette (press Ctrl/Cmd+Shift+P or click View > Command Palette) and then run the Cloud Code: New Application command.

  2. Select Cloud Run application as the type of sample.

  3. Select the sample for the language you're using.

  4. Choose a service location on your local machine and then press Enter.

    Cloud Code clones the sample application and opens your newly-created project for use.