Class: Google::Apis::GenomicsV2alpha1::WorkerStatus
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GenomicsV2alpha1::WorkerStatus
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/genomics_v2alpha1/classes.rb,
generated/google/apis/genomics_v2alpha1/representations.rb,
generated/google/apis/genomics_v2alpha1/representations.rb 
Overview
The status of the worker VM.
Instance Attribute Summary collapse
- 
  
    
      #attached_disks  ⇒ Hash<String,Google::Apis::GenomicsV2alpha1::DiskStatus> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Status of attached disks.
 - 
  
    
      #boot_disk  ⇒ Google::Apis::GenomicsV2alpha1::DiskStatus 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The status of a disk on a VM.
 - 
  
    
      #free_ram_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Free RAM.
 - 
  
    
      #total_ram_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total RAM.
 - 
  
    
      #uptime_seconds  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
System uptime.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WorkerStatus 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WorkerStatus.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WorkerStatus
Returns a new instance of WorkerStatus
      1540 1541 1542  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1540 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#attached_disks ⇒ Hash<String,Google::Apis::GenomicsV2alpha1::DiskStatus>
Status of attached disks.
Corresponds to the JSON property attachedDisks
      1518 1519 1520  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1518 def attached_disks @attached_disks end  | 
  
#boot_disk ⇒ Google::Apis::GenomicsV2alpha1::DiskStatus
The status of a disk on a VM.
Corresponds to the JSON property bootDisk
      1523 1524 1525  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1523 def boot_disk @boot_disk end  | 
  
#free_ram_bytes ⇒ Fixnum
Free RAM.
Corresponds to the JSON property freeRamBytes
      1528 1529 1530  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1528 def free_ram_bytes @free_ram_bytes end  | 
  
#total_ram_bytes ⇒ Fixnum
Total RAM.
Corresponds to the JSON property totalRamBytes
      1533 1534 1535  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1533 def total_ram_bytes @total_ram_bytes end  | 
  
#uptime_seconds ⇒ Fixnum
System uptime.
Corresponds to the JSON property uptimeSeconds
      1538 1539 1540  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1538 def uptime_seconds @uptime_seconds end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1545 1546 1547 1548 1549 1550 1551  | 
    
      # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1545 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  |