# Recommender V1 API - Class Google::Cloud::Recommender::V1::MarkRecommendationFailedRequest (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.6 Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::MarkRecommendationFailedRequest.

Request for the `MarkRecommendationFailed` 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}$/`.