public sealed class UpdateInstanceConfigRequest : IMessage<UpdateInstanceConfigRequest>, IEquatable<UpdateInstanceConfigRequest>, IDeepCloneable<UpdateInstanceConfigRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class UpdateInstanceConfigRequest.
The request for
[UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
public InstanceConfig InstanceConfig { get; set; }
Required. The user instance configuration to update, which must always
include the instance configuration name. Otherwise, only fields mentioned
in
[update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask]
need be included. To prevent conflicts of concurrent updates,
[etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling] can
be used.
Required. A mask specifying which fields in
[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
updated. The field mask must always be specified; this prevents any future
fields in [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig]
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
[[["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 documentation for the \u003ccode\u003eUpdateInstanceConfigRequest\u003c/code\u003e class within the Google Cloud Spanner Instance Administration v1 API, focusing on its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eUpdateInstanceConfigRequest\u003c/code\u003e is 5.0.0-beta05, with numerous prior versions also documented, ranging back to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateInstanceConfigRequest\u003c/code\u003e class allows for updating user instance configurations, specifying which fields to update using \u003ccode\u003eUpdateMask\u003c/code\u003e and including the \u003ccode\u003eInstanceConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidateOnly\u003c/code\u003e option is available, which allows requests to be validated without being executed.\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 \u003ccode\u003eobject\u003c/code\u003e, as well as offering two constructors.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class UpdateInstanceConfigRequest (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.UpdateInstanceConfigRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest) \n\n public sealed class UpdateInstanceConfigRequest : IMessage\u003cUpdateInstanceConfigRequest\u003e, IEquatable\u003cUpdateInstanceConfigRequest\u003e, IDeepCloneable\u003cUpdateInstanceConfigRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class UpdateInstanceConfigRequest.\n\nThe request for\n\\[UpdateInstanceConfig\\]\\[google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateInstanceConfigRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateInstanceConfigRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateInstanceConfigRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateInstanceConfigRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.UpdateInstanceConfigRequest), [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### UpdateInstanceConfigRequest()\n\n public UpdateInstanceConfigRequest()\n\n### UpdateInstanceConfigRequest(UpdateInstanceConfigRequest)\n\n public UpdateInstanceConfigRequest(UpdateInstanceConfigRequest other)\n\nProperties\n----------\n\n### InstanceConfig\n\n public InstanceConfig InstanceConfig { get; set; }\n\nRequired. The user instance configuration to update, which must always\ninclude the instance configuration name. Otherwise, only fields mentioned\nin\n\\[update_mask\\]\\[google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask\\]\nneed be included. To prevent conflicts of concurrent updates,\n\\[etag\\]\\[google.spanner.admin.instance.v1.InstanceConfig.reconciling\\] can\nbe used.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. A mask specifying which fields in\n\\[InstanceConfig\\]\\[google.spanner.admin.instance.v1.InstanceConfig\\] should be\nupdated. The field mask must always be specified; this prevents any future\nfields in \\[InstanceConfig\\]\\[google.spanner.admin.instance.v1.InstanceConfig\\]\nfrom being erased accidentally by clients that do not know about them. Only\ndisplay_name and labels can be updated.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nAn option to validate, but not actually execute, a request,\nand provide the same response."]]