public sealed class GetInstanceRequest : IMessage<GetInstanceRequest>, IEquatable<GetInstanceRequest>, IDeepCloneable<GetInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class GetInstanceRequest.
The request for
[GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
If field_mask is present, specifies the subset of
[Instance][google.spanner.admin.instance.v1.Instance] fields that should be
returned. If absent, all
[Instance][google.spanner.admin.instance.v1.Instance] fields are returned.
[[["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-08-28 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eGetInstanceRequest\u003c/code\u003e class within the Google Cloud Spanner Instance Administration v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetInstanceRequest\u003c/code\u003e class is used to request a specific instance and includes options to specify the subset of instance fields to be returned via a \u003ccode\u003eFieldMask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe most current beta version available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, while other versions, back to \u003ccode\u003e3.5.0\u003c/code\u003e can be found as well.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eInstanceName\u003c/code\u003e and \u003ccode\u003eFieldMask\u003c/code\u003e which are essential for configuring and making a valid request.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class GetInstanceRequest (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest) \n\n public sealed class GetInstanceRequest : IMessage\u003cGetInstanceRequest\u003e, IEquatable\u003cGetInstanceRequest\u003e, IDeepCloneable\u003cGetInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class GetInstanceRequest.\n\nThe request for\n\\[GetInstance\\]\\[google.spanner.admin.instance.v1.InstanceAdmin.GetInstance\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetInstanceRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetInstanceRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetInstanceRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest), [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.Spanner.Admin.Instance.V1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.Admin.Instance.V1.dll\n\nConstructors\n------------\n\n### GetInstanceRequest()\n\n public GetInstanceRequest()\n\n### GetInstanceRequest(GetInstanceRequest)\n\n public GetInstanceRequest(GetInstanceRequest other)\n\nProperties\n----------\n\n### FieldMask\n\n public FieldMask FieldMask { get; set; }\n\nIf field_mask is present, specifies the subset of\n\\[Instance\\]\\[google.spanner.admin.instance.v1.Instance\\] fields that should be\nreturned. If absent, all\n\\[Instance\\]\\[google.spanner.admin.instance.v1.Instance\\] fields are returned.\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\nGoogle.Cloud.Spanner.Common.V1.InstanceName-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.GetInstanceRequest#Google_Cloud_Spanner_Admin_Instance_V1_GetInstanceRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the requested instance. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e`."]]