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 20, 2019
1 parent cc31851 commit a6216f2
Show file tree
Hide file tree
Showing 479 changed files with 205,428 additions and 197,295 deletions.
278 changes: 139 additions & 139 deletions DiscoveryJson/abusiveexperiencereport_v1.json
Original file line number Diff line number Diff line change
@@ -1,104 +1,4 @@
{
"revision": "20190610",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"id": "abusiveexperiencereport:v1",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
"ViolatingSitesResponse": {
"description": "Response message for ListViolatingSites.",
"type": "object",
"properties": {
"violatingSites": {
"type": "array",
"items": {
"$ref": "SiteSummaryResponse"
},
"description": "A list of summaries of violating sites."
}
},
"id": "ViolatingSitesResponse"
},
"SiteSummaryResponse": {
"type": "object",
"properties": {
"underReview": {
"description": "Whether the site is currently under review.",
"type": "boolean"
},
"reportUrl": {
"type": "string",
"description": "A link that leads to a full abusive experience report."
},
"lastChangeTime": {
"description": "The last time that the site changed status.",
"format": "google-datetime",
"type": "string"
},
"reviewedSite": {
"type": "string",
"description": "The name of the site reviewed."
},
"abusiveStatus": {
"type": "string",
"enumDescriptions": [
"Not reviewed.",
"Passing.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
],
"description": "The status of the site reviewed for the abusive experiences."
},
"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."
}
},
"id": "SiteSummaryResponse",
"description": "Response message for GetSiteSummary."
}
},
"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"
},
"canonicalName": "Abusive Experience Report",
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/xapi.zoo": {
"description": "Test scope for access to the Zoo service"
}
}
}
},
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "abusiveexperiencereport",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "Abusive Experience Report API",
Expand All @@ -107,6 +7,7 @@
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the abusive experience rating of a site.",
"response": {
"$ref": "SiteSummaryResponse"
},
Expand All @@ -119,57 +20,40 @@
],
"parameters": {
"name": {
"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/[^/]+$"
"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."
}
},
"flatPath": "v1/sites/{sitesId}",
"path": "v1/{+name}",
"id": "abusiveexperiencereport.sites.get",
"description": "Gets a summary of the abusive experience rating of a site."
"id": "abusiveexperiencereport.sites.get"
}
}
},
"violatingSites": {
"methods": {
"list": {
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"flatPath": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"path": "v1/violatingSites",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
"httpMethod": "GET",
"parameterOrder": [],
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
]
"parameterOrder": []
}
}
}
},
"parameters": {
"upload_protocol": {
"type": "string",
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
},
"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"
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
Expand All @@ -186,25 +70,24 @@
"type": "string"
},
"oauth_token": {
"type": "string",
"location": "query",
"description": "OAuth 2.0 token for the current user."
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"$.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"
]
"type": "string"
},
"alt": {
"type": "string",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
Expand All @@ -217,23 +100,140 @@
"json",
"media",
"proto"
]
],
"type": "string"
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"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.",
"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."
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"default": "true",
"location": "query",
"description": "Returns response with indentations and line breaks."
},
"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"
}
},
"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": ""
"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
"servicePath": "",
"basePath": "",
"revision": "20190617",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"id": "abusiveexperiencereport:v1",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
"ViolatingSitesResponse": {
"type": "object",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
"type": "array",
"items": {
"$ref": "SiteSummaryResponse"
}
}
},
"id": "ViolatingSitesResponse",
"description": "Response message for ListViolatingSites."
},
"SiteSummaryResponse": {
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"abusiveStatus": {
"enumDescriptions": [
"Not reviewed.",
"Passing.",
"Failing."
],
"enum": [
"UNKNOWN",
"PASSING",
"FAILING"
],
"description": "The status of the site reviewed for the abusive experiences.",
"type": "string"
},
"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": {
"type": "string",
"description": "A link that leads to a full abusive experience report."
},
"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"
}
},
"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"
},
"canonicalName": "Abusive Experience Report",
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/xapi.zoo": {
"description": "Test scope for access to the Zoo service"
}
}
}
},
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "abusiveexperiencereport"
}
Loading

0 comments on commit a6216f2

Please sign in to comment.