Index: discovery/googleapis/cloudlatencytest__v2.json |
diff --git a/discovery/googleapis/cloudlatencytest__v2.json b/discovery/googleapis/cloudlatencytest__v2.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9b1f36e0d484354af6ce085cfbe67122db76abc8 |
--- /dev/null |
+++ b/discovery/googleapis/cloudlatencytest__v2.json |
@@ -0,0 +1,212 @@ |
+{ |
+ "auth": { |
+ "oauth2": { |
+ "scopes": { |
+ "https://www.googleapis.com/auth/monitoring.readonly": { |
+ "description": "View monitoring data for all of your Google Cloud and API projects" |
+ } |
+ } |
+ } |
+ }, |
+ "basePath": "/v2/statscollection/", |
+ "baseUrl": "https://cloudlatencytest-pa.googleapis.com/v2/statscollection/", |
+ "batchPath": "batch", |
+ "description": "A Test API to report latency data.", |
+ "discoveryVersion": "v1", |
+ "documentationLink": "", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-PbBjCBr5ChXewUXbKSMo5aP4BY\"", |
+ "icons": { |
+ "x16": "http://www.google.com/images/icons/product/search-16.gif", |
+ "x32": "http://www.google.com/images/icons/product/search-32.gif" |
+ }, |
+ "id": "cloudlatencytest:v2", |
+ "kind": "discovery#restDescription", |
+ "name": "cloudlatencytest", |
+ "ownerDomain": "google.com", |
+ "ownerName": "Google", |
+ "parameters": { |
+ "alt": { |
+ "default": "json", |
+ "description": "Data format for the response.", |
+ "enum": [ |
+ "json" |
+ ], |
+ "enumDescriptions": [ |
+ "Responses with Content-Type of application/json" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
+ "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" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "prettyPrint": { |
+ "default": "true", |
+ "description": "Returns response with indentations and line breaks.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "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. Overrides userIp if both are provided.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "userIp": { |
+ "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", |
+ "location": "query", |
+ "type": "string" |
+ } |
+ }, |
+ "protocol": "rest", |
+ "resources": { |
+ "statscollection": { |
+ "methods": { |
+ "updateaggregatedstats": { |
+ "description": "RPC to update the new TCP stats.", |
+ "httpMethod": "POST", |
+ "id": "cloudlatencytest.statscollection.updateaggregatedstats", |
+ "path": "updateaggregatedstats", |
+ "request": { |
+ "$ref": "AggregatedStats" |
+ }, |
+ "response": { |
+ "$ref": "AggregatedStatsReply" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/monitoring.readonly" |
+ ] |
+ }, |
+ "updatestats": { |
+ "description": "RPC to update the new TCP stats.", |
+ "httpMethod": "POST", |
+ "id": "cloudlatencytest.statscollection.updatestats", |
+ "path": "updatestats", |
+ "request": { |
+ "$ref": "Stats" |
+ }, |
+ "response": { |
+ "$ref": "StatsReply" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/monitoring.readonly" |
+ ] |
+ } |
+ } |
+ } |
+ }, |
+ "revision": "20150508", |
+ "rootUrl": "https://cloudlatencytest-pa.googleapis.com/", |
+ "schemas": { |
+ "AggregatedStats": { |
+ "id": "AggregatedStats", |
+ "properties": { |
+ "stats": { |
+ "items": { |
+ "$ref": "Stats" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "AggregatedStatsReply": { |
+ "id": "AggregatedStatsReply", |
+ "properties": { |
+ "testValue": { |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "DoubleValue": { |
+ "id": "DoubleValue", |
+ "properties": { |
+ "label": { |
+ "type": "string" |
+ }, |
+ "value": { |
+ "format": "float", |
+ "type": "number" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "IntValue": { |
+ "id": "IntValue", |
+ "properties": { |
+ "label": { |
+ "type": "string" |
+ }, |
+ "value": { |
+ "format": "int64", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Stats": { |
+ "id": "Stats", |
+ "properties": { |
+ "doubleValues": { |
+ "items": { |
+ "$ref": "DoubleValue" |
+ }, |
+ "type": "array" |
+ }, |
+ "intValues": { |
+ "items": { |
+ "$ref": "IntValue" |
+ }, |
+ "type": "array" |
+ }, |
+ "stringValues": { |
+ "items": { |
+ "$ref": "StringValue" |
+ }, |
+ "type": "array" |
+ }, |
+ "time": { |
+ "format": "double", |
+ "type": "number" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "StatsReply": { |
+ "id": "StatsReply", |
+ "properties": { |
+ "testValue": { |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "StringValue": { |
+ "id": "StringValue", |
+ "properties": { |
+ "label": { |
+ "type": "string" |
+ }, |
+ "value": { |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ } |
+ }, |
+ "servicePath": "v2/statscollection/", |
+ "title": "Google Cloud Network Performance Monitoring API", |
+ "version": "v2" |
+} |