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

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

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: 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.readonly": {
6 "description": "Read Trace data for a project or application "
7 },
8 "https://www.googleapis.com/auth/trace.append": { 5 "https://www.googleapis.com/auth/trace.append": {
9 "description": "Write Trace data for a project or applicatio n" 6 "description": "Write Trace data for a project or applicatio n"
10 }, 7 },
11 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
12 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
10 },
11 "https://www.googleapis.com/auth/trace.readonly": {
12 "description": "Read Trace data for a project or application "
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 "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": { 34 "pp": {
50 "default": "true", 35 "default": "true",
51 "description": "Pretty-print response.", 36 "description": "Pretty-print response.",
52 "location": "query", 37 "location": "query",
53 "type": "boolean" 38 "type": "boolean"
54 }, 39 },
55 "bearer_token": { 40 "bearer_token": {
56 "description": "OAuth bearer token.", 41 "description": "OAuth bearer token.",
57 "location": "query", 42 "location": "query",
58 "type": "string" 43 "type": "string"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "media", 94 "media",
110 "proto" 95 "proto"
111 ], 96 ],
112 "enumDescriptions": [ 97 "enumDescriptions": [
113 "Responses with Content-Type of application/json", 98 "Responses with Content-Type of application/json",
114 "Media download with context-dependent Content-Type", 99 "Media download with context-dependent Content-Type",
115 "Responses with Content-Type of application/x-protobuf" 100 "Responses with Content-Type of application/x-protobuf"
116 ], 101 ],
117 "location": "query", 102 "location": "query",
118 "type": "string" 103 "type": "string"
104 },
105 "access_token": {
106 "description": "OAuth access token.",
107 "location": "query",
108 "type": "string"
109 },
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": {
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.",
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 },
169 "projectId": { 164 "projectId": {
170 "description": "ID of the Cloud project wher e the trace data is stored.", 165 "description": "ID of the Cloud project wher e the trace data is stored.",
171 "location": "path", 166 "location": "path",
172 "required": true, 167 "required": true,
173 "type": "string" 168 "type": "string"
174 }, 169 },
175 "filter": { 170 "filter": {
176 "description": "An optional filter for the r equest.", 171 "description": "An optional filter for the r equest.",
177 "location": "query", 172 "location": "query",
178 "type": "string" 173 "type": "string"
179 }, 174 },
180 "endTime": { 175 "endTime": {
181 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.", 176 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.",
182 "format": "google-datetime", 177 "format": "google-datetime",
183 "location": "query", 178 "location": "query",
184 "type": "string" 179 "type": "string"
185 }, 180 },
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 },
191 "startTime": { 181 "startTime": {
192 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.", 182 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.",
193 "format": "google-datetime", 183 "format": "google-datetime",
194 "location": "query", 184 "location": "query",
195 "type": "string" 185 "type": "string"
196 }, 186 },
187 "pageToken": {
188 "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.",
189 "location": "query",
190 "type": "string"
191 },
197 "pageSize": { 192 "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.", 193 "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", 194 "format": "int32",
200 "location": "query", 195 "location": "query",
201 "type": "integer" 196 "type": "integer"
202 }, 197 },
203 "view": { 198 "view": {
204 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.", 199 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.",
205 "enum": [ 200 "enum": [
206 "VIEW_TYPE_UNSPECIFIED", 201 "VIEW_TYPE_UNSPECIFIED",
207 "MINIMAL", 202 "MINIMAL",
208 "ROOTSPAN", 203 "ROOTSPAN",
209 "COMPLETE" 204 "COMPLETE"
210 ], 205 ],
211 "location": "query", 206 "location": "query",
212 "type": "string" 207 "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 ]
(...skipping 27 matching lines...) Expand all
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": "20170225", 260 "revision": "20170320",
261 "rootUrl": "https://cloudtrace.googleapis.com/", 261 "rootUrl": "https://cloudtrace.googleapis.com/",
262 "schemas": { 262 "schemas": {
263 "ListTracesResponse": { 263 "ListTracesResponse": {
264 "description": "The response message for the `ListTraces` method.", 264 "description": "The response message for the `ListTraces` method.",
265 "id": "ListTracesResponse", 265 "id": "ListTracesResponse",
266 "properties": { 266 "properties": {
267 "traces": { 267 "traces": {
268 "description": "List of trace records returned.", 268 "description": "List of trace records returned.",
269 "items": { 269 "items": {
270 "$ref": "Trace" 270 "$ref": "Trace"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 }, 317 },
318 "type": "array" 318 "type": "array"
319 } 319 }
320 }, 320 },
321 "type": "object" 321 "type": "object"
322 }, 322 },
323 "TraceSpan": { 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.", 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", 325 "id": "TraceSpan",
326 "properties": { 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 },
327 "kind": { 342 "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.", 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.",
329 "enum": [ 344 "enum": [
330 "SPAN_KIND_UNSPECIFIED", 345 "SPAN_KIND_UNSPECIFIED",
331 "RPC_SERVER", 346 "RPC_SERVER",
332 "RPC_CLIENT" 347 "RPC_CLIENT"
333 ], 348 ],
334 "enumDescriptions": [ 349 "enumDescriptions": [
335 "Unspecified.", 350 "Unspecified.",
336 "Indicates that the span covers server-side handling of an RPC or other\nremote network request.", 351 "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." 352 "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
338 ], 353 ],
339 "type": "string" 354 "type": "string"
340 }, 355 },
341 "labels": { 356 "labels": {
342 "additionalProperties": { 357 "additionalProperties": {
343 "type": "string" 358 "type": "string"
344 }, 359 },
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.", 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.",
346 "type": "object" 361 "type": "object"
347 }, 362 },
348 "name": { 363 "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.", 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.",
350 "type": "string" 365 "type": "string"
351 }, 366 },
352 "spanId": { 367 "spanId": {
353 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.", 368 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
354 "format": "uint64", 369 "format": "uint64",
355 "type": "string" 370 "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 } 371 }
372 }, 372 },
373 "type": "object" 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