gcloud beta colab runtimes create

NAME
gcloud beta colab runtimes create - create a notebook runtime
SYNOPSIS
gcloud beta colab runtimes create--display-name=DISPLAY_NAME--runtime-template=RUNTIME_TEMPLATE[--async][--description=DESCRIPTION][--labels=[KEY=VALUE,…]][--region=REGION][--runtime-id=RUNTIME_ID][--runtime-user=RUNTIME_USER][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Create a notebook runtime that can be used to run code fromyour notebook (IPYNB file).
EXAMPLES
To create a runtime in region 'us-central1' with the display name 'my-runtime'and template with id 'my-template', run:
gcloudbetacolabruntimescreate--region=us-central1--display-name=my-runtime--runtime-template=my-template

To create a runtime for user 'USER@DOMAIN.COM', run:

gcloudbetacolabruntimescreate--runtime-user=USER@DOMAIN.COM--region=us-central1--display-name=my-runtime--runtime-template=my-template
REQUIRED FLAGS
--display-name=DISPLAY_NAME
The display name of the runtime to create.
Runtime template resource - Unique name of the runtime template to configure theruntime with. This was optionally provided by setting --runtime-template-id inthe create runtime-template command, or was system-generated if unspecified.This represents a Cloud resource. (NOTE) Some attributes are not given argumentsin this group but can be set in other ways.

To set theproject attribute:

  • provide the argument--runtime-template on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set theregion attribute:

  • provide the argument--runtime-template on the command line with afully specified name;
  • provide the argument--region on the command line;
  • set the propertycolab/region.

This must be specified.

--runtime-template=RUNTIME_TEMPLATE
ID of the runtime template or fully qualified identifier for the runtimetemplate.

To set thename attribute:

  • provide the argument--runtime-template on the command line.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
The description
--labels=[KEY=VALUE,…]
Add labels to identify and group the runtime template.
Region resource - Cloud region to create runtime. Please seehttps://cloud.google.com/colab/docs/locationsfor a list of supported regions. This represents a Cloud resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argument--region on the command line with a fullyspecified name;
  • set the propertycolab/region with a fully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.
--region=REGION
ID of the region or fully qualified identifier for the region.

To set theregion attribute:

  • provide the argument--region on the command line;
  • set the propertycolab/region.
--runtime-id=RUNTIME_ID
The id of the runtime to create. If not specified, a random id will begenerated.
--runtime-user=RUNTIME_USER
User email for the runtime owner. Runtimes can only be used by the owner. If auser is not provided, the gcloud user will be assumed to be the owner. The usercannot be a service account.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This command is currently in beta and might change without notice. This variantis also available:
gcloudcolabruntimescreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.