mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Upgrade to latest API versions + code regen
This commit is contained in:
@@ -1,24 +1,28 @@
|
||||
{
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"entities": {
|
||||
"methods": {
|
||||
"search": {
|
||||
"path": "v1/entities:search",
|
||||
"id": "kgsearch.entities.search",
|
||||
"description": "Searches Knowledge Graph for entities that match the constraints.\nA list of matched entities will be returned in response, which will be in\nJSON-LD format and compatible with http://schema.org",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "SearchResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"indent": {
|
||||
"types": {
|
||||
"location": "query",
|
||||
"description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.",
|
||||
"type": "string",
|
||||
"repeated": true
|
||||
},
|
||||
"indent": {
|
||||
"description": "Enables indenting of json results.",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"languages": {
|
||||
"description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.",
|
||||
@@ -27,58 +31,49 @@
|
||||
"location": "query"
|
||||
},
|
||||
"ids": {
|
||||
"repeated": true,
|
||||
"location": "query",
|
||||
"description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"limit": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "Limits the number of entities to be returned.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"prefix": {
|
||||
"location": "query",
|
||||
"description": "Enables prefix match against names and aliases of entities",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
"type": "boolean"
|
||||
},
|
||||
"query": {
|
||||
"location": "query",
|
||||
"description": "The literal query string for search.",
|
||||
"type": "string"
|
||||
},
|
||||
"types": {
|
||||
"description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.",
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/entities:search"
|
||||
"flatPath": "v1/entities:search",
|
||||
"path": "v1/entities:search",
|
||||
"id": "kgsearch.entities.search"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -88,22 +83,23 @@
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks."
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
@@ -113,8 +109,7 @@
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format."
|
||||
]
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
@@ -137,15 +132,20 @@
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
@@ -153,17 +153,17 @@
|
||||
"description": "Response message includes the context and a list of matching results\nwhich contain the detail of associated entities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"itemListElement": {
|
||||
"description": "The item list of search results.",
|
||||
"items": {
|
||||
"type": "any"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"@context": {
|
||||
"description": "The local context applicable for the response. See more details at\nhttp://www.w3.org/TR/json-ld/#context-definitions.",
|
||||
"type": "any"
|
||||
},
|
||||
"itemListElement": {
|
||||
"description": "The item list of search results.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "any"
|
||||
}
|
||||
},
|
||||
"@type": {
|
||||
"description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
|
||||
"type": "any"
|
||||
@@ -172,11 +172,11 @@
|
||||
"id": "SearchResponse"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://kgsearch.googleapis.com/",
|
||||
"servicePath": "",
|
||||
@@ -187,8 +187,8 @@
|
||||
"ownerDomain": "google.com",
|
||||
"name": "kgsearch",
|
||||
"batchPath": "batch",
|
||||
"id": "kgsearch:v1",
|
||||
"revision": "20171103",
|
||||
"documentationLink": "https://developers.google.com/knowledge-graph/",
|
||||
"revision": "20170925",
|
||||
"id": "kgsearch:v1",
|
||||
"title": "Knowledge Graph Search API"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user