Method: projects.locations.environments.create

Creates a new Environment.

HTTP request

POST https://notebooks.googleapis.com/v1/{parent}/environments

Path parameters

Parameters
parent

string

Required. Format: projects/{projectId}/locations/{location}

Authorization requires the following IAM permission on the specified resource parent:

  • notebooks.environments.create

Query parameters

Parameters
environmentId

string

Required. User-defined unique ID of this environment. The environmentId must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash.

Request body

The request body contains an instance of Environment .

Response body

If successful, the response body contains a newly created instance of Operation .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

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

Last updated 2025年06月27日 UTC.