# Google Cloud Recommender v1 API - Class MarkRecommendationFailedRequest (3.9.0)

3.9.0 (latest) 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.8.0 2.7.0 2.6.0 2.5.0

    public sealed class MarkRecommendationFailedRequest : IMessage<MarkRecommendationFailedRequest>, IEquatable<MarkRecommendationFailedRequest>, IDeepCloneable<MarkRecommendationFailedRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Recommender v1 API class MarkRecommendationFailedRequest.

Request for the `MarkRecommendationFailed` Method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> MarkRecommendationFailedRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MarkRecommendationFailedRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.MarkRecommendationFailedRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MarkRecommendationFailedRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.MarkRecommendationFailedRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MarkRecommendationFailedRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.MarkRecommendationFailedRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Recommender.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1)

## Assembly

Google.Cloud.Recommender.V1.dll

## Constructors

### MarkRecommendationFailedRequest()

    public MarkRecommendationFailedRequest()

### MarkRecommendationFailedRequest(MarkRecommendationFailedRequest)

    public MarkRecommendationFailedRequest(MarkRecommendationFailedRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.MarkRecommendationFailedRequest` |

## Properties

### Etag

    public string Etag { get; set; }

Required. Fingerprint of the Recommendation. Provides optimistic locking.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

Required. Name of the recommendation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RecommendationName

    public RecommendationName RecommendationName { get; set; }

[RecommendationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.RecommendationName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.MarkRecommendationFailedRequest#Google_Cloud_Recommender_V1_MarkRecommendationFailedRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.RecommendationName` |   |

### StateMetadata

    public MapField<string, string> StateMetadata { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |