Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightRecommendationReference
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightRecommendationReference
- 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 recommendation.
Instance Attribute Summary collapse
-
#recommendation ⇒ String
Recommendation resource name, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1InsightRecommendationReference
constructor
A new instance of GoogleCloudRecommenderV1beta1InsightRecommendationReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1InsightRecommendationReference
Returns a new instance of GoogleCloudRecommenderV1beta1InsightRecommendationReference.
169 170 171 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recommendation ⇒ String
Recommendation resource name, e.g. projects/[PROJECT_NUMBER]/locations/[
LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
Corresponds to the JSON property recommendation
167 168 169 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 167 def recommendation @recommendation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
174 175 176 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 174 def update!(**args) @recommendation = args[:recommendation] if args.key?(:recommendation) end |