Skip to content

Commit 57b81b6

Browse files
author
cloudsharp
committed
Update discovery documents and generated code
automatically_generated_update
1 parent 420d836 commit 57b81b6

File tree

643 files changed

+201554
-201503
lines changed

Some content is hidden

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

643 files changed

+201554
-201503
lines changed
Lines changed: 133 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,9 @@
11
{
2-
"version": "v1",
3-
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
4-
"servicePath": "",
5-
"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
6-
"kind": "discovery#restDescription",
7-
"basePath": "",
8-
"id": "abusiveexperiencereport:v1",
9-
"documentationLink": "https://developers.google.com/abusive-experience-report/",
10-
"revision": "20190528",
11-
"discoveryVersion": "v1",
12-
"version_module": true,
13-
"schemas": {
14-
"ViolatingSitesResponse": {
15-
"id": "ViolatingSitesResponse",
16-
"description": "Response message for ListViolatingSites.",
17-
"type": "object",
18-
"properties": {
19-
"violatingSites": {
20-
"description": "A list of summaries of violating sites.",
21-
"type": "array",
22-
"items": {
23-
"$ref": "SiteSummaryResponse"
24-
}
25-
}
26-
}
27-
},
28-
"SiteSummaryResponse": {
29-
"id": "SiteSummaryResponse",
30-
"description": "Response message for GetSiteSummary.",
31-
"type": "object",
32-
"properties": {
33-
"enforcementTime": {
34-
"description": "The date on which enforcement begins.",
35-
"format": "google-datetime",
36-
"type": "string"
37-
},
38-
"filterStatus": {
39-
"description": "The abusive experience enforcement status of the site.",
40-
"type": "string",
41-
"enumDescriptions": [
42-
"N/A.",
43-
"Ad filtering is on.",
44-
"Ad filtering is off.",
45-
"Ad filtering is paused.",
46-
"Ad filtering is pending."
47-
],
48-
"enum": [
49-
"UNKNOWN",
50-
"ON",
51-
"OFF",
52-
"PAUSED",
53-
"PENDING"
54-
]
55-
},
56-
"underReview": {
57-
"description": "Whether the site is currently under review.",
58-
"type": "boolean"
59-
},
60-
"reportUrl": {
61-
"description": "A link that leads to a full abusive experience report.",
62-
"type": "string"
63-
},
64-
"lastChangeTime": {
65-
"description": "The last time that the site changed status.",
66-
"format": "google-datetime",
67-
"type": "string"
68-
},
69-
"reviewedSite": {
70-
"description": "The name of the site reviewed.",
71-
"type": "string"
72-
},
73-
"abusiveStatus": {
74-
"description": "The status of the site reviewed for the abusive experiences.",
75-
"type": "string",
76-
"enumDescriptions": [
77-
"Not reviewed.",
78-
"Passing.",
79-
"Failing."
80-
],
81-
"enum": [
82-
"UNKNOWN",
83-
"PASSING",
84-
"FAILING"
85-
]
86-
}
87-
}
88-
}
89-
},
2+
"protocol": "rest",
903
"icons": {
91-
"x16": "http://www.google.com/images/icons/product/search-16.gif",
92-
"x32": "http://www.google.com/images/icons/product/search-32.gif"
4+
"x32": "http://www.google.com/images/icons/product/search-32.gif",
5+
"x16": "http://www.google.com/images/icons/product/search-16.gif"
936
},
94-
"protocol": "rest",
957
"canonicalName": "Abusive Experience Report",
968
"auth": {
979
"oauth2": {
@@ -113,6 +25,7 @@
11325
"violatingSites": {
11426
"methods": {
11527
"list": {
28+
"flatPath": "v1/violatingSites",
11629
"path": "v1/violatingSites",
11730
"id": "abusiveexperiencereport.violatingSites.list",
11831
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
@@ -121,18 +34,16 @@
12134
},
12235
"parameterOrder": [],
12336
"httpMethod": "GET",
124-
"parameters": {},
12537
"scopes": [
12638
"https://www.googleapis.com/auth/xapi.zoo"
12739
],
128-
"flatPath": "v1/violatingSites"
40+
"parameters": {}
12941
}
13042
}
13143
},
13244
"sites": {
13345
"methods": {
13446
"get": {
135-
"description": "Gets a summary of the abusive experience rating of a site.",
13647
"response": {
13748
"$ref": "SiteSummaryResponse"
13849
},
@@ -145,81 +56,73 @@
14556
],
14657
"parameters": {
14758
"name": {
59+
"required": true,
60+
"type": "string",
14861
"pattern": "^sites/[^/]+$",
14962
"location": "path",
150-
"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.",
151-
"required": true,
152-
"type": "string"
63+
"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."
15364
}
15465
},
15566
"flatPath": "v1/sites/{sitesId}",
15667
"path": "v1/{+name}",
157-
"id": "abusiveexperiencereport.sites.get"
68+
"id": "abusiveexperiencereport.sites.get",
69+
"description": "Gets a summary of the abusive experience rating of a site."
15870
}
15971
}
16072
}
16173
},
16274
"parameters": {
163-
"key": {
164-
"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.",
165-
"type": "string",
166-
"location": "query"
167-
},
168-
"access_token": {
75+
"upload_protocol": {
16976
"location": "query",
170-
"description": "OAuth access token.",
77+
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
17178
"type": "string"
17279
},
173-
"upload_protocol": {
80+
"quotaUser": {
17481
"location": "query",
175-
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
82+
"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.",
17683
"type": "string"
17784
},
17885
"prettyPrint": {
86+
"location": "query",
17987
"description": "Returns response with indentations and line breaks.",
18088
"type": "boolean",
181-
"default": "true",
182-
"location": "query"
89+
"default": "true"
18390
},
184-
"quotaUser": {
91+
"uploadType": {
18592
"location": "query",
186-
"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.",
93+
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
18794
"type": "string"
18895
},
18996
"fields": {
97+
"type": "string",
19098
"location": "query",
191-
"description": "Selector specifying which fields to include in a partial response.",
192-
"type": "string"
99+
"description": "Selector specifying which fields to include in a partial response."
193100
},
194-
"uploadType": {
195-
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
101+
"callback": {
196102
"type": "string",
197-
"location": "query"
103+
"location": "query",
104+
"description": "JSONP"
105+
},
106+
"oauth_token": {
107+
"location": "query",
108+
"description": "OAuth 2.0 token for the current user.",
109+
"type": "string"
198110
},
199111
"$.xgafv": {
112+
"location": "query",
113+
"enum": [
114+
"1",
115+
"2"
116+
],
200117
"description": "V1 error format.",
201118
"type": "string",
202119
"enumDescriptions": [
203120
"v1 error format",
204121
"v2 error format"
205-
],
206-
"location": "query",
207-
"enum": [
208-
"1",
209-
"2"
210122
]
211123
},
212-
"oauth_token": {
213-
"description": "OAuth 2.0 token for the current user.",
214-
"type": "string",
215-
"location": "query"
216-
},
217-
"callback": {
218-
"description": "JSONP",
219-
"type": "string",
220-
"location": "query"
221-
},
222124
"alt": {
125+
"type": "string",
223126
"enumDescriptions": [
224127
"Responses with Content-Type of application/json",
225128
"Media download with context-dependent Content-Type",
@@ -232,8 +135,105 @@
232135
"json",
233136
"media",
234137
"proto"
235-
],
236-
"type": "string"
138+
]
139+
},
140+
"key": {
141+
"type": "string",
142+
"location": "query",
143+
"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."
144+
},
145+
"access_token": {
146+
"type": "string",
147+
"location": "query",
148+
"description": "OAuth access token."
149+
}
150+
},
151+
"version": "v1",
152+
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
153+
"kind": "discovery#restDescription",
154+
"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
155+
"servicePath": "",
156+
"basePath": "",
157+
"id": "abusiveexperiencereport:v1",
158+
"documentationLink": "https://developers.google.com/abusive-experience-report/",
159+
"revision": "20190528",
160+
"discoveryVersion": "v1",
161+
"version_module": true,
162+
"schemas": {
163+
"SiteSummaryResponse": {
164+
"description": "Response message for GetSiteSummary.",
165+
"type": "object",
166+
"properties": {
167+
"abusiveStatus": {
168+
"enum": [
169+
"UNKNOWN",
170+
"PASSING",
171+
"FAILING"
172+
],
173+
"description": "The status of the site reviewed for the abusive experiences.",
174+
"type": "string",
175+
"enumDescriptions": [
176+
"Not reviewed.",
177+
"Passing.",
178+
"Failing."
179+
]
180+
},
181+
"enforcementTime": {
182+
"type": "string",
183+
"description": "The date on which enforcement begins.",
184+
"format": "google-datetime"
185+
},
186+
"filterStatus": {
187+
"type": "string",
188+
"enumDescriptions": [
189+
"N/A.",
190+
"Ad filtering is on.",
191+
"Ad filtering is off.",
192+
"Ad filtering is paused.",
193+
"Ad filtering is pending."
194+
],
195+
"enum": [
196+
"UNKNOWN",
197+
"ON",
198+
"OFF",
199+
"PAUSED",
200+
"PENDING"
201+
],
202+
"description": "The abusive experience enforcement status of the site."
203+
},
204+
"underReview": {
205+
"type": "boolean",
206+
"description": "Whether the site is currently under review."
207+
},
208+
"reportUrl": {
209+
"description": "A link that leads to a full abusive experience report.",
210+
"type": "string"
211+
},
212+
"reviewedSite": {
213+
"description": "The name of the site reviewed.",
214+
"type": "string"
215+
},
216+
"lastChangeTime": {
217+
"type": "string",
218+
"description": "The last time that the site changed status.",
219+
"format": "google-datetime"
220+
}
221+
},
222+
"id": "SiteSummaryResponse"
223+
},
224+
"ViolatingSitesResponse": {
225+
"type": "object",
226+
"properties": {
227+
"violatingSites": {
228+
"type": "array",
229+
"items": {
230+
"$ref": "SiteSummaryResponse"
231+
},
232+
"description": "A list of summaries of violating sites."
233+
}
234+
},
235+
"id": "ViolatingSitesResponse",
236+
"description": "Response message for ListViolatingSites."
237237
}
238238
}
239239
}

0 commit comments

Comments
 (0)