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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eGetRecommendationRequest\u003c/code\u003e class within the Google Cloud Recommender v1 API, detailing its usage and structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetRecommendationRequest\u003c/code\u003e class is used to send a request to the \u003ccode\u003eGetRecommendation\u003c/code\u003e method, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eRecommendationName\u003c/code\u003e (a typed view), both of which relate to the name of the recommendation being requested.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation showcases multiple versions of the API, including the latest 3.7.0 version, as well as previous versions such as 3.6.0 down to 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes documentation for the constructors, with \u003ccode\u003eGetRecommendationRequest()\u003c/code\u003e being the main one, and the parameter \u003ccode\u003eother\u003c/code\u003e if you want to build a request object based on another \u003ccode\u003eGetRecommendationRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Recommender v1 API - Class GetRecommendationRequest (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.6.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.5.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.4.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.3.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.2.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.1.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.0.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.8.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.7.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.6.0/Google.Cloud.Recommender.V1.GetRecommendationRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.5.0/Google.Cloud.Recommender.V1.GetRecommendationRequest) \n\n public sealed class GetRecommendationRequest : IMessage\u003cGetRecommendationRequest\u003e, IEquatable\u003cGetRecommendationRequest\u003e, IDeepCloneable\u003cGetRecommendationRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Recommender v1 API class GetRecommendationRequest.\n\nRequest to the `GetRecommendation` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetRecommendationRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetRecommendationRequest](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.GetRecommendationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetRecommendationRequest](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.GetRecommendationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetRecommendationRequest](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.GetRecommendationRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Recommender.V1](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Recommender.V1.dll\n\nConstructors\n------------\n\n### GetRecommendationRequest()\n\n public GetRecommendationRequest()\n\n### GetRecommendationRequest(GetRecommendationRequest)\n\n public GetRecommendationRequest(GetRecommendationRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the recommendation.\n\n### RecommendationName\n\n public RecommendationName RecommendationName { get; set; }\n\n[RecommendationName](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.RecommendationName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.GetRecommendationRequest#Google_Cloud_Recommender_V1_GetRecommendationRequest_Name) resource name property."]]