public sealed class GetServiceRequest : IMessage<GetServiceRequest>, IEquatable<GetServiceRequest>, IDeepCloneable<GetServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1beta API class GetServiceRequest.
Request message for
[DataprocMetastore.GetService][google.cloud.metastore.v1beta.DataprocMetastore.GetService].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGetServiceRequest\u003c/code\u003e class within the Dataproc Metastore v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceRequest\u003c/code\u003e class is used to request the retrieval of a metastore service, and it implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and contains properties such as \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eServiceName\u003c/code\u003e (a \u003ccode\u003eServiceName\u003c/code\u003e type) to define the service being requested.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eGetServiceRequest\u003c/code\u003e class, one with no parameters, and one taking another \u003ccode\u003eGetServiceRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation outlines the latest version of the API, as well as detailing two previous beta versions, 2.0.0-beta10, and 1.0.0-beta02, which can also be referenced.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class GetServiceRequest (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.GetServiceRequest)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.GetServiceRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.GetServiceRequest) \n\n public sealed class GetServiceRequest : IMessage\u003cGetServiceRequest\u003e, IEquatable\u003cGetServiceRequest\u003e, IDeepCloneable\u003cGetServiceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class GetServiceRequest.\n\nRequest message for\n\\[DataprocMetastore.GetService\\]\\[google.cloud.metastore.v1beta.DataprocMetastore.GetService\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetServiceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetServiceRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.GetServiceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetServiceRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.GetServiceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetServiceRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.GetServiceRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.dll\n\nConstructors\n------------\n\n### GetServiceRequest()\n\n public GetServiceRequest()\n\n### GetServiceRequest(GetServiceRequest)\n\n public GetServiceRequest(GetServiceRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The relative resource name of the metastore service to retrieve,\nin the following form:\n\n`projects/{project_number}/locations/{location_id}/services/{service_id}`.\n\n### ServiceName\n\n public ServiceName ServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.ServiceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.GetServiceRequest#Google_Cloud_Metastore_V1Beta_GetServiceRequest_Name) resource name property."]]