[BindServiceMethod(typeof(TraceService), "BindService")]
public abstract class TraceService.TraceServiceBase
Reference documentation and code samples for the Google Cloud Trace v1 API class TraceService.TraceServiceBase.
Base class for server-side implementations of TraceService
Namespace
Google.Cloud.Trace.V1Assembly
Google.Cloud.Trace.V1.dll
Methods
GetTrace(GetTraceRequest, ServerCallContext)
public virtual Task<Trace> GetTrace(GetTraceRequest request, ServerCallContext context)
Gets a single trace by its ID.
Parameters | |
---|---|
Name | Description |
request | GetTraceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskTrace | The response to send back to the client (wrapped by a task). |
ListTraces(ListTracesRequest, ServerCallContext)
public virtual Task<ListTracesResponse> ListTraces(ListTracesRequest request, ServerCallContext context)
Returns of a list of traces that match the specified filter conditions.
Parameters | |
---|---|
Name | Description |
request | ListTracesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListTracesResponse | The response to send back to the client (wrapped by a task). |
PatchTraces(PatchTracesRequest, ServerCallContext)
public virtual Task<Empty> PatchTraces(PatchTracesRequest request, ServerCallContext context)
Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you send matches that of an existing trace, any fields in the existing trace and its spans are overwritten by the provided values, and any new fields provided are merged with the existing trace data. If the ID does not match, a new trace is created.
Parameters | |
---|---|
Name | Description |
request | PatchTracesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty | The response to send back to the client (wrapped by a task). |