Class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineFinding
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineFinding
- 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
A set of findings that applies to assets of type Virtual/Physical Machine.
Instance Attribute Summary collapse
-
#allocated_asset_count ⇒ Fixnum
Count of assets which were allocated.
-
#allocated_disk_types ⇒ Array<String>
Set of disk types allocated to assets.
-
#allocated_regions ⇒ Array<String>
Set of regions in which the assets were allocated.
-
#machine_series_allocations ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineSeriesAllocation>
Distribution of assets based on the Machine Series.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummaryMachineFinding
constructor
A new instance of ReportSummaryMachineFinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportSummaryMachineFinding
Returns a new instance of ReportSummaryMachineFinding.
3839 3840 3841 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allocated_asset_count ⇒ Fixnum
Count of assets which were allocated.
Corresponds to the JSON property allocatedAssetCount
3822 3823 3824 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3822 def allocated_asset_count @allocated_asset_count end |
#allocated_disk_types ⇒ Array<String>
Set of disk types allocated to assets.
Corresponds to the JSON property allocatedDiskTypes
3827 3828 3829 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3827 def allocated_disk_types @allocated_disk_types end |
#allocated_regions ⇒ Array<String>
Set of regions in which the assets were allocated.
Corresponds to the JSON property allocatedRegions
3832 3833 3834 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3832 def allocated_regions @allocated_regions end |
#machine_series_allocations ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineSeriesAllocation>
Distribution of assets based on the Machine Series.
Corresponds to the JSON property machineSeriesAllocations
3837 3838 3839 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3837 def machine_series_allocations @machine_series_allocations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3844 3845 3846 3847 3848 3849 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3844 def update!(**args) @allocated_asset_count = args[:allocated_asset_count] if args.key?(:allocated_asset_count) @allocated_disk_types = args[:allocated_disk_types] if args.key?(:allocated_disk_types) @allocated_regions = args[:allocated_regions] if args.key?(:allocated_regions) @machine_series_allocations = args[:machine_series_allocations] if args.key?(:machine_series_allocations) end |