Class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryDatabaseFinding

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

DatabaseFinding contains an aggregate costs and shapes for a single database type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportSummaryDatabaseFinding

Returns a new instance of ReportSummaryDatabaseFinding.



5663
5664
5665
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5663

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

Instance Attribute Details

#allocated_asset_countFixnum

Output only. Number of database assets which were successfully assigned in this finding. Corresponds to the JSON property allocatedAssetCount

Returns:

  • (Fixnum)


5656
5657
5658
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5656

def allocated_asset_count
  @allocated_asset_count
end

#total_assetsFixnum

Output only. Number of database assets in this finding. Corresponds to the JSON property totalAssets

Returns:

  • (Fixnum)


5661
5662
5663
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5661

def total_assets
  @total_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5668
5669
5670
5671
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5668

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