Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationInsightReference
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationInsightReference
- 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
Reference to an associated insight.
Instance Attribute Summary collapse
-
#insight ⇒ String
Insight resource name, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1RecommendationInsightReference
constructor
A new instance of GoogleCloudRecommenderV1beta1RecommendationInsightReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1RecommendationInsightReference
Returns a new instance of GoogleCloudRecommenderV1beta1RecommendationInsightReference.
625 626 627 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 625 def initialize(**args) update!(**args) end |
Instance Attribute Details
#insight ⇒ String
Insight resource name, e.g.
projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/
insights/[INSIGHT_ID]
Corresponds to the JSON property insight
623 624 625 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 623 def insight @insight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
630 631 632 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 630 def update!(**args) @insight = args[:insight] if args.key?(:insight) end |