# Dataform V1 API - Class Google::Cloud::Dataform::V1::CreateWorkspaceRequest (v0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataform V1 API class Google::Cloud::Dataform::V1::CreateWorkspaceRequest.

`CreateWorkspace` request message.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.
**Returns**

- (::String) --- Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.

### #workspace

    def workspace() -> ::Google::Cloud::Dataform::V1::Workspace

**Returns**

- ([::Google::Cloud::Dataform::V1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-Workspace)) --- Required. The workspace to create.

### #workspace=

    def workspace=(value) -> ::Google::Cloud::Dataform::V1::Workspace

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-Workspace)) --- Required. The workspace to create.
**Returns**

- ([::Google::Cloud::Dataform::V1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-Workspace)) --- Required. The workspace to create.

### #workspace_id

    def workspace_id() -> ::String

**Returns**

- (::String) --- Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

### #workspace_id=

    def workspace_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
**Returns**

- (::String) --- Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.