Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VolumeInfo

Returns a new instance of VolumeInfo.



1030
1031
1032
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1030

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

Instance Attribute Details

#storage_freeFixnum

Free disk space [in bytes] Corresponds to the JSON property storageFree

Returns:

  • (Fixnum)


1018
1019
1020
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1018

def storage_free
  @storage_free
end

#storage_totalFixnum

Total disk space [in bytes] Corresponds to the JSON property storageTotal

Returns:

  • (Fixnum)


1023
1024
1025
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1023

def storage_total
  @storage_total
end

#volume_idString

Volume id Corresponds to the JSON property volumeId

Returns:

  • (String)


1028
1029
1030
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1028

def volume_id
  @volume_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1035
1036
1037
1038
1039
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1035

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