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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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/cloud-platform": { 5 "https://www.googleapis.com/auth/trace.readonly": {
6 "description": "View and manage your data across Google Clou d Platform services" 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 },
11 "https://www.googleapis.com/auth/trace.readonly": { 11 "https://www.googleapis.com/auth/cloud-platform": {
12 "description": "Read Trace data for a project or application " 12 "description": "View and manage your data across Google Clou d Platform services"
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 Google Cloud Trace. Data i s generated and available by default for all App Engine applications. Data from other applications can be written to Cloud Trace for display, reporting, and ana lysis.", 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/tools/cloud-trace", 23 "documentationLink": "https://cloud.google.com/trace",
24 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/avS4leRd3oaImhwLi14P2pt74p0\"",
25 "icons": { 24 "icons": {
26 "x16": "http://www.google.com/images/icons/product/search-16.gif", 25 "x16": "http://www.google.com/images/icons/product/search-16.gif",
27 "x32": "http://www.google.com/images/icons/product/search-32.gif" 26 "x32": "http://www.google.com/images/icons/product/search-32.gif"
28 }, 27 },
29 "id": "cloudtrace:v1", 28 "id": "cloudtrace:v1",
30 "kind": "discovery#restDescription", 29 "kind": "discovery#restDescription",
31 "name": "cloudtrace", 30 "name": "cloudtrace",
32 "ownerDomain": "google.com", 31 "ownerDomain": "google.com",
33 "ownerName": "Google", 32 "ownerName": "Google",
34 "parameters": { 33 "parameters": {
35 "access_token": { 34 "upload_protocol": {
36 "description": "OAuth access token.", 35 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
37 "location": "query", 36 "location": "query",
38 "type": "string" 37 "type": "string"
39 }, 38 },
40 "alt": { 39 "prettyPrint": {
41 "default": "json", 40 "default": "true",
42 "description": "Data format for response.", 41 "description": "Returns response with indentations and line breaks." ,
43 "enumDescriptions": [ 42 "location": "query",
44 "Responses with Content-Type of application/json", 43 "type": "boolean"
45 "Media download with context-dependent Content-Type", 44 },
46 "Responses with Content-Type of application/x-protobuf" 45 "uploadType": {
47 ], 46 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
48 "location": "query", 47 "location": "query",
49 "type": "string" 48 "type": "string"
50 }, 49 },
51 "bearer_token": { 50 "fields": {
52 "description": "OAuth bearer token.", 51 "description": "Selector specifying which fields to include in a par tial response.",
53 "location": "query", 52 "location": "query",
54 "type": "string" 53 "type": "string"
55 }, 54 },
56 "callback": { 55 "callback": {
57 "description": "JSONP", 56 "description": "JSONP",
58 "location": "query", 57 "location": "query",
59 "type": "string" 58 "type": "string"
60 }, 59 },
61 "fields": { 60 "$.xgafv": {
62 "description": "Selector specifying which fields to include in a par tial response.", 61 "description": "V1 error format.",
62 "enum": [
63 "1",
64 "2"
65 ],
66 "enumDescriptions": [
67 "v1 error format",
68 "v2 error format"
69 ],
70 "location": "query",
71 "type": "string"
72 },
73 "alt": {
74 "default": "json",
75 "description": "Data format for response.",
76 "enum": [
77 "json",
78 "media",
79 "proto"
80 ],
81 "enumDescriptions": [
82 "Responses with Content-Type of application/json",
83 "Media download with context-dependent Content-Type",
84 "Responses with Content-Type of application/x-protobuf"
85 ],
63 "location": "query", 86 "location": "query",
64 "type": "string" 87 "type": "string"
65 }, 88 },
66 "key": { 89 "key": {
67 "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.", 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.",
68 "location": "query", 91 "location": "query",
69 "type": "string" 92 "type": "string"
70 }, 93 },
71 "oauth_token": { 94 "access_token": {
72 "description": "OAuth 2.0 token for the current user.", 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.",
73 "location": "query", 101 "location": "query",
74 "type": "string" 102 "type": "string"
75 }, 103 },
76 "pp": { 104 "pp": {
77 "default": "true", 105 "default": "true",
78 "description": "Pretty-print response.", 106 "description": "Pretty-print response.",
79 "location": "query", 107 "location": "query",
80 "type": "boolean" 108 "type": "boolean"
81 }, 109 },
82 "prettyPrint": { 110 "bearer_token": {
83 "default": "true", 111 "description": "OAuth bearer token.",
84 "description": "Returns response with indentations and line breaks." ,
85 "location": "query",
86 "type": "boolean"
87 },
88 "quotaUser": {
89 "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.",
90 "location": "query", 112 "location": "query",
91 "type": "string" 113 "type": "string"
92 }, 114 },
93 "upload_protocol": { 115 "oauth_token": {
94 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 116 "description": "OAuth 2.0 token for the current user.",
95 "location": "query",
96 "type": "string"
97 },
98 "uploadType": {
99 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
100 "location": "query",
101 "type": "string"
102 },
103 "$.xgafv": {
104 "description": "V1 error format.",
105 "enumDescriptions": [
106 "v1 error format",
107 "v2 error format"
108 ],
109 "location": "query", 117 "location": "query",
110 "type": "string" 118 "type": "string"
111 } 119 }
112 }, 120 },
113 "protocol": "rest", 121 "protocol": "rest",
114 "resources": { 122 "resources": {
115 "projects": { 123 "projects": {
116 "methods": { 124 "methods": {
117 "patchTraces": { 125 "patchTraces": {
118 "description": "Sends new traces to Stackdriver Trace or upd ates existing traces. If the ID of a trace that you send matches that of an exis ting trace, any fields in the existing trace and its spans are overwritten by th e provided values, and any new fields provided are merged with the existing trac e data. If the ID 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.",
119 "httpMethod": "PATCH", 127 "httpMethod": "PATCH",
120 "id": "cloudtrace.projects.patchTraces", 128 "id": "cloudtrace.projects.patchTraces",
121 "parameterOrder": [ 129 "parameterOrder": [
122 "projectId" 130 "projectId"
123 ], 131 ],
124 "parameters": { 132 "parameters": {
125 "projectId": { 133 "projectId": {
126 "description": "ID of the Cloud project where the tr ace data is stored.", 134 "description": "ID of the Cloud project where the tr ace data is stored.",
127 "location": "path", 135 "location": "path",
128 "required": true, 136 "required": true,
(...skipping 17 matching lines...) Expand all
146 "traces": { 154 "traces": {
147 "methods": { 155 "methods": {
148 "list": { 156 "list": {
149 "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.",
150 "httpMethod": "GET", 158 "httpMethod": "GET",
151 "id": "cloudtrace.projects.traces.list", 159 "id": "cloudtrace.projects.traces.list",
152 "parameterOrder": [ 160 "parameterOrder": [
153 "projectId" 161 "projectId"
154 ], 162 ],
155 "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 },
156 "projectId": { 169 "projectId": {
157 "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.",
158 "location": "path", 171 "location": "path",
159 "required": true, 172 "required": true,
160 "type": "string" 173 "type": "string"
161 }, 174 },
175 "filter": {
176 "description": "An optional filter for the r equest.",
177 "location": "query",
178 "type": "string"
179 },
180 "endTime": {
181 "description": "Start of the time interval ( inclusive) during which the trace data was\ncollected from the application.",
182 "format": "google-datetime",
183 "location": "query",
184 "type": "string"
185 },
186 "startTime": {
187 "description": "End of the time interval (in clusive) during which the trace data was\ncollected from the application.",
188 "format": "google-datetime",
189 "location": "query",
190 "type": "string"
191 },
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": {
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",
200 "location": "query",
201 "type": "integer"
202 },
162 "view": { 203 "view": {
163 "description": "Type of data returned for tr aces in the list. Optional. Default is `MINIMAL`.", 204 "description": "Type of data returned for tr aces in the list. Optional. Default is\n`MINIMAL`.",
164 "enum": [ 205 "enum": [
165 "VIEW_TYPE_UNSPECIFIED", 206 "VIEW_TYPE_UNSPECIFIED",
166 "MINIMAL", 207 "MINIMAL",
167 "ROOTSPAN", 208 "ROOTSPAN",
168 "COMPLETE" 209 "COMPLETE"
169 ], 210 ],
170 "location": "query", 211 "location": "query",
171 "type": "string" 212 "type": "string"
172 },
173 "pageSize": {
174 "description": "Maximum number of traces to return. If not specified or <= 0, the implementation selects a reasonable value. The implementation may return fewer traces than the requested page size. Option al.",
175 "format": "int32",
176 "location": "query",
177 "type": "integer"
178 },
179 "pageToken": {
180 "description": "Token identifying the page o f results to return. If provided, use the value of the `next_page_token` field f rom a previous request. Optional.",
181 "location": "query",
182 "type": "string"
183 },
184 "startTime": {
185 "description": "End of the time interval (in clusive) during which the trace data was collected from the application.",
186 "location": "query",
187 "type": "string"
188 },
189 "endTime": {
190 "description": "Start of the time interval ( inclusive) during which the trace data was collected from the application.",
191 "location": "query",
192 "type": "string"
193 },
194 "filter": {
195 "description": "An optional filter for the r equest.",
196 "location": "query",
197 "type": "string"
198 },
199 "orderBy": {
200 "description": "Field used to sort the retur ned traces. Optional. Can be one of the following: * `trace_id` * `name` (`name` field of root span in the trace) * `duration` (difference between `end_time` an d `start_time` fields of the root span) * `start` (`start_time` field of the roo t span) Descending order can be specified by appending `desc` to the sort field (for example, `name desc`). Only one sort field is permitted.",
201 "location": "query",
202 "type": "string"
203 } 213 }
204 }, 214 },
205 "path": "v1/projects/{projectId}/traces", 215 "path": "v1/projects/{projectId}/traces",
206 "response": { 216 "response": {
207 "$ref": "ListTracesResponse" 217 "$ref": "ListTracesResponse"
208 }, 218 },
209 "scopes": [ 219 "scopes": [
210 "https://www.googleapis.com/auth/cloud-platform" , 220 "https://www.googleapis.com/auth/cloud-platform" ,
211 "https://www.googleapis.com/auth/trace.readonly" 221 "https://www.googleapis.com/auth/trace.readonly"
212 ] 222 ]
(...skipping 27 matching lines...) Expand all
240 "scopes": [ 250 "scopes": [
241 "https://www.googleapis.com/auth/cloud-platform" , 251 "https://www.googleapis.com/auth/cloud-platform" ,
242 "https://www.googleapis.com/auth/trace.readonly" 252 "https://www.googleapis.com/auth/trace.readonly"
243 ] 253 ]
244 } 254 }
245 } 255 }
246 } 256 }
247 } 257 }
248 } 258 }
249 }, 259 },
250 "revision": "20160518", 260 "revision": "20170208",
251 "rootUrl": "https://cloudtrace.googleapis.com/", 261 "rootUrl": "https://cloudtrace.googleapis.com/",
252 "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 },
253 "ListTracesResponse": { 315 "ListTracesResponse": {
254 "description": "The response message for the `ListTraces` method.", 316 "description": "The response message for the `ListTraces` method.",
255 "id": "ListTracesResponse", 317 "id": "ListTracesResponse",
256 "properties": { 318 "properties": {
257 "traces": { 319 "traces": {
258 "description": "List of trace records returned.", 320 "description": "List of trace records returned.",
259 "items": { 321 "items": {
260 "$ref": "Trace" 322 "$ref": "Trace"
261 }, 323 },
262 "type": "array" 324 "type": "array"
263 }, 325 },
264 "nextPageToken": { 326 "nextPageToken": {
265 "description": "If defined, indicates that there are more tr aces that match the request and that this value should be passed to the next req uest to continue retrieving additional traces.", 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.",
266 "type": "string" 328 "type": "string"
267 } 329 }
268 }, 330 },
269 "type": "object" 331 "type": "object"
270 }, 332 },
333 "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 `{}`.",
335 "id": "Empty",
336 "properties": {},
337 "type": "object"
338 },
271 "Trace": { 339 "Trace": {
272 "description": "A trace describes how long it takes for an applicati on to perform an operation. It consists of a set of spans, each of which represe nt a single timed event within the operation.", 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.",
273 "id": "Trace", 341 "id": "Trace",
274 "properties": { 342 "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 },
275 "projectId": { 347 "projectId": {
276 "description": "Project ID of the Cloud project where the tr ace data is stored.", 348 "description": "Project ID of the Cloud project where the tr ace data is stored.",
277 "type": "string" 349 "type": "string"
278 }, 350 },
279 "traceId": {
280 "description": "Globally unique identifier for the trace. Th is identifier is a 128-bit numeric value formatted as a 32-byte hex string.",
281 "type": "string"
282 },
283 "spans": { 351 "spans": {
284 "description": "Collection of spans in the trace.", 352 "description": "Collection of spans in the trace.",
285 "items": { 353 "items": {
286 "$ref": "TraceSpan" 354 "$ref": "TraceSpan"
287 }, 355 },
288 "type": "array" 356 "type": "array"
289 } 357 }
290 }, 358 },
291 "type": "object" 359 "type": "object"
292 }, 360 },
293 "TraceSpan": {
294 "description": "A span represents a single timed event within a trac e. Spans can be nested and form a trace tree. Often, a trace contains a root spa n that describes the end-to-end latency of an operation and, optionally, one or more subspans for its suboperations. Spans do not need to be contiguous. There m ay be gaps between spans in a trace.",
295 "id": "TraceSpan",
296 "properties": {
297 "spanId": {
298 "description": "Identifier for the span. This identifier mus t be unique within a trace.",
299 "format": "uint64",
300 "type": "string"
301 },
302 "kind": {
303 "description": "Distinguishes between spans generated in a p articular context. For example, two spans with the same name may be distinguishe d using `RPC_CLIENT` and `RPC_SERVER` to identify queueing latency associated wi th the span.",
304 "enum": [
305 "SPAN_KIND_UNSPECIFIED",
306 "RPC_SERVER",
307 "RPC_CLIENT"
308 ],
309 "type": "string"
310 },
311 "name": {
312 "description": "Name of the trace. The trace name is sanitiz ed and displayed in the Stackdriver Trace tool in the {% dynamic print site_valu es.console_name %}. The name may be a method name or some other per-call site na me. For the same executable and the same call point, a best practice is to use a consistent name, which makes it easier to correlate cross-trace spans.",
313 "type": "string"
314 },
315 "startTime": {
316 "description": "Start time of the span in nanoseconds from t he UNIX epoch.",
317 "type": "string"
318 },
319 "endTime": {
320 "description": "End time of the span in nanoseconds from the UNIX epoch.",
321 "type": "string"
322 },
323 "parentSpanId": {
324 "description": "ID of the parent span, if any. Optional.",
325 "format": "uint64",
326 "type": "string"
327 },
328 "labels": {
329 "additionalProperties": {
330 "type": "string"
331 },
332 "description": "Collection of labels associated with the spa n.",
333 "type": "object"
334 }
335 },
336 "type": "object"
337 },
338 "Traces": { 361 "Traces": {
339 "description": "List of new or updated traces.", 362 "description": "List of new or updated traces.",
340 "id": "Traces", 363 "id": "Traces",
341 "properties": { 364 "properties": {
342 "traces": { 365 "traces": {
343 "description": "List of traces.", 366 "description": "List of traces.",
344 "items": { 367 "items": {
345 "$ref": "Trace" 368 "$ref": "Trace"
346 }, 369 },
347 "type": "array" 370 "type": "array"
348 } 371 }
349 }, 372 },
350 "type": "object" 373 "type": "object"
351 },
352 "Empty": {
353 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re presentation for `Empty` is empty JSON object `{}`.",
354 "id": "Empty",
355 "type": "object"
356 } 374 }
357 }, 375 },
358 "servicePath": "", 376 "servicePath": "",
359 "title": "Google Cloud Trace API", 377 "title": "Stackdriver Trace API",
360 "version": "v1" 378 "version": "v1"
361 } 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