public sealed class GetServiceRequest : IMessage<GetServiceRequest>, IEquatable<GetServiceRequest>, IDeepCloneable<GetServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1 API class GetServiceRequest.
The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1.RegistrationService.GetService].
This should not be used for looking up a service. Instead, use the resolve
method as it contains all endpoints and associated annotations.
[[["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 reference documentation for the \u003ccode\u003eGetServiceRequest\u003c/code\u003e class within the Service Directory v1 API from Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceRequest\u003c/code\u003e class is used to request a service via the \u003ccode\u003eRegistrationService.GetService\u003c/code\u003e method, though the \u003ccode\u003eresolve\u003c/code\u003e method is recommended for looking up a service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1.dll\u003c/code\u003e assembly, with version 2.5.0 being the current version represented on the page.\u003c/p\u003e\n"],["\u003cp\u003eThe page details that the \u003ccode\u003eGetServiceRequest\u003c/code\u003e class has two constructors, \u003ccode\u003eGetServiceRequest()\u003c/code\u003e and \u003ccode\u003eGetServiceRequest(GetServiceRequest other)\u003c/code\u003e, and provides information about its properties, such as \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eServiceName\u003c/code\u003e (a ServiceName type).\u003c/p\u003e\n"],["\u003cp\u003eThe page also contains a table with the available documentation versions for this resource, with 2.6.0 being the latest and 1.0.0 being the oldest.\u003c/p\u003e\n"]]],[],null,[]]