Class: Google::Apis::FirebasecrashlyticsV1alpha::Memory

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 memory usage.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#freeFixnum

Bytes free. Corresponds to the JSON property free

Returns:

  • (Fixnum)


1059
1060
1061
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1059

def free
  @free
end

#usedFixnum

Bytes in use. Corresponds to the JSON property used

Returns:

  • (Fixnum)


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