public sealed class Recommendation.Types.InsightReference : IMessage<Recommendation.Types.InsightReference>, IEquatable<Recommendation.Types.InsightReference>, IDeepCloneable<Recommendation.Types.InsightReference>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Recommender v1 API class Recommendation.Types.InsightReference.
[[["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\u003eThe latest version of the Google Cloud Recommender v1 API class \u003ccode\u003eRecommendation.Types.InsightReference\u003c/code\u003e is 3.7.0, with multiple previous versions available, ranging back to 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendation.Types.InsightReference\u003c/code\u003e is a class that represents a reference to an associated insight, and it implements several interfaces including \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 \u003ccode\u003eRecommendation.Types.InsightReference\u003c/code\u003e inherits from the \u003ccode\u003eobject\u003c/code\u003e class, and has a property called \u003ccode\u003eInsight\u003c/code\u003e that can be set or retrieved, which represents the insight resource name as a string.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers reference material and code samples for the \u003ccode\u003eRecommendation.Types.InsightReference\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Recommender.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Recommender.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInsightReference\u003c/code\u003e class provides two constructors, one default and one that creates a new instance by copying an existing \u003ccode\u003eInsightReference\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Recommender v1 API - Class Recommendation.Types.InsightReference (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.Recommendation.Types.InsightReference)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.6.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.5.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.4.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.3.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.2.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.1.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.0.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.8.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.7.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.6.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.5.0/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference) \n\n public sealed class Recommendation.Types.InsightReference : IMessage\u003cRecommendation.Types.InsightReference\u003e, IEquatable\u003cRecommendation.Types.InsightReference\u003e, IDeepCloneable\u003cRecommendation.Types.InsightReference\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Recommender v1 API class Recommendation.Types.InsightReference.\n\nReference to an associated insight. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Recommendation.Types.InsightReference \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Recommendation](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation)[Types](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation.Types)[InsightReference](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Recommendation](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation)[Types](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation.Types)[InsightReference](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Recommendation](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation)[Types](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation.Types)[InsightReference](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.Recommendation.Types.InsightReference), [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### InsightReference()\n\n public InsightReference()\n\n### InsightReference(InsightReference)\n\n public InsightReference(Recommendation.Types.InsightReference other)\n\nProperties\n----------\n\n### Insight\n\n public string Insight { get; set; }\n\nInsight resource name, e.g.\nprojects/\\[PROJECT_NUMBER\\]/locations/\\[LOCATION\\]/insightTypes/\\[INSIGHT_TYPE_ID\\]/insights/\\[INSIGHT_ID\\]"]]