public sealed class TurnMetadata : IMessage<TurnMetadata>, IEquatable<TurnMetadata>, IDeepCloneable<TurnMetadata>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class TurnMetadata.
Turn-level metadata and intent categorization.
Implements
IMessageTurnMetadata, IEquatableTurnMetadata, IDeepCloneableTurnMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
TurnMetadata()
public TurnMetadata()TurnMetadata(TurnMetadata)
public TurnMetadata(TurnMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
TurnMetadata |
Properties
ContractDraftComplete
public bool ContractDraftComplete { get; set; }Set on the terminal event of a contract draft whose every placeholder is resolved (contract_progress is 100%), whether or not the draft was published. Clients complete and dismiss the contract progress display on it; publication is reported separately by contract_finalized.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ContractFinalized
public bool ContractFinalized { get; set; }Set on the final artifact event of a turn whose contract draft was published (a revision was activated). Terminal for the clarification flow of this draft: contract_progress is authoritative and complete.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ContractRelated
public bool ContractRelated { get; set; }Indicates whether this assistant turn was contract-related (e.g. contract drafting, alignment, extraction, or revision).
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ContractStreamingPhase
public TurnMetadata.Types.ContractStreamingPhase ContractStreamingPhase { get; set; }Set only on in-flight progress estimates emitted while a contract artifact fence is streaming, and on the revision-turn-start event. Unset on authoritative payloads.
| Property Value | |
|---|---|
| Type | Description |
TurnMetadataTypesContractStreamingPhase |
|