Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationContent
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationContent
- 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
-
#operation_groups ⇒ Array<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.
-
#overview ⇒ Hash<String,Object>
Condensed overview information about the recommendation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1RecommendationContent
constructor
A new instance of GoogleCloudRecommenderV1beta1RecommendationContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1RecommendationContent
Returns a new instance of GoogleCloudRecommenderV1beta1RecommendationContent.
892 893 894 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 892 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation_groups ⇒ Array<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
885 886 887 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 885 def operation_groups @operation_groups end |
#overview ⇒ Hash<String,Object>
Condensed overview information about the recommendation.
Corresponds to the JSON property overview
890 891 892 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 890 def overview @overview end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
897 898 899 900 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 897 def update!(**args) @operation_groups = args[:operation_groups] if args.key?(:operation_groups) @overview = args[:overview] if args.key?(:overview) end |