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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The `GetServiceRequest` class is used to request a service from the Service Directory v1 API, as defined in the `Google.Cloud.ServiceDirectory.V1` namespace."],["The latest version available for this class is 2.6.0, but earlier versions back to 1.0.0 are documented."],["This class should not be used to find services; instead, the `resolve` method is preferred for finding services as it contains all endpoints and annotations."],["The `GetServiceRequest` class implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["It provides properties such as `Name` (a string) and `ServiceName` (a ServiceName type), to specify the service being requested."]]],[]]