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 document provides reference information for the \u003ccode\u003eGetServiceRequest\u003c/code\u003e class within the Google Cloud Service Directory v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceRequest\u003c/code\u003e is used as the request message for the \u003ccode\u003eRegistrationService.GetService\u003c/code\u003e method, although it is advised to use the \u003ccode\u003eresolve\u003c/code\u003e method for service lookups.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors, properties like \u003ccode\u003eName\u003c/code\u003e (a required string), and a \u003ccode\u003eServiceName\u003c/code\u003e property that is a typed view over the Name property.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the API, ranging from 1.0.0 to the latest version 2.6.0, with this page specifically covering version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceRequest\u003c/code\u003e implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]