Class: Google::Apis::GenomicsV1::ComputeEngine

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb

Overview

Describes a Compute Engine resource that is being managed by a running pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ComputeEngine

Returns a new instance of ComputeEngine



2593
2594
2595
# File 'generated/google/apis/genomics_v1/classes.rb', line 2593

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disk_namesArray<String>

The names of the disks that were created for this pipeline. Corresponds to the JSON property diskNames

Returns:

  • (Array<String>)


2581
2582
2583
# File 'generated/google/apis/genomics_v1/classes.rb', line 2581

def disk_names
  @disk_names
end

#instance_nameString

The instance on which the operation is running. Corresponds to the JSON property instanceName

Returns:

  • (String)


2586
2587
2588
# File 'generated/google/apis/genomics_v1/classes.rb', line 2586

def instance_name
  @instance_name
end

#machine_typeString

The machine type of the instance. Corresponds to the JSON property machineType

Returns:

  • (String)


2576
2577
2578
# File 'generated/google/apis/genomics_v1/classes.rb', line 2576

def machine_type
  @machine_type
end

#zoneString

The availability zone in which the instance resides. Corresponds to the JSON property zone

Returns:

  • (String)


2591
2592
2593
# File 'generated/google/apis/genomics_v1/classes.rb', line 2591

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2598
2599
2600
2601
2602
2603
# File 'generated/google/apis/genomics_v1/classes.rb', line 2598

def update!(**args)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
  @disk_names = args[:disk_names] if args.key?(:disk_names)
  @instance_name = args[:instance_name] if args.key?(:instance_name)
  @zone = args[:zone] if args.key?(:zone)
end