Skip to content

Commit 081efdb

Browse files
author
cloudsharp
committed
Update discovery documents and generated code
automatically_generated_update
1 parent 8701b0a commit 081efdb

File tree

660 files changed

+197567
-197703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

660 files changed

+197567
-197703
lines changed
Lines changed: 157 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,18 @@
11
{
2-
"schemas": {
3-
"ViolatingSitesResponse": {
4-
"description": "Response message for ListViolatingSites.",
5-
"type": "object",
6-
"properties": {
7-
"violatingSites": {
8-
"description": "A list of summaries of violating sites.",
9-
"type": "array",
10-
"items": {
11-
"$ref": "SiteSummaryResponse"
12-
}
13-
}
14-
},
15-
"id": "ViolatingSitesResponse"
16-
},
17-
"SiteSummaryResponse": {
18-
"description": "Response message for GetSiteSummary.",
19-
"type": "object",
20-
"properties": {
21-
"abusiveStatus": {
22-
"enum": [
23-
"UNKNOWN",
24-
"PASSING",
25-
"FAILING"
26-
],
27-
"description": "The status of the site reviewed for the abusive experiences.",
28-
"type": "string",
29-
"enumDescriptions": [
30-
"Not reviewed.",
31-
"Passing.",
32-
"Failing."
33-
]
34-
},
35-
"enforcementTime": {
36-
"description": "The date on which enforcement begins.",
37-
"format": "google-datetime",
38-
"type": "string"
39-
},
40-
"filterStatus": {
41-
"description": "The abusive experience enforcement status of the site.",
42-
"type": "string",
43-
"enumDescriptions": [
44-
"N/A.",
45-
"Ad filtering is on.",
46-
"Ad filtering is off.",
47-
"Ad filtering is paused.",
48-
"Ad filtering is pending."
49-
],
50-
"enum": [
51-
"UNKNOWN",
52-
"ON",
53-
"OFF",
54-
"PAUSED",
55-
"PENDING"
56-
]
57-
},
58-
"underReview": {
59-
"description": "Whether the site is currently under review.",
60-
"type": "boolean"
61-
},
62-
"reportUrl": {
63-
"description": "A link that leads to a full abusive experience report.",
64-
"type": "string"
65-
},
66-
"lastChangeTime": {
67-
"description": "The last time that the site changed status.",
68-
"format": "google-datetime",
69-
"type": "string"
70-
},
71-
"reviewedSite": {
72-
"description": "The name of the site reviewed.",
73-
"type": "string"
74-
}
75-
},
76-
"id": "SiteSummaryResponse"
77-
}
78-
},
79-
"protocol": "rest",
80-
"icons": {
81-
"x16": "http://www.google.com/images/icons/product/search-16.gif",
82-
"x32": "http://www.google.com/images/icons/product/search-32.gif"
83-
},
84-
"canonicalName": "Abusive Experience Report",
85-
"auth": {
86-
"oauth2": {
87-
"scopes": {
88-
"https://www.googleapis.com/auth/xapi.zoo": {
89-
"description": "Test scope for access to the Zoo service"
90-
}
91-
}
92-
}
93-
},
94-
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
95-
"ownerDomain": "google.com",
96-
"name": "abusiveexperiencereport",
97-
"batchPath": "batch",
982
"fullyEncodeReservedExpansion": true,
993
"title": "Abusive Experience Report API",
1004
"ownerName": "Google",
1015
"resources": {
102-
"violatingSites": {
103-
"methods": {
104-
"list": {
105-
"response": {
106-
"$ref": "ViolatingSitesResponse"
107-
},
108-
"parameterOrder": [],
109-
"httpMethod": "GET",
110-
"scopes": [
111-
"https://www.googleapis.com/auth/xapi.zoo"
112-
],
113-
"parameters": {},
114-
"flatPath": "v1/violatingSites",
115-
"path": "v1/violatingSites",
116-
"id": "abusiveexperiencereport.violatingSites.list",
117-
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\"."
118-
}
119-
}
120-
},
1216
"sites": {
1227
"methods": {
1238
"get": {
124-
"description": "Gets a summary of the abusive experience rating of a site.",
1259
"response": {
12610
"$ref": "SiteSummaryResponse"
12711
},
12812
"parameterOrder": [
12913
"name"
13014
],
13115
"httpMethod": "GET",
132-
"scopes": [
133-
"https://www.googleapis.com/auth/xapi.zoo"
134-
],
13516
"parameters": {
13617
"name": {
13718
"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.",
@@ -141,51 +22,49 @@
14122
"location": "path"
14223
}
14324
},
25+
"scopes": [
26+
"https://www.googleapis.com/auth/xapi.zoo"
27+
],
14428
"flatPath": "v1/sites/{sitesId}",
14529
"path": "v1/{+name}",
146-
"id": "abusiveexperiencereport.sites.get"
30+
"id": "abusiveexperiencereport.sites.get",
31+
"description": "Gets a summary of the abusive experience rating of a site."
32+
}
33+
}
34+
},
35+
"violatingSites": {
36+
"methods": {
37+
"list": {
38+
"response": {
39+
"$ref": "ViolatingSitesResponse"
40+
},
41+
"parameterOrder": [],
42+
"httpMethod": "GET",
43+
"parameters": {},
44+
"scopes": [
45+
"https://www.googleapis.com/auth/xapi.zoo"
46+
],
47+
"flatPath": "v1/violatingSites",
48+
"path": "v1/violatingSites",
49+
"id": "abusiveexperiencereport.violatingSites.list",
50+
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\"."
14751
}
14852
}
14953
}
15054
},
15155
"parameters": {
152-
"upload_protocol": {
153-
"location": "query",
154-
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
155-
"type": "string"
156-
},
157-
"prettyPrint": {
158-
"type": "boolean",
159-
"default": "true",
160-
"location": "query",
161-
"description": "Returns response with indentations and line breaks."
162-
},
163-
"quotaUser": {
164-
"location": "query",
165-
"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.",
166-
"type": "string"
167-
},
168-
"fields": {
169-
"location": "query",
170-
"description": "Selector specifying which fields to include in a partial response.",
171-
"type": "string"
172-
},
173-
"uploadType": {
174-
"type": "string",
175-
"location": "query",
176-
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
177-
},
17856
"callback": {
57+
"location": "query",
17958
"description": "JSONP",
180-
"type": "string",
181-
"location": "query"
59+
"type": "string"
18260
},
18361
"oauth_token": {
184-
"description": "OAuth 2.0 token for the current user.",
18562
"type": "string",
186-
"location": "query"
63+
"location": "query",
64+
"description": "OAuth 2.0 token for the current user."
18765
},
18866
"$.xgafv": {
67+
"type": "string",
18968
"enumDescriptions": [
19069
"v1 error format",
19170
"v2 error format"
@@ -195,10 +74,11 @@
19574
"1",
19675
"2"
19776
],
198-
"description": "V1 error format.",
199-
"type": "string"
77+
"description": "V1 error format."
20078
},
20179
"alt": {
80+
"description": "Data format for response.",
81+
"default": "json",
20282
"enum": [
20383
"json",
20484
"media",
@@ -210,18 +90,42 @@
21090
"Media download with context-dependent Content-Type",
21191
"Responses with Content-Type of application/x-protobuf"
21292
],
93+
"location": "query"
94+
},
95+
"key": {
21396
"location": "query",
214-
"description": "Data format for response.",
215-
"default": "json"
97+
"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.",
98+
"type": "string"
21699
},
217100
"access_token": {
218101
"location": "query",
219102
"description": "OAuth access token.",
220103
"type": "string"
221104
},
222-
"key": {
105+
"upload_protocol": {
223106
"location": "query",
224-
"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.",
107+
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
108+
"type": "string"
109+
},
110+
"quotaUser": {
111+
"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.",
112+
"type": "string",
113+
"location": "query"
114+
},
115+
"prettyPrint": {
116+
"location": "query",
117+
"description": "Returns response with indentations and line breaks.",
118+
"type": "boolean",
119+
"default": "true"
120+
},
121+
"uploadType": {
122+
"location": "query",
123+
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
124+
"type": "string"
125+
},
126+
"fields": {
127+
"location": "query",
128+
"description": "Selector specifying which fields to include in a partial response.",
225129
"type": "string"
226130
}
227131
},
@@ -235,5 +139,101 @@
235139
"documentationLink": "https://developers.google.com/abusive-experience-report/",
236140
"revision": "20190604",
237141
"discoveryVersion": "v1",
238-
"version_module": true
142+
"version_module": true,
143+
"schemas": {
144+
"ViolatingSitesResponse": {
145+
"description": "Response message for ListViolatingSites.",
146+
"type": "object",
147+
"properties": {
148+
"violatingSites": {
149+
"description": "A list of summaries of violating sites.",
150+
"type": "array",
151+
"items": {
152+
"$ref": "SiteSummaryResponse"
153+
}
154+
}
155+
},
156+
"id": "ViolatingSitesResponse"
157+
},
158+
"SiteSummaryResponse": {
159+
"description": "Response message for GetSiteSummary.",
160+
"type": "object",
161+
"properties": {
162+
"enforcementTime": {
163+
"description": "The date on which enforcement begins.",
164+
"format": "google-datetime",
165+
"type": "string"
166+
},
167+
"filterStatus": {
168+
"enum": [
169+
"UNKNOWN",
170+
"ON",
171+
"OFF",
172+
"PAUSED",
173+
"PENDING"
174+
],
175+
"description": "The abusive experience enforcement status of the site.",
176+
"type": "string",
177+
"enumDescriptions": [
178+
"N/A.",
179+
"Ad filtering is on.",
180+
"Ad filtering is off.",
181+
"Ad filtering is paused.",
182+
"Ad filtering is pending."
183+
]
184+
},
185+
"underReview": {
186+
"description": "Whether the site is currently under review.",
187+
"type": "boolean"
188+
},
189+
"reportUrl": {
190+
"description": "A link that leads to a full abusive experience report.",
191+
"type": "string"
192+
},
193+
"lastChangeTime": {
194+
"description": "The last time that the site changed status.",
195+
"format": "google-datetime",
196+
"type": "string"
197+
},
198+
"reviewedSite": {
199+
"type": "string",
200+
"description": "The name of the site reviewed."
201+
},
202+
"abusiveStatus": {
203+
"type": "string",
204+
"enumDescriptions": [
205+
"Not reviewed.",
206+
"Passing.",
207+
"Failing."
208+
],
209+
"enum": [
210+
"UNKNOWN",
211+
"PASSING",
212+
"FAILING"
213+
],
214+
"description": "The status of the site reviewed for the abusive experiences."
215+
}
216+
},
217+
"id": "SiteSummaryResponse"
218+
}
219+
},
220+
"protocol": "rest",
221+
"icons": {
222+
"x16": "http://www.google.com/images/icons/product/search-16.gif",
223+
"x32": "http://www.google.com/images/icons/product/search-32.gif"
224+
},
225+
"canonicalName": "Abusive Experience Report",
226+
"auth": {
227+
"oauth2": {
228+
"scopes": {
229+
"https://www.googleapis.com/auth/xapi.zoo": {
230+
"description": "Test scope for access to the Zoo service"
231+
}
232+
}
233+
}
234+
},
235+
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
236+
"ownerDomain": "google.com",
237+
"name": "abusiveexperiencereport",
238+
"batchPath": "batch"
239239
}

0 commit comments

Comments
 (0)