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.
906 907 908 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 906 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
899 900 901 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 899 def operation_groups @operation_groups end |
#overview ⇒ Hash<String,Object>
Condensed overview information about the recommendation.
Corresponds to the JSON property overview
904 905 906 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 904 def overview @overview end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
911 912 913 914 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 911 def update!(**args) @operation_groups = args[:operation_groups] if args.key?(:operation_groups) @overview = args[:overview] if args.key?(:overview) end |