public sealed class UpdateDataStoreRequest : IMessage<UpdateDataStoreRequest>, IEquatable<UpdateDataStoreRequest>, IDeepCloneable<UpdateDataStoreRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class UpdateDataStoreRequest.
Request message for
[DataStoreService.UpdateDataStore][google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore]
method.
Required. The [DataStore][google.cloud.discoveryengine.v1beta.DataStore] to
update.
If the caller does not have permission to update the
[DataStore][google.cloud.discoveryengine.v1beta.DataStore], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the [DataStore][google.cloud.discoveryengine.v1beta.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"]],[["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\u003e\u003ccode\u003eUpdateDataStoreRequest\u003c/code\u003e is a class within the Discovery Engine v1beta API, specifically designed for handling requests to update a data store.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like deep cloning and message buffer handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eDataStore\u003c/code\u003e, which represents the data store to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which specifies which fields of the data store should be modified.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDataStoreRequest\u003c/code\u003e class has two constructors, one that is parameterless and another that accepts another \u003ccode\u003eUpdateDataStoreRequest\u003c/code\u003e object as a parameter for creating copies.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class UpdateDataStoreRequest (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.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 v1beta API class UpdateDataStoreRequest.\n\nRequest message for\n\\[DataStoreService.UpdateDataStore\\]\\[google.cloud.discoveryengine.v1beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.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.v1beta.DataStore\\] to\nupdate.\n\nIf the caller does not have permission to update the\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\], regardless of\nwhether or not it exists, a PERMISSION_DENIED error is returned.\n\nIf the \\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.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.v1beta.DataStore\\] to update.\n\nIf an unsupported or unknown field is provided, an INVALID_ARGUMENT error\nis returned."]]