# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::Workspace (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::Workspace.

Represents a Dataform Git workspace.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp of when the workspace was created.

### #data_encryption_state

    def data_encryption_state() -> ::Google::Cloud::Dataform::V1beta1::DataEncryptionState

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::DataEncryptionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-DataEncryptionState)) --- Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.

### #disable_moves

    def disable_moves() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.

### #disable_moves=

    def disable_moves=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
**Returns**

- (::Boolean) --- Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.

### #internal_metadata

    def internal_metadata() -> ::String

**Returns**

- (::String) --- Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The workspace's name.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The workspace's name.
**Returns**

- (::String) --- Identifier. The workspace's name.

### #private_resource_metadata

    def private_resource_metadata() -> ::Google::Cloud::Dataform::V1beta1::PrivateResourceMetadata

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::PrivateResourceMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-PrivateResourceMetadata)) --- Output only. Metadata indicating whether this resource is user-scoped. For `Workspace` resources, the `user_scoped` field is always `true`.