| OLD | NEW |
| (Empty) |
| 1 { | |
| 2 "auth": { | |
| 3 "oauth2": { | |
| 4 "scopes": { | |
| 5 "https://www.googleapis.com/auth/monitoring.readonly": { | |
| 6 "description": "View monitoring data for all of your Google
Cloud and API projects" | |
| 7 } | |
| 8 } | |
| 9 } | |
| 10 }, | |
| 11 "basePath": "/v2/statscollection/", | |
| 12 "baseUrl": "https://cloudlatencytest-pa.googleapis.com/v2/statscollection/", | |
| 13 "batchPath": "batch", | |
| 14 "description": "Reports latency data.", | |
| 15 "discoveryVersion": "v1", | |
| 16 "documentationLink": "", | |
| 17 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/FL1d8nurnHWuubBo0LSBB6ZSNaM\"", | |
| 18 "icons": { | |
| 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | |
| 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | |
| 21 }, | |
| 22 "id": "cloudlatencytest:v2", | |
| 23 "kind": "discovery#restDescription", | |
| 24 "name": "cloudlatencytest", | |
| 25 "ownerDomain": "google.com", | |
| 26 "ownerName": "Google", | |
| 27 "parameters": { | |
| 28 "alt": { | |
| 29 "default": "json", | |
| 30 "description": "Data format for the response.", | |
| 31 "enum": [ | |
| 32 "json" | |
| 33 ], | |
| 34 "enumDescriptions": [ | |
| 35 "Responses with Content-Type of application/json" | |
| 36 ], | |
| 37 "location": "query", | |
| 38 "type": "string" | |
| 39 }, | |
| 40 "fields": { | |
| 41 "description": "Selector specifying which fields to include in a par
tial response.", | |
| 42 "location": "query", | |
| 43 "type": "string" | |
| 44 }, | |
| 45 "key": { | |
| 46 "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.", | |
| 47 "location": "query", | |
| 48 "type": "string" | |
| 49 }, | |
| 50 "oauth_token": { | |
| 51 "description": "OAuth 2.0 token for the current user.", | |
| 52 "location": "query", | |
| 53 "type": "string" | |
| 54 }, | |
| 55 "prettyPrint": { | |
| 56 "default": "true", | |
| 57 "description": "Returns response with indentations and line breaks."
, | |
| 58 "location": "query", | |
| 59 "type": "boolean" | |
| 60 }, | |
| 61 "quotaUser": { | |
| 62 "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. Overrides userIp if both are provided.", | |
| 63 "location": "query", | |
| 64 "type": "string" | |
| 65 }, | |
| 66 "userIp": { | |
| 67 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | |
| 68 "location": "query", | |
| 69 "type": "string" | |
| 70 } | |
| 71 }, | |
| 72 "protocol": "rest", | |
| 73 "resources": { | |
| 74 "statscollection": { | |
| 75 "methods": { | |
| 76 "updateaggregatedstats": { | |
| 77 "description": "RPC to update the new TCP stats.", | |
| 78 "httpMethod": "POST", | |
| 79 "id": "cloudlatencytest.statscollection.updateaggregatedstat
s", | |
| 80 "path": "updateaggregatedstats", | |
| 81 "request": { | |
| 82 "$ref": "AggregatedStats" | |
| 83 }, | |
| 84 "response": { | |
| 85 "$ref": "AggregatedStatsReply" | |
| 86 }, | |
| 87 "scopes": [ | |
| 88 "https://www.googleapis.com/auth/monitoring.readonly" | |
| 89 ] | |
| 90 }, | |
| 91 "updatestats": { | |
| 92 "description": "RPC to update the new TCP stats.", | |
| 93 "httpMethod": "POST", | |
| 94 "id": "cloudlatencytest.statscollection.updatestats", | |
| 95 "path": "updatestats", | |
| 96 "request": { | |
| 97 "$ref": "Stats" | |
| 98 }, | |
| 99 "response": { | |
| 100 "$ref": "StatsReply" | |
| 101 }, | |
| 102 "scopes": [ | |
| 103 "https://www.googleapis.com/auth/monitoring.readonly" | |
| 104 ] | |
| 105 } | |
| 106 } | |
| 107 } | |
| 108 }, | |
| 109 "revision": "20160309", | |
| 110 "rootUrl": "https://cloudlatencytest-pa.googleapis.com/", | |
| 111 "schemas": { | |
| 112 "AggregatedStats": { | |
| 113 "id": "AggregatedStats", | |
| 114 "properties": { | |
| 115 "stats": { | |
| 116 "items": { | |
| 117 "$ref": "Stats" | |
| 118 }, | |
| 119 "type": "array" | |
| 120 } | |
| 121 }, | |
| 122 "type": "object" | |
| 123 }, | |
| 124 "AggregatedStatsReply": { | |
| 125 "id": "AggregatedStatsReply", | |
| 126 "properties": { | |
| 127 "testValue": { | |
| 128 "type": "string" | |
| 129 } | |
| 130 }, | |
| 131 "type": "object" | |
| 132 }, | |
| 133 "DoubleValue": { | |
| 134 "id": "DoubleValue", | |
| 135 "properties": { | |
| 136 "label": { | |
| 137 "type": "string" | |
| 138 }, | |
| 139 "value": { | |
| 140 "format": "float", | |
| 141 "type": "number" | |
| 142 } | |
| 143 }, | |
| 144 "type": "object" | |
| 145 }, | |
| 146 "IntValue": { | |
| 147 "id": "IntValue", | |
| 148 "properties": { | |
| 149 "label": { | |
| 150 "type": "string" | |
| 151 }, | |
| 152 "value": { | |
| 153 "format": "int64", | |
| 154 "type": "string" | |
| 155 } | |
| 156 }, | |
| 157 "type": "object" | |
| 158 }, | |
| 159 "Stats": { | |
| 160 "id": "Stats", | |
| 161 "properties": { | |
| 162 "doubleValues": { | |
| 163 "items": { | |
| 164 "$ref": "DoubleValue" | |
| 165 }, | |
| 166 "type": "array" | |
| 167 }, | |
| 168 "intValues": { | |
| 169 "items": { | |
| 170 "$ref": "IntValue" | |
| 171 }, | |
| 172 "type": "array" | |
| 173 }, | |
| 174 "stringValues": { | |
| 175 "items": { | |
| 176 "$ref": "StringValue" | |
| 177 }, | |
| 178 "type": "array" | |
| 179 }, | |
| 180 "time": { | |
| 181 "format": "double", | |
| 182 "type": "number" | |
| 183 } | |
| 184 }, | |
| 185 "type": "object" | |
| 186 }, | |
| 187 "StatsReply": { | |
| 188 "id": "StatsReply", | |
| 189 "properties": { | |
| 190 "testValue": { | |
| 191 "type": "string" | |
| 192 } | |
| 193 }, | |
| 194 "type": "object" | |
| 195 }, | |
| 196 "StringValue": { | |
| 197 "id": "StringValue", | |
| 198 "properties": { | |
| 199 "label": { | |
| 200 "type": "string" | |
| 201 }, | |
| 202 "value": { | |
| 203 "type": "string" | |
| 204 } | |
| 205 }, | |
| 206 "type": "object" | |
| 207 } | |
| 208 }, | |
| 209 "servicePath": "v2/statscollection/", | |
| 210 "title": "Google Cloud Network Performance Monitoring API", | |
| 211 "version": "v2" | |
| 212 } | |
| OLD | NEW |