Class: Google::Apis::MigrationcenterV1::ReportSummaryVmwareNodeAllocation
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ReportSummaryVmwareNodeAllocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/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::MigrationcenterV1::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.
4415 4416 4417 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4415 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
4403 4404 4405 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4403 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
4408 4409 4410 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4408 def node_count @node_count end |
#vmware_node ⇒ Google::Apis::MigrationcenterV1::ReportSummaryVmwareNode
A VMWare Engine Node
Corresponds to the JSON property vmwareNode
4413 4414 4415 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4413 def vmware_node @vmware_node end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4420 4421 4422 4423 4424 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4420 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 |