Class: Google::Apis::MigrationcenterV1::ReportSummaryVmwareNodeAllocation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportSummaryVmwareNodeAllocation

Returns a new instance of ReportSummaryVmwareNodeAllocation.



4440
4441
4442
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4440

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allocated_asset_countFixnum

Count of assets allocated to these nodes Corresponds to the JSON property allocatedAssetCount

Returns:

  • (Fixnum)


4428
4429
4430
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4428

def allocated_asset_count
  @allocated_asset_count
end

#node_countFixnum

Count of this node type to be provisioned Corresponds to the JSON property nodeCount

Returns:

  • (Fixnum)


4433
4434
4435
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4433

def node_count
  @node_count
end

#vmware_nodeGoogle::Apis::MigrationcenterV1::ReportSummaryVmwareNode

A VMWare Engine Node Corresponds to the JSON property vmwareNode



4438
4439
4440
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4438

def vmware_node
  @vmware_node
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4445
4446
4447
4448
4449
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4445

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