Class: Google::Apis::MigrationcenterV1alpha1::ReportSummary

Inherits:
Object
  • Object
show all
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

Describes the Summary view of a Report, which contains aggregated values for all the groups and preference sets included in this Report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportSummary

Returns a new instance of ReportSummary.



3563
3564
3565
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3563

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

Instance Attribute Details

#all_assets_statsGoogle::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats

Aggregate statistics for a collection of assets. Corresponds to the JSON property allAssetsStats



3556
3557
3558
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3556

def all_assets_stats
  @all_assets_stats
end

#group_findingsArray<Google::Apis::MigrationcenterV1alpha1::ReportSummaryGroupFinding>

Findings for each Group included in this report. Corresponds to the JSON property groupFindings



3561
3562
3563
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3561

def group_findings
  @group_findings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3568
3569
3570
3571
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3568

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