Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Span.
A span is a unit of work or a single operation during the request processing.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Output only. Key-value attributes associated with the span.
#child_spans
def child_spans() -> ::Array<::Google::Cloud::Ces::V1beta::Span>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::Span>) — Output only. The child spans that are nested under this span.
#duration
def duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Output only. The duration of the span.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The end time of the span.
#name
def name() -> ::String
Returns
- (::String) — Output only. The name of the span.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The start time of the span.