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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 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 "bearer_token": {
35 "description": "OAuth bearer token.",
36 "location": "query",
37 "type": "string"
38 },
39 "oauth_token": {
40 "description": "OAuth 2.0 token for the current user.",
41 "location": "query",
42 "type": "string"
43 },
44 "upload_protocol": { 34 "upload_protocol": {
45 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 35 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
46 "location": "query", 36 "location": "query",
47 "type": "string" 37 "type": "string"
48 }, 38 },
49 "prettyPrint": { 39 "prettyPrint": {
50 "default": "true", 40 "default": "true",
51 "description": "Returns response with indentations and line breaks." , 41 "description": "Returns response with indentations and line breaks." ,
52 "location": "query", 42 "location": "query",
53 "type": "boolean" 43 "type": "boolean"
54 }, 44 },
45 "fields": {
46 "description": "Selector specifying which fields to include in a par tial response.",
47 "location": "query",
48 "type": "string"
49 },
55 "uploadType": { 50 "uploadType": {
56 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 51 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
57 "location": "query", 52 "location": "query",
58 "type": "string" 53 "type": "string"
59 }, 54 },
60 "fields": { 55 "callback": {
61 "description": "Selector specifying which fields to include in a par tial response.", 56 "description": "JSONP",
62 "location": "query", 57 "location": "query",
63 "type": "string" 58 "type": "string"
64 }, 59 },
65 "$.xgafv": { 60 "$.xgafv": {
66 "description": "V1 error format.", 61 "description": "V1 error format.",
67 "enum": [ 62 "enum": [
68 "1", 63 "1",
69 "2" 64 "2"
70 ], 65 ],
71 "enumDescriptions": [ 66 "enumDescriptions": [
72 "v1 error format", 67 "v1 error format",
73 "v2 error format" 68 "v2 error format"
74 ], 69 ],
75 "location": "query", 70 "location": "query",
76 "type": "string" 71 "type": "string"
77 }, 72 },
78 "callback": {
79 "description": "JSONP",
80 "location": "query",
81 "type": "string"
82 },
83 "alt": { 73 "alt": {
84 "default": "json", 74 "default": "json",
85 "description": "Data format for response.", 75 "description": "Data format for response.",
86 "enum": [ 76 "enum": [
87 "json", 77 "json",
88 "media", 78 "media",
89 "proto" 79 "proto"
90 ], 80 ],
91 "enumDescriptions": [ 81 "enumDescriptions": [
92 "Responses with Content-Type of application/json", 82 "Responses with Content-Type of application/json",
(...skipping 16 matching lines...) Expand all
109 "quotaUser": { 99 "quotaUser": {
110 "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.",
111 "location": "query", 101 "location": "query",
112 "type": "string" 102 "type": "string"
113 }, 103 },
114 "pp": { 104 "pp": {
115 "default": "true", 105 "default": "true",
116 "description": "Pretty-print response.", 106 "description": "Pretty-print response.",
117 "location": "query", 107 "location": "query",
118 "type": "boolean" 108 "type": "boolean"
109 },
110 "oauth_token": {
111 "description": "OAuth 2.0 token for the current user.",
112 "location": "query",
113 "type": "string"
114 },
115 "bearer_token": {
116 "description": "OAuth bearer token.",
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ] 185 ]
186 }, 186 },
187 "list": { 187 "list": {
188 "description": "Returns of a list of traces that mat ch the specified filter conditions.", 188 "description": "Returns of a list of traces that mat ch the specified filter conditions.",
189 "httpMethod": "GET", 189 "httpMethod": "GET",
190 "id": "cloudtrace.projects.traces.list", 190 "id": "cloudtrace.projects.traces.list",
191 "parameterOrder": [ 191 "parameterOrder": [
192 "projectId" 192 "projectId"
193 ], 193 ],
194 "parameters": { 194 "parameters": {
195 "projectId": {
196 "description": "ID of the Cloud project wher e the trace data is stored.",
197 "location": "path",
198 "required": true,
199 "type": "string"
200 },
201 "filter": { 195 "filter": {
202 "description": "An optional filter against l abels for the request.\n\nBy default, searches use prefix matching. To specify e xact match, prepend\na plus symbol (`+`) to the search term.\nMultiple terms are ANDed. Syntax:\n\n* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root\n span starts with `NAME_PREFIX`.\n* `+root:NAME` or `+NAME`: Retu rn traces where any root span's name is\n exactly `NAME`.\n* `span:NAME_PRE FIX`: Return traces where any span starts with\n `NAME_PREFIX`.\n* `+span:N AME`: Return traces where any span's name is exactly\n `NAME`.\n* `latency: DURATION`: Return traces whose overall latency is\n greater or equal to than `DURATION`. Accepted units are nanoseconds\n (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For\n example, `latency:24ms` returns traces whose overall latency\n is greater than or equal to 24 milliseconds.\n* `l abel:LABEL_KEY`: Return all traces containing the specified\n label key (exac t match, case-sensitive) regardless of the key:value\n pair's value (includin g empty values).\n* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified\n label key (exact match, case-sensitive) whose value starts with\ n `VALUE_PREFIX`. Both a key and a value must be specified.\n* `+LABEL_KEY: VALUE`: Return all traces containing a key:value pair\n exactly matching the specified text. Both a key and a value must be\n specified.\n* `method:VALU E`: Equivalent to `/http/method:VALUE`.\n* `url:VALUE`: Equivalent to `/http/u rl:VALUE`.", 196 "description": "An optional filter against l abels for the request.\n\nBy default, searches use prefix matching. To specify e xact match, prepend\na plus symbol (`+`) to the search term.\nMultiple terms are ANDed. Syntax:\n\n* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root\n span starts with `NAME_PREFIX`.\n* `+root:NAME` or `+NAME`: Retu rn traces where any root span's name is\n exactly `NAME`.\n* `span:NAME_PRE FIX`: Return traces where any span starts with\n `NAME_PREFIX`.\n* `+span:N AME`: Return traces where any span's name is exactly\n `NAME`.\n* `latency: DURATION`: Return traces whose overall latency is\n greater or equal to than `DURATION`. Accepted units are nanoseconds\n (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For\n example, `latency:24ms` returns traces whose overall latency\n is greater than or equal to 24 milliseconds.\n* `l abel:LABEL_KEY`: Return all traces containing the specified\n label key (exac t match, case-sensitive) regardless of the key:value\n pair's value (includin g empty values).\n* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified\n label key (exact match, case-sensitive) whose value starts with\ n `VALUE_PREFIX`. Both a key and a value must be specified.\n* `+LABEL_KEY: VALUE`: Return all traces containing a key:value pair\n exactly matching the specified text. Both a key and a value must be\n specified.\n* `method:VALU E`: Equivalent to `/http/method:VALUE`.\n* `url:VALUE`: Equivalent to `/http/u rl:VALUE`.",
203 "location": "query", 197 "location": "query",
204 "type": "string" 198 "type": "string"
205 }, 199 },
206 "endTime": { 200 "endTime": {
207 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.", 201 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.",
208 "format": "google-datetime", 202 "format": "google-datetime",
209 "location": "query", 203 "location": "query",
210 "type": "string" 204 "type": "string"
211 }, 205 },
212 "pageToken": {
213 "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.",
214 "location": "query",
215 "type": "string"
216 },
217 "startTime": { 206 "startTime": {
218 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.", 207 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.",
219 "format": "google-datetime", 208 "format": "google-datetime",
220 "location": "query", 209 "location": "query",
221 "type": "string" 210 "type": "string"
222 }, 211 },
212 "pageToken": {
213 "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.",
214 "location": "query",
215 "type": "string"
216 },
223 "pageSize": { 217 "pageSize": {
224 "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.", 218 "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.",
225 "format": "int32", 219 "format": "int32",
226 "location": "query", 220 "location": "query",
227 "type": "integer" 221 "type": "integer"
228 }, 222 },
229 "view": { 223 "view": {
230 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.", 224 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.",
231 "enum": [ 225 "enum": [
232 "VIEW_TYPE_UNSPECIFIED", 226 "VIEW_TYPE_UNSPECIFIED",
233 "MINIMAL", 227 "MINIMAL",
234 "ROOTSPAN", 228 "ROOTSPAN",
235 "COMPLETE" 229 "COMPLETE"
236 ], 230 ],
237 "location": "query", 231 "location": "query",
238 "type": "string" 232 "type": "string"
239 }, 233 },
240 "orderBy": { 234 "orderBy": {
241 "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.", 235 "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.",
242 "location": "query", 236 "location": "query",
243 "type": "string" 237 "type": "string"
238 },
239 "projectId": {
240 "description": "ID of the Cloud project wher e the trace data is stored.",
241 "location": "path",
242 "required": true,
243 "type": "string"
244 } 244 }
245 }, 245 },
246 "path": "v1/projects/{projectId}/traces", 246 "path": "v1/projects/{projectId}/traces",
247 "response": { 247 "response": {
248 "$ref": "ListTracesResponse" 248 "$ref": "ListTracesResponse"
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": "20170802", 260 "revision": "20170905",
261 "rootUrl": "https://cloudtrace.googleapis.com/", 261 "rootUrl": "https://cloudtrace.googleapis.com/",
262 "schemas": { 262 "schemas": {
263 "Traces": {
264 "description": "List of new or updated traces.",
265 "id": "Traces",
266 "properties": {
267 "traces": {
268 "description": "List of traces.",
269 "items": {
270 "$ref": "Trace"
271 },
272 "type": "array"
273 }
274 },
275 "type": "object"
276 },
263 "TraceSpan": { 277 "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.", 278 "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", 279 "id": "TraceSpan",
266 "properties": { 280 "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": { 281 "startTime": {
283 "description": "Start time of the span in nanoseconds from t he UNIX epoch.", 282 "description": "Start time of the span in nanoseconds from t he UNIX epoch.",
284 "format": "google-datetime", 283 "format": "google-datetime",
285 "type": "string" 284 "type": "string"
286 }, 285 },
287 "kind": { 286 "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.", 287 "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": [ 288 "enum": [
290 "SPAN_KIND_UNSPECIFIED", 289 "SPAN_KIND_UNSPECIFIED",
291 "RPC_SERVER", 290 "RPC_SERVER",
292 "RPC_CLIENT" 291 "RPC_CLIENT"
293 ], 292 ],
294 "enumDescriptions": [ 293 "enumDescriptions": [
295 "Unspecified.", 294 "Unspecified.",
296 "Indicates that the span covers server-side handling of an RPC or other\nremote network request.", 295 "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." 296 "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
298 ], 297 ],
299 "type": "string" 298 "type": "string"
300 }, 299 },
301 "labels": { 300 "labels": {
302 "additionalProperties": { 301 "additionalProperties": {
303 "type": "string" 302 "type": "string"
304 }, 303 },
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 (10MB for\n`/stacktrace` values).\n\nSome predefined label keys exist, o r you may create your own. When creating\nyour own, we recommend the following f ormats:\n\n* `/category/product/key` for agents of well-known products (e.g.\n `/db/mongodb/read_size`).\n* `short_host/path/key` for domain-specific keys (e.g .\n `foo.com/myproduct/bar`)\n\nPredefined labels include:\n\n* `/agent`\n* `/component`\n* `/error/message`\n* `/error/name`\n* `/http/client_city`\ n* `/http/client_country`\n* `/http/client_protocol`\n* `/http/client_regi on`\n* `/http/host`\n* `/http/method`\n* `/http/redirected_url`\n* `/htt p/request/size`\n* `/http/response/size`\n* `/http/status_code`\n* `/http/ url`\n* `/http/user_agent`\n* `/pid`\n* `/stacktrace`\n* `/tid`", 304 "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 (10MB for\n`/stacktrace` values).\n\nSome predefined label keys exist, o r you may create your own. When creating\nyour own, we recommend the following f ormats:\n\n* `/category/product/key` for agents of well-known products (e.g.\n `/db/mongodb/read_size`).\n* `short_host/path/key` for domain-specific keys (e.g .\n `foo.com/myproduct/bar`)\n\nPredefined labels include:\n\n* `/agent`\n* `/component`\n* `/error/message`\n* `/error/name`\n* `/http/client_city`\ n* `/http/client_country`\n* `/http/client_protocol`\n* `/http/client_regi on`\n* `/http/host`\n* `/http/method`\n* `/http/redirected_url`\n* `/htt p/request/size`\n* `/http/response/size`\n* `/http/status_code`\n* `/http/ url`\n* `/http/user_agent`\n* `/pid`\n* `/stacktrace`\n* `/tid`",
306 "type": "object" 305 "type": "object"
307 }, 306 },
308 "name": { 307 "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.", 308 "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" 309 "type": "string"
310 },
311 "spanId": {
312 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
313 "format": "uint64",
314 "type": "string"
315 },
316 "parentSpanId": {
317 "description": "ID of the parent span, if any. Optional.",
318 "format": "uint64",
319 "type": "string"
320 },
321 "endTime": {
322 "description": "End time of the span in nanoseconds from the UNIX epoch.",
323 "format": "google-datetime",
324 "type": "string"
311 } 325 }
312 }, 326 },
313 "type": "object" 327 "type": "object"
314 }, 328 },
315 "Empty": { 329 "Empty": {
316 "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 `{}`.", 330 "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 `{}`.",
317 "id": "Empty", 331 "id": "Empty",
318 "properties": {}, 332 "properties": {},
319 "type": "object" 333 "type": "object"
320 }, 334 },
(...skipping 29 matching lines...) Expand all
350 "projectId": { 364 "projectId": {
351 "description": "Project ID of the Cloud project where the tr ace data is stored.", 365 "description": "Project ID of the Cloud project where the tr ace data is stored.",
352 "type": "string" 366 "type": "string"
353 }, 367 },
354 "traceId": { 368 "traceId": {
355 "description": "Globally unique identifier for the trace. Th is identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.", 369 "description": "Globally unique identifier for the trace. Th is identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
356 "type": "string" 370 "type": "string"
357 } 371 }
358 }, 372 },
359 "type": "object" 373 "type": "object"
360 },
361 "Traces": {
362 "description": "List of new or updated traces.",
363 "id": "Traces",
364 "properties": {
365 "traces": {
366 "description": "List of traces.",
367 "items": {
368 "$ref": "Trace"
369 },
370 "type": "array"
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__v2beta1.json ('k') | discovery/googleapis/cloudtrace__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698