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 GetRecommendationRequest : IMessage<GetRecommendationRequest>, IEquatable<GetRecommendationRequest>, IDeepCloneable<GetRecommendationRequest>, IBufferMessage, IMessage

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

Request to the `GetRecommendation` method.

## Inheritance

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

## Implements

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

## 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.md.txt)

## Assembly

Google.Cloud.Recommender.V1.dll

## Constructors

### GetRecommendationRequest()

    public GetRecommendationRequest()

### GetRecommendationRequest(GetRecommendationRequest)

    public GetRecommendationRequest(GetRecommendationRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetRecommendationRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. Name of the recommendation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.GetRecommendationRequest.md.txt#Google_Cloud_Recommender_V1_GetRecommendationRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RecommendationName` |   |