Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo
- 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
-
#available_disk_bytes ⇒ Fixnum
The available space for user data storage in the device in bytes.
-
#total_disk_bytes ⇒ Fixnum
The total space for user data storage in the device in bytes.
-
#volume ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume>
Information for disk volumes Corresponds to the JSON property
volume.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1StorageInfo
constructor
A new instance of GoogleChromeManagementV1StorageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1StorageInfo
Returns a new instance of GoogleChromeManagementV1StorageInfo.
1409 1410 1411 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_disk_bytes ⇒ Fixnum
The available space for user data storage in the device in bytes.
Corresponds to the JSON property availableDiskBytes
1397 1398 1399 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1397 def available_disk_bytes @available_disk_bytes end |
#total_disk_bytes ⇒ Fixnum
The total space for user data storage in the device in bytes.
Corresponds to the JSON property totalDiskBytes
1402 1403 1404 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1402 def total_disk_bytes @total_disk_bytes end |
#volume ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume>
Information for disk volumes
Corresponds to the JSON property volume
1407 1408 1409 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1407 def volume @volume end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1414 1415 1416 1417 1418 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1414 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 |