Projects

This page lists directives related to project setup.

Project selection

<walkthrough-project-setup></walkthrough-project-setup>

Inserts an interactive widget that helps the user to create or select a project to use for the tutorial.

Parameters

Parameter Type Description
billing Boolean (Optional) If the value is set to true, prompt a user to enable billing for projects where a billing account is missing.

Project details

The following directives insert Google Cloud details related to the currently selected project.

Directive Description
<walkthrough-project-id/> The user's current project ID.
<walkthrough-project-name/> The user's project name.

Enable APIs

<walkthrough-enable-apis apis="API_LIST"></walkthrough-enable-apis>

Inserts a button that enables Google Cloud APIs for the current project. The tutorial must be running in Google Cloud console for this to work.

You must specify an API's service name to enable it. To explore the available APIs, visit the API Library. When you find an API you want, you can discover its service name by setting a project in Cloud Shell and then running the following command:

gcloud services list --available | grep API_NAME

Parameters

Parameter Description
apis Comma-separated list of API service names to enable.