Class: Google::Apis::FirebasecrashlyticsV1alpha::Storage

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#freeFixnum

Bytes free. Corresponds to the JSON property free

Returns:

  • (Fixnum)


1336
1337
1338
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1336

def free
  @free
end

#usedFixnum

Bytes used. Corresponds to the JSON property used

Returns:

  • (Fixnum)


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