Recommender V1 API - Class Google::Cloud::Recommender::V1::MarkRecommendationClaimedRequest (v1.4.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

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

#etag=

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

#name

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

#name=

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

#state_metadata

defstate_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=

defstate_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}$/.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.