public sealed class GetServiceRequest : IMessage<GetServiceRequest>, IEquatable<GetServiceRequest>, IDeepCloneable<GetServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1beta1 API class GetServiceRequest.
The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService].
This should not be used for looking up a service. Instead, use the resolve
method as it contains 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 specific service within the Service Directory v1beta1 API, but it is not recommended for service lookup, instead the `resolve` method should be used."],["The `GetServiceRequest` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["It has two constructors: a default constructor `GetServiceRequest()` and a copy constructor `GetServiceRequest(GetServiceRequest other)`."],["It contains the `Name` property, which is a required string representing the name of the service to retrieve, and the `ServiceName` property, which provides a typed view of the service name."]]],[]]