Class MarkRecommendationFailedRequest (2.8.0)

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

Request for the MarkRecommendationFailed Method.

Attributes

NameDescription
name str
Required. Name of the recommendation.
state_metadata Mapping[str, str]
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.

Inheritance

builtins.object > proto.message.Message > MarkRecommendationFailedRequest

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.