Class MarkRecommendationClaimedRequest (2.2.0)

MarkRecommendationClaimedRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Request for the MarkRecommendationClaimed Method. .. attribute:: name

Required. Name of the recommendation.

:type: str

Attributes

NameDescription
state_metadata Sequence[google.cloud.recommender_v1beta1.types.MarkRecommendationClaimedRequest.StateMetadataEntry]
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}$/.
etag str
Required. Fingerprint of the Recommendation. Provides optimistic locking.

Classes

StateMetadataEntry

StateMetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.