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 Mar 20, 2018
1 parent ad882c2 commit 85fc878
Show file tree
Hide file tree
Showing 314 changed files with 124,457 additions and 110,481 deletions.
224 changes: 112 additions & 112 deletions DiscoveryJson/abusiveexperiencereport_v1.json
@@ -1,9 +1,8 @@
{
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
"ViolatingSitesResponse": {
"description": "Response message for ListViolatingSites.",
"type": "object",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
Expand All @@ -13,53 +12,25 @@
}
}
},
"id": "ViolatingSitesResponse"
"id": "ViolatingSitesResponse",
"description": "Response message for ListViolatingSites.",
"type": "object"
},
"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": {
"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": {
"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": {
"type": "string",
"description": "The last time that the site changed status.",
"format": "google-datetime"
},
"reviewedSite": {
"description": "The name of the site reviewed.",
"type": "string"
},
"lastChangeTime": {
"description": "The last time that the site changed status.",
"format": "google-datetime",
"type": "string"
},
"abusiveStatus": {
"enum": [
"UNKNOWN",
Expand All @@ -73,15 +44,45 @@
"Passing.",
"Failing."
]
},
"enforcementTime": {
"description": "The date on which enforcement begins.",
"format": "google-datetime",
"type": "string"
},
"filterStatus": {
"enum": [
"UNKNOWN",
"ON",
"OFF",
"PAUSED",
"PENDING"
],
"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."
]
},
"underReview": {
"description": "Whether the site is currently under review.",
"type": "boolean"
}
}
},
"id": "SiteSummaryResponse",
"description": "Response message for GetSiteSummary.",
"type": "object"
}
},
"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 @@ -100,39 +101,19 @@
"title": "Google Abusive Experience Report API",
"ownerName": "Google",
"resources": {
"violatingSites": {
"methods": {
"list": {
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameterOrder": [],
"httpMethod": "GET",
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list"
}
}
},
"sites": {
"methods": {
"get": {
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "abusiveexperiencereport.sites.get",
"description": "Gets a summary of the abusive experience rating of a site.",
"response": {
"$ref": "SiteSummaryResponse"
},
"parameterOrder": [
"name"
],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {
"name": {
"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.",
Expand All @@ -142,68 +123,61 @@
"location": "path"
}
},
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "abusiveexperiencereport.sites.get",
"description": "Gets a summary of the abusive experience rating of a site."
}
}
},
"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",
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
]
],
"flatPath": "v1/violatingSites"
}
}
}
},
"parameters": {
"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": {
"upload_protocol": {
"location": "query",
"description": "OAuth access token.",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
},
"quotaUser": {
"type": "string",
"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."
},
"pp": {
"prettyPrint": {
"location": "query",
"description": "Pretty-print response.",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
},
"oauth_token": {
"fields": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"bearer_token": {
"description": "OAuth bearer token.",
"type": "string",
"location": "query"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string",
"location": "query"
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"location": "query"
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"fields": {
"callback": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"description": "JSONP",
"type": "string"
},
"$.xgafv": {
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
Expand All @@ -213,15 +187,10 @@
"1",
"2"
],
"description": "V1 error format."
},
"callback": {
"location": "query",
"description": "JSONP",
"description": "V1 error format.",
"type": "string"
},
"alt": {
"default": "json",
"enum": [
"json",
"media",
Expand All @@ -234,17 +203,48 @@
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"description": "Data format for response."
"description": "Data format for response.",
"default": "json"
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"type": "string"
},
"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"
},
"pp": {
"description": "Pretty-print response.",
"type": "boolean",
"default": "true",
"location": "query"
},
"bearer_token": {
"description": "OAuth bearer token.",
"type": "string",
"location": "query"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"type": "string",
"location": "query"
}
},
"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": "",
"description": "View Abusive Experience Report data, and get a list of sites that have a significant number of abusive experiences.",
"kind": "discovery#restDescription",
"basePath": "",
"revision": "20180129",
"id": "abusiveexperiencereport:v1",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"discoveryVersion": "v1"
"revision": "20180129"
}

0 comments on commit 85fc878

Please sign in to comment.