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 Jun 6, 2019
1 parent 420d836 commit 57b81b6
Show file tree
Hide file tree
Showing 643 changed files with 201,554 additions and 201,503 deletions.
266 changes: 133 additions & 133 deletions DiscoveryJson/abusiveexperiencereport_v1.json
@@ -1,97 +1,9 @@
{
"version": "v1",
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
"servicePath": "",
"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
"kind": "discovery#restDescription",
"basePath": "",
"id": "abusiveexperiencereport:v1",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"revision": "20190528",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
"ViolatingSitesResponse": {
"id": "ViolatingSitesResponse",
"description": "Response message for ListViolatingSites.",
"type": "object",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
"type": "array",
"items": {
"$ref": "SiteSummaryResponse"
}
}
}
},
"SiteSummaryResponse": {
"id": "SiteSummaryResponse",
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"enforcementTime": {
"description": "The date on which enforcement begins.",
"format": "google-datetime",
"type": "string"
},
"filterStatus": {
"description": "The abusive experience enforcement status of the site.",
"type": "string",
"enumDescriptions": [
"N/A.",
"Ad filtering is on.",
"Ad filtering is off.",
"Ad filtering is paused.",
"Ad filtering is pending."
],
"enum": [
"UNKNOWN",
"ON",
"OFF",
"PAUSED",
"PENDING"
]
},
"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"
},
"abusiveStatus": {
"description": "The status of the site reviewed for the abusive experiences.",
"type": "string",
"enumDescriptions": [
"Not reviewed.",
"Passing.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
]
}
}
}
},
"protocol": "rest",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
"x32": "http://www.google.com/images/icons/product/search-32.gif",
"x16": "http://www.google.com/images/icons/product/search-16.gif"
},
"protocol": "rest",
"canonicalName": "Abusive Experience Report",
"auth": {
"oauth2": {
Expand All @@ -113,6 +25,7 @@
"violatingSites": {
"methods": {
"list": {
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
Expand All @@ -121,18 +34,16 @@
},
"parameterOrder": [],
"httpMethod": "GET",
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"flatPath": "v1/violatingSites"
"parameters": {}
}
}
},
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the abusive experience rating of a site.",
"response": {
"$ref": "SiteSummaryResponse"
},
Expand All @@ -145,81 +56,73 @@
],
"parameters": {
"name": {
"required": true,
"type": "string",
"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"
"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."
}
},
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "abusiveexperiencereport.sites.get"
"id": "abusiveexperiencereport.sites.get",
"description": "Gets a summary of the abusive experience rating of a site."
}
}
}
},
"parameters": {
"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"
},
"access_token": {
"upload_protocol": {
"location": "query",
"description": "OAuth access token.",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
},
"upload_protocol": {
"quotaUser": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"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"
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"location": "query"
"default": "true"
},
"quotaUser": {
"uploadType": {
"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.",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"fields": {
"type": "string",
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
"description": "Selector specifying which fields to include in a partial response."
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"callback": {
"type": "string",
"location": "query"
"location": "query",
"description": "JSONP"
},
"oauth_token": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"$.xgafv": {
"location": "query",
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
]
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"type": "string",
"location": "query"
},
"callback": {
"description": "JSONP",
"type": "string",
"location": "query"
},
"alt": {
"type": "string",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
Expand All @@ -232,8 +135,105 @@
"json",
"media",
"proto"
],
"type": "string"
]
},
"key": {
"type": "string",
"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."
},
"access_token": {
"type": "string",
"location": "query",
"description": "OAuth access token."
}
},
"version": "v1",
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
"kind": "discovery#restDescription",
"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
"servicePath": "",
"basePath": "",
"id": "abusiveexperiencereport:v1",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"revision": "20190528",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
"SiteSummaryResponse": {
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"abusiveStatus": {
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
],
"description": "The status of the site reviewed for the abusive experiences.",
"type": "string",
"enumDescriptions": [
"Not reviewed.",
"Passing.",
"Failing."
]
},
"enforcementTime": {
"type": "string",
"description": "The date on which enforcement begins.",
"format": "google-datetime"
},
"filterStatus": {
"type": "string",
"enumDescriptions": [
"N/A.",
"Ad filtering is on.",
"Ad filtering is off.",
"Ad filtering is paused.",
"Ad filtering is pending."
],
"enum": [
"UNKNOWN",
"ON",
"OFF",
"PAUSED",
"PENDING"
],
"description": "The abusive experience enforcement status of the site."
},
"underReview": {
"type": "boolean",
"description": "Whether the site is currently under review."
},
"reportUrl": {
"description": "A link that leads to a full abusive experience report.",
"type": "string"
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
},
"lastChangeTime": {
"type": "string",
"description": "The last time that the site changed status.",
"format": "google-datetime"
}
},
"id": "SiteSummaryResponse"
},
"ViolatingSitesResponse": {
"type": "object",
"properties": {
"violatingSites": {
"type": "array",
"items": {
"$ref": "SiteSummaryResponse"
},
"description": "A list of summaries of violating sites."
}
},
"id": "ViolatingSitesResponse",
"description": "Response message for ListViolatingSites."
}
}
}

0 comments on commit 57b81b6

Please sign in to comment.