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-
(::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- (::String) — Output only. The display name of the span. Applicable to tool and guardrail spans.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The end time of span.
#execution_latency
def execution_latency() -> ::Google::Protobuf::Duration- (::Google::Protobuf::Duration) — Output only. The latency of span.
#model
def model() -> ::String-
(::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-
(::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- (::Google::Protobuf::Timestamp) — Output only. The start time of span.
#toolset
def toolset() -> ::Google::Cloud::Ces::V1beta::ToolsetTool-
(::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- (::Google::Cloud::Ces::V1beta::EvaluationResult::SpanLatency::Type) — Output only. The type of span.