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\u003eThe latest version available for the \u003ccode\u003eGetServiceRequest\u003c/code\u003e class is 2.6.0, with 2.4.0 being the current version in context.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceRequest\u003c/code\u003e is a class in the Service Directory v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1\u003c/code\u003e namespace and assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used for making a request to get a service, via \u003ccode\u003eRegistrationService.GetService\u003c/code\u003e, and it's advised to use the \u003ccode\u003eresolve\u003c/code\u003e method instead for looking up a service.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eGetServiceRequest\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is inherited from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003eName\u003c/code\u003e property, which is of type string and is required, as well as a \u003ccode\u003eServiceName\u003c/code\u003e property, which provides a \u003ccode\u003eServiceName\u003c/code\u003e type view over the \u003ccode\u003eName\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]