Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class Resources.
The system resources for the pipeline run.
At least one zone or region must be specified or the pipeline run will fail.
Generated from protobuf message google.cloud.lifesciences.v2beta.Resources
Namespace
Google \ Cloud \ LifeSciences \ V2betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ regions |
array
The list of regions allowed for VM allocation. If set, the |
↳ zones |
array
The list of zones allowed for VM allocation. If set, the |
↳ virtual_machine |
VirtualMachine
The virtual machine specification. |
getRegions
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRegions
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getZones
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setZones
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getVirtualMachine
The virtual machine specification.
Returns | |
---|---|
Type | Description |
VirtualMachine|null |
hasVirtualMachine
clearVirtualMachine
setVirtualMachine
The virtual machine specification.
Parameter | |
---|---|
Name | Description |
var |
VirtualMachine
|
Returns | |
---|---|
Type | Description |
$this |