Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume
- 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
Information for disk volumes
Instance Attribute Summary collapse
-
#storage_free_bytes ⇒ Fixnum
Free storage space in bytes.
-
#storage_total_bytes ⇒ Fixnum
Total storage space in bytes.
-
#volume_id ⇒ String
Disk volume id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1StorageInfoDiskVolume
constructor
A new instance of GoogleChromeManagementV1StorageInfoDiskVolume.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1StorageInfoDiskVolume
Returns a new instance of GoogleChromeManagementV1StorageInfoDiskVolume.
3138 3139 3140 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#storage_free_bytes ⇒ Fixnum
Free storage space in bytes.
Corresponds to the JSON property storageFreeBytes
3126 3127 3128 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3126 def storage_free_bytes @storage_free_bytes end |
#storage_total_bytes ⇒ Fixnum
Total storage space in bytes.
Corresponds to the JSON property storageTotalBytes
3131 3132 3133 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3131 def storage_total_bytes @storage_total_bytes end |
#volume_id ⇒ String
Disk volume id.
Corresponds to the JSON property volumeId
3136 3137 3138 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3136 def volume_id @volume_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3143 3144 3145 3146 3147 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3143 def update!(**args) @storage_free_bytes = args[:storage_free_bytes] if args.key?(:storage_free_bytes) @storage_total_bytes = args[:storage_total_bytes] if args.key?(:storage_total_bytes) @volume_id = args[:volume_id] if args.key?(:volume_id) end |