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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/recommender_v1beta1/classes.rb,
generated/google/apis/recommender_v1beta1/representations.rb,
generated/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.



579
580
581
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 579

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



577
578
579
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 577

def operation_groups
  @operation_groups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



584
585
586
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 584

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