Class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationInsightReference
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationInsightReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recommender_v1/classes.rb,
lib/google/apis/recommender_v1/representations.rb,
lib/google/apis/recommender_v1/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) ⇒ GoogleCloudRecommenderV1RecommendationInsightReference
constructor
A new instance of GoogleCloudRecommenderV1RecommendationInsightReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1RecommendationInsightReference
Returns a new instance of GoogleCloudRecommenderV1RecommendationInsightReference.
777 778 779 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 777 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
775 776 777 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 775 def insight @insight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
782 783 784 |
# File 'lib/google/apis/recommender_v1/classes.rb', line 782 def update!(**args) @insight = args[:insight] if args.key?(:insight) end |