1.1.0 (latest) 1.0.0

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class UpdateAgentRequest.

Request message for
\[AgentService.UpdateAgent\]\[google.cloud.ces.v1.AgentService.UpdateAgent\].

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[UpdateAgentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.UpdateAgentRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateAgentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.UpdateAgentRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[UpdateAgentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.UpdateAgentRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### UpdateAgentRequest()

    public UpdateAgentRequest()

### UpdateAgentRequest(UpdateAgentRequest)

    public UpdateAgentRequest(UpdateAgentRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `UpdateAgentRequest` |

## Properties

### Agent

    public Agent Agent { get; set; }

Required. The agent to update.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Agent` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Optional. Field mask is used to control which fields get updated. If the
mask is not present, all fields will be updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `FieldMask` |   |