public sealed class GetServiceRequest : IMessage<GetServiceRequest>, IEquatable<GetServiceRequest>, IDeepCloneable<GetServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1beta1 API class GetServiceRequest.
The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService].
This should not be used for looking up a service. Instead, use the resolve
method as it contains 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 \u003ccode\u003eGetServiceRequest\u003c/code\u003e class is used to request a specific service within the Service Directory v1beta1 API, but it is not recommended for service lookup, instead the \u003ccode\u003eresolve\u003c/code\u003e method should be used.\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor \u003ccode\u003eGetServiceRequest()\u003c/code\u003e and a copy constructor \u003ccode\u003eGetServiceRequest(GetServiceRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt contains the \u003ccode\u003eName\u003c/code\u003e property, which is a required string representing the name of the service to retrieve, and the \u003ccode\u003eServiceName\u003c/code\u003e property, which provides a typed view of the service name.\u003c/p\u003e\n"]]],[],null,[]]