Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb
Instance Attribute Summary collapse
-
#storage_free ⇒ Fixnum
Free disk space [in bytes] Corresponds to the JSON property
storageFree
. -
#storage_total ⇒ Fixnum
Total disk space [in bytes] Corresponds to the JSON property
storageTotal
. -
#volume_id ⇒ String
Volume id Corresponds to the JSON property
volumeId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VolumeInfo
constructor
A new instance of VolumeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VolumeInfo
Returns a new instance of VolumeInfo
1020 1021 1022 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#storage_free ⇒ Fixnum
Free disk space [in bytes]
Corresponds to the JSON property storageFree
1008 1009 1010 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1008 def storage_free @storage_free end |
#storage_total ⇒ Fixnum
Total disk space [in bytes]
Corresponds to the JSON property storageTotal
1013 1014 1015 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1013 def storage_total @storage_total end |
#volume_id ⇒ String
Volume id
Corresponds to the JSON property volumeId
1018 1019 1020 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1018 def volume_id @volume_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1025 1026 1027 1028 1029 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1025 def update!(**args) @storage_free = args[:storage_free] if args.key?(:storage_free) @storage_total = args[:storage_total] if args.key?(:storage_total) @volume_id = args[:volume_id] if args.key?(:volume_id) end |