class Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest

Request for the `MarkRecommendationClaimed` Method.

Attributes

etag[RW]

Required. Fingerprint of the Recommendation. Provides optimistic locking. Corresponds to the JSON property `etag` @return [String]

state_metadata[RW]

State properties to include with this state. Overwrites any existing ` state_metadata`. Keys must match the regex /^a-z0-9`0,62`$/. Values must match the regex /^[a-zA-Z0-9_./-]`0,255`$/. 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 310
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 315
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @state_metadata = args[:state_metadata] if args.key?(:state_metadata)
end