public sealed class UpdateDataStoreRequest : IMessage<UpdateDataStoreRequest>, IEquatable<UpdateDataStoreRequest>, IDeepCloneable<UpdateDataStoreRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class UpdateDataStoreRequest.
Request message for
[DataStoreService.UpdateDataStore][google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore]
method.
Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to
update.
If the caller does not have permission to update the
[DataStore][google.cloud.discoveryengine.v1.DataStore], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the [DataStore][google.cloud.discoveryengine.v1.DataStore] to update
does not exist, a NOT_FOUND error is 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\u003eThe latest version of the \u003ccode\u003eUpdateDataStoreRequest\u003c/code\u003e class is 1.6.0, part of the Google Cloud Discovery Engine V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDataStoreRequest\u003c/code\u003e class is a request message used for the \u003ccode\u003eDataStoreService.UpdateDataStore\u003c/code\u003e method in the Discovery Engine API.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \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 includes properties such as \u003ccode\u003eDataStore\u003c/code\u003e which represents the DataStore to update, and \u003ccode\u003eUpdateMask\u003c/code\u003e which allows selecting specific fields for update.\u003c/p\u003e\n"],["\u003cp\u003ePrevious versions of the class are also available, including versions 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06, which are all linked as well.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class UpdateDataStoreRequest (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest) \n\n public sealed class UpdateDataStoreRequest : IMessage\u003cUpdateDataStoreRequest\u003e, IEquatable\u003cUpdateDataStoreRequest\u003e, IDeepCloneable\u003cUpdateDataStoreRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class UpdateDataStoreRequest.\n\nRequest message for\n\\[DataStoreService.UpdateDataStore\\]\\[google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateDataStoreRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateDataStoreRequest), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### UpdateDataStoreRequest()\n\n public UpdateDataStoreRequest()\n\n### UpdateDataStoreRequest(UpdateDataStoreRequest)\n\n public UpdateDataStoreRequest(UpdateDataStoreRequest other)\n\nProperties\n----------\n\n### DataStore\n\n public DataStore DataStore { get; set; }\n\nRequired. The \\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\] to\nupdate.\n\nIf the caller does not have permission to update the\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\], regardless of\nwhether or not it exists, a PERMISSION_DENIED error is returned.\n\nIf the \\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\] to update\ndoes not exist, a NOT_FOUND error is returned.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nIndicates which fields in the provided\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\] to update.\n\nIf an unsupported or unknown field is provided, an INVALID_ARGUMENT error\nis returned."]]