class Google::Apis::GenomicsV2alpha1::WorkerStatus

The status of the worker VM.

Attributes

attached_disks[RW]

Status of attached disks. Corresponds to the JSON property `attachedDisks` @return [Hash<String,Google::Apis::GenomicsV2alpha1::DiskStatus>]

boot_disk[RW]

The status of a disk on a VM. Corresponds to the JSON property `bootDisk` @return [Google::Apis::GenomicsV2alpha1::DiskStatus]

free_ram_bytes[RW]

Free RAM. Corresponds to the JSON property `freeRamBytes` @return [Fixnum]

total_ram_bytes[RW]

Total RAM. Corresponds to the JSON property `totalRamBytes` @return [Fixnum]

uptime_seconds[RW]

System uptime. Corresponds to the JSON property `uptimeSeconds` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v2alpha1/classes.rb, line 1461
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 1466
def update!(**args)
  @attached_disks = args[:attached_disks] if args.key?(:attached_disks)
  @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
  @free_ram_bytes = args[:free_ram_bytes] if args.key?(:free_ram_bytes)
  @total_ram_bytes = args[:total_ram_bytes] if args.key?(:total_ram_bytes)
  @uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds)
end