Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: discovery/googleapis/cloudtrace__v1.json

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/trace.readonly": { 5 "https://www.googleapis.com/auth/trace.readonly": {
6 "description": "Read Trace data for a project or application " 6 "description": "Read Trace data for a project or application "
7 }, 7 },
8 "https://www.googleapis.com/auth/trace.append": { 8 "https://www.googleapis.com/auth/trace.append": {
9 "description": "Write Trace data for a project or applicatio n" 9 "description": "Write Trace data for a project or applicatio n"
10 }, 10 },
(...skipping 13 matching lines...) Expand all
24 "icons": { 24 "icons": {
25 "x16": "http://www.google.com/images/icons/product/search-16.gif", 25 "x16": "http://www.google.com/images/icons/product/search-16.gif",
26 "x32": "http://www.google.com/images/icons/product/search-32.gif" 26 "x32": "http://www.google.com/images/icons/product/search-32.gif"
27 }, 27 },
28 "id": "cloudtrace:v1", 28 "id": "cloudtrace:v1",
29 "kind": "discovery#restDescription", 29 "kind": "discovery#restDescription",
30 "name": "cloudtrace", 30 "name": "cloudtrace",
31 "ownerDomain": "google.com", 31 "ownerDomain": "google.com",
32 "ownerName": "Google", 32 "ownerName": "Google",
33 "parameters": { 33 "parameters": {
34 "access_token": {
35 "description": "OAuth access token.",
36 "location": "query",
37 "type": "string"
38 },
39 "key": {
40 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
41 "location": "query",
42 "type": "string"
43 },
44 "quotaUser": {
45 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
46 "location": "query",
47 "type": "string"
48 },
49 "pp": {
50 "default": "true",
51 "description": "Pretty-print response.",
52 "location": "query",
53 "type": "boolean"
54 },
55 "bearer_token": {
56 "description": "OAuth bearer token.",
57 "location": "query",
58 "type": "string"
59 },
60 "oauth_token": {
61 "description": "OAuth 2.0 token for the current user.",
62 "location": "query",
63 "type": "string"
64 },
34 "upload_protocol": { 65 "upload_protocol": {
35 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 66 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
36 "location": "query", 67 "location": "query",
37 "type": "string" 68 "type": "string"
38 }, 69 },
39 "prettyPrint": { 70 "prettyPrint": {
40 "default": "true", 71 "default": "true",
41 "description": "Returns response with indentations and line breaks." , 72 "description": "Returns response with indentations and line breaks." ,
42 "location": "query", 73 "location": "query",
43 "type": "boolean" 74 "type": "boolean"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "media", 109 "media",
79 "proto" 110 "proto"
80 ], 111 ],
81 "enumDescriptions": [ 112 "enumDescriptions": [
82 "Responses with Content-Type of application/json", 113 "Responses with Content-Type of application/json",
83 "Media download with context-dependent Content-Type", 114 "Media download with context-dependent Content-Type",
84 "Responses with Content-Type of application/x-protobuf" 115 "Responses with Content-Type of application/x-protobuf"
85 ], 116 ],
86 "location": "query", 117 "location": "query",
87 "type": "string" 118 "type": "string"
88 },
89 "key": {
90 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
91 "location": "query",
92 "type": "string"
93 },
94 "access_token": {
95 "description": "OAuth access token.",
96 "location": "query",
97 "type": "string"
98 },
99 "quotaUser": {
100 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
101 "location": "query",
102 "type": "string"
103 },
104 "pp": {
105 "default": "true",
106 "description": "Pretty-print response.",
107 "location": "query",
108 "type": "boolean"
109 },
110 "bearer_token": {
111 "description": "OAuth bearer token.",
112 "location": "query",
113 "type": "string"
114 },
115 "oauth_token": {
116 "description": "OAuth 2.0 token for the current user.",
117 "location": "query",
118 "type": "string"
119 } 119 }
120 }, 120 },
121 "protocol": "rest", 121 "protocol": "rest",
122 "resources": { 122 "resources": {
123 "projects": { 123 "projects": {
124 "methods": { 124 "methods": {
125 "patchTraces": { 125 "patchTraces": {
126 "description": "Sends new traces to Stackdriver Trace or upd ates existing traces. If the ID\nof a trace that you send matches that of an exi sting trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing t race data. If the\nID does not match, a new trace is created.", 126 "description": "Sends new traces to Stackdriver Trace or upd ates existing traces. If the ID\nof a trace that you send matches that of an exi sting trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing t race data. If the\nID does not match, a new trace is created.",
127 "httpMethod": "PATCH", 127 "httpMethod": "PATCH",
128 "id": "cloudtrace.projects.patchTraces", 128 "id": "cloudtrace.projects.patchTraces",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 "description": "An optional filter for the r equest.", 176 "description": "An optional filter for the r equest.",
177 "location": "query", 177 "location": "query",
178 "type": "string" 178 "type": "string"
179 }, 179 },
180 "endTime": { 180 "endTime": {
181 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.", 181 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.",
182 "format": "google-datetime", 182 "format": "google-datetime",
183 "location": "query", 183 "location": "query",
184 "type": "string" 184 "type": "string"
185 }, 185 },
186 "pageToken": {
187 "description": "Token identifying the page o f results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
188 "location": "query",
189 "type": "string"
190 },
186 "startTime": { 191 "startTime": {
187 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.", 192 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.",
188 "format": "google-datetime", 193 "format": "google-datetime",
189 "location": "query", 194 "location": "query",
190 "type": "string" 195 "type": "string"
191 }, 196 },
192 "pageToken": {
193 "description": "Token identifying the page o f results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
194 "location": "query",
195 "type": "string"
196 },
197 "pageSize": { 197 "pageSize": {
198 "description": "Maximum number of traces to return. If not specified or <= 0, the\nimplementation selects a reasonable value . The implementation may\nreturn fewer traces than the requested page size. Opt ional.", 198 "description": "Maximum number of traces to return. If not specified or <= 0, the\nimplementation selects a reasonable value . The implementation may\nreturn fewer traces than the requested page size. Opt ional.",
199 "format": "int32", 199 "format": "int32",
200 "location": "query", 200 "location": "query",
201 "type": "integer" 201 "type": "integer"
202 }, 202 },
203 "view": { 203 "view": {
204 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.", 204 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.",
205 "enum": [ 205 "enum": [
206 "VIEW_TYPE_UNSPECIFIED", 206 "VIEW_TYPE_UNSPECIFIED",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 "scopes": [ 250 "scopes": [
251 "https://www.googleapis.com/auth/cloud-platform" , 251 "https://www.googleapis.com/auth/cloud-platform" ,
252 "https://www.googleapis.com/auth/trace.readonly" 252 "https://www.googleapis.com/auth/trace.readonly"
253 ] 253 ]
254 } 254 }
255 } 255 }
256 } 256 }
257 } 257 }
258 } 258 }
259 }, 259 },
260 "revision": "20170208", 260 "revision": "20170225",
261 "rootUrl": "https://cloudtrace.googleapis.com/", 261 "rootUrl": "https://cloudtrace.googleapis.com/",
262 "schemas": { 262 "schemas": {
263 "TraceSpan": {
264 "description": "A span represents a single timed event within a trac e. Spans can be nested\nand form a trace tree. Often, a trace contains a root sp an that describes the\nend-to-end latency of an operation and, optionally, one o r more subspans for\nits suboperations. Spans do not need to be contiguous. Ther e may be gaps\nbetween spans in a trace.",
265 "id": "TraceSpan",
266 "properties": {
267 "spanId": {
268 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
269 "format": "uint64",
270 "type": "string"
271 },
272 "parentSpanId": {
273 "description": "ID of the parent span, if any. Optional.",
274 "format": "uint64",
275 "type": "string"
276 },
277 "endTime": {
278 "description": "End time of the span in nanoseconds from the UNIX epoch.",
279 "format": "google-datetime",
280 "type": "string"
281 },
282 "startTime": {
283 "description": "Start time of the span in nanoseconds from t he UNIX epoch.",
284 "format": "google-datetime",
285 "type": "string"
286 },
287 "kind": {
288 "description": "Distinguishes between spans generated in a p articular context. For example,\ntwo spans with the same name may be distinguish ed using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.",
289 "enum": [
290 "SPAN_KIND_UNSPECIFIED",
291 "RPC_SERVER",
292 "RPC_CLIENT"
293 ],
294 "enumDescriptions": [
295 "Unspecified.",
296 "Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
297 "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
298 ],
299 "type": "string"
300 },
301 "labels": {
302 "additionalProperties": {
303 "type": "string"
304 },
305 "description": "Collection of labels associated with the spa n. Label keys must be less than\n128 bytes. Label values must be less than 16 ki lobytes.",
306 "type": "object"
307 },
308 "name": {
309 "description": "Name of the span. Must be less than 128 byte s. The span name is sanitized\nand displayed in the Stackdriver Trace tool in th e\n{% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call poi nt, a best practice is\nto use a consistent name, which makes it easier to corre late\ncross-trace spans.",
310 "type": "string"
311 }
312 },
313 "type": "object"
314 },
315 "ListTracesResponse": { 263 "ListTracesResponse": {
316 "description": "The response message for the `ListTraces` method.", 264 "description": "The response message for the `ListTraces` method.",
317 "id": "ListTracesResponse", 265 "id": "ListTracesResponse",
318 "properties": { 266 "properties": {
319 "traces": { 267 "traces": {
320 "description": "List of trace records returned.", 268 "description": "List of trace records returned.",
321 "items": { 269 "items": {
322 "$ref": "Trace" 270 "$ref": "Trace"
323 }, 271 },
324 "type": "array" 272 "type": "array"
325 }, 273 },
326 "nextPageToken": { 274 "nextPageToken": {
327 "description": "If defined, indicates that there are more tr aces that match the request\nand that this value should be passed to the next re quest to continue\nretrieving additional traces.", 275 "description": "If defined, indicates that there are more tr aces that match the request\nand that this value should be passed to the next re quest to continue\nretrieving additional traces.",
328 "type": "string" 276 "type": "string"
329 } 277 }
330 }, 278 },
331 "type": "object" 279 "type": "object"
332 }, 280 },
333 "Empty": { 281 "Empty": {
334 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", 282 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
335 "id": "Empty", 283 "id": "Empty",
336 "properties": {}, 284 "properties": {},
337 "type": "object" 285 "type": "object"
338 }, 286 },
339 "Trace": { 287 "Trace": {
340 "description": "A trace describes how long it takes for an applicati on to perform an\noperation. It consists of a set of spans, each of which repres ent a single\ntimed event within the operation.", 288 "description": "A trace describes how long it takes for an applicati on to perform an\noperation. It consists of a set of spans, each of which repres ent a single\ntimed event within the operation.",
341 "id": "Trace", 289 "id": "Trace",
342 "properties": { 290 "properties": {
343 "traceId": {
344 "description": "Globally unique identifier for the trace. Th is identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
345 "type": "string"
346 },
347 "projectId": { 291 "projectId": {
348 "description": "Project ID of the Cloud project where the tr ace data is stored.", 292 "description": "Project ID of the Cloud project where the tr ace data is stored.",
349 "type": "string" 293 "type": "string"
350 }, 294 },
351 "spans": { 295 "spans": {
352 "description": "Collection of spans in the trace.", 296 "description": "Collection of spans in the trace.",
353 "items": { 297 "items": {
354 "$ref": "TraceSpan" 298 "$ref": "TraceSpan"
355 }, 299 },
356 "type": "array" 300 "type": "array"
301 },
302 "traceId": {
303 "description": "Globally unique identifier for the trace. Th is identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
304 "type": "string"
357 } 305 }
358 }, 306 },
359 "type": "object" 307 "type": "object"
360 }, 308 },
361 "Traces": { 309 "Traces": {
362 "description": "List of new or updated traces.", 310 "description": "List of new or updated traces.",
363 "id": "Traces", 311 "id": "Traces",
364 "properties": { 312 "properties": {
365 "traces": { 313 "traces": {
366 "description": "List of traces.", 314 "description": "List of traces.",
367 "items": { 315 "items": {
368 "$ref": "Trace" 316 "$ref": "Trace"
369 }, 317 },
370 "type": "array" 318 "type": "array"
371 } 319 }
372 }, 320 },
373 "type": "object" 321 "type": "object"
322 },
323 "TraceSpan": {
324 "description": "A span represents a single timed event within a trac e. Spans can be nested\nand form a trace tree. Often, a trace contains a root sp an that describes the\nend-to-end latency of an operation and, optionally, one o r more subspans for\nits suboperations. Spans do not need to be contiguous. Ther e may be gaps\nbetween spans in a trace.",
325 "id": "TraceSpan",
326 "properties": {
327 "kind": {
328 "description": "Distinguishes between spans generated in a p articular context. For example,\ntwo spans with the same name may be distinguish ed using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.",
329 "enum": [
330 "SPAN_KIND_UNSPECIFIED",
331 "RPC_SERVER",
332 "RPC_CLIENT"
333 ],
334 "enumDescriptions": [
335 "Unspecified.",
336 "Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
337 "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
338 ],
339 "type": "string"
340 },
341 "labels": {
342 "additionalProperties": {
343 "type": "string"
344 },
345 "description": "Collection of labels associated with the spa n. Label keys must be less than\n128 bytes. Label values must be less than 16 ki lobytes.",
346 "type": "object"
347 },
348 "name": {
349 "description": "Name of the span. Must be less than 128 byte s. The span name is sanitized\nand displayed in the Stackdriver Trace tool in th e\n{% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call poi nt, a best practice is\nto use a consistent name, which makes it easier to corre late\ncross-trace spans.",
350 "type": "string"
351 },
352 "spanId": {
353 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
354 "format": "uint64",
355 "type": "string"
356 },
357 "parentSpanId": {
358 "description": "ID of the parent span, if any. Optional.",
359 "format": "uint64",
360 "type": "string"
361 },
362 "endTime": {
363 "description": "End time of the span in nanoseconds from the UNIX epoch.",
364 "format": "google-datetime",
365 "type": "string"
366 },
367 "startTime": {
368 "description": "Start time of the span in nanoseconds from t he UNIX epoch.",
369 "format": "google-datetime",
370 "type": "string"
371 }
372 },
373 "type": "object"
374 } 374 }
375 }, 375 },
376 "servicePath": "", 376 "servicePath": "",
377 "title": "Stackdriver Trace API", 377 "title": "Stackdriver Trace API",
378 "version": "v1" 378 "version": "v1"
379 } 379 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudresourcemanager__v1.json ('k') | discovery/googleapis/compute__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698