Class: Google::Apis::ComputeAlpha::CalendarModeRecommendation

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

A single recommendation to create requested resources. Contains detailed recommendations for every future resources specification specified in CalendarModeAdviceRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CalendarModeRecommendation

Returns a new instance of CalendarModeRecommendation.



7150
7151
7152
# File 'lib/google/apis/compute_alpha/classes.rb', line 7150

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

Instance Attribute Details

#recommendations_per_specHash<String,Google::Apis::ComputeAlpha::FutureResourcesRecommendation>

Recommendations for every future resource specification passed in CalendarModeAdviceRequest. Keys of the map correspond to keys specified in the request. Corresponds to the JSON property recommendationsPerSpec



7148
7149
7150
# File 'lib/google/apis/compute_alpha/classes.rb', line 7148

def recommendations_per_spec
  @recommendations_per_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7155
7156
7157
# File 'lib/google/apis/compute_alpha/classes.rb', line 7155

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