# Cloud Workstations V1BETA API - Class Google::Cloud::Workstations::V1beta::WorkstationCluster::PrivateClusterConfig (v0.10.0)

0.10.0 (latest) 0.9.0 0.8.1 0.7.1 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Cloud Workstations V1BETA API class Google::Cloud::Workstations::V1beta::WorkstationCluster::PrivateClusterConfig.

Configuration options for private workstation clusters.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allowed_projects

    def allowed_projects() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

### #allowed_projects=

    def allowed_projects=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
**Returns**

- (::Array\<::String\>) --- Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

### #cluster_hostname

    def cluster_hostname() -> ::String

**Returns**

- (::String) --- Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.

### #enable_private_endpoint

    def enable_private_endpoint() -> ::Boolean

**Returns**

- (::Boolean) --- Immutable. Whether Workstations endpoint is private.

### #enable_private_endpoint=

    def enable_private_endpoint=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Immutable. Whether Workstations endpoint is private.
**Returns**

- (::Boolean) --- Immutable. Whether Workstations endpoint is private.

### #service_attachment_uri

    def service_attachment_uri() -> ::String

**Returns**

- (::String) --- Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service
  Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).