Class: Google::Apis::FirebasecrashlyticsV1alpha::Memory
- Inherits:
-
Object
- Object
- Google::Apis::FirebasecrashlyticsV1alpha::Memory
- 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 memory usage.
Instance Attribute Summary collapse
-
#free ⇒ Fixnum
Bytes free.
-
#used ⇒ Fixnum
Bytes in use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Memory
constructor
A new instance of Memory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Memory
Returns a new instance of Memory.
1066 1067 1068 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#free ⇒ Fixnum
Bytes free.
Corresponds to the JSON property free
1059 1060 1061 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1059 def free @free end |
#used ⇒ Fixnum
Bytes in use.
Corresponds to the JSON property used
1064 1065 1066 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1064 def used @used end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1071 1072 1073 1074 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1071 def update!(**args) @free = args[:free] if args.key?(:free) @used = args[:used] if args.key?(:used) end |