OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/admin.reports.audit.readonly":
{ | 5 "https://www.googleapis.com/auth/admin.reports.audit.readonly":
{ |
6 "description": "View audit reports for your G Suite domain" | 6 "description": "View audit reports for your G Suite domain" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/admin.reports.usage.readonly":
{ | 8 "https://www.googleapis.com/auth/admin.reports.usage.readonly":
{ |
9 "description": "View usage reports for your G Suite domain" | 9 "description": "View usage reports for your G Suite domain" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/admin/reports/v1/", | 14 "basePath": "/admin/reports/v1/", |
15 "baseUrl": "https://www.googleapis.com/admin/reports/v1/", | 15 "baseUrl": "https://www.googleapis.com/admin/reports/v1/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "reports", | 17 "canonicalName": "reports", |
18 "description": "Fetches reports for the administrators of Google Apps custom
ers about the usage, collaboration, security, and risk for their users.", | 18 "description": "Fetches reports for the administrators of G Suite customers
about the usage, collaboration, security, and risk for their users.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://developers.google.com/admin-sdk/reports/", | 20 "documentationLink": "https://developers.google.com/admin-sdk/reports/", |
21 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/DCxy1_Jea5MRziGoQUK4JAZOHiE\"", | 21 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/3o2kOuChwcSfe-_UrgiVWnEoY64\"", |
22 "icons": { | 22 "icons": { |
23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
25 }, | 25 }, |
26 "id": "admin:reports_v1", | 26 "id": "admin:reports_v1", |
27 "kind": "discovery#restDescription", | 27 "kind": "discovery#restDescription", |
28 "name": "admin", | 28 "name": "admin", |
29 "ownerDomain": "google.com", | 29 "ownerDomain": "google.com", |
30 "ownerName": "Google", | 30 "ownerName": "Google", |
31 "packagePath": "admin", | 31 "packagePath": "admin", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 ], | 88 ], |
89 "parameters": { | 89 "parameters": { |
90 "actorIpAddress": { | 90 "actorIpAddress": { |
91 "description": "IP Address of host where the event w
as performed. Supports both IPv4 and IPv6 addresses.", | 91 "description": "IP Address of host where the event w
as performed. Supports both IPv4 and IPv6 addresses.", |
92 "location": "query", | 92 "location": "query", |
93 "type": "string" | 93 "type": "string" |
94 }, | 94 }, |
95 "applicationName": { | 95 "applicationName": { |
96 "description": "Application name for which the event
s are to be retrieved.", | 96 "description": "Application name for which the event
s are to be retrieved.", |
97 "location": "path", | 97 "location": "path", |
98 "pattern": "(admin)|(calendar)|(drive)|(login)|(mobi
le)|(token)|(groups)|(saml)", | 98 "pattern": "(admin)|(calendar)|(drive)|(login)|(mobi
le)|(token)|(groups)|(saml)|(chat)", |
99 "required": true, | 99 "required": true, |
100 "type": "string" | 100 "type": "string" |
101 }, | 101 }, |
102 "customerId": { | 102 "customerId": { |
103 "description": "Represents the customer for which th
e data is to be fetched.", | 103 "description": "Represents the customer for which th
e data is to be fetched.", |
104 "location": "query", | 104 "location": "query", |
105 "pattern": "C.+", | 105 "pattern": "C.+", |
106 "type": "string" | 106 "type": "string" |
107 }, | 107 }, |
108 "endTime": { | 108 "endTime": { |
109 "description": "Return events which occured at or be
fore this time.", | 109 "description": "Return events which occurred at or b
efore this time.", |
110 "location": "query", | 110 "location": "query", |
111 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", | 111 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", |
112 "type": "string" | 112 "type": "string" |
113 }, | 113 }, |
114 "eventName": { | 114 "eventName": { |
115 "description": "Name of the event being queried.", | 115 "description": "Name of the event being queried.", |
116 "location": "query", | 116 "location": "query", |
117 "type": "string" | 117 "type": "string" |
118 }, | 118 }, |
119 "filters": { | 119 "filters": { |
120 "description": "Event parameters in the form [parame
ter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 va
lue],...", | 120 "description": "Event parameters in the form [parame
ter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 va
lue],...", |
121 "location": "query", | 121 "location": "query", |
122 "pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,
>,<>].+)", | 122 "pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,
>,<>].+)", |
123 "type": "string" | 123 "type": "string" |
124 }, | 124 }, |
125 "maxResults": { | 125 "maxResults": { |
126 "description": "Number of activity records to be sho
wn in each page.", | 126 "description": "Number of activity records to be sho
wn in each page.", |
127 "format": "int32", | 127 "format": "int32", |
128 "location": "query", | 128 "location": "query", |
129 "maximum": "1000", | 129 "maximum": "1000", |
130 "minimum": "1", | 130 "minimum": "1", |
131 "type": "integer" | 131 "type": "integer" |
132 }, | 132 }, |
133 "pageToken": { | 133 "pageToken": { |
134 "description": "Token to specify next page.", | 134 "description": "Token to specify next page.", |
135 "location": "query", | 135 "location": "query", |
136 "type": "string" | 136 "type": "string" |
137 }, | 137 }, |
138 "startTime": { | 138 "startTime": { |
139 "description": "Return events which occured at or af
ter this time.", | 139 "description": "Return events which occurred at or a
fter this time.", |
140 "location": "query", | 140 "location": "query", |
141 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", | 141 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", |
142 "type": "string" | 142 "type": "string" |
143 }, | 143 }, |
144 "userKey": { | 144 "userKey": { |
145 "description": "Represents the profile id or the use
r email for which the data should be filtered. When 'all' is specified as the us
erKey, it returns usageReports for all users.", | 145 "description": "Represents the profile id or the use
r email for which the data should be filtered. When 'all' is specified as the us
erKey, it returns usageReports for all users.", |
146 "location": "path", | 146 "location": "path", |
147 "required": true, | 147 "required": true, |
148 "type": "string" | 148 "type": "string" |
149 } | 149 } |
(...skipping 17 matching lines...) Expand all Loading... |
167 ], | 167 ], |
168 "parameters": { | 168 "parameters": { |
169 "actorIpAddress": { | 169 "actorIpAddress": { |
170 "description": "IP Address of host where the event w
as performed. Supports both IPv4 and IPv6 addresses.", | 170 "description": "IP Address of host where the event w
as performed. Supports both IPv4 and IPv6 addresses.", |
171 "location": "query", | 171 "location": "query", |
172 "type": "string" | 172 "type": "string" |
173 }, | 173 }, |
174 "applicationName": { | 174 "applicationName": { |
175 "description": "Application name for which the event
s are to be retrieved.", | 175 "description": "Application name for which the event
s are to be retrieved.", |
176 "location": "path", | 176 "location": "path", |
177 "pattern": "(admin)|(calendar)|(drive)|(login)|(mobi
le)|(token)|(groups)|(saml)", | 177 "pattern": "(admin)|(calendar)|(drive)|(login)|(mobi
le)|(token)|(groups)|(saml)|(chat)", |
178 "required": true, | 178 "required": true, |
179 "type": "string" | 179 "type": "string" |
180 }, | 180 }, |
181 "customerId": { | 181 "customerId": { |
182 "description": "Represents the customer for which th
e data is to be fetched.", | 182 "description": "Represents the customer for which th
e data is to be fetched.", |
183 "location": "query", | 183 "location": "query", |
184 "pattern": "C.+", | 184 "pattern": "C.+", |
185 "type": "string" | 185 "type": "string" |
186 }, | 186 }, |
187 "endTime": { | 187 "endTime": { |
188 "description": "Return events which occured at or be
fore this time.", | 188 "description": "Return events which occurred at or b
efore this time.", |
189 "location": "query", | 189 "location": "query", |
190 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", | 190 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", |
191 "type": "string" | 191 "type": "string" |
192 }, | 192 }, |
193 "eventName": { | 193 "eventName": { |
194 "description": "Name of the event being queried.", | 194 "description": "Name of the event being queried.", |
195 "location": "query", | 195 "location": "query", |
196 "type": "string" | 196 "type": "string" |
197 }, | 197 }, |
198 "filters": { | 198 "filters": { |
199 "description": "Event parameters in the form [parame
ter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 va
lue],...", | 199 "description": "Event parameters in the form [parame
ter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 va
lue],...", |
200 "location": "query", | 200 "location": "query", |
201 "pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,
>,<>].+)", | 201 "pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,
>,<>].+)", |
202 "type": "string" | 202 "type": "string" |
203 }, | 203 }, |
204 "maxResults": { | 204 "maxResults": { |
205 "description": "Number of activity records to be sho
wn in each page.", | 205 "description": "Number of activity records to be sho
wn in each page.", |
206 "format": "int32", | 206 "format": "int32", |
207 "location": "query", | 207 "location": "query", |
208 "maximum": "1000", | 208 "maximum": "1000", |
209 "minimum": "1", | 209 "minimum": "1", |
210 "type": "integer" | 210 "type": "integer" |
211 }, | 211 }, |
212 "pageToken": { | 212 "pageToken": { |
213 "description": "Token to specify next page.", | 213 "description": "Token to specify next page.", |
214 "location": "query", | 214 "location": "query", |
215 "type": "string" | 215 "type": "string" |
216 }, | 216 }, |
217 "startTime": { | 217 "startTime": { |
218 "description": "Return events which occured at or af
ter this time.", | 218 "description": "Return events which occurred at or a
fter this time.", |
219 "location": "query", | 219 "location": "query", |
220 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", | 220 "pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d
):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", |
221 "type": "string" | 221 "type": "string" |
222 }, | 222 }, |
223 "userKey": { | 223 "userKey": { |
224 "description": "Represents the profile id or the use
r email for which the data should be filtered. When 'all' is specified as the us
erKey, it returns usageReports for all users.", | 224 "description": "Represents the profile id or the use
r email for which the data should be filtered. When 'all' is specified as the us
erKey, it returns usageReports for all users.", |
225 "location": "path", | 225 "location": "path", |
226 "required": true, | 226 "required": true, |
227 "type": "string" | 227 "type": "string" |
228 } | 228 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 "type": "string" | 283 "type": "string" |
284 }, | 284 }, |
285 "pageToken": { | 285 "pageToken": { |
286 "description": "Token to specify next page.", | 286 "description": "Token to specify next page.", |
287 "location": "query", | 287 "location": "query", |
288 "type": "string" | 288 "type": "string" |
289 }, | 289 }, |
290 "parameters": { | 290 "parameters": { |
291 "description": "Represents the application name, par
ameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name
2.", | 291 "description": "Represents the application name, par
ameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name
2.", |
292 "location": "query", | 292 "location": "query", |
293 "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(
docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(
calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)", | 293 "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(
docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(
gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)", |
294 "type": "string" | 294 "type": "string" |
295 } | 295 } |
296 }, | 296 }, |
297 "path": "usage/dates/{date}", | 297 "path": "usage/dates/{date}", |
298 "response": { | 298 "response": { |
299 "$ref": "UsageReports" | 299 "$ref": "UsageReports" |
300 }, | 300 }, |
301 "scopes": [ | 301 "scopes": [ |
302 "https://www.googleapis.com/auth/admin.reports.usage.rea
donly" | 302 "https://www.googleapis.com/auth/admin.reports.usage.rea
donly" |
303 ] | 303 ] |
(...skipping 20 matching lines...) Expand all Loading... |
324 "date": { | 324 "date": { |
325 "description": "Represents the date in yyyy-mm-dd fo
rmat for which the data is to be fetched.", | 325 "description": "Represents the date in yyyy-mm-dd fo
rmat for which the data is to be fetched.", |
326 "location": "path", | 326 "location": "path", |
327 "pattern": "(\\d){4}-(\\d){2}-(\\d){2}", | 327 "pattern": "(\\d){4}-(\\d){2}-(\\d){2}", |
328 "required": true, | 328 "required": true, |
329 "type": "string" | 329 "type": "string" |
330 }, | 330 }, |
331 "filters": { | 331 "filters": { |
332 "description": "Represents the set of filters includ
ing parameter operator value.", | 332 "description": "Represents the set of filters includ
ing parameter operator value.", |
333 "location": "query", | 333 "location": "query", |
334 "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(
docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*((
(accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management))
:[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", | 334 "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(
docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^
,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_mana
gement)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", |
335 "type": "string" | 335 "type": "string" |
336 }, | 336 }, |
337 "maxResults": { | 337 "maxResults": { |
338 "description": "Maximum number of results to return.
Maximum allowed is 1000", | 338 "description": "Maximum number of results to return.
Maximum allowed is 1000", |
339 "format": "uint32", | 339 "format": "uint32", |
340 "location": "query", | 340 "location": "query", |
341 "maximum": "1000", | 341 "maximum": "1000", |
342 "type": "integer" | 342 "type": "integer" |
343 }, | 343 }, |
344 "pageToken": { | 344 "pageToken": { |
345 "description": "Token to specify next page.", | 345 "description": "Token to specify next page.", |
346 "location": "query", | 346 "location": "query", |
347 "type": "string" | 347 "type": "string" |
348 }, | 348 }, |
349 "parameters": { | 349 "parameters": { |
350 "description": "Represents the application name, par
ameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name
2.", | 350 "description": "Represents the application name, par
ameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name
2.", |
351 "location": "query", | 351 "location": "query", |
352 "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(
docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(
calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)", | 352 "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(
docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(
gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)", |
353 "type": "string" | 353 "type": "string" |
354 }, | 354 }, |
355 "userKey": { | 355 "userKey": { |
356 "description": "Represents the profile id or the use
r email for which the data should be filtered.", | 356 "description": "Represents the profile id or the use
r email for which the data should be filtered.", |
357 "location": "path", | 357 "location": "path", |
358 "required": true, | 358 "required": true, |
359 "type": "string" | 359 "type": "string" |
360 } | 360 } |
361 }, | 361 }, |
362 "path": "usage/users/{userKey}/dates/{date}", | 362 "path": "usage/users/{userKey}/dates/{date}", |
363 "response": { | 363 "response": { |
364 "$ref": "UsageReports" | 364 "$ref": "UsageReports" |
365 }, | 365 }, |
366 "scopes": [ | 366 "scopes": [ |
367 "https://www.googleapis.com/auth/admin.reports.usage.rea
donly" | 367 "https://www.googleapis.com/auth/admin.reports.usage.rea
donly" |
368 ] | 368 ] |
369 } | 369 } |
370 } | 370 } |
371 } | 371 } |
372 }, | 372 }, |
373 "revision": "20160704", | 373 "revision": "20170315", |
374 "rootUrl": "https://www.googleapis.com/", | 374 "rootUrl": "https://www.googleapis.com/", |
375 "schemas": { | 375 "schemas": { |
376 "Activities": { | 376 "Activities": { |
377 "description": "JSON template for a collection of activites.", | 377 "description": "JSON template for a collection of activites.", |
378 "id": "Activities", | 378 "id": "Activities", |
379 "properties": { | 379 "properties": { |
380 "etag": { | 380 "etag": { |
381 "description": "ETag of the resource.", | 381 "description": "ETag of the resource.", |
382 "type": "string" | 382 "type": "string" |
383 }, | 383 }, |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 "type": "array" | 735 "type": "array" |
736 } | 736 } |
737 }, | 737 }, |
738 "type": "object" | 738 "type": "object" |
739 } | 739 } |
740 }, | 740 }, |
741 "servicePath": "admin/reports/v1/", | 741 "servicePath": "admin/reports/v1/", |
742 "title": "Admin Reports API", | 742 "title": "Admin Reports API", |
743 "version": "reports_v1" | 743 "version": "reports_v1" |
744 } | 744 } |
OLD | NEW |