Reference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::SpanKind.
SpanKind represents values for the "kind" field of span.
Inherits
- Object
Methods
.get
def
self
.
get
(
name
)
-
>
SpanKind
Returns the SpanKind given a symbol or string representation.
- name(String, Symbol) — The name of the SpanKind.
- ( SpanKind
) — The SpanKind, or
nil
if not known.
#to_s
def
to_s
()
-
>
String
Returns the string representation of this SpanKind
- (String) — String representation.
#to_sym
def
to_sym
()
-
>
Symbol
Returns the symbolic representation of this SpanKind
- (Symbol) — Symbol representation.
Constants
UNSPECIFIED
value:
new :SPAN_KIND_UNSPECIFIED
The :SPAN_KIND_UNSPECIFIED
value
RPC_SERVER
value:
new :RPC_SERVER
The :RPC_SERVER
value
RPC_CLIENT
value:
new :RPC_CLIENT
The :RPC_CLIENT
value