Class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineSeriesAllocation
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineSeriesAllocation
- 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
Represents a data point tracking the count of assets allocated for a specific Machine Series.
Instance Attribute Summary collapse
-
#allocated_asset_count ⇒ Fixnum
Count of assets allocated to this machine series.
-
#machine_series ⇒ Google::Apis::MigrationcenterV1alpha1::MachineSeries
A machine series, for a target product (e.g. Compute Engine, Google Cloud VMware Engine).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummaryMachineSeriesAllocation
constructor
A new instance of ReportSummaryMachineSeriesAllocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportSummaryMachineSeriesAllocation
Returns a new instance of ReportSummaryMachineSeriesAllocation.
6293 6294 6295 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6293 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allocated_asset_count ⇒ Fixnum
Count of assets allocated to this machine series.
Corresponds to the JSON property allocatedAssetCount
6285 6286 6287 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6285 def allocated_asset_count @allocated_asset_count end |
#machine_series ⇒ Google::Apis::MigrationcenterV1alpha1::MachineSeries
A machine series, for a target product (e.g. Compute Engine, Google Cloud
VMware Engine).
Corresponds to the JSON property machineSeries
6291 6292 6293 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6291 def machine_series @machine_series end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6298 6299 6300 6301 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6298 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 |