Class: Google::Apis::FirebasecrashlyticsV1alpha::Storage
- Inherits:
-
Object
- Object
- Google::Apis::FirebasecrashlyticsV1alpha::Storage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasecrashlytics_v1alpha/classes.rb,
lib/google/apis/firebasecrashlytics_v1alpha/representations.rb,
lib/google/apis/firebasecrashlytics_v1alpha/representations.rb
Overview
Mobile device disk/flash usage. Not reported for all devices.
Instance Attribute Summary collapse
-
#free ⇒ Fixnum
Bytes free.
-
#used ⇒ Fixnum
Bytes used.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Storage
constructor
A new instance of Storage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Storage
Returns a new instance of Storage.
1343 1344 1345 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#free ⇒ Fixnum
Bytes free.
Corresponds to the JSON property free
1336 1337 1338 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1336 def free @free end |
#used ⇒ Fixnum
Bytes used.
Corresponds to the JSON property used
1341 1342 1343 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1341 def used @used end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1348 1349 1350 1351 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1348 def update!(**args) @free = args[:free] if args.key?(:free) @used = args[:used] if args.key?(:used) end |