class Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest
Request for the `MarkInsightAccepted` method.
Attributes
etag[RW]
Required. Fingerprint of the Insight. Provides optimistic locking. Corresponds to the JSON property `etag` @return [String]
state_metadata[RW]
Optional. State properties user wish to include with this state. Full replace of the current state_metadata. Corresponds to the JSON property `stateMetadata` @return [Hash<String,String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/recommender_v1beta1/classes.rb, line 283 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/recommender_v1beta1/classes.rb, line 288 def update!(**args) @etag = args[:etag] if args.key?(:etag) @state_metadata = args[:state_metadata] if args.key?(:state_metadata) end