Required. User-defined unique ID of this environment. The environment_id 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.
Required. User-defined unique ID of this environment. The environment_id 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.
Returns
Type
Description
string
setEnvironmentId
Required. User-defined unique ID of this environment. The environment_id 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.
Required. User-defined unique ID of this environment. The environment_id 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Notebooks V1 Client - Class CreateEnvironmentRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-notebooks/latest/V1.CreateEnvironmentRequest)\n- [1.0.4](/php/docs/reference/cloud-notebooks/1.0.4/V1.CreateEnvironmentRequest)\n- [0.7.5](/php/docs/reference/cloud-notebooks/0.7.5/V1.CreateEnvironmentRequest)\n- [0.6.2](/php/docs/reference/cloud-notebooks/0.6.2/V1.CreateEnvironmentRequest)\n- [0.5.0](/php/docs/reference/cloud-notebooks/0.5.0/V1.CreateEnvironmentRequest)\n- [0.4.1](/php/docs/reference/cloud-notebooks/0.4.1/V1.CreateEnvironmentRequest)\n- [0.3.6](/php/docs/reference/cloud-notebooks/0.3.6/V1.CreateEnvironmentRequest) \nReference documentation and code samples for the Google Cloud Notebooks V1 Client class CreateEnvironmentRequest.\n\nRequest for creating a notebook environment.\n\nGenerated from protobuf message `google.cloud.notebooks.v1.CreateEnvironmentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Notebooks \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Format: `projects/{project_id}/locations/{location}`\n\n### setParent\n\nRequired. Format: `projects/{project_id}/locations/{location}`\n\n### getEnvironmentId\n\nRequired. User-defined unique ID of this environment. The `environment_id` must\nbe 1 to 63 characters long and contain only lowercase letters,\nnumeric characters, and dashes. The first character must be a lowercase\nletter and the last character cannot be a dash.\n\n### setEnvironmentId\n\nRequired. User-defined unique ID of this environment. The `environment_id` must\nbe 1 to 63 characters long and contain only lowercase letters,\nnumeric characters, and dashes. The first character must be a lowercase\nletter and the last character cannot be a dash.\n\n### getEnvironment\n\nRequired. The environment to be created.\n\n### hasEnvironment\n\n### clearEnvironment\n\n### setEnvironment\n\nRequired. The environment to be created.\n\n### static::build"]]