Class: Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponse
- 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
Response for for compute.regionInstances.recommendLocations.
Instance Attribute Summary collapse
-
#recommended_locations ⇒ Hash<String,Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponseRecommendationsForInstanceSpecs>
Instance count recommendations, keys are instance spec names.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionInstancesRecommendLocationsResponse
constructor
A new instance of RegionInstancesRecommendLocationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegionInstancesRecommendLocationsResponse
Returns a new instance of RegionInstancesRecommendLocationsResponse.
31574 31575 31576 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31574 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recommended_locations ⇒ Hash<String,Google::Apis::ComputeAlpha::RegionInstancesRecommendLocationsResponseRecommendationsForInstanceSpecs>
Instance count recommendations, keys are instance spec names.
Corresponds to the JSON property recommendedLocations
31572 31573 31574 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31572 def recommended_locations @recommended_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31579 31580 31581 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31579 def update!(**args) @recommended_locations = args[:recommended_locations] if args.key?(:recommended_locations) end |