You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

822 lines
30 KiB

  1. {
  2. "auth": {
  3. "oauth2": {
  4. "scopes": {
  5. "https://www.googleapis.com/auth/admin.reports.audit.readonly": {
  6. "description": "View audit reports for your G Suite domain"
  7. },
  8. "https://www.googleapis.com/auth/admin.reports.usage.readonly": {
  9. "description": "View usage reports for your G Suite domain"
  10. }
  11. }
  12. }
  13. },
  14. "basePath": "/admin/reports/v1/",
  15. "baseUrl": "https://www.googleapis.com/admin/reports/v1/",
  16. "batchPath": "batch/admin/reports_v1",
  17. "canonicalName": "reports",
  18. "description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
  19. "discoveryVersion": "v1",
  20. "documentationLink": "https://developers.google.com/admin-sdk/reports/",
  21. "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/qLYAvJFGLfyQS5NN2Ycs-uWKdaw\"",
  22. "icons": {
  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"
  25. },
  26. "id": "admin:reports_v1",
  27. "kind": "discovery#restDescription",
  28. "name": "admin",
  29. "ownerDomain": "google.com",
  30. "ownerName": "Google",
  31. "packagePath": "admin",
  32. "parameters": {
  33. "alt": {
  34. "default": "json",
  35. "description": "Data format for the response.",
  36. "enum": [
  37. "json"
  38. ],
  39. "enumDescriptions": [
  40. "Responses with Content-Type of application/json"
  41. ],
  42. "location": "query",
  43. "type": "string"
  44. },
  45. "fields": {
  46. "description": "Selector specifying which fields to include in a partial response.",
  47. "location": "query",
  48. "type": "string"
  49. },
  50. "key": {
  51. "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.",
  52. "location": "query",
  53. "type": "string"
  54. },
  55. "oauth_token": {
  56. "description": "OAuth 2.0 token for the current user.",
  57. "location": "query",
  58. "type": "string"
  59. },
  60. "prettyPrint": {
  61. "default": "true",
  62. "description": "Returns response with indentations and line breaks.",
  63. "location": "query",
  64. "type": "boolean"
  65. },
  66. "quotaUser": {
  67. "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
  68. "location": "query",
  69. "type": "string"
  70. },
  71. "userIp": {
  72. "description": "Deprecated. Please use quotaUser instead.",
  73. "location": "query",
  74. "type": "string"
  75. }
  76. },
  77. "protocol": "rest",
  78. "resources": {
  79. "activities": {
  80. "methods": {
  81. "list": {
  82. "description": "Retrieves a list of activities for a specific customer and application.",
  83. "httpMethod": "GET",
  84. "id": "reports.activities.list",
  85. "parameterOrder": [
  86. "userKey",
  87. "applicationName"
  88. ],
  89. "parameters": {
  90. "actorIpAddress": {
  91. "description": "IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.",
  92. "location": "query",
  93. "type": "string"
  94. },
  95. "applicationName": {
  96. "description": "Application name for which the events are to be retrieved.",
  97. "location": "path",
  98. "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)",
  99. "required": true,
  100. "type": "string"
  101. },
  102. "customerId": {
  103. "description": "Represents the customer for which the data is to be fetched.",
  104. "location": "query",
  105. "pattern": "C.+",
  106. "type": "string"
  107. },
  108. "endTime": {
  109. "description": "Return events which occurred at or before this time.",
  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))",
  112. "type": "string"
  113. },
  114. "eventName": {
  115. "description": "Name of the event being queried.",
  116. "location": "query",
  117. "type": "string"
  118. },
  119. "filters": {
  120. "description": "Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],...",
  121. "location": "query",
  122. "pattern": "(.+[\u003c,\u003c=,==,\u003e=,\u003e,\u003c\u003e].+,)*(.+[\u003c,\u003c=,==,\u003e=,\u003e,\u003c\u003e].+)",
  123. "type": "string"
  124. },
  125. "maxResults": {
  126. "description": "Number of activity records to be shown in each page.",
  127. "format": "int32",
  128. "location": "query",
  129. "maximum": "1000",
  130. "minimum": "1",
  131. "type": "integer"
  132. },
  133. "pageToken": {
  134. "description": "Token to specify next page.",
  135. "location": "query",
  136. "type": "string"
  137. },
  138. "startTime": {
  139. "description": "Return events which occurred at or after this time.",
  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))",
  142. "type": "string"
  143. },
  144. "userKey": {
  145. "description": "Represents the profile id or the user email for which the data should be filtered. When 'all' is specified as the userKey, it returns usageReports for all users.",
  146. "location": "path",
  147. "required": true,
  148. "type": "string"
  149. }
  150. },
  151. "path": "activity/users/{userKey}/applications/{applicationName}",
  152. "response": {
  153. "$ref": "Activities"
  154. },
  155. "scopes": [
  156. "https://www.googleapis.com/auth/admin.reports.audit.readonly"
  157. ],
  158. "supportsSubscription": true
  159. },
  160. "watch": {
  161. "description": "Push changes to activities",
  162. "httpMethod": "POST",
  163. "id": "reports.activities.watch",
  164. "parameterOrder": [
  165. "userKey",
  166. "applicationName"
  167. ],
  168. "parameters": {
  169. "actorIpAddress": {
  170. "description": "IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.",
  171. "location": "query",
  172. "type": "string"
  173. },
  174. "applicationName": {
  175. "description": "Application name for which the events are to be retrieved.",
  176. "location": "path",
  177. "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)",
  178. "required": true,
  179. "type": "string"
  180. },
  181. "customerId": {
  182. "description": "Represents the customer for which the data is to be fetched.",
  183. "location": "query",
  184. "pattern": "C.+",
  185. "type": "string"
  186. },
  187. "endTime": {
  188. "description": "Return events which occurred at or before this time.",
  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))",
  191. "type": "string"
  192. },
  193. "eventName": {
  194. "description": "Name of the event being queried.",
  195. "location": "query",
  196. "type": "string"
  197. },
  198. "filters": {
  199. "description": "Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],...",
  200. "location": "query",
  201. "pattern": "(.+[\u003c,\u003c=,==,\u003e=,\u003e,\u003c\u003e].+,)*(.+[\u003c,\u003c=,==,\u003e=,\u003e,\u003c\u003e].+)",
  202. "type": "string"
  203. },
  204. "maxResults": {
  205. "description": "Number of activity records to be shown in each page.",
  206. "format": "int32",
  207. "location": "query",
  208. "maximum": "1000",
  209. "minimum": "1",
  210. "type": "integer"
  211. },
  212. "pageToken": {
  213. "description": "Token to specify next page.",
  214. "location": "query",
  215. "type": "string"
  216. },
  217. "startTime": {
  218. "description": "Return events which occurred at or after this time.",
  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))",
  221. "type": "string"
  222. },
  223. "userKey": {
  224. "description": "Represents the profile id or the user email for which the data should be filtered. When 'all' is specified as the userKey, it returns usageReports for all users.",
  225. "location": "path",
  226. "required": true,
  227. "type": "string"
  228. }
  229. },
  230. "path": "activity/users/{userKey}/applications/{applicationName}/watch",
  231. "request": {
  232. "$ref": "Channel",
  233. "parameterName": "resource"
  234. },
  235. "response": {
  236. "$ref": "Channel"
  237. },
  238. "scopes": [
  239. "https://www.googleapis.com/auth/admin.reports.audit.readonly"
  240. ],
  241. "supportsSubscription": true
  242. }
  243. }
  244. },
  245. "channels": {
  246. "methods": {
  247. "stop": {
  248. "description": "Stop watching resources through this channel",
  249. "httpMethod": "POST",
  250. "id": "admin.channels.stop",
  251. "path": "/admin/reports_v1/channels/stop",
  252. "request": {
  253. "$ref": "Channel",
  254. "parameterName": "resource"
  255. },
  256. "scopes": [
  257. "https://www.googleapis.com/auth/admin.reports.audit.readonly"
  258. ]
  259. }
  260. }
  261. },
  262. "customerUsageReports": {
  263. "methods": {
  264. "get": {
  265. "description": "Retrieves a report which is a collection of properties / statistics for a specific customer.",
  266. "httpMethod": "GET",
  267. "id": "reports.customerUsageReports.get",
  268. "parameterOrder": [
  269. "date"
  270. ],
  271. "parameters": {
  272. "customerId": {
  273. "description": "Represents the customer for which the data is to be fetched.",
  274. "location": "query",
  275. "pattern": "C.+",
  276. "type": "string"
  277. },
  278. "date": {
  279. "description": "Represents the date in yyyy-mm-dd format for which the data is to be fetched.",
  280. "location": "path",
  281. "pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
  282. "required": true,
  283. "type": "string"
  284. },
  285. "pageToken": {
  286. "description": "Token to specify next page.",
  287. "location": "query",
  288. "type": "string"
  289. },
  290. "parameters": {
  291. "description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
  292. "location": "query",
  293. "pattern": "(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)",
  294. "type": "string"
  295. }
  296. },
  297. "path": "usage/dates/{date}",
  298. "response": {
  299. "$ref": "UsageReports"
  300. },
  301. "scopes": [
  302. "https://www.googleapis.com/auth/admin.reports.usage.readonly"
  303. ]
  304. }
  305. }
  306. },
  307. "entityUsageReports": {
  308. "methods": {
  309. "get": {
  310. "description": "Retrieves a report which is a collection of properties / statistics for a set of objects.",
  311. "httpMethod": "GET",
  312. "id": "reports.entityUsageReports.get",
  313. "parameterOrder": [
  314. "entityType",
  315. "entityKey",
  316. "date"
  317. ],
  318. "parameters": {
  319. "customerId": {
  320. "description": "Represents the customer for which the data is to be fetched.",
  321. "location": "query",
  322. "pattern": "C.+",
  323. "type": "string"
  324. },
  325. "date": {
  326. "description": "Represents the date in yyyy-mm-dd format for which the data is to be fetched.",
  327. "location": "path",
  328. "pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
  329. "required": true,
  330. "type": "string"
  331. },
  332. "entityKey": {
  333. "description": "Represents the key of object for which the data should be filtered.",
  334. "location": "path",
  335. "required": true,
  336. "type": "string"
  337. },
  338. "entityType": {
  339. "description": "Type of object. Should be one of - gplus_communities.",
  340. "location": "path",
  341. "pattern": "(gplus_communities)",
  342. "required": true,
  343. "type": "string"
  344. },
  345. "filters": {
  346. "description": "Represents the set of filters including parameter operator value.",
  347. "location": "query",
  348. "pattern": "(((gplus)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((gplus)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
  349. "type": "string"
  350. },
  351. "maxResults": {
  352. "description": "Maximum number of results to return. Maximum allowed is 1000",
  353. "format": "uint32",
  354. "location": "query",
  355. "maximum": "1000",
  356. "type": "integer"
  357. },
  358. "pageToken": {
  359. "description": "Token to specify next page.",
  360. "location": "query",
  361. "type": "string"
  362. },
  363. "parameters": {
  364. "description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
  365. "location": "query",
  366. "pattern": "(((gplus)):[^,]+,)*(((gplus)):[^,]+)",
  367. "type": "string"
  368. }
  369. },
  370. "path": "usage/{entityType}/{entityKey}/dates/{date}",
  371. "response": {
  372. "$ref": "UsageReports"
  373. },
  374. "scopes": [
  375. "https://www.googleapis.com/auth/admin.reports.usage.readonly"
  376. ]
  377. }
  378. }
  379. },
  380. "userUsageReport": {
  381. "methods": {
  382. "get": {
  383. "description": "Retrieves a report which is a collection of properties / statistics for a set of users.",
  384. "httpMethod": "GET",
  385. "id": "reports.userUsageReport.get",
  386. "parameterOrder": [
  387. "userKey",
  388. "date"
  389. ],
  390. "parameters": {
  391. "customerId": {
  392. "description": "Represents the customer for which the data is to be fetched.",
  393. "location": "query",
  394. "pattern": "C.+",
  395. "type": "string"
  396. },
  397. "date": {
  398. "description": "Represents the date in yyyy-mm-dd format for which the data is to be fetched.",
  399. "location": "path",
  400. "pattern": "(\\d){4}-(\\d){2}-(\\d){2}",
  401. "required": true,
  402. "type": "string"
  403. },
  404. "filters": {
  405. "description": "Represents the set of filters including parameter operator value.",
  406. "location": "query",
  407. "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
  408. "type": "string"
  409. },
  410. "maxResults": {
  411. "description": "Maximum number of results to return. Maximum allowed is 1000",
  412. "format": "uint32",
  413. "location": "query",
  414. "maximum": "1000",
  415. "type": "integer"
  416. },
  417. "pageToken": {
  418. "description": "Token to specify next page.",
  419. "location": "query",
  420. "type": "string"
  421. },
  422. "parameters": {
  423. "description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
  424. "location": "query",
  425. "pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
  426. "type": "string"
  427. },
  428. "userKey": {
  429. "description": "Represents the profile id or the user email for which the data should be filtered.",
  430. "location": "path",
  431. "required": true,
  432. "type": "string"
  433. }
  434. },
  435. "path": "usage/users/{userKey}/dates/{date}",
  436. "response": {
  437. "$ref": "UsageReports"
  438. },
  439. "scopes": [
  440. "https://www.googleapis.com/auth/admin.reports.usage.readonly"
  441. ]
  442. }
  443. }
  444. }
  445. },
  446. "revision": "20180514",
  447. "rootUrl": "https://www.googleapis.com/",
  448. "schemas": {
  449. "Activities": {
  450. "description": "JSON template for a collection of activites.",
  451. "id": "Activities",
  452. "properties": {
  453. "etag": {
  454. "description": "ETag of the resource.",
  455. "type": "string"
  456. },
  457. "items": {
  458. "description": "Each record in read response.",
  459. "items": {
  460. "$ref": "Activity"
  461. },
  462. "type": "array"
  463. },
  464. "kind": {
  465. "default": "admin#reports#activities",
  466. "description": "Kind of list response this is.",
  467. "type": "string"
  468. },
  469. "nextPageToken": {
  470. "description": "Token for retrieving the next page",
  471. "type": "string"
  472. }
  473. },
  474. "type": "object"
  475. },
  476. "Activity": {
  477. "description": "JSON template for the activity resource.",
  478. "id": "Activity",
  479. "properties": {
  480. "actor": {
  481. "description": "User doing the action.",
  482. "properties": {
  483. "callerType": {
  484. "description": "User or OAuth 2LO request.",
  485. "type": "string"
  486. },
  487. "email": {
  488. "description": "Email address of the user.",
  489. "type": "string"
  490. },
  491. "key": {
  492. "description": "For OAuth 2LO API requests, consumer_key of the requestor.",
  493. "type": "string"
  494. },
  495. "profileId": {
  496. "description": "Obfuscated user id of the user.",
  497. "type": "string"
  498. }
  499. },
  500. "type": "object"
  501. },
  502. "etag": {
  503. "description": "ETag of the entry.",
  504. "type": "string"
  505. },
  506. "events": {
  507. "description": "Activity events.",
  508. "items": {
  509. "properties": {
  510. "name": {
  511. "description": "Name of event.",
  512. "type": "string"
  513. },
  514. "parameters": {
  515. "description": "Parameter value pairs for various applications.",
  516. "items": {
  517. "properties": {
  518. "boolValue": {
  519. "description": "Boolean value of the parameter.",
  520. "type": "boolean"
  521. },
  522. "intValue": {
  523. "description": "Integral value of the parameter.",
  524. "format": "int64",
  525. "type": "string"
  526. },
  527. "multiIntValue": {
  528. "description": "Multi-int value of the parameter.",
  529. "items": {
  530. "format": "int64",
  531. "type": "string"
  532. },
  533. "type": "array"
  534. },
  535. "multiValue": {
  536. "description": "Multi-string value of the parameter.",
  537. "items": {
  538. "type": "string"
  539. },
  540. "type": "array"
  541. },
  542. "name": {
  543. "description": "The name of the parameter.",
  544. "type": "string"
  545. },
  546. "value": {
  547. "description": "String value of the parameter.",
  548. "type": "string"
  549. }
  550. },
  551. "type": "object"
  552. },
  553. "type": "array"
  554. },
  555. "type": {
  556. "description": "Type of event.",
  557. "type": "string"
  558. }
  559. },
  560. "type": "object"
  561. },
  562. "type": "array"
  563. },
  564. "id": {
  565. "description": "Unique identifier for each activity record.",
  566. "properties": {
  567. "applicationName": {
  568. "description": "Application name to which the event belongs.",
  569. "type": "string"
  570. },
  571. "customerId": {
  572. "description": "Obfuscated customer ID of the source customer.",
  573. "type": "string"
  574. },
  575. "time": {
  576. "description": "Time of occurrence of the activity.",
  577. "format": "date-time",
  578. "type": "string"
  579. },
  580. "uniqueQualifier": {
  581. "description": "Unique qualifier if multiple events have the same time.",
  582. "format": "int64",
  583. "type": "string"
  584. }
  585. },
  586. "type": "object"
  587. },
  588. "ipAddress": {
  589. "description": "IP Address of the user doing the action.",
  590. "type": "string"
  591. },
  592. "kind": {
  593. "default": "admin#reports#activity",
  594. "description": "Kind of resource this is.",
  595. "type": "string"
  596. },
  597. "ownerDomain": {
  598. "description": "Domain of source customer.",
  599. "type": "string"
  600. }
  601. },
  602. "type": "object"
  603. },
  604. "Channel": {
  605. "description": "An notification channel used to watch for resource changes.",
  606. "id": "Channel",
  607. "properties": {
  608. "address": {
  609. "description": "The address where notifications are delivered for this channel.",
  610. "type": "string"
  611. },
  612. "expiration": {
  613. "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.",
  614. "format": "int64",
  615. "type": "string"
  616. },
  617. "id": {
  618. "description": "A UUID or similar unique string that identifies this channel.",
  619. "type": "string"
  620. },
  621. "kind": {
  622. "default": "api#channel",
  623. "description": "Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string \"api#channel\".",
  624. "type": "string"
  625. },
  626. "params": {
  627. "additionalProperties": {
  628. "description": "Declares a new parameter by name.",
  629. "type": "string"
  630. },
  631. "description": "Additional parameters controlling delivery channel behavior. Optional.",
  632. "type": "object"
  633. },
  634. "payload": {
  635. "description": "A Boolean value to indicate whether payload is wanted. Optional.",
  636. "type": "boolean"
  637. },
  638. "resourceId": {
  639. "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.",
  640. "type": "string"
  641. },
  642. "resourceUri": {
  643. "description": "A version-specific identifier for the watched resource.",
  644. "type": "string"
  645. },
  646. "token": {
  647. "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.",
  648. "type": "string"
  649. },
  650. "type": {
  651. "description": "The type of delivery mechanism used for this channel.",
  652. "type": "string"
  653. }
  654. },
  655. "type": "object"
  656. },
  657. "UsageReport": {
  658. "description": "JSON template for a usage report.",
  659. "id": "UsageReport",
  660. "properties": {
  661. "date": {
  662. "description": "The date to which the record belongs.",
  663. "readOnly": true,
  664. "type": "string"
  665. },
  666. "entity": {
  667. "description": "Information about the type of the item.",
  668. "properties": {
  669. "customerId": {
  670. "description": "Obfuscated customer id for the record.",
  671. "readOnly": true,
  672. "type": "string"
  673. },
  674. "entityId": {
  675. "description": "Object key. Only relevant if entity.type = \"OBJECT\" Note: external-facing name of report is \"Entities\" rather than \"Objects\".",
  676. "readOnly": true,
  677. "type": "string"
  678. },
  679. "profileId": {
  680. "description": "Obfuscated user id for the record.",
  681. "readOnly": true,
  682. "type": "string"
  683. },
  684. "type": {
  685. "description": "The type of item, can be customer, user, or entity (aka. object).",
  686. "readOnly": true,
  687. "type": "string"
  688. },
  689. "userEmail": {
  690. "description": "user's email. Only relevant if entity.type = \"USER\"",
  691. "readOnly": true,
  692. "type": "string"
  693. }
  694. },
  695. "readOnly": true,
  696. "type": "object"
  697. },
  698. "etag": {
  699. "description": "ETag of the resource.",
  700. "type": "string"
  701. },
  702. "kind": {
  703. "default": "admin#reports#usageReport",
  704. "description": "The kind of object.",
  705. "type": "string"
  706. },
  707. "parameters": {
  708. "description": "Parameter value pairs for various applications.",
  709. "items": {
  710. "properties": {
  711. "boolValue": {
  712. "description": "Boolean value of the parameter.",
  713. "readOnly": true,
  714. "type": "boolean"
  715. },
  716. "datetimeValue": {
  717. "description": "RFC 3339 formatted value of the parameter.",
  718. "format": "date-time",
  719. "readOnly": true,
  720. "type": "string"
  721. },
  722. "intValue": {
  723. "description": "Integral value of the parameter.",
  724. "format": "int64",
  725. "readOnly": true,
  726. "type": "string"
  727. },
  728. "msgValue": {
  729. "description": "Nested message value of the parameter.",
  730. "items": {
  731. "additionalProperties": {
  732. "type": "any"
  733. },
  734. "type": "object"
  735. },
  736. "readOnly": true,
  737. "type": "array"
  738. },
  739. "name": {
  740. "description": "The name of the parameter.",
  741. "type": "string"
  742. },
  743. "stringValue": {
  744. "description": "String value of the parameter.",
  745. "readOnly": true,
  746. "type": "string"
  747. }
  748. },
  749. "type": "object"
  750. },
  751. "readOnly": true,
  752. "type": "array"
  753. }
  754. },
  755. "type": "object"
  756. },
  757. "UsageReports": {
  758. "description": "JSON template for a collection of usage reports.",
  759. "id": "UsageReports",
  760. "properties": {
  761. "etag": {
  762. "description": "ETag of the resource.",
  763. "type": "string"
  764. },
  765. "kind": {
  766. "default": "admin#reports#usageReports",
  767. "description": "The kind of object.",
  768. "type": "string"
  769. },
  770. "nextPageToken": {
  771. "description": "Token for retrieving the next page",
  772. "type": "string"
  773. },
  774. "usageReports": {
  775. "description": "Various application parameter records.",
  776. "items": {
  777. "$ref": "UsageReport"
  778. },
  779. "type": "array"
  780. },
  781. "warnings": {
  782. "description": "Warnings if any.",
  783. "items": {
  784. "properties": {
  785. "code": {
  786. "description": "Machine readable code / warning type.",
  787. "type": "string"
  788. },
  789. "data": {
  790. "description": "Key-Value pairs to give detailed information on the warning.",
  791. "items": {
  792. "properties": {
  793. "key": {
  794. "description": "Key associated with a key-value pair to give detailed information on the warning.",
  795. "type": "string"
  796. },
  797. "value": {
  798. "description": "Value associated with a key-value pair to give detailed information on the warning.",
  799. "type": "string"
  800. }
  801. },
  802. "type": "object"
  803. },
  804. "type": "array"
  805. },
  806. "message": {
  807. "description": "Human readable message for the warning.",
  808. "type": "string"
  809. }
  810. },
  811. "type": "object"
  812. },
  813. "type": "array"
  814. }
  815. },
  816. "type": "object"
  817. }
  818. },
  819. "servicePath": "admin/reports/v1/",
  820. "title": "Admin Reports API",
  821. "version": "reports_v1"
  822. }