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

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

The request message for the GetTrace method.

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

Namespace

Google \ Cloud \ Trace \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project_id string

Required. ID of the Cloud project where the trace data is stored.

↳ trace_id string

Required. ID of the trace to return.

getProjectId

Required. ID of the Cloud project where the trace data is stored.

Returns
Type Description
string

setProjectId

Required. ID of the Cloud project where the trace data is stored.

Parameter
Name Description
var string
Returns
Type Description
$this

getTraceId

Required. ID of the trace to return.

Returns
Type Description
string

setTraceId

Required. ID of the trace to return.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
projectId string

Required. ID of the Cloud project where the trace data is stored.

traceId string

Required. ID of the trace to return.

Returns
Type Description
GetTraceRequest