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-03-21 UTC."],[[["The latest version available for the `GetServiceRequest` class is 2.6.0, with 2.4.0 being the current version in context."],["`GetServiceRequest` is a class in the Service Directory v1 API, specifically within the `Google.Cloud.ServiceDirectory.V1` namespace and assembly."],["This class is used for making a request to get a service, via `RegistrationService.GetService`, and it's advised to use the `resolve` method instead for looking up a service."],["The class `GetServiceRequest` implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and is inherited from the base `object` class."],["It has a `Name` property, which is of type string and is required, as well as a `ServiceName` property, which provides a `ServiceName` type view over the `Name` resource."]]],[]]