public sealed class OperationCompletedEvent : IMessage<OperationCompletedEvent>, IEquatable<OperationCompletedEvent>, IDeepCloneable<OperationCompletedEvent>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class OperationCompletedEvent.
Event sent by the client or background worker to resume an assistant session after an asynchronous Long-Running Operation (LRO) completes.
Implements
IMessageOperationCompletedEvent, IEquatableOperationCompletedEvent, IDeepCloneableOperationCompletedEvent, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
OperationCompletedEvent()
public OperationCompletedEvent()OperationCompletedEvent(OperationCompletedEvent)
public OperationCompletedEvent(OperationCompletedEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
OperationCompletedEvent |
Properties
DeduplicationToken
public string DeduplicationToken { get; set; }Optional deduplication token (e.g. UUID) to prevent duplicate turn execution from concurrent browser tabs.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Error
public Status Error { get; set; }Optional canonical error status if the operation failed.
| Property Value | |
|---|---|
| Type | Description |
Status |
|
Metadata
public Struct Metadata { get; set; }Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
OperationName
public string OperationName { get; set; }The operation resource name (e.g. operations/{op}).
| Property Value | |
|---|---|
| Type | Description |
string |
|
OperationType
public string OperationType { get; set; }The operation type or tool name (e.g. "run_evaluation", "copy_app", "export_app").
| Property Value | |
|---|---|
| Type | Description |
string |
|
Status
public string Status { get; set; }Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
| Property Value | |
|---|---|
| Type | Description |
string |
|
TargetResourceName
public string TargetResourceName { get; set; }The primary resource targeted or produced by the operation (e.g. evaluation run ID, app ID, dataset ID).
| Property Value | |
|---|---|
| Type | Description |
string |
|