# Cloud Workstations V1BETA API - Class Google::Cloud::Workstations::V1beta::WorkstationConfig::Host (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::WorkstationConfig::Host.

Runtime host for a workstation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gce_instance

    def gce_instance() -> ::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance

**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance)) --- Specifies a Compute Engine instance as the host.

### #gce_instance=

    def gce_instance=(value) -> ::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance

**Parameter**

- **value** ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance)) --- Specifies a Compute Engine instance as the host.
**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance)) --- Specifies a Compute Engine instance as the host.