Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationContent

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

Overview

Contains what resources are changing and how they are changing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1RecommendationContent

Returns a new instance of GoogleCloudRecommenderV1beta1RecommendationContent.



820
821
822
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 820

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

Instance Attribute Details

#operation_groupsArray<Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1OperationGroup>

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order. Corresponds to the JSON property operationGroups



813
814
815
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 813

def operation_groups
  @operation_groups
end

#overviewHash<String,Object>

Condensed overview information about the recommendation. Corresponds to the JSON property overview

Returns:

  • (Hash<String,Object>)


818
819
820
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 818

def overview
  @overview
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



825
826
827
828
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 825

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