Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
- 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
Request for the MarkRecommendationDismissed
Method.
Instance Attribute Summary collapse
-
#etag ⇒ String
Fingerprint of the Recommendation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
constructor
A new instance of GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
Returns a new instance of GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest.
586 587 588 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 586 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Fingerprint of the Recommendation. Provides optimistic locking.
Corresponds to the JSON property etag
584 585 586 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 584 def etag @etag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
591 592 593 |
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 591 def update!(**args) @etag = args[:etag] if args.key?(:etag) end |