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

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

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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.append": {
6 "description": "Write Trace data for a project or applicatio n"
7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
10 }, 7 },
11 "https://www.googleapis.com/auth/trace.readonly": { 8 "https://www.googleapis.com/auth/trace.readonly": {
12 "description": "Read Trace data for a project or application " 9 "description": "Read Trace data for a project or application "
10 },
11 "https://www.googleapis.com/auth/trace.append": {
12 "description": "Write Trace data for a project or applicatio n"
13 } 13 }
14 } 14 }
15 } 15 }
16 }, 16 },
17 "basePath": "", 17 "basePath": "",
18 "baseUrl": "https://cloudtrace.googleapis.com/", 18 "baseUrl": "https://cloudtrace.googleapis.com/",
19 "batchPath": "batch", 19 "batchPath": "batch",
20 "canonicalName": "Cloud Trace", 20 "canonicalName": "Cloud Trace",
21 "description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from o ther applications can be written to Stackdriver Trace for display, reporting, an d analysis.\n", 21 "description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from o ther applications can be written to Stackdriver Trace for display, reporting, an d analysis.\n",
22 "discoveryVersion": "v1", 22 "discoveryVersion": "v1",
23 "documentationLink": "https://cloud.google.com/trace", 23 "documentationLink": "https://cloud.google.com/trace",
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 "pp": {
35 "default": "true",
36 "description": "Pretty-print response.",
37 "location": "query",
38 "type": "boolean"
39 },
40 "bearer_token": {
41 "description": "OAuth bearer token.",
42 "location": "query",
43 "type": "string"
44 },
45 "oauth_token": {
46 "description": "OAuth 2.0 token for the current user.",
47 "location": "query",
48 "type": "string"
49 },
50 "upload_protocol": { 34 "upload_protocol": {
51 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 35 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
52 "location": "query", 36 "location": "query",
53 "type": "string" 37 "type": "string"
54 }, 38 },
55 "prettyPrint": { 39 "prettyPrint": {
56 "default": "true", 40 "default": "true",
57 "description": "Returns response with indentations and line breaks." , 41 "description": "Returns response with indentations and line breaks." ,
58 "location": "query", 42 "location": "query",
59 "type": "boolean" 43 "type": "boolean"
60 }, 44 },
45 "fields": {
46 "description": "Selector specifying which fields to include in a par tial response.",
47 "location": "query",
48 "type": "string"
49 },
61 "uploadType": { 50 "uploadType": {
62 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 51 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
63 "location": "query", 52 "location": "query",
64 "type": "string" 53 "type": "string"
65 }, 54 },
66 "fields": {
67 "description": "Selector specifying which fields to include in a par tial response.",
68 "location": "query",
69 "type": "string"
70 },
71 "callback": { 55 "callback": {
72 "description": "JSONP", 56 "description": "JSONP",
73 "location": "query", 57 "location": "query",
74 "type": "string" 58 "type": "string"
75 }, 59 },
76 "$.xgafv": { 60 "$.xgafv": {
77 "description": "V1 error format.", 61 "description": "V1 error format.",
78 "enum": [ 62 "enum": [
79 "1", 63 "1",
80 "2" 64 "2"
(...skipping 14 matching lines...) Expand all
95 "proto" 79 "proto"
96 ], 80 ],
97 "enumDescriptions": [ 81 "enumDescriptions": [
98 "Responses with Content-Type of application/json", 82 "Responses with Content-Type of application/json",
99 "Media download with context-dependent Content-Type", 83 "Media download with context-dependent Content-Type",
100 "Responses with Content-Type of application/x-protobuf" 84 "Responses with Content-Type of application/x-protobuf"
101 ], 85 ],
102 "location": "query", 86 "location": "query",
103 "type": "string" 87 "type": "string"
104 }, 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 },
105 "access_token": { 94 "access_token": {
106 "description": "OAuth access token.", 95 "description": "OAuth access token.",
107 "location": "query", 96 "location": "query",
108 "type": "string" 97 "type": "string"
109 }, 98 },
110 "key": {
111 "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.",
112 "location": "query",
113 "type": "string"
114 },
115 "quotaUser": { 99 "quotaUser": {
116 "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.", 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.",
117 "location": "query", 101 "location": "query",
118 "type": "string" 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 25 matching lines...) Expand all
154 "traces": { 154 "traces": {
155 "methods": { 155 "methods": {
156 "list": { 156 "list": {
157 "description": "Returns of a list of traces that mat ch the specified filter conditions.", 157 "description": "Returns of a list of traces that mat ch the specified filter conditions.",
158 "httpMethod": "GET", 158 "httpMethod": "GET",
159 "id": "cloudtrace.projects.traces.list", 159 "id": "cloudtrace.projects.traces.list",
160 "parameterOrder": [ 160 "parameterOrder": [
161 "projectId" 161 "projectId"
162 ], 162 ],
163 "parameters": { 163 "parameters": {
164 "orderBy": {
165 "description": "Field used to sort the retur ned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name ` (`name` field of root span in the trace)\n* `duration` (difference between ` end_time` and `start_time` fields of\n the root span)\n* `start` (`start_t ime` field of the root span)\n\nDescending order can be specified by appending ` desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is p ermitted.",
166 "location": "query",
167 "type": "string"
168 },
164 "projectId": { 169 "projectId": {
165 "description": "ID of the Cloud project wher e the trace data is stored.", 170 "description": "ID of the Cloud project wher e the trace data is stored.",
166 "location": "path", 171 "location": "path",
167 "required": true, 172 "required": true,
168 "type": "string" 173 "type": "string"
169 }, 174 },
170 "filter": { 175 "filter": {
171 "description": "An optional filter for the r equest.", 176 "description": "An optional filter for the r equest.",
172 "location": "query", 177 "location": "query",
173 "type": "string" 178 "type": "string"
(...skipping 24 matching lines...) Expand all
198 "view": { 203 "view": {
199 "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`.",
200 "enum": [ 205 "enum": [
201 "VIEW_TYPE_UNSPECIFIED", 206 "VIEW_TYPE_UNSPECIFIED",
202 "MINIMAL", 207 "MINIMAL",
203 "ROOTSPAN", 208 "ROOTSPAN",
204 "COMPLETE" 209 "COMPLETE"
205 ], 210 ],
206 "location": "query", 211 "location": "query",
207 "type": "string" 212 "type": "string"
208 },
209 "orderBy": {
210 "description": "Field used to sort the retur ned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name ` (`name` field of root span in the trace)\n* `duration` (difference between ` end_time` and `start_time` fields of\n the root span)\n* `start` (`start_t ime` field of the root span)\n\nDescending order can be specified by appending ` desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is p ermitted.",
211 "location": "query",
212 "type": "string"
213 } 213 }
214 }, 214 },
215 "path": "v1/projects/{projectId}/traces", 215 "path": "v1/projects/{projectId}/traces",
216 "response": { 216 "response": {
217 "$ref": "ListTracesResponse" 217 "$ref": "ListTracesResponse"
218 }, 218 },
219 "scopes": [ 219 "scopes": [
220 "https://www.googleapis.com/auth/cloud-platform" , 220 "https://www.googleapis.com/auth/cloud-platform" ,
221 "https://www.googleapis.com/auth/trace.readonly" 221 "https://www.googleapis.com/auth/trace.readonly"
222 ] 222 ]
223 }, 223 },
224 "get": { 224 "get": {
225 "description": "Gets a single trace by its ID.", 225 "description": "Gets a single trace by its ID.",
226 "httpMethod": "GET", 226 "httpMethod": "GET",
227 "id": "cloudtrace.projects.traces.get", 227 "id": "cloudtrace.projects.traces.get",
228 "parameterOrder": [ 228 "parameterOrder": [
229 "projectId", 229 "projectId",
230 "traceId" 230 "traceId"
231 ], 231 ],
232 "parameters": { 232 "parameters": {
233 "traceId": {
234 "description": "ID of the trace to return.",
235 "location": "path",
236 "required": true,
237 "type": "string"
238 },
233 "projectId": { 239 "projectId": {
234 "description": "ID of the Cloud project wher e the trace data is stored.", 240 "description": "ID of the Cloud project wher e the trace data is stored.",
235 "location": "path", 241 "location": "path",
236 "required": true, 242 "required": true,
237 "type": "string" 243 "type": "string"
238 },
239 "traceId": {
240 "description": "ID of the trace to return.",
241 "location": "path",
242 "required": true,
243 "type": "string"
244 } 244 }
245 }, 245 },
246 "path": "v1/projects/{projectId}/traces/{traceId}", 246 "path": "v1/projects/{projectId}/traces/{traceId}",
247 "response": { 247 "response": {
248 "$ref": "Trace" 248 "$ref": "Trace"
249 }, 249 },
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": "20170320", 260 "revision": "20170406",
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 "startTime": {
268 "description": "Start time of the span in nanoseconds from t he UNIX epoch.",
269 "format": "google-datetime",
270 "type": "string"
271 },
272 "kind": {
273 "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.",
274 "enum": [
275 "SPAN_KIND_UNSPECIFIED",
276 "RPC_SERVER",
277 "RPC_CLIENT"
278 ],
279 "enumDescriptions": [
280 "Unspecified.",
281 "Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
282 "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
283 ],
284 "type": "string"
285 },
286 "labels": {
287 "additionalProperties": {
288 "type": "string"
289 },
290 "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.",
291 "type": "object"
292 },
293 "name": {
294 "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.",
295 "type": "string"
296 },
297 "spanId": {
298 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
299 "format": "uint64",
300 "type": "string"
301 },
302 "parentSpanId": {
303 "description": "ID of the parent span, if any. Optional.",
304 "format": "uint64",
305 "type": "string"
306 },
307 "endTime": {
308 "description": "End time of the span in nanoseconds from the UNIX epoch.",
309 "format": "google-datetime",
310 "type": "string"
311 }
312 },
313 "type": "object"
314 },
263 "ListTracesResponse": { 315 "ListTracesResponse": {
264 "description": "The response message for the `ListTraces` method.", 316 "description": "The response message for the `ListTraces` method.",
265 "id": "ListTracesResponse", 317 "id": "ListTracesResponse",
266 "properties": { 318 "properties": {
267 "traces": { 319 "traces": {
268 "description": "List of trace records returned.", 320 "description": "List of trace records returned.",
269 "items": { 321 "items": {
270 "$ref": "Trace" 322 "$ref": "Trace"
271 }, 323 },
272 "type": "array" 324 "type": "array"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 "properties": { 364 "properties": {
313 "traces": { 365 "traces": {
314 "description": "List of traces.", 366 "description": "List of traces.",
315 "items": { 367 "items": {
316 "$ref": "Trace" 368 "$ref": "Trace"
317 }, 369 },
318 "type": "array" 370 "type": "array"
319 } 371 }
320 }, 372 },
321 "type": "object" 373 "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 "parentSpanId": {
328 "description": "ID of the parent span, if any. Optional.",
329 "format": "uint64",
330 "type": "string"
331 },
332 "endTime": {
333 "description": "End time of the span in nanoseconds from the UNIX epoch.",
334 "format": "google-datetime",
335 "type": "string"
336 },
337 "startTime": {
338 "description": "Start time of the span in nanoseconds from t he UNIX epoch.",
339 "format": "google-datetime",
340 "type": "string"
341 },
342 "kind": {
343 "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.",
344 "enum": [
345 "SPAN_KIND_UNSPECIFIED",
346 "RPC_SERVER",
347 "RPC_CLIENT"
348 ],
349 "enumDescriptions": [
350 "Unspecified.",
351 "Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
352 "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
353 ],
354 "type": "string"
355 },
356 "labels": {
357 "additionalProperties": {
358 "type": "string"
359 },
360 "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.",
361 "type": "object"
362 },
363 "name": {
364 "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.",
365 "type": "string"
366 },
367 "spanId": {
368 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
369 "format": "uint64",
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