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 7, 2018
1 parent 274b7ae commit c979aa7
Show file tree
Hide file tree
Showing 298 changed files with 113,544 additions and 110,577 deletions.
134 changes: 67 additions & 67 deletions DiscoveryJson/abusiveexperiencereport_v1.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,83 @@
{
"ownerDomain": "google.com",
"name": "abusiveexperiencereport",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "Abusive Experience Report API",
"ownerName": "Google",
"resources": {
"sites": {
"methods": {
"get": {
"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": {
"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/[^/]+$"
"type": "string"
}
},
"flatPath": "v1/sites/{sitesId}"
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"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": {
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
"httpMethod": "GET",
"parameterOrder": [],
"response": {
"$ref": "ViolatingSitesResponse"
},
"parameterOrder": [],
"httpMethod": "GET",
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"parameters": {}
"flatPath": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"path": "v1/violatingSites"
}
}
}
},
"parameters": {
"upload_protocol": {
"type": "string",
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"location": "query"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string",
"location": "query"
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"$.xgafv": {
"description": "V1 error format.",
"type": "string",
"enumDescriptions": [
"v1 error format",
Expand All @@ -62,28 +87,29 @@
"enum": [
"1",
"2"
]
],
"description": "V1 error format."
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
"type": "string",
"location": "query"
},
"alt": {
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"type": "string",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
"type": "string"
},
"access_token": {
"location": "query",
Expand All @@ -96,57 +122,36 @@
"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.",
"type": "string",
"location": "query"
"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": {
"location": "query",
"description": "Pretty-print response.",
"type": "boolean",
"default": "true"
"default": "true",
"location": "query"
},
"oauth_token": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string"
},
"upload_protocol": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"location": "query"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"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": "20180430",
"documentationLink": "https://developers.google.com/abusive-experience-report/",
"id": "abusiveexperiencereport:v1",
"revision": "20180430",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
Expand All @@ -169,6 +174,7 @@
"type": "object",
"properties": {
"abusiveStatus": {
"type": "string",
"enumDescriptions": [
"Not reviewed.",
"Passing.",
Expand All @@ -179,15 +185,16 @@
"PASSING",
"FAILING"
],
"description": "The status of the site reviewed for the abusive experiences.",
"type": "string"
"description": "The status of the site reviewed for the abusive experiences."
},
"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.",
Expand All @@ -201,9 +208,7 @@
"OFF",
"PAUSED",
"PENDING"
],
"description": "The abusive experience enforcement status of the site.",
"type": "string"
]
},
"underReview": {
"description": "Whether the site is currently under review.",
Expand All @@ -228,8 +233,8 @@
},
"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"
},
"canonicalName": "Abusive Experience Report",
"auth": {
Expand All @@ -241,10 +246,5 @@
}
}
},
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "abusiveexperiencereport",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "Abusive Experience Report API"
"rootUrl": "https://abusiveexperiencereport.googleapis.com/"
}
Loading

0 comments on commit c979aa7

Please sign in to comment.