# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::CreateEnvironmentRequest (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::CreateEnvironmentRequest.

Request for creating a notebook environment.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #environment

    def environment() -> ::Google::Cloud::Notebooks::V1::Environment

**Returns**

- ([::Google::Cloud::Notebooks::V1::Environment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Environment)) --- Required. The environment to be created.

### #environment=

    def environment=(value) -> ::Google::Cloud::Notebooks::V1::Environment

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V1::Environment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Environment)) --- Required. The environment to be created.
**Returns**

- ([::Google::Cloud::Notebooks::V1::Environment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Environment)) --- Required. The environment to be created.

### #environment_id

    def environment_id() -> ::String

**Returns**

- (::String) --- 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.

### #environment_id=

    def environment_id=(value) -> ::String

**Parameter**

- **value** (::String) --- 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**

- (::String) --- 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.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Format: `projects/{project_id}/locations/{location}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Format: `projects/{project_id}/locations/{location}`
**Returns**

- (::String) --- Required. Format: `projects/{project_id}/locations/{location}`