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.



7099
7100
7101
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7099

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)


7092
7093
7094
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7092

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)


7097
7098
7099
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7097

def total_assets
  @total_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7104
7105
7106
7107
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7104

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