Class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryDatabaseFinding
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ReportSummaryDatabaseFinding
- 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
-
#allocated_asset_count ⇒ Fixnum
Output only.
-
#total_assets ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummaryDatabaseFinding
constructor
A new instance of ReportSummaryDatabaseFinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_count ⇒ Fixnum
Output only. Number of database assets which were successfully assigned in
this finding.
Corresponds to the JSON property allocatedAssetCount
7092 7093 7094 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7092 def allocated_asset_count @allocated_asset_count end |
#total_assets ⇒ Fixnum
Output only. Number of database assets in this finding.
Corresponds to the JSON property totalAssets
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 |