Class: Google::Apis::MigrationcenterV1::ReportSummarySoleTenantFinding
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ReportSummarySoleTenantFinding
- 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
A set of findings that applies to assets destined for Sole-Tenant nodes.
Instance Attribute Summary collapse
-
#allocated_asset_count ⇒ Fixnum
Count of assets which are allocated Corresponds to the JSON property
allocatedAssetCount
. -
#allocated_regions ⇒ Array<String>
Set of regions in which the assets are allocated Corresponds to the JSON property
allocatedRegions
. -
#node_allocations ⇒ Array<Google::Apis::MigrationcenterV1::ReportSummarySoleTenantNodeAllocation>
Set of per-nodetype allocation records Corresponds to the JSON property
nodeAllocations
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummarySoleTenantFinding
constructor
A new instance of ReportSummarySoleTenantFinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportSummarySoleTenantFinding
Returns a new instance of ReportSummarySoleTenantFinding.
4300 4301 4302 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allocated_asset_count ⇒ Fixnum
Count of assets which are allocated
Corresponds to the JSON property allocatedAssetCount
4288 4289 4290 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4288 def allocated_asset_count @allocated_asset_count end |
#allocated_regions ⇒ Array<String>
Set of regions in which the assets are allocated
Corresponds to the JSON property allocatedRegions
4293 4294 4295 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4293 def allocated_regions @allocated_regions end |
#node_allocations ⇒ Array<Google::Apis::MigrationcenterV1::ReportSummarySoleTenantNodeAllocation>
Set of per-nodetype allocation records
Corresponds to the JSON property nodeAllocations
4298 4299 4300 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4298 def node_allocations @node_allocations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4305 4306 4307 4308 4309 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4305 def update!(**args) @allocated_asset_count = args[:allocated_asset_count] if args.key?(:allocated_asset_count) @allocated_regions = args[:allocated_regions] if args.key?(:allocated_regions) @node_allocations = args[:node_allocations] if args.key?(:node_allocations) end |