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."],[[["This page provides documentation for the `GetServiceRequest` class within the `Google.Cloud.ServiceDirectory.V1` namespace, used to request a service via `RegistrationService.GetService`."],["The latest version of `GetServiceRequest` is 2.6.0, and older versions, including 1.0.0 through 2.5.0, are also documented with their respective links."],["`GetServiceRequest` should not be used to lookup a service; the `resolve` method should be used instead to retrieve all endpoints and their metadata."],["The `GetServiceRequest` class implements several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `System.Object`."],["Key properties of the `GetServiceRequest` class include `Name` (a string representing the name of the service) and `ServiceName` (a `ServiceName`-typed view over the `Name`)."]]],[]]