Google Cloud Ces V1 Client - Class Span (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class Span.

A span is a unit of work or a single operation during the request processing.

Generated from protobuf message google.cloud.ces.v1.Span

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Output only. The name of the span.

↳ start_time
Google\Protobuf\Timestamp

Output only. The start time of the span.

↳ end_time
Google\Protobuf\Timestamp

Output only. The end time of the span.

↳ duration
Google\Protobuf\Duration

Output only. The duration of the span.

↳ attributes
Google\Protobuf\Struct

Output only. Key-value attributes associated with the span.

↳ child_spans
array< Span >

Output only. The child spans that are nested under this span.

getName

Output only. The name of the span.

Returns
Type
Description
string

setName

Output only. The name of the span.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getStartTime

Output only. The start time of the span.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Output only. The start time of the span.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

Output only. The end time of the span.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

Output only. The end time of the span.

Parameter
Name
Description
Returns
Type
Description
$this

getDuration

Output only. The duration of the span.

Returns
Type
Description

hasDuration

clearDuration

setDuration

Output only. The duration of the span.

Parameter
Name
Description
Returns
Type
Description
$this

getAttributes

Output only. Key-value attributes associated with the span.

Returns
Type
Description

hasAttributes

clearAttributes

setAttributes

Output only. Key-value attributes associated with the span.

Parameter
Name
Description
Returns
Type
Description
$this

getChildSpans

Output only. The child spans that are nested under this span.

Returns
Type
Description

setChildSpans

Output only. The child spans that are nested under this span.

Parameter
Name
Description
var
array< Span >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: