0.18.0 (latest) 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::Resources.

The system resources for the pipeline run.


<br />

At least one zone or region must be specified or the pipeline run will fail.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #regions

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

**Returns**

- (::Array\<::String\>) --- The list of regions allowed for VM allocation. If set, the `zones` field must not be set.

### #regions=

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

**Parameter**

- **value** (::Array\<::String\>) --- The list of regions allowed for VM allocation. If set, the `zones` field must not be set.
**Returns**

- (::Array\<::String\>) --- The list of regions allowed for VM allocation. If set, the `zones` field must not be set.

### #virtual_machine

    def virtual_machine() -> ::Google::Cloud::LifeSciences::V2beta::VirtualMachine

**Returns**

- ([::Google::Cloud::LifeSciences::V2beta::VirtualMachine](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-life_sciences-v2beta/latest/Google-Cloud-LifeSciences-V2beta-VirtualMachine)) --- The virtual machine specification.

### #virtual_machine=

    def virtual_machine=(value) -> ::Google::Cloud::LifeSciences::V2beta::VirtualMachine

**Parameter**

- **value** ([::Google::Cloud::LifeSciences::V2beta::VirtualMachine](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-life_sciences-v2beta/latest/Google-Cloud-LifeSciences-V2beta-VirtualMachine)) --- The virtual machine specification.
**Returns**

- ([::Google::Cloud::LifeSciences::V2beta::VirtualMachine](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-life_sciences-v2beta/latest/Google-Cloud-LifeSciences-V2beta-VirtualMachine)) --- The virtual machine specification.

### #zones

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

**Returns**

- (::Array\<::String\>) --- The list of zones allowed for VM allocation. If set, the `regions` field must not be set.

### #zones=

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

**Parameter**

- **value** (::Array\<::String\>) --- The list of zones allowed for VM allocation. If set, the `regions` field must not be set.
**Returns**

- (::Array\<::String\>) --- The list of zones allowed for VM allocation. If set, the `regions` field must not be set.