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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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 "quotaUser": {
35 "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.",
36 "location": "query",
37 "type": "string"
38 },
39 "pp": {
40 "default": "true",
41 "description": "Pretty-print response.",
42 "location": "query",
43 "type": "boolean"
44 },
45 "bearer_token": { 34 "bearer_token": {
46 "description": "OAuth bearer token.", 35 "description": "OAuth bearer token.",
47 "location": "query", 36 "location": "query",
48 "type": "string" 37 "type": "string"
49 }, 38 },
50 "oauth_token": { 39 "oauth_token": {
51 "description": "OAuth 2.0 token for the current user.", 40 "description": "OAuth 2.0 token for the current user.",
52 "location": "query", 41 "location": "query",
53 "type": "string" 42 "type": "string"
54 }, 43 },
(...skipping 11 matching lines...) Expand all
66 "uploadType": { 55 "uploadType": {
67 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 56 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
68 "location": "query", 57 "location": "query",
69 "type": "string" 58 "type": "string"
70 }, 59 },
71 "fields": { 60 "fields": {
72 "description": "Selector specifying which fields to include in a par tial response.", 61 "description": "Selector specifying which fields to include in a par tial response.",
73 "location": "query", 62 "location": "query",
74 "type": "string" 63 "type": "string"
75 }, 64 },
76 "callback": {
77 "description": "JSONP",
78 "location": "query",
79 "type": "string"
80 },
81 "$.xgafv": { 65 "$.xgafv": {
82 "description": "V1 error format.", 66 "description": "V1 error format.",
83 "enum": [ 67 "enum": [
84 "1", 68 "1",
85 "2" 69 "2"
86 ], 70 ],
87 "enumDescriptions": [ 71 "enumDescriptions": [
88 "v1 error format", 72 "v1 error format",
89 "v2 error format" 73 "v2 error format"
90 ], 74 ],
91 "location": "query", 75 "location": "query",
92 "type": "string" 76 "type": "string"
93 }, 77 },
78 "callback": {
79 "description": "JSONP",
80 "location": "query",
81 "type": "string"
82 },
94 "alt": { 83 "alt": {
95 "default": "json", 84 "default": "json",
96 "description": "Data format for response.", 85 "description": "Data format for response.",
97 "enum": [ 86 "enum": [
98 "json", 87 "json",
99 "media", 88 "media",
100 "proto" 89 "proto"
101 ], 90 ],
102 "enumDescriptions": [ 91 "enumDescriptions": [
103 "Responses with Content-Type of application/json", 92 "Responses with Content-Type of application/json",
104 "Media download with context-dependent Content-Type", 93 "Media download with context-dependent Content-Type",
105 "Responses with Content-Type of application/x-protobuf" 94 "Responses with Content-Type of application/x-protobuf"
106 ], 95 ],
107 "location": "query", 96 "location": "query",
108 "type": "string" 97 "type": "string"
109 }, 98 },
99 "key": {
100 "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.",
101 "location": "query",
102 "type": "string"
103 },
110 "access_token": { 104 "access_token": {
111 "description": "OAuth access token.", 105 "description": "OAuth access token.",
112 "location": "query", 106 "location": "query",
113 "type": "string" 107 "type": "string"
114 }, 108 },
115 "key": { 109 "quotaUser": {
116 "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.", 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.",
117 "location": "query", 111 "location": "query",
118 "type": "string" 112 "type": "string"
113 },
114 "pp": {
115 "default": "true",
116 "description": "Pretty-print response.",
117 "location": "query",
118 "type": "boolean"
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 "orderBy": {
196 "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.",
197 "location": "query",
198 "type": "string"
199 },
200 "projectId": { 195 "projectId": {
201 "description": "ID of the Cloud project wher e the trace data is stored.", 196 "description": "ID of the Cloud project wher e the trace data is stored.",
202 "location": "path", 197 "location": "path",
203 "required": true, 198 "required": true,
204 "type": "string" 199 "type": "string"
205 }, 200 },
206 "filter": { 201 "filter": {
207 "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`.", 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`.",
208 "location": "query", 203 "location": "query",
209 "type": "string" 204 "type": "string"
(...skipping 24 matching lines...) Expand all
234 "view": { 229 "view": {
235 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.", 230 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.",
236 "enum": [ 231 "enum": [
237 "VIEW_TYPE_UNSPECIFIED", 232 "VIEW_TYPE_UNSPECIFIED",
238 "MINIMAL", 233 "MINIMAL",
239 "ROOTSPAN", 234 "ROOTSPAN",
240 "COMPLETE" 235 "COMPLETE"
241 ], 236 ],
242 "location": "query", 237 "location": "query",
243 "type": "string" 238 "type": "string"
239 },
240 "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.",
242 "location": "query",
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": "20170718", 260 "revision": "20170802",
261 "rootUrl": "https://cloudtrace.googleapis.com/", 261 "rootUrl": "https://cloudtrace.googleapis.com/",
262 "schemas": { 262 "schemas": {
263 "Trace": {
264 "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.",
265 "id": "Trace",
266 "properties": {
267 "spans": {
268 "description": "Collection of spans in the trace.",
269 "items": {
270 "$ref": "TraceSpan"
271 },
272 "type": "array"
273 },
274 "projectId": {
275 "description": "Project ID of the Cloud project where the tr ace data is stored.",
276 "type": "string"
277 },
278 "traceId": {
279 "description": "Globally unique identifier for the trace. Th is identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.",
280 "type": "string"
281 }
282 },
283 "type": "object"
284 },
285 "Traces": {
286 "description": "List of new or updated traces.",
287 "id": "Traces",
288 "properties": {
289 "traces": {
290 "description": "List of traces.",
291 "items": {
292 "$ref": "Trace"
293 },
294 "type": "array"
295 }
296 },
297 "type": "object"
298 },
299 "TraceSpan": { 263 "TraceSpan": {
300 "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.", 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.",
301 "id": "TraceSpan", 265 "id": "TraceSpan",
302 "properties": { 266 "properties": {
303 "spanId": { 267 "spanId": {
304 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.", 268 "description": "Identifier for the span. Must be a 64-bit in teger other than 0 and\nunique within a trace.",
305 "format": "uint64", 269 "format": "uint64",
306 "type": "string" 270 "type": "string"
307 }, 271 },
308 "parentSpanId": { 272 "parentSpanId": {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 }, 328 },
365 "traces": { 329 "traces": {
366 "description": "List of trace records returned.", 330 "description": "List of trace records returned.",
367 "items": { 331 "items": {
368 "$ref": "Trace" 332 "$ref": "Trace"
369 }, 333 },
370 "type": "array" 334 "type": "array"
371 } 335 }
372 }, 336 },
373 "type": "object" 337 "type": "object"
338 },
339 "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.",
341 "id": "Trace",
342 "properties": {
343 "spans": {
344 "description": "Collection of spans in the trace.",
345 "items": {
346 "$ref": "TraceSpan"
347 },
348 "type": "array"
349 },
350 "projectId": {
351 "description": "Project ID of the Cloud project where the tr ace data is stored.",
352 "type": "string"
353 },
354 "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.",
356 "type": "string"
357 }
358 },
359 "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