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.



5967
5968
5969
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5967

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)


5960
5961
5962
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5960

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)


5965
5966
5967
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5965

def total_assets
  @total_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5972
5973
5974
5975
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5972

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