Gemini Enterprise for Customer Experience v1beta API - Class EvaluationResult.Types.SpanLatency (1.0.0-beta01)

public sealed class EvaluationResult.Types.SpanLatency : IMessage<EvaluationResult.Types.SpanLatency>, IEquatable<EvaluationResult.Types.SpanLatency>, IDeepCloneable<EvaluationResult.Types.SpanLatency>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationResult.Types.SpanLatency.

The latency of a span execution.

Inheritance

object > EvaluationResult.Types.SpanLatency

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

SpanLatency()

public SpanLatency()

SpanLatency(SpanLatency)

public SpanLatency(EvaluationResult.Types.SpanLatency other)
Parameter
Name Description
other EvaluationResultTypesSpanLatency

Properties

Callback

public string Callback { get; set; }

Output only. The name of the user callback span.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Output only. The display name of the span. Applicable to tool and guardrail spans.

Property Value
Type Description
string

EndTime

public Timestamp EndTime { get; set; }

Output only. The end time of span.

Property Value
Type Description
Timestamp

ExecutionLatency

public Duration ExecutionLatency { get; set; }

Output only. The latency of span.

Property Value
Type Description
Duration

HasCallback

public bool HasCallback { get; }

Gets whether the "callback" field is set

Property Value
Type Description
bool

HasModel

public bool HasModel { get; }

Gets whether the "model" field is set

Property Value
Type Description
bool

HasResource

public bool HasResource { get; }

Gets whether the "resource" field is set

Property Value
Type Description
bool

IdentifierCase

public EvaluationResult.Types.SpanLatency.IdentifierOneofCase IdentifierCase { get; }
Property Value
Type Description
EvaluationResultTypesSpanLatencyIdentifierOneofCase

Model

public string Model { get; set; }

Output only. The name of the LLM span.

Property Value
Type Description
string

Resource

public string Resource { get; set; }

Output only. The resource name of the guardrail or tool spans.

Property Value
Type Description
string

StartTime

public Timestamp StartTime { get; set; }

Output only. The start time of span.

Property Value
Type Description
Timestamp

Toolset

public ToolsetTool Toolset { get; set; }

Output only. The toolset tool identifier.

Property Value
Type Description
ToolsetTool

Type

public EvaluationResult.Types.SpanLatency.Types.Type Type { get; set; }

Output only. The type of span.

Property Value
Type Description
EvaluationResultTypesSpanLatencyTypesType