Stackdriver Trace V1 Client - Class ListTracesResponse (2.0.0-RC1)

Reference documentation and code samples for the Stackdriver Trace V1 Client class ListTracesResponse.

The response message for the ListTraces method.

Generated from protobuf message google.devtools.cloudtrace.v1.ListTracesResponse

Namespace

Google \ Cloud \ Trace \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ traces array<Trace>

List of trace records as specified by the view parameter.

↳ next_page_token string

If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.

getTraces

List of trace records as specified by the view parameter.

Returns
Type Description
Google\Protobuf\RepeatedField<Trace>

setTraces

List of trace records as specified by the view parameter.

Parameter
Name Description
var array<Trace>
Returns
Type Description
$this

getNextPageToken

If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.

Returns
Type Description
string

setNextPageToken

If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.

Parameter
Name Description
var string
Returns
Type Description
$this