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

A runtime using a Compute Engine instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #accelerators

    def accelerators() -> ::Array<::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator>

**Returns**

- (::Array\<[::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-Accelerator)\>) --- Optional. A list of the type and count of accelerator cards attached to the instance.

### #accelerators=

    def accelerators=(value) -> ::Array<::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-Accelerator)\>) --- Optional. A list of the type and count of accelerator cards attached to the instance.
**Returns**

- (::Array\<[::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-Accelerator)\>) --- Optional. A list of the type and count of accelerator cards attached to the instance.

### #boost_configs

    def boost_configs() -> ::Array<::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::BoostConfig>

**Returns**

- (::Array\<[::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::BoostConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-BoostConfig)\>) --- Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. If specified, users will have the option to choose from the list of boost configs when starting a workstation.

### #boost_configs=

    def boost_configs=(value) -> ::Array<::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::BoostConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::BoostConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-BoostConfig)\>) --- Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. If specified, users will have the option to choose from the list of boost configs when starting a workstation.
**Returns**

- (::Array\<[::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::BoostConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-BoostConfig)\>) --- Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. If specified, users will have the option to choose from the list of boost configs when starting a workstation.

### #boot_disk_size_gb

    def boot_disk_size_gb() -> ::Integer

**Returns**

- (::Integer) --- Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.

### #boot_disk_size_gb=

    def boot_disk_size_gb=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.
**Returns**

- (::Integer) --- Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.

### #confidential_instance_config

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

**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::GceConfidentialInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-GceConfidentialInstanceConfig)) --- Optional. A set of Compute Engine Confidential VM instance options.

### #confidential_instance_config=

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

**Parameter**

- **value** ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::GceConfidentialInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-GceConfidentialInstanceConfig)) --- Optional. A set of Compute Engine Confidential VM instance options.
**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::GceConfidentialInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-GceConfidentialInstanceConfig)) --- Optional. A set of Compute Engine Confidential VM instance options.

### #disable_public_ip_addresses

    def disable_public_ip_addresses() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).

### #disable_public_ip_addresses=

    def disable_public_ip_addresses=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
**Returns**

- (::Boolean) --- Optional. When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).

### #disable_ssh

    def disable_ssh() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Whether to disable SSH access to the VM.

### #disable_ssh=

    def disable_ssh=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Whether to disable SSH access to the VM.
**Returns**

- (::Boolean) --- Optional. Whether to disable SSH access to the VM.

### #enable_nested_virtualization

    def enable_nested_virtualization() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Whether to enable nested virtualization on Cloud Workstations
  VMs created using this workstation configuration.

  Defaults to false.

  Nested virtualization lets you run virtual machine (VM) instances
  inside your workstation. Before enabling nested virtualization,
  consider the following important considerations. Cloud Workstations
  instances are subject to the [same restrictions as Compute Engine
  instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
  - **Organization policy** : projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is
    allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
  - **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound.
  - **Machine Type** : nested virtualization can only be enabled on workstation configurations that specify a [machine_type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance#Google__Cloud__Workstations__V1beta__WorkstationConfig__Host__GceInstance_machine_type_instance_ "Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance#machine_type (method)") in the N1 or N2 machine series.

### #enable_nested_virtualization=

    def enable_nested_virtualization=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) ---

  Optional. Whether to enable nested virtualization on Cloud Workstations
  VMs created using this workstation configuration.

  Defaults to false.

  Nested virtualization lets you run virtual machine (VM) instances
  inside your workstation. Before enabling nested virtualization,
  consider the following important considerations. Cloud Workstations
  instances are subject to the [same restrictions as Compute Engine
  instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
  - **Organization policy** : projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is
    allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
  - **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound.
  - **Machine Type** : nested virtualization can only be enabled on workstation configurations that specify a [machine_type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance#Google__Cloud__Workstations__V1beta__WorkstationConfig__Host__GceInstance_machine_type_instance_ "Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance#machine_type (method)") in the N1 or N2 machine series.
**Returns**

- (::Boolean) --- Optional. Whether to enable nested virtualization on Cloud Workstations
  VMs created using this workstation configuration.

  Defaults to false.

  Nested virtualization lets you run virtual machine (VM) instances
  inside your workstation. Before enabling nested virtualization,
  consider the following important considerations. Cloud Workstations
  instances are subject to the [same restrictions as Compute Engine
  instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions):
  - **Organization policy** : projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is
    allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed).
  - **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound.
  - **Machine Type** : nested virtualization can only be enabled on workstation configurations that specify a [machine_type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance#Google__Cloud__Workstations__V1beta__WorkstationConfig__Host__GceInstance_machine_type_instance_ "Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance#machine_type (method)") in the N1 or N2 machine series.

### #instance_metadata

    def instance_metadata() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Custom metadata to apply to Compute Engine instances.

### #instance_metadata=

    def instance_metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Custom metadata to apply to Compute Engine instances.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Custom metadata to apply to Compute Engine instances.

### #machine_type

    def machine_type() -> ::String

**Returns**

- (::String) --- Optional. The type of machine to use for VM instances---for example, `"e2-standard-4"`. For more information about machine types that Cloud Workstations supports, see the list of [available machine
  types](https://cloud.google.com/workstations/docs/available-machine-types).

### #machine_type=

    def machine_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The type of machine to use for VM instances---for example, `"e2-standard-4"`. For more information about machine types that Cloud Workstations supports, see the list of [available machine
  types](https://cloud.google.com/workstations/docs/available-machine-types).
**Returns**

- (::String) --- Optional. The type of machine to use for VM instances---for example, `"e2-standard-4"`. For more information about machine types that Cloud Workstations supports, see the list of [available machine
  types](https://cloud.google.com/workstations/docs/available-machine-types).

### #pool_size

    def pool_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.

### #pool_size=

    def pool_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.
**Returns**

- (::Integer) --- Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.

### #pooled_instances

    def pooled_instances() -> ::Integer

**Returns**

- (::Integer) --- Output only. Number of instances currently available in the pool for faster workstation startup.

### #reservation_affinity

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

**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::ReservationAffinity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-ReservationAffinity)) ---

  Optional.
  [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  specifies a reservation that can be consumed to create VM
  instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations
  will only create VMs in the zone where the reservation is located.
  This would affect availability since the service will no longer be
  resilient to zonal outages. If ANY_RESERVATION is specified, creating
  reservations in both zones that the config creates VMs in will ensure
  higher availability.
  **Important Considerations for Reservation Affinity:**
  - This feature is intended for advanced users and requires familiarity with Google Compute Engine reservations.
  - Using reservations incurs charges, regardless of utilization.
  - The resources in the pool will consume the specified reservation. Take this into account when setting the pool size.

### #reservation_affinity=

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

**Parameter**

- **value** ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::ReservationAffinity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-ReservationAffinity)) ---

  Optional.
  [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  specifies a reservation that can be consumed to create VM
  instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations
  will only create VMs in the zone where the reservation is located.
  This would affect availability since the service will no longer be
  resilient to zonal outages. If ANY_RESERVATION is specified, creating
  reservations in both zones that the config creates VMs in will ensure
  higher availability.
  **Important Considerations for Reservation Affinity:**
  - This feature is intended for advanced users and requires familiarity with Google Compute Engine reservations.
  - Using reservations incurs charges, regardless of utilization.
  - The resources in the pool will consume the specified reservation. Take this into account when setting the pool size.
**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::ReservationAffinity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-ReservationAffinity)) ---

  Optional.
  [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  specifies a reservation that can be consumed to create VM
  instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations
  will only create VMs in the zone where the reservation is located.
  This would affect availability since the service will no longer be
  resilient to zonal outages. If ANY_RESERVATION is specified, creating
  reservations in both zones that the config creates VMs in will ensure
  higher availability.
  **Important Considerations for Reservation Affinity:**
  - This feature is intended for advanced users and requires familiarity with Google Compute Engine reservations.
  - Using reservations incurs charges, regardless of utilization.
  - The resources in the pool will consume the specified reservation. Take this into account when setting the pool size.

### #service_account

    def service_account() -> ::String

**Returns**

- (::String) --- Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logging.logEntries.create` and `monitoring.timeSeries.create` permissions on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry
  Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image.


  If you as the administrator want to be able to `ssh` into the
  underlying VM, you need to set this value to a service account
  for which you have the `iam.serviceAccounts.actAs` permission.
  Conversely, if you don't want anyone to be able to `ssh` into the
  underlying VM, use a service account where no one has that
  permission.

  If not set, VMs run with a service account provided by the
  Cloud Workstations service, and the image must be publicly
  accessible.

### #service_account=

    def service_account=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logging.logEntries.create` and `monitoring.timeSeries.create` permissions on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry
  Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image.


  If you as the administrator want to be able to `ssh` into the
  underlying VM, you need to set this value to a service account
  for which you have the `iam.serviceAccounts.actAs` permission.
  Conversely, if you don't want anyone to be able to `ssh` into the
  underlying VM, use a service account where no one has that
  permission.

  If not set, VMs run with a service account provided by the
  Cloud Workstations service, and the image must be publicly
  accessible.
**Returns**

- (::String) --- Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logging.logEntries.create` and `monitoring.timeSeries.create` permissions on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry
  Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image.


  If you as the administrator want to be able to `ssh` into the
  underlying VM, you need to set this value to a service account
  for which you have the `iam.serviceAccounts.actAs` permission.
  Conversely, if you don't want anyone to be able to `ssh` into the
  underlying VM, use a service account where no one has that
  permission.

  If not set, VMs run with a service account provided by the
  Cloud Workstations service, and the image must be publicly
  accessible.

### #service_account_scopes

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

**Returns**

- (::Array\<::String\>) --- Optional. Scopes to grant to the [service_account](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance#Google__Cloud__Workstations__V1beta__WorkstationConfig__Host__GceInstance_service_account_instance_ "Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance#service_account (method)"). When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.

### #service_account_scopes=

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

**Parameter**

- **value** (::Array\<::String\>) --- Optional. Scopes to grant to the [service_account](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance#Google__Cloud__Workstations__V1beta__WorkstationConfig__Host__GceInstance_service_account_instance_ "Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance#service_account (method)"). When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.
**Returns**

- (::Array\<::String\>) --- Optional. Scopes to grant to the [service_account](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance#Google__Cloud__Workstations__V1beta__WorkstationConfig__Host__GceInstance_service_account_instance_ "Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance#service_account (method)"). When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.

### #shielded_instance_config

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

**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::GceShieldedInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-GceShieldedInstanceConfig)) --- Optional. A set of Compute Engine Shielded instance options.

### #shielded_instance_config=

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

**Parameter**

- **value** ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::GceShieldedInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-GceShieldedInstanceConfig)) --- Optional. A set of Compute Engine Shielded instance options.
**Returns**

- ([::Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::GceShieldedInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workstations-v1beta/latest/Google-Cloud-Workstations-V1beta-WorkstationConfig-Host-GceInstance-GceShieldedInstanceConfig)) --- Optional. A set of Compute Engine Shielded instance options.

### #startup_script_uri

    def startup_script_uri() -> ::String

**Returns**

- (::String) --- Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host workstation VM when the VM is created. The URI must be of the form gs://{bucket-name}/{object-name}. If specifying a startup script, the service account must have [Permission
  to access the bucket and script file in Cloud
  Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the script must be publicly accessible. Note that the service regularly updates the OS version of the host VM, and it is the responsibility of the user to ensure the script stays compatible with the OS version.

### #startup_script_uri=

    def startup_script_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host workstation VM when the VM is created. The URI must be of the form gs://{bucket-name}/{object-name}. If specifying a startup script, the service account must have [Permission
  to access the bucket and script file in Cloud
  Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the script must be publicly accessible. Note that the service regularly updates the OS version of the host VM, and it is the responsibility of the user to ensure the script stays compatible with the OS version.
**Returns**

- (::String) --- Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host workstation VM when the VM is created. The URI must be of the form gs://{bucket-name}/{object-name}. If specifying a startup script, the service account must have [Permission
  to access the bucket and script file in Cloud
  Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the script must be publicly accessible. Note that the service regularly updates the OS version of the host VM, and it is the responsibility of the user to ensure the script stays compatible with the OS version.

### #tags

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

**Returns**

- (::Array\<::String\>) --- Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network
  tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall
  rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).

### #tags=

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

**Parameter**

- **value** (::Array\<::String\>) --- Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network
  tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall
  rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
**Returns**

- (::Array\<::String\>) --- Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network
  tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall
  rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).

### #vm_tags

    def vm_tags() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager
  tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.

### #vm_tags=

    def vm_tags=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager
  tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager
  tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.