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 Dec 21, 2017
1 parent 67557f6 commit ae2169a
Show file tree
Hide file tree
Showing 210 changed files with 97,423 additions and 96,918 deletions.
192 changes: 96 additions & 96 deletions DiscoveryJson/abusiveexperiencereport_v1.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
{
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "abusiveexperiencereport",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "Google Abusive Experience Report API",
"ownerName": "Google",
"resources": {
"violatingSites": {
"methods": {
"list": {
"flatPath": "v1/violatingSites",
"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": {}
}
}
},
"sites": {
"methods": {
"get": {
Expand All @@ -20,11 +36,11 @@
],
"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"
}
},
"scopes": [
Expand All @@ -35,76 +51,78 @@
"path": "v1/{+name}"
}
}
},
"violatingSites": {
"methods": {
"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",
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list"
}
}
}
},
"parameters": {
"$.xgafv": {
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"upload_protocol": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
},
"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": {
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string"
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
},
"alt": {
"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",
"description": "Data format for response.",
"default": "json"
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"type": "string"
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"type": "string",
"location": "query"
"type": "string"
},
"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"
"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"
"type": "string",
"location": "query"
},
"pp": {
"location": "query",
Expand All @@ -113,35 +131,14 @@
"default": "true"
},
"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"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string",
"location": "query"
},
"prettyPrint": {
"bearer_token": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string",
"location": "query"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string",
"location": "query"
"description": "OAuth bearer token.",
"type": "string"
}
},
"version": "v1",
Expand Down Expand Up @@ -171,32 +168,7 @@
"id": "ViolatingSitesResponse"
},
"SiteSummaryResponse": {
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"enforcementTime": {
"description": "The date on which enforcement begins.",
"format": "google-datetime",
"type": "string"
},
"filterStatus": {
"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.",
"type": "string"
},
"underReview": {
"description": "Whether the site is currently under review.",
"type": "boolean"
Expand All @@ -215,6 +187,8 @@
"type": "string"
},
"abusiveStatus": {
"description": "The status of the site reviewed for the abusive experiences.",
"type": "string",
"enumDescriptions": [
"Not reviewed.",
"Passing.",
Expand All @@ -224,12 +198,35 @@
"UNKNOWN",
"PASSING",
"FAILING"
]
},
"enforcementTime": {
"description": "The date on which enforcement begins.",
"format": "google-datetime",
"type": "string"
},
"filterStatus": {
"enumDescriptions": [
"N/A.",
"Ad filtering is on.",
"Ad filtering is off.",
"Ad filtering is paused.",
"Ad filtering is pending."
],
"description": "The status of the site reviewed for the abusive experiences.",
"enum": [
"UNKNOWN",
"ON",
"OFF",
"PAUSED",
"PENDING"
],
"description": "The abusive experience enforcement status of the site.",
"type": "string"
}
},
"id": "SiteSummaryResponse"
"id": "SiteSummaryResponse",
"description": "Response message for GetSiteSummary.",
"type": "object"
}
},
"protocol": "rest",
Expand All @@ -246,5 +243,8 @@
}
}
}
}
},
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "abusiveexperiencereport"
}
Loading

0 comments on commit ae2169a

Please sign in to comment.