1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class UpdateAssistantRequest : IMessage<UpdateAssistantRequest>, IEquatable<UpdateAssistantRequest>, IDeepCloneable<UpdateAssistantRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class UpdateAssistantRequest.

Request message for the
\[AssistantService.UpdateAssistant\]\[google.cloud.discoveryengine.v1beta.AssistantService.UpdateAssistant\]
method.

## Inheritance

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

## Implements

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

### UpdateAssistantRequest()

    public UpdateAssistantRequest()

### UpdateAssistantRequest(UpdateAssistantRequest)

    public UpdateAssistantRequest(UpdateAssistantRequest other)

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

## Properties

### Assistant

    public Assistant Assistant { get; set; }

Required. The \[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\] to
update.

The \[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\]'s `name`
field is used to identify the
\[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\] to update.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`

If the caller does not have permission to update the
\[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.

If the \[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\] 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.Assistant` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

The list of fields to update.

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