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.



5367
5368
5369
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5367

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)


5360
5361
5362
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5360

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)


5365
5366
5367
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5365

def total_assets
  @total_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5372
5373
5374
5375
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5372

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