Recommender V1 API - Class Google::Cloud::Recommender::V1::MarkRecommendationClaimedRequest (v1.0.0)

Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::MarkRecommendationClaimedRequest.

Request for the MarkRecommendationClaimed Method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Required. Fingerprint of the Recommendation. Provides optimistic locking.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Required. Fingerprint of the Recommendation. Provides optimistic locking.
Returns
  • (::String) — Required. Fingerprint of the Recommendation. Provides optimistic locking.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the recommendation.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the recommendation.
Returns
  • (::String) — Required. Name of the recommendation.

#state_metadata

def state_metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.

#state_metadata=

def state_metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.