@@ -27,7 +27,6 @@ option java_outer_classname = "TraceProto";
2727option java_package = "com.google.devtools.cloudtrace.v1" ;
2828option php_namespace = "Google\\Cloud\\Trace\\V1" ;
2929
30-
3130// This file describes an API for collecting and viewing traces and spans
3231// within a trace. A Trace is a collection of spans corresponding to a single
3332// operation or set of operations for an application. A span is an individual
@@ -36,12 +35,16 @@ option php_namespace = "Google\\Cloud\\Trace\\V1";
3635service TraceService {
3736 // Returns of a list of traces that match the specified filter conditions.
3837 rpc ListTraces (ListTracesRequest ) returns (ListTracesResponse ) {
39- option (google.api.http ) = { get : "/v1/projects/{project_id}/traces" };
38+ option (google.api.http ) = {
39+ get : "/v1/projects/{project_id}/traces"
40+ };
4041 }
4142
4243 // Gets a single trace by its ID.
4344 rpc GetTrace (GetTraceRequest ) returns (Trace ) {
44- option (google.api.http ) = { get : "/v1/projects/{project_id}/traces/{trace_id}" };
45+ option (google.api.http ) = {
46+ get : "/v1/projects/{project_id}/traces/{trace_id}"
47+ };
4548 }
4649
4750 // Sends new traces to Stackdriver Trace or updates existing traces. If the ID
@@ -50,7 +53,10 @@ service TraceService {
5053 // and any new fields provided are merged with the existing trace data. If the
5154 // ID does not match, a new trace is created.
5255 rpc PatchTraces (PatchTracesRequest ) returns (google.protobuf.Empty ) {
53- option (google.api.http ) = { patch : "/v1/projects/{project_id}/traces" body : "traces" };
56+ option (google.api.http ) = {
57+ patch : "/v1/projects/{project_id}/traces"
58+ body : "traces"
59+ };
5460 }
5561}
5662
0 commit comments