Class: Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponseRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponseRecommendation
- 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_count ⇒ Fixnum
Count of instances recommended.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionInstancesRecommendLocationsResponseRecommendation
constructor
A new instance of RegionInstancesRecommendLocationsResponseRecommendation.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_count ⇒ Fixnum
Count of instances recommended.
Corresponds to the JSON property instanceCount
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 |