Class: Google::Apis::MigrationcenterV1::ReportSummarySoleTenantNodeAllocation

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 the assets allocated to a specific Sole-Tenant node type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportSummarySoleTenantNodeAllocation

Returns a new instance of ReportSummarySoleTenantNodeAllocation.



4042
4043
4044
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4042

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)


4030
4031
4032
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4030

def allocated_asset_count
  @allocated_asset_count
end

#nodeGoogle::Apis::MigrationcenterV1::SoleTenantNodeType

A Sole Tenant node type. Corresponds to the JSON property node



4035
4036
4037
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4035

def node
  @node
end

#node_countFixnum

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

Returns:

  • (Fixnum)


4040
4041
4042
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4040

def node_count
  @node_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4047
4048
4049
4050
4051
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4047

def update!(**args)
  @allocated_asset_count = args[:allocated_asset_count] if args.key?(:allocated_asset_count)
  @node = args[:node] if args.key?(:node)
  @node_count = args[:node_count] if args.key?(:node_count)
end