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."],[[["This webpage provides reference documentation for the `GetServiceRequest` class within the Service Directory v1 API from Google Cloud."],["The `GetServiceRequest` class is used to request a service via the `RegistrationService.GetService` method, though the `resolve` method is recommended for looking up a service."],["The `GetServiceRequest` class is part of the `Google.Cloud.ServiceDirectory.V1` namespace and is available in the `Google.Cloud.ServiceDirectory.V1.dll` assembly, with version 2.5.0 being the current version represented on the page."],["The page details that the `GetServiceRequest` class has two constructors, `GetServiceRequest()` and `GetServiceRequest(GetServiceRequest other)`, and provides information about its properties, such as `Name` (a string) and `ServiceName` (a ServiceName type)."],["The page also contains a table with the available documentation versions for this resource, with 2.6.0 being the latest and 1.0.0 being the oldest."]]],[]]