Class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationDismissedRequest

Inherits:
Object
  • Object
show all
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

Request for the MarkRecommendationDismissed Method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommenderV1MarkRecommendationDismissedRequest

Returns a new instance of GoogleCloudRecommenderV1MarkRecommendationDismissedRequest.



436
437
438
# File 'lib/google/apis/recommender_v1/classes.rb', line 436

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

Fingerprint of the Recommendation. Provides optimistic locking. Corresponds to the JSON property etag

Returns:

  • (String)


434
435
436
# File 'lib/google/apis/recommender_v1/classes.rb', line 434

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



441
442
443
# File 'lib/google/apis/recommender_v1/classes.rb', line 441

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