class Google::Apis::GenomicsV2alpha1::Resources

The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.

Attributes

project_id[RW]

The project ID to allocate resources in. Corresponds to the JSON property `projectId` @return [String]

regions[RW]

The list of regions allowed for VM allocation. If set, the `zones` field must not be set. Corresponds to the JSON property `regions` @return [Array<String>]

virtual_machine[RW]

Carries information about a Compute Engine VM resource. Corresponds to the JSON property `virtualMachine` @return [Google::Apis::GenomicsV2alpha1::VirtualMachine]

zones[RW]

The list of zones allowed for VM allocation. If set, the `regions` field must not be set. Corresponds to the JSON property `zones` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v2alpha1/classes.rb, line 972
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/genomics_v2alpha1/classes.rb, line 977
def update!(**args)
  @project_id = args[:project_id] if args.key?(:project_id)
  @regions = args[:regions] if args.key?(:regions)
  @virtual_machine = args[:virtual_machine] if args.key?(:virtual_machine)
  @zones = args[:zones] if args.key?(:zones)
end