Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::EvaluationResult::SpanLatency (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::SpanLatency.

The latency of a span execution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#callback

def callback() -> ::String
Returns
  • (::String) — Output only. The name of the user callback span.

    Note: The following fields are mutually exclusive: callback, resource, toolset, model. If a field in that set is populated, all other fields in the set will automatically be cleared.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Output only. The display name of the span. Applicable to tool and guardrail spans.

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#execution_latency

def execution_latency() -> ::Google::Protobuf::Duration
Returns

#model

def model() -> ::String
Returns
  • (::String) — Output only. The name of the LLM span.

    Note: The following fields are mutually exclusive: model, resource, toolset, callback. If a field in that set is populated, all other fields in the set will automatically be cleared.

#resource

def resource() -> ::String
Returns
  • (::String) — Output only. The resource name of the guardrail or tool spans.

    Note: The following fields are mutually exclusive: resource, toolset, model, callback. If a field in that set is populated, all other fields in the set will automatically be cleared.

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#toolset

def toolset() -> ::Google::Cloud::Ces::V1beta::ToolsetTool
Returns
  • (::Google::Cloud::Ces::V1beta::ToolsetTool) — Output only. The toolset tool identifier.

    Note: The following fields are mutually exclusive: toolset, resource, model, callback. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type

def type() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::SpanLatency::Type
Returns