Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo

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

Overview

Status data for storage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1StorageInfo

Returns a new instance of GoogleChromeManagementV1StorageInfo.



1722
1723
1724
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1722

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

Instance Attribute Details

#available_disk_bytesFixnum

The available space for user data storage in the device in bytes. Corresponds to the JSON property availableDiskBytes

Returns:

  • (Fixnum)


1710
1711
1712
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1710

def available_disk_bytes
  @available_disk_bytes
end

#total_disk_bytesFixnum

The total space for user data storage in the device in bytes. Corresponds to the JSON property totalDiskBytes

Returns:

  • (Fixnum)


1715
1716
1717
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1715

def total_disk_bytes
  @total_disk_bytes
end

#volumeArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume>

Information for disk volumes Corresponds to the JSON property volume



1720
1721
1722
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1720

def volume
  @volume
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1727
1728
1729
1730
1731
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1727

def update!(**args)
  @available_disk_bytes = args[:available_disk_bytes] if args.key?(:available_disk_bytes)
  @total_disk_bytes = args[:total_disk_bytes] if args.key?(:total_disk_bytes)
  @volume = args[:volume] if args.key?(:volume)
end