[go: nahoru, domu]

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 Jul 4, 2019
1 parent e87eea1 commit 735d6fa
Show file tree
Hide file tree
Showing 419 changed files with 199,118 additions and 198,661 deletions.
196 changes: 98 additions & 98 deletions DiscoveryJson/abusiveexperiencereport_v1.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"ownerDomain": "google.com",
"name": "abusiveexperiencereport",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "Abusive Experience Report API",
"ownerName": "Google",
"resources": {
"sites": {
"methods": {
"get": {
"description": "Gets a summary of the abusive experience rating of a site.",
"response": {
"$ref": "SiteSummaryResponse"
},
Expand All @@ -25,13 +30,17 @@
],
"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."
}
}
},
"violatingSites": {
"methods": {
"list": {
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
"response": {
"$ref": "ViolatingSitesResponse"
},
Expand All @@ -41,88 +50,85 @@
"scopes": [
"https://www.googleapis.com/auth/xapi.zoo"
],
"flatPath": "v1/violatingSites",
"path": "v1/violatingSites",
"id": "abusiveexperiencereport.violatingSites.list",
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\"."
"flatPath": "v1/violatingSites"
}
}
}
},
"parameters": {
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"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"
},
"fields": {
"location": "query",
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"callback": {
"description": "JSONP",
"type": "string",
"location": "query",
"description": "JSONP"
"location": "query"
},
"oauth_token": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"type": "string"
"type": "string",
"location": "query"
},
"$.xgafv": {
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
],
"description": "V1 error format."
"description": "V1 error format.",
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
]
},
"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",
"enum": [
"json",
"media",
"proto"
],
"type": "string"
"default": "json"
},
"access_token": {
"type": "string",
"location": "query",
"description": "OAuth access token."
"description": "OAuth access token.",
"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"
},
"upload_protocol": {
"type": "string",
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
},
"prettyPrint": {
"location": "query",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true"
},
"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"
},
"fields": {
"type": "string",
"location": "query",
"description": "Selector specifying which fields to include in a partial response."
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
}
},
Expand All @@ -138,32 +144,39 @@
"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": {
"id": "SiteSummaryResponse",
"description": "Response message for GetSiteSummary.",
"type": "object",
"properties": {
"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."
"description": "Whether the site is currently under review.",
"type": "boolean"
},
"reportUrl": {
"description": "A link that leads to a full abusive experience report.",
"type": "string"
"type": "string",
"description": "A link that leads to a full abusive experience report."
},
"lastChangeTime": {
"description": "The last time that the site changed status.",
Expand All @@ -187,31 +200,24 @@
"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."
},
"ViolatingSitesResponse": {
"description": "Response message for ListViolatingSites.",
"type": "object",
"properties": {
"violatingSites": {
"description": "A list of summaries of violating sites.",
"type": "array",
"items": {
"$ref": "SiteSummaryResponse"
}
}
},
"id": "ViolatingSitesResponse"
}
},
"protocol": "rest",
Expand All @@ -229,11 +235,5 @@
}
}
},
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
"ownerDomain": "google.com",
"name": "abusiveexperiencereport",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "Abusive Experience Report API",
"ownerName": "Google"
"rootUrl": "https://abusiveexperiencereport.googleapis.com/"
}
Loading

0 comments on commit 735d6fa

Please sign in to comment.