# Discovery Engine v1beta API - Class UpdateDataStoreRequest (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UpdateDataStoreRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateDataStoreRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateDataStoreRequest](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### UpdateDataStoreRequest()

    public UpdateDataStoreRequest()

### UpdateDataStoreRequest(UpdateDataStoreRequest)

    public UpdateDataStoreRequest(UpdateDataStoreRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest` |

## Properties

### DataStore

    public DataStore DataStore { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Indicates which fields in the provided
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\] to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |