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

Side by Side Diff: discovery/googleapis_beta/datastore__v1beta3.json

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 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/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/datastore": { 8 "https://www.googleapis.com/auth/datastore": {
9 "description": "View and manage your Google Cloud Datastore data" 9 "description": "View and manage your Google Cloud Datastore data"
10 } 10 }
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 "$ref": "RollbackResponse" 276 "$ref": "RollbackResponse"
277 }, 277 },
278 "scopes": [ 278 "scopes": [
279 "https://www.googleapis.com/auth/cloud-platform", 279 "https://www.googleapis.com/auth/cloud-platform",
280 "https://www.googleapis.com/auth/datastore" 280 "https://www.googleapis.com/auth/datastore"
281 ] 281 ]
282 } 282 }
283 } 283 }
284 } 284 }
285 }, 285 },
286 "revision": "20161108", 286 "revision": "20170110",
287 "rootUrl": "https://datastore.googleapis.com/", 287 "rootUrl": "https://datastore.googleapis.com/",
288 "schemas": { 288 "schemas": {
289 "Value": { 289 "Value": {
290 "description": "A message that can hold any of the supported value t ypes and associated\nmetadata.", 290 "description": "A message that can hold any of the supported value t ypes and associated\nmetadata.",
291 "id": "Value", 291 "id": "Value",
292 "properties": { 292 "properties": {
293 "stringValue": { 293 "stringValue": {
294 "description": "A UTF-8 encoded string value.\nWhen `exclude _from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwis e, may be set to at least 1,000,000 bytes.", 294 "description": "A UTF-8 encoded string value.\nWhen `exclude _from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwis e, may be set to at least 1,000,000 bytes.",
295 "type": "string" 295 "type": "string"
296 }, 296 },
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 "description": "Keys of entities to look up.", 1012 "description": "Keys of entities to look up.",
1013 "items": { 1013 "items": {
1014 "$ref": "Key" 1014 "$ref": "Key"
1015 }, 1015 },
1016 "type": "array" 1016 "type": "array"
1017 } 1017 }
1018 }, 1018 },
1019 "type": "object" 1019 "type": "object"
1020 }, 1020 },
1021 "LatLng": { 1021 "LatLng": {
1022 "description": "An object representing a latitude/longitude pair. Th is is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http ://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n \n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees long itude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n retur n r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], resp ectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 36 0, NormalizeLongitude(longitude)\n else:\n return 180 - r, Normalize Longitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLo ngitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == Normali zeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\ n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10. 0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng (-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n as sert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == N ormalizeLatLng(-270.0, 10.0)", 1022 "description": "An object representing a latitude/longitude pair. Th is is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http ://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n \n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees long itude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n retur n r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], resp ectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 36 0, NormalizeLongitude(longitude)\n else:\n return 180 - r, Normalize Longitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLo ngitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == Normali zeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\ n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10. 0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng (-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n as sert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == N ormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validato r_traits.cc treats this type\nas if it were annotated as ST_LOCATION.",
1023 "id": "LatLng", 1023 "id": "LatLng",
1024 "properties": { 1024 "properties": {
1025 "latitude": { 1025 "latitude": {
1026 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].", 1026 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
1027 "format": "double", 1027 "format": "double",
1028 "type": "number" 1028 "type": "number"
1029 }, 1029 },
1030 "longitude": { 1030 "longitude": {
1031 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", 1031 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
1032 "format": "double", 1032 "format": "double",
(...skipping 26 matching lines...) Expand all
1059 "type": "array" 1059 "type": "array"
1060 } 1060 }
1061 }, 1061 },
1062 "type": "object" 1062 "type": "object"
1063 } 1063 }
1064 }, 1064 },
1065 "servicePath": "", 1065 "servicePath": "",
1066 "title": "Google Cloud Datastore API", 1066 "title": "Google Cloud Datastore API",
1067 "version": "v1beta3" 1067 "version": "v1beta3"
1068 } 1068 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/dataflow__v1b3.json ('k') | discovery/googleapis_beta/dns__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698