# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::CreateWorkspaceRequest (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::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::V1beta1::Workspace

**Returns**

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

### #workspace=

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

**Parameter**

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

- ([::Google::Cloud::Dataform::V1beta1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-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.