Index: discovery/googleapis/cloudtrace__v1.json |
diff --git a/discovery/googleapis/cloudtrace__v1.json b/discovery/googleapis/cloudtrace__v1.json |
index 11cdc3ebf720ab31f97ea41d4ec400ad8d5b8565..709ac1d402d09b557cfbb846ebffd6fd79e3ec8a 100644 |
--- a/discovery/googleapis/cloudtrace__v1.json |
+++ b/discovery/googleapis/cloudtrace__v1.json |
@@ -31,16 +31,6 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -52,13 +42,18 @@ |
"location": "query", |
"type": "boolean" |
}, |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"uploadType": { |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
+ "callback": { |
+ "description": "JSONP", |
"location": "query", |
"type": "string" |
}, |
@@ -75,11 +70,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -116,6 +106,16 @@ |
"description": "Pretty-print response.", |
"location": "query", |
"type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -192,12 +192,6 @@ |
"projectId" |
], |
"parameters": { |
- "projectId": { |
- "description": "ID of the Cloud project where the trace data is stored.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
"filter": { |
"description": "An optional filter against labels for the request.\n\nBy default, searches use prefix matching. To specify exact 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`: Return traces where any root span's name is\n exactly `NAME`.\n* `span:NAME_PREFIX`: Return traces where any span starts with\n `NAME_PREFIX`.\n* `+span:NAME`: 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* `label:LABEL_KEY`: Return all traces containing the specified\n label key (exact match, case-sensitive) regardless of the key:value\n pair's value (including 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:VALUE`: Equivalent to `/http/method:VALUE`.\n* `url:VALUE`: Equivalent to `/http/url:VALUE`.", |
"location": "query", |
@@ -209,17 +203,17 @@ |
"location": "query", |
"type": "string" |
}, |
- "pageToken": { |
- "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.", |
- "location": "query", |
- "type": "string" |
- }, |
"startTime": { |
"description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.", |
"format": "google-datetime", |
"location": "query", |
"type": "string" |
}, |
+ "pageToken": { |
+ "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"pageSize": { |
"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. Optional.", |
"format": "int32", |
@@ -241,6 +235,12 @@ |
"description": "Field used to sort the returned 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_time` 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 permitted.", |
"location": "query", |
"type": "string" |
+ }, |
+ "projectId": { |
+ "description": "ID of the Cloud project where the trace data is stored.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
} |
}, |
"path": "v1/projects/{projectId}/traces", |
@@ -257,28 +257,27 @@ |
} |
} |
}, |
- "revision": "20170802", |
+ "revision": "20170905", |
"rootUrl": "https://cloudtrace.googleapis.com/", |
"schemas": { |
+ "Traces": { |
+ "description": "List of new or updated traces.", |
+ "id": "Traces", |
+ "properties": { |
+ "traces": { |
+ "description": "List of traces.", |
+ "items": { |
+ "$ref": "Trace" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"TraceSpan": { |
"description": "A span represents a single timed event within a trace. Spans can be nested\nand form a trace tree. Often, a trace contains a root span that describes the\nend-to-end latency of an operation and, optionally, one or more subspans for\nits suboperations. Spans do not need to be contiguous. There may be gaps\nbetween spans in a trace.", |
"id": "TraceSpan", |
"properties": { |
- "spanId": { |
- "description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "parentSpanId": { |
- "description": "ID of the parent span, if any. Optional.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "endTime": { |
- "description": "End time of the span in nanoseconds from the UNIX epoch.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"startTime": { |
"description": "Start time of the span in nanoseconds from the UNIX epoch.", |
"format": "google-datetime", |
@@ -308,6 +307,21 @@ |
"name": { |
"description": "Name of the span. Must be less than 128 bytes. The span name is sanitized\nand displayed in the Stackdriver Trace tool in the\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 point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.", |
"type": "string" |
+ }, |
+ "spanId": { |
+ "description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.", |
+ "format": "uint64", |
+ "type": "string" |
+ }, |
+ "parentSpanId": { |
+ "description": "ID of the parent span, if any. Optional.", |
+ "format": "uint64", |
+ "type": "string" |
+ }, |
+ "endTime": { |
+ "description": "End time of the span in nanoseconds from the UNIX epoch.", |
+ "format": "google-datetime", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -357,20 +371,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "Traces": { |
- "description": "List of new or updated traces.", |
- "id": "Traces", |
- "properties": { |
- "traces": { |
- "description": "List of traces.", |
- "items": { |
- "$ref": "Trace" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |