Class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryVmWareNodeAllocation
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ReportSummaryVmWareNodeAllocation
- 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
Represents assets allocated to a specific VMWare Node type.
Instance Attribute Summary collapse
-
#allocated_asset_count ⇒ Fixnum
Count of assets allocated to these nodes Corresponds to the JSON property
allocatedAssetCount. -
#node_count ⇒ Fixnum
Count of this node type to be provisioned Corresponds to the JSON property
nodeCount. -
#vmware_node ⇒ Google::Apis::MigrationcenterV1alpha1::ReportSummaryVmWareNode
A VMWare Engine Node Corresponds to the JSON property
vmwareNode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportSummaryVmWareNodeAllocation
constructor
A new instance of ReportSummaryVmWareNodeAllocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportSummaryVmWareNodeAllocation
Returns a new instance of ReportSummaryVmWareNodeAllocation.
6463 6464 6465 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allocated_asset_count ⇒ Fixnum
Count of assets allocated to these nodes
Corresponds to the JSON property allocatedAssetCount
6451 6452 6453 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6451 def allocated_asset_count @allocated_asset_count end |
#node_count ⇒ Fixnum
Count of this node type to be provisioned
Corresponds to the JSON property nodeCount
6456 6457 6458 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6456 def node_count @node_count end |
#vmware_node ⇒ Google::Apis::MigrationcenterV1alpha1::ReportSummaryVmWareNode
A VMWare Engine Node
Corresponds to the JSON property vmwareNode
6461 6462 6463 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6461 def vmware_node @vmware_node end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6468 6469 6470 6471 6472 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6468 def update!(**args) @allocated_asset_count = args[:allocated_asset_count] if args.key?(:allocated_asset_count) @node_count = args[:node_count] if args.key?(:node_count) @vmware_node = args[:vmware_node] if args.key?(:vmware_node) end |