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"]],[["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-03-21 UTC."],[[["The `GetServiceRequest` class is used to request a service, specifically for `RegistrationService.GetService`, and is part of the `Google.Cloud.ServiceDirectory.V1` namespace."],["The `GetServiceRequest` class is not intended for service lookup; instead, the `resolve` method should be used to get endpoints and metadata."],["This class is a sealed class, implementing multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes two constructors, `GetServiceRequest()` for default initialization and `GetServiceRequest(GetServiceRequest other)` for creating a copy."],["It contains two properties, `Name` of type `string`, which is required and contains the name of the service being requested, and `ServiceName`, which is a typed view over the `Name` property."]]],[]]