Class: Google::Apis::MigrationcenterV1::ReportSummaryMachineSeriesAllocation

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

Represents a data point tracking the count of assets allocated for a specific Machine Series.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportSummaryMachineSeriesAllocation

Returns a new instance of ReportSummaryMachineSeriesAllocation.



3981
3982
3983
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3981

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

Instance Attribute Details

#allocated_asset_countFixnum

Count of assets allocated to this machine series. Corresponds to the JSON property allocatedAssetCount

Returns:

  • (Fixnum)


3974
3975
3976
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3974

def allocated_asset_count
  @allocated_asset_count
end

#machine_seriesGoogle::Apis::MigrationcenterV1::MachineSeries

A Compute Engine machine series. Corresponds to the JSON property machineSeries



3979
3980
3981
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3979

def machine_series
  @machine_series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3986
3987
3988
3989
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3986

def update!(**args)
  @allocated_asset_count = args[:allocated_asset_count] if args.key?(:allocated_asset_count)
  @machine_series = args[:machine_series] if args.key?(:machine_series)
end