Class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryUtilizationChartData
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ReportSummaryUtilizationChartData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets.
Instance Attribute Summary collapse
-
#free ⇒ Fixnum
Aggregate value which falls into the "Free" bucket.
-
#used ⇒ Fixnum
Aggregate value which falls into the "Used" bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummaryUtilizationChartData
constructor
A new instance of ReportSummaryUtilizationChartData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportSummaryUtilizationChartData
Returns a new instance of ReportSummaryUtilizationChartData.
7923 7924 7925 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7923 def initialize(**args) update!(**args) end |
Instance Attribute Details
#free ⇒ Fixnum
Aggregate value which falls into the "Free" bucket.
Corresponds to the JSON property free
7916 7917 7918 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7916 def free @free end |
#used ⇒ Fixnum
Aggregate value which falls into the "Used" bucket.
Corresponds to the JSON property used
7921 7922 7923 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7921 def used @used end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7928 7929 7930 7931 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7928 def update!(**args) @free = args[:free] if args.key?(:free) @used = args[:used] if args.key?(:used) end |