Reference documentation and code samples for the Stackdriver Trace V1 Client class PatchTracesRequest.
The request message for the PatchTraces method.
Generated from protobuf message google.devtools.cloudtrace.v1.PatchTracesRequest
Namespace
Google \ Cloud \ Trace \ V1Methods
__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. |
↳ traces |
Traces
Required. The body of the message. |
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 |
|
getTraces
Required. The body of the message.
| Returns | |
|---|---|
| Type | Description |
Traces|null |
|
hasTraces
clearTraces
setTraces
Required. The body of the message.
| Parameter | |
|---|---|
| Name | Description |
var |
Traces
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
projectId |
string
Required. ID of the Cloud project where the trace data is stored. |
traces |
Traces
Required. The body of the message. |
| Returns | |
|---|---|
| Type | Description |
PatchTracesRequest |
|