Index: discovery/googleapis/cloudtrace__v1.json |
diff --git a/discovery/googleapis/cloudtrace__v1.json b/discovery/googleapis/cloudtrace__v1.json |
index 7004cf9cf24253808ec1f8ba0099015b597eb5c4..ddff559c0c7c7be35e74479b009b858e6b263270 100644 |
--- a/discovery/googleapis/cloudtrace__v1.json |
+++ b/discovery/googleapis/cloudtrace__v1.json |
@@ -31,6 +31,37 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "quotaUser": { |
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "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", |
@@ -85,37 +116,6 @@ |
], |
"location": "query", |
"type": "string" |
- }, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "access_token": { |
- "description": "OAuth access token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "quotaUser": { |
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "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" |
} |
}, |
"protocol": "rest", |
@@ -183,14 +183,14 @@ |
"location": "query", |
"type": "string" |
}, |
- "startTime": { |
- "description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.", |
- "format": "google-datetime", |
+ "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" |
}, |
- "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.", |
+ "startTime": { |
+ "description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.", |
+ "format": "google-datetime", |
"location": "query", |
"type": "string" |
}, |
@@ -257,61 +257,9 @@ |
} |
} |
}, |
- "revision": "20170208", |
+ "revision": "20170225", |
"rootUrl": "https://cloudtrace.googleapis.com/", |
"schemas": { |
- "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", |
- "type": "string" |
- }, |
- "kind": { |
- "description": "Distinguishes between spans generated in a particular context. For example,\ntwo spans with the same name may be distinguished using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.", |
- "enum": [ |
- "SPAN_KIND_UNSPECIFIED", |
- "RPC_SERVER", |
- "RPC_CLIENT" |
- ], |
- "enumDescriptions": [ |
- "Unspecified.", |
- "Indicates that the span covers server-side handling of an RPC or other\nremote network request.", |
- "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request." |
- ], |
- "type": "string" |
- }, |
- "labels": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "Collection of labels associated with the span. Label keys must be less than\n128 bytes. Label values must be less than 16 kilobytes.", |
- "type": "object" |
- }, |
- "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" |
- } |
- }, |
- "type": "object" |
- }, |
"ListTracesResponse": { |
"description": "The response message for the `ListTraces` method.", |
"id": "ListTracesResponse", |
@@ -340,10 +288,6 @@ |
"description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.", |
"id": "Trace", |
"properties": { |
- "traceId": { |
- "description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.", |
- "type": "string" |
- }, |
"projectId": { |
"description": "Project ID of the Cloud project where the trace data is stored.", |
"type": "string" |
@@ -354,6 +298,10 @@ |
"$ref": "TraceSpan" |
}, |
"type": "array" |
+ }, |
+ "traceId": { |
+ "description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -371,6 +319,58 @@ |
} |
}, |
"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": { |
+ "kind": { |
+ "description": "Distinguishes between spans generated in a particular context. For example,\ntwo spans with the same name may be distinguished using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.", |
+ "enum": [ |
+ "SPAN_KIND_UNSPECIFIED", |
+ "RPC_SERVER", |
+ "RPC_CLIENT" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified.", |
+ "Indicates that the span covers server-side handling of an RPC or other\nremote network request.", |
+ "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request." |
+ ], |
+ "type": "string" |
+ }, |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "Collection of labels associated with the span. Label keys must be less than\n128 bytes. Label values must be less than 16 kilobytes.", |
+ "type": "object" |
+ }, |
+ "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" |
+ }, |
+ "startTime": { |
+ "description": "Start time of the span in nanoseconds from the UNIX epoch.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
"servicePath": "", |