Class: Google::Apis::MigrationcenterV1::ReportSummaryAssetAggregateStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Aggregate statistics for a collection of assets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportSummaryAssetAggregateStats

Returns a new instance of ReportSummaryAssetAggregateStats.



3884
3885
3886
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3884

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#core_count_histogramGoogle::Apis::MigrationcenterV1::ReportSummaryHistogramChartData

A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket. Corresponds to the JSON property coreCountHistogram



3833
3834
3835
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3833

def core_count_histogram
  @core_count_histogram
end

#memory_bytes_histogramGoogle::Apis::MigrationcenterV1::ReportSummaryHistogramChartData

A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket. Corresponds to the JSON property memoryBytesHistogram



3839
3840
3841
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3839

def memory_bytes_histogram
  @memory_bytes_histogram
end

#memory_utilization_chartGoogle::Apis::MigrationcenterV1::ReportSummaryUtilizationChartData

Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets. Corresponds to the JSON property memoryUtilizationChart



3845
3846
3847
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3845

def memory_utilization_chart
  @memory_utilization_chart
end

#operating_systemGoogle::Apis::MigrationcenterV1::ReportSummaryChartData

Describes a collection of data points rendered as a Chart. Corresponds to the JSON property operatingSystem



3850
3851
3852
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3850

def operating_system
  @operating_system
end

#storage_bytes_histogramGoogle::Apis::MigrationcenterV1::ReportSummaryHistogramChartData

A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket. Corresponds to the JSON property storageBytesHistogram



3856
3857
3858
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3856

def storage_bytes_histogram
  @storage_bytes_histogram
end

#storage_utilization_chartGoogle::Apis::MigrationcenterV1::ReportSummaryUtilizationChartData

Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets. Corresponds to the JSON property storageUtilizationChart



3862
3863
3864
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3862

def storage_utilization_chart
  @storage_utilization_chart
end

#total_assetsFixnum

Count of the number of unique assets in this collection. Corresponds to the JSON property totalAssets

Returns:

  • (Fixnum)


3867
3868
3869
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3867

def total_assets
  @total_assets
end

#total_coresFixnum

Sum of the CPU core count of all the assets in this collection. Corresponds to the JSON property totalCores

Returns:

  • (Fixnum)


3872
3873
3874
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3872

def total_cores
  @total_cores
end

#total_memory_bytesFixnum

Sum of the memory in bytes of all the assets in this collection. Corresponds to the JSON property totalMemoryBytes

Returns:

  • (Fixnum)


3877
3878
3879
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3877

def total_memory_bytes
  @total_memory_bytes
end

#total_storage_bytesFixnum

Sum of persistent storage in bytes of all the assets in this collection. Corresponds to the JSON property totalStorageBytes

Returns:

  • (Fixnum)


3882
3883
3884
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3882

def total_storage_bytes
  @total_storage_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3889

def update!(**args)
  @core_count_histogram = args[:core_count_histogram] if args.key?(:core_count_histogram)
  @memory_bytes_histogram = args[:memory_bytes_histogram] if args.key?(:memory_bytes_histogram)
  @memory_utilization_chart = args[:memory_utilization_chart] if args.key?(:memory_utilization_chart)
  @operating_system = args[:operating_system] if args.key?(:operating_system)
  @storage_bytes_histogram = args[:storage_bytes_histogram] if args.key?(:storage_bytes_histogram)
  @storage_utilization_chart = args[:storage_utilization_chart] if args.key?(:storage_utilization_chart)
  @total_assets = args[:total_assets] if args.key?(:total_assets)
  @total_cores = args[:total_cores] if args.key?(:total_cores)
  @total_memory_bytes = args[:total_memory_bytes] if args.key?(:total_memory_bytes)
  @total_storage_bytes = args[:total_storage_bytes] if args.key?(:total_storage_bytes)
end