Class SpanLatency (0.3.0)

SpanLatency(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The latency of a span execution.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
resource str
Output only. The resource name of the guardrail or tool spans. This field is a member of oneof_ identifier.
toolset google.cloud.ces_v1beta.types.ToolsetTool
Output only. The toolset tool identifier. This field is a member of oneof_ identifier.
model str
Output only. The name of the LLM span. This field is a member of oneof_ identifier.
callback str
Output only. The name of the user callback span. This field is a member of oneof_ identifier.
type_ google.cloud.ces_v1beta.types.EvaluationResult.SpanLatency.Type
Output only. The type of span.
display_name str
Output only. The display name of the span. Applicable to tool and guardrail spans.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The start time of span.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The end time of span.
execution_latency google.protobuf.duration_pb2.Duration
Output only. The latency of span.

Classes

Type

Type(value)

The type of span. Additional values may be added in the future.