public sealed class LookupDiscoveredServiceRequest : IMessage<LookupDiscoveredServiceRequest>, IEquatable<LookupDiscoveredServiceRequest>, IDeepCloneable<LookupDiscoveredServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the App Hub v1 API class LookupDiscoveredServiceRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLookupDiscoveredServiceRequest\u003c/code\u003e class in the App Hub v1 API is used to request the lookup of a discovered service.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing functionalities like message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eIt can be constructed using either a default constructor or a constructor that accepts another \u003ccode\u003eLookupDiscoveredServiceRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eParent\u003c/code\u003e and \u003ccode\u003eUri\u003c/code\u003e, which are essential for specifying the project location and the resource URI for the discovered service lookup.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eParentAsLocationName\u003c/code\u003e is another property of this class which is a view over the Parent resource name.\u003c/p\u003e\n"]]],[],null,["# App Hub v1 API - Class LookupDiscoveredServiceRequest (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.LookupDiscoveredServiceRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AppHub.V1/1.0.0/Google.Cloud.AppHub.V1.LookupDiscoveredServiceRequest) \n\n public sealed class LookupDiscoveredServiceRequest : IMessage\u003cLookupDiscoveredServiceRequest\u003e, IEquatable\u003cLookupDiscoveredServiceRequest\u003e, IDeepCloneable\u003cLookupDiscoveredServiceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the App Hub v1 API class LookupDiscoveredServiceRequest.\n\nRequest for LookupDiscoveredService. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LookupDiscoveredServiceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LookupDiscoveredServiceRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.LookupDiscoveredServiceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LookupDiscoveredServiceRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.LookupDiscoveredServiceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LookupDiscoveredServiceRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.LookupDiscoveredServiceRequest), [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.AppHub.V1](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AppHub.V1.dll\n\nConstructors\n------------\n\n### LookupDiscoveredServiceRequest()\n\n public LookupDiscoveredServiceRequest()\n\n### LookupDiscoveredServiceRequest(LookupDiscoveredServiceRequest)\n\n public LookupDiscoveredServiceRequest(LookupDiscoveredServiceRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Host project ID and location to lookup Discovered Service in.\nExpected format: `projects/{project}/locations/{location}`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.LookupDiscoveredServiceRequest#Google_Cloud_AppHub_V1_LookupDiscoveredServiceRequest_Parent) resource name property.\n\n### Uri\n\n public string Uri { get; set; }\n\nRequired. Resource URI to find DiscoveredService for.\nAccepts both project number and project ID and does translation when\nneeded."]]