Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
cloudsharp committed May 31, 2018
1 parent 279ecfd commit f6120b2
Show file tree
Hide file tree
Showing 222 changed files with 125,864 additions and 123,975 deletions.
116 changes: 58 additions & 58 deletions DiscoveryJson/abusiveexperiencereport_v1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"basePath": "",
"revision": "20180516",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"id": "abusiveexperiencereport:v1",
Expand All @@ -24,19 +23,6 @@
"description": "Response message for GetSiteSummary.\nDo not confuse with same message in google.ads.experiencereport.v1",
"type": "object",
"properties": {
"reportUrl": {
"description": "A link that leads to a full abusive experience report.",
"type": "string"
},
"lastChangeTime": {
"description": "The last time that the site changed status.",
"format": "google-datetime",
"type": "string"
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
},
"abusiveStatus": {
"enumDescriptions": [
"Not reviewed.",
Expand Down Expand Up @@ -77,6 +63,19 @@
"underReview": {
"description": "Whether the site is currently under review.",
"type": "boolean"
},
"reportUrl": {
"description": "A link that leads to a full abusive experience report.",
"type": "string"
},
"lastChangeTime": {
"description": "The last time that the site changed status.",
"format": "google-datetime",
"type": "string"
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
}
},
"id": "SiteSummaryResponse"
Expand Down Expand Up @@ -105,6 +104,25 @@
"title": "Abusive Experience Report API",
"ownerName": "Google",
"resources": {
"violatingSites": {
"methods": {
"list": {
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameterOrder": [],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {},
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\"."
}
}
},
"sites": {
"methods": {
"get": {
Expand All @@ -121,37 +139,18 @@
],
"parameters": {
"name": {
"pattern": "^sites/[^/]+$",
"location": "path",
"description": "The required site name. This is the site property whose abusive\nexperiences have been reviewed, and it must be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field\nreturned by the API will lead to the verification page, prompting the user\nto go through that process before they can gain access to the Abusive\nExperience Report.",
"required": true,
"type": "string",
"pattern": "^sites/[^/]+$",
"location": "path"
"type": "string"
}
},
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "abusiveexperiencereport.sites.get"
}
}
},
"violatingSites": {
"methods": {
"list": {
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameterOrder": [],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {},
"flatPath": "v1/violatingSites"
}
}
}
},
"parameters": {
Expand All @@ -161,42 +160,40 @@
"location": "query"
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
"default": "true",
"location": "query"
},
"uploadType": {
"fields": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string",
"location": "query"
},
"$.xgafv": {
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
"type": "string"
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
},
"alt": {
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
Expand All @@ -208,17 +205,19 @@
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
"location": "query",
"description": "Data format for response.",
"default": "json"
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"type": "string"
"type": "string",
"location": "query"
},
"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",
"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.",
Expand All @@ -237,14 +236,15 @@
"location": "query"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string",
"location": "query"
"type": "string"
}
},
"version": "v1",
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
"kind": "discovery#restDescription",
"description": "View Abusive Experience Report data, and get a list of sites that have a significant number of abusive experiences.",
"servicePath": ""
"servicePath": "",
"basePath": ""
}
54 changes: 27 additions & 27 deletions DiscoveryJson/acceleratedmobilepageurl_v1.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"kind": "discovery#restDescription",
"description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).\n",
"servicePath": "",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"basePath": "",
"ownerDomain": "google.com",
"name": "acceleratedmobilepageurl",
Expand All @@ -19,28 +14,28 @@
"ampUrls": {
"methods": {
"batchGet": {
"flatPath": "v1/ampUrls:batchGet",
"path": "v1/ampUrls:batchGet",
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
"request": {
"$ref": "BatchGetAmpUrlsRequest"
},
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
"response": {
"$ref": "BatchGetAmpUrlsResponse"
},
"parameterOrder": [],
"httpMethod": "POST",
"parameters": {}
"parameters": {},
"flatPath": "v1/ampUrls:batchGet",
"path": "v1/ampUrls:batchGet",
"id": "acceleratedmobilepageurl.ampUrls.batchGet"
}
}
}
},
"parameters": {
"upload_protocol": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
"type": "string",
"location": "query"
},
"prettyPrint": {
"location": "query",
Expand All @@ -49,17 +44,12 @@
"default": "true"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string",
"location": "query"
"type": "string"
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"callback": {
"description": "JSONP",
"type": "string",
"location": "query"
},
Expand All @@ -76,7 +66,13 @@
"description": "V1 error format.",
"type": "string"
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
},
"alt": {
"type": "string",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
Expand All @@ -89,8 +85,7 @@
"json",
"media",
"proto"
],
"type": "string"
]
},
"access_token": {
"location": "query",
Expand All @@ -113,15 +108,15 @@
"type": "boolean",
"default": "true"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string"
},
"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"
}
},
"schemas": {
Expand Down Expand Up @@ -232,5 +227,10 @@
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"version": "v1"
"version": "v1",
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"kind": "discovery#restDescription",
"description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).\n",
"servicePath": "",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/"
}
Loading

0 comments on commit f6120b2

Please sign in to comment.