Class: Google::Apis::GenomicsV2alpha1::DiskStatus
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::DiskStatus
- 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 a disk on a VM.
Instance Attribute Summary collapse
-
#free_space_bytes ⇒ Fixnum
Free disk space.
-
#total_space_bytes ⇒ Fixnum
Total disk space.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskStatus
constructor
A new instance of DiskStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DiskStatus
Returns a new instance of DiskStatus
533 534 535 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#free_space_bytes ⇒ Fixnum
Free disk space.
Corresponds to the JSON property freeSpaceBytes
526 527 528 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 526 def free_space_bytes @free_space_bytes end |
#total_space_bytes ⇒ Fixnum
Total disk space.
Corresponds to the JSON property totalSpaceBytes
531 532 533 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 531 def total_space_bytes @total_space_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
538 539 540 541 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 538 def update!(**args) @free_space_bytes = args[:free_space_bytes] if args.key?(:free_space_bytes) @total_space_bytes = args[:total_space_bytes] if args.key?(:total_space_bytes) end |