public sealed class GetServiceRequest : IMessage<GetServiceRequest>, IEquatable<GetServiceRequest>, IDeepCloneable<GetServiceRequest>, IBufferMessage, IMessage
The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1.RegistrationService.GetService].
This should not be used for looking up a service. Insead, use the resolve
method as it will contain all endpoints and associated metadata.
[[["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 \u003ccode\u003eGetServiceRequest\u003c/code\u003e class is 2.6.0, with the class itself being part of the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceRequest\u003c/code\u003e is a request message for \u003ccode\u003eRegistrationService.GetService\u003c/code\u003e, but it should not be used for looking up services, as the \u003ccode\u003eresolve\u003c/code\u003e method is recommended for that purpose.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceRequest\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceRequest\u003c/code\u003e class has two constructors: a parameterless one and one that takes another \u003ccode\u003eGetServiceRequest\u003c/code\u003e object as a parameter, allowing you to copy another instance.\u003c/p\u003e\n"],["\u003cp\u003eIt has two properties: \u003ccode\u003eName\u003c/code\u003e, a string representing the name of the service to get, and \u003ccode\u003eServiceName\u003c/code\u003e, a \u003ccode\u003eServiceName\u003c/code\u003e-typed view over the \u003ccode\u003eName\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]