Class: Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponseRecommendation

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Instance count recommendation for a single zone.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionInstancesRecommendLocationsResponseRecommendation

Returns a new instance of RegionInstancesRecommendLocationsResponseRecommendation.



31593
31594
31595
# File 'lib/google/apis/compute_alpha/classes.rb', line 31593

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

Instance Attribute Details

#instance_countFixnum

Count of instances recommended. Corresponds to the JSON property instanceCount

Returns:

  • (Fixnum)


31591
31592
31593
# File 'lib/google/apis/compute_alpha/classes.rb', line 31591

def instance_count
  @instance_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31598
31599
31600
# File 'lib/google/apis/compute_alpha/classes.rb', line 31598

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