Reference documentation and code samples for the Cloud Workstations V1 API class Google::Cloud::Workstations::V1::WorkstationConfig::Host::GceInstance::BoostConfig.
A boost configuration is a set of resources that a workstation can use to increase its performance. If you specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the boost config by passing the boost config ID in the start request. If the workstation user does not provide a boost config ID in the start request, the system will choose a VM from the pool provisioned under the default config.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerators
def accelerators() -> ::Array<::Google::Cloud::Workstations::V1::WorkstationConfig::Host::GceInstance::Accelerator>-
(::Array<::Google::Cloud::Workstations::V1::WorkstationConfig::Host::GceInstance::Accelerator>) — Optional. A list of the type and count of accelerator cards attached
to the boost instance. Defaults to
none.
#accelerators=
def accelerators=(value) -> ::Array<::Google::Cloud::Workstations::V1::WorkstationConfig::Host::GceInstance::Accelerator>-
value (::Array<::Google::Cloud::Workstations::V1::WorkstationConfig::Host::GceInstance::Accelerator>) — Optional. A list of the type and count of accelerator cards attached
to the boost instance. Defaults to
none.
-
(::Array<::Google::Cloud::Workstations::V1::WorkstationConfig::Host::GceInstance::Accelerator>) — Optional. A list of the type and count of accelerator cards attached
to the boost instance. Defaults to
none.
#boot_disk_size_gb
def boot_disk_size_gb() -> ::Integer-
(::Integer) — Optional. The size of the boot disk for the VM in gigabytes (GB).
The minimum boot disk size is
30GB. Defaults to50GB.
#boot_disk_size_gb=
def boot_disk_size_gb=(value) -> ::Integer-
value (::Integer) — Optional. The size of the boot disk for the VM in gigabytes (GB).
The minimum boot disk size is
30GB. Defaults to50GB.
-
(::Integer) — Optional. The size of the boot disk for the VM in gigabytes (GB).
The minimum boot disk size is
30GB. Defaults to50GB.
#enable_nested_virtualization
def enable_nested_virtualization() -> ::Boolean-
(::Boolean) —
Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost 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:
- 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.
- 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 boost configurations that specify a machine_type in the N1 or N2 machine series.
#enable_nested_virtualization=
def enable_nested_virtualization=(value) -> ::Boolean-
value (::Boolean) —
Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost 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:
- 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.
- 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 boost configurations that specify a machine_type in the N1 or N2 machine series.
-
(::Boolean) —
Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost 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:
- 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.
- 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 boost configurations that specify a machine_type in the N1 or N2 machine series.
#id
def id() -> ::String- (::String) — Required. The ID to be used for the boost configuration.
#id=
def id=(value) -> ::String- value (::String) — Required. The ID to be used for the boost configuration.
- (::String) — Required. The ID to be used for the boost configuration.
#machine_type
def machine_type() -> ::String-
(::String) — Optional. The type of machine that boosted VM instances will use—for
example,
e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types. Defaults toe2-standard-4.
#machine_type=
def machine_type=(value) -> ::String-
value (::String) — Optional. The type of machine that boosted VM instances will use—for
example,
e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types. Defaults toe2-standard-4.
-
(::String) — Optional. The type of machine that boosted VM instances will use—for
example,
e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types. Defaults toe2-standard-4.
#pool_size
def pool_size() -> ::Integer-
(::Integer) — Optional. The number of boost VMs that the system should keep idle so
that workstations can be boosted quickly. Defaults to
0.
#pool_size=
def pool_size=(value) -> ::Integer-
value (::Integer) — Optional. The number of boost VMs that the system should keep idle so
that workstations can be boosted quickly. Defaults to
0.
-
(::Integer) — Optional. The number of boost VMs that the system should keep idle so
that workstations can be boosted quickly. Defaults to
0.