Skip to content

Commit 0a4b42e

Browse files
author
cloudsharp
committed
Update discovery documents and generated code
automatically_generated_update
1 parent 4caf4a7 commit 0a4b42e

File tree

658 files changed

+191432
-191218
lines changed

Some content is hidden

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

658 files changed

+191432
-191218
lines changed
Lines changed: 152 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,143 @@
11
{
2+
"fullyEncodeReservedExpansion": true,
3+
"title": "Abusive Experience Report API",
4+
"ownerName": "Google",
5+
"resources": {
6+
"violatingSites": {
7+
"methods": {
8+
"list": {
9+
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
10+
"response": {
11+
"$ref": "ViolatingSitesResponse"
12+
},
13+
"parameterOrder": [],
14+
"httpMethod": "GET",
15+
"parameters": {},
16+
"scopes": [
17+
"https://www.googleapis.com/auth/xapi.zoo"
18+
],
19+
"flatPath": "v1/violatingSites",
20+
"path": "v1/violatingSites",
21+
"id": "abusiveexperiencereport.violatingSites.list"
22+
}
23+
}
24+
},
25+
"sites": {
26+
"methods": {
27+
"get": {
28+
"response": {
29+
"$ref": "SiteSummaryResponse"
30+
},
31+
"parameterOrder": [
32+
"name"
33+
],
34+
"httpMethod": "GET",
35+
"scopes": [
36+
"https://www.googleapis.com/auth/xapi.zoo"
37+
],
38+
"parameters": {
39+
"name": {
40+
"location": "path",
41+
"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.",
42+
"required": true,
43+
"type": "string",
44+
"pattern": "^sites/[^/]+$"
45+
}
46+
},
47+
"flatPath": "v1/sites/{sitesId}",
48+
"path": "v1/{+name}",
49+
"id": "abusiveexperiencereport.sites.get",
50+
"description": "Gets a summary of the abusive experience rating of a site."
51+
}
52+
}
53+
}
54+
},
55+
"parameters": {
56+
"callback": {
57+
"description": "JSONP",
58+
"type": "string",
59+
"location": "query"
60+
},
61+
"oauth_token": {
62+
"description": "OAuth 2.0 token for the current user.",
63+
"type": "string",
64+
"location": "query"
65+
},
66+
"$.xgafv": {
67+
"enumDescriptions": [
68+
"v1 error format",
69+
"v2 error format"
70+
],
71+
"location": "query",
72+
"enum": [
73+
"1",
74+
"2"
75+
],
76+
"description": "V1 error format.",
77+
"type": "string"
78+
},
79+
"alt": {
80+
"location": "query",
81+
"description": "Data format for response.",
82+
"default": "json",
83+
"enum": [
84+
"json",
85+
"media",
86+
"proto"
87+
],
88+
"type": "string",
89+
"enumDescriptions": [
90+
"Responses with Content-Type of application/json",
91+
"Media download with context-dependent Content-Type",
92+
"Responses with Content-Type of application/x-protobuf"
93+
]
94+
},
95+
"access_token": {
96+
"location": "query",
97+
"description": "OAuth access token.",
98+
"type": "string"
99+
},
100+
"key": {
101+
"type": "string",
102+
"location": "query",
103+
"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."
104+
},
105+
"upload_protocol": {
106+
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
107+
"type": "string",
108+
"location": "query"
109+
},
110+
"prettyPrint": {
111+
"location": "query",
112+
"description": "Returns response with indentations and line breaks.",
113+
"type": "boolean",
114+
"default": "true"
115+
},
116+
"quotaUser": {
117+
"location": "query",
118+
"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.",
119+
"type": "string"
120+
},
121+
"fields": {
122+
"type": "string",
123+
"location": "query",
124+
"description": "Selector specifying which fields to include in a partial response."
125+
},
126+
"uploadType": {
127+
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
128+
"type": "string",
129+
"location": "query"
130+
}
131+
},
2132
"version": "v1",
3133
"baseUrl": "https://abusiveexperiencereport.googleapis.com/",
4134
"servicePath": "",
5-
"kind": "discovery#restDescription",
6135
"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
136+
"kind": "discovery#restDescription",
7137
"basePath": "",
8-
"id": "abusiveexperiencereport:v1",
9-
"documentationLink": "https://developers.google.com/abusive-experience-report/",
10138
"revision": "20190422",
139+
"documentationLink": "https://developers.google.com/abusive-experience-report/",
140+
"id": "abusiveexperiencereport:v1",
11141
"discoveryVersion": "v1",
12142
"version_module": true,
13143
"schemas": {
@@ -35,16 +165,18 @@
35165
"description": "A link that leads to a full abusive experience report.",
36166
"type": "string"
37167
},
38-
"reviewedSite": {
39-
"description": "The name of the site reviewed.",
40-
"type": "string"
41-
},
42168
"lastChangeTime": {
169+
"type": "string",
43170
"description": "The last time that the site changed status.",
44-
"format": "google-datetime",
45-
"type": "string"
171+
"format": "google-datetime"
172+
},
173+
"reviewedSite": {
174+
"type": "string",
175+
"description": "The name of the site reviewed."
46176
},
47177
"abusiveStatus": {
178+
"description": "The status of the site reviewed for the abusive experiences.",
179+
"type": "string",
48180
"enumDescriptions": [
49181
"Not reviewed.",
50182
"Passing.",
@@ -54,23 +186,14 @@
54186
"UNKNOWN",
55187
"PASSING",
56188
"FAILING"
57-
],
58-
"description": "The status of the site reviewed for the abusive experiences.",
59-
"type": "string"
189+
]
60190
},
61191
"enforcementTime": {
62192
"description": "The date on which enforcement begins.",
63193
"format": "google-datetime",
64194
"type": "string"
65195
},
66196
"filterStatus": {
67-
"enumDescriptions": [
68-
"N/A.",
69-
"Ad filtering is on.",
70-
"Ad filtering is off.",
71-
"Ad filtering is paused.",
72-
"Ad filtering is pending."
73-
],
74197
"enum": [
75198
"UNKNOWN",
76199
"ON",
@@ -79,19 +202,26 @@
79202
"PENDING"
80203
],
81204
"description": "The abusive experience enforcement status of the site.",
82-
"type": "string"
205+
"type": "string",
206+
"enumDescriptions": [
207+
"N/A.",
208+
"Ad filtering is on.",
209+
"Ad filtering is off.",
210+
"Ad filtering is paused.",
211+
"Ad filtering is pending."
212+
]
83213
}
84214
},
85215
"id": "SiteSummaryResponse",
86216
"description": "Response message for GetSiteSummary.",
87217
"type": "object"
88218
}
89219
},
220+
"protocol": "rest",
90221
"icons": {
91222
"x16": "http://www.google.com/images/icons/product/search-16.gif",
92223
"x32": "http://www.google.com/images/icons/product/search-32.gif"
93224
},
94-
"protocol": "rest",
95225
"canonicalName": "Abusive Experience Report",
96226
"auth": {
97227
"oauth2": {
@@ -105,135 +235,5 @@
105235
"rootUrl": "https://abusiveexperiencereport.googleapis.com/",
106236
"ownerDomain": "google.com",
107237
"name": "abusiveexperiencereport",
108-
"batchPath": "batch",
109-
"fullyEncodeReservedExpansion": true,
110-
"title": "Abusive Experience Report API",
111-
"ownerName": "Google",
112-
"resources": {
113-
"sites": {
114-
"methods": {
115-
"get": {
116-
"path": "v1/{+name}",
117-
"id": "abusiveexperiencereport.sites.get",
118-
"description": "Gets a summary of the abusive experience rating of a site.",
119-
"response": {
120-
"$ref": "SiteSummaryResponse"
121-
},
122-
"parameterOrder": [
123-
"name"
124-
],
125-
"httpMethod": "GET",
126-
"parameters": {
127-
"name": {
128-
"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.",
129-
"required": true,
130-
"type": "string",
131-
"pattern": "^sites/[^/]+$",
132-
"location": "path"
133-
}
134-
},
135-
"scopes": [
136-
"https://www.googleapis.com/auth/xapi.zoo"
137-
],
138-
"flatPath": "v1/sites/{sitesId}"
139-
}
140-
}
141-
},
142-
"violatingSites": {
143-
"methods": {
144-
"list": {
145-
"description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
146-
"response": {
147-
"$ref": "ViolatingSitesResponse"
148-
},
149-
"parameterOrder": [],
150-
"httpMethod": "GET",
151-
"scopes": [
152-
"https://www.googleapis.com/auth/xapi.zoo"
153-
],
154-
"parameters": {},
155-
"flatPath": "v1/violatingSites",
156-
"path": "v1/violatingSites",
157-
"id": "abusiveexperiencereport.violatingSites.list"
158-
}
159-
}
160-
}
161-
},
162-
"parameters": {
163-
"fields": {
164-
"description": "Selector specifying which fields to include in a partial response.",
165-
"type": "string",
166-
"location": "query"
167-
},
168-
"uploadType": {
169-
"location": "query",
170-
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
171-
"type": "string"
172-
},
173-
"$.xgafv": {
174-
"enumDescriptions": [
175-
"v1 error format",
176-
"v2 error format"
177-
],
178-
"location": "query",
179-
"enum": [
180-
"1",
181-
"2"
182-
],
183-
"description": "V1 error format.",
184-
"type": "string"
185-
},
186-
"oauth_token": {
187-
"description": "OAuth 2.0 token for the current user.",
188-
"type": "string",
189-
"location": "query"
190-
},
191-
"callback": {
192-
"location": "query",
193-
"description": "JSONP",
194-
"type": "string"
195-
},
196-
"alt": {
197-
"enum": [
198-
"json",
199-
"media",
200-
"proto"
201-
],
202-
"type": "string",
203-
"enumDescriptions": [
204-
"Responses with Content-Type of application/json",
205-
"Media download with context-dependent Content-Type",
206-
"Responses with Content-Type of application/x-protobuf"
207-
],
208-
"location": "query",
209-
"description": "Data format for response.",
210-
"default": "json"
211-
},
212-
"key": {
213-
"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.",
214-
"type": "string",
215-
"location": "query"
216-
},
217-
"access_token": {
218-
"location": "query",
219-
"description": "OAuth access token.",
220-
"type": "string"
221-
},
222-
"upload_protocol": {
223-
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
224-
"type": "string",
225-
"location": "query"
226-
},
227-
"prettyPrint": {
228-
"description": "Returns response with indentations and line breaks.",
229-
"type": "boolean",
230-
"default": "true",
231-
"location": "query"
232-
},
233-
"quotaUser": {
234-
"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.",
235-
"type": "string",
236-
"location": "query"
237-
}
238-
}
238+
"batchPath": "batch"
239239
}

0 commit comments

Comments
 (0)