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 latest version of the `GetServiceRequest` class is 2.6.0, with the class itself being part of the `Google.Cloud.ServiceDirectory.V1` namespace."],["`GetServiceRequest` is a request message for `RegistrationService.GetService`, but it should not be used for looking up services, as the `resolve` method is recommended for that purpose."],["The `GetServiceRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `GetServiceRequest` class has two constructors: a parameterless one and one that takes another `GetServiceRequest` object as a parameter, allowing you to copy another instance."],["It has two properties: `Name`, a string representing the name of the service to get, and `ServiceName`, a `ServiceName`-typed view over the `Name` resource."]]],[]]