Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

1000 righe
32 KiB

  1. {
  2. "auth": {
  3. "oauth2": {
  4. "scopes": {
  5. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly": {
  6. "description": "View monetary and non-monetary YouTube Analytics reports for your YouTube content"
  7. },
  8. "https://www.googleapis.com/auth/yt-analytics.readonly": {
  9. "description": "View YouTube Analytics reports for your YouTube content"
  10. }
  11. }
  12. }
  13. },
  14. "basePath": "",
  15. "baseUrl": "https://youtubereporting.googleapis.com/",
  16. "batchPath": "batch",
  17. "canonicalName": "YouTube Reporting",
  18. "description": "Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.",
  19. "discoveryVersion": "v1",
  20. "documentationLink": "https://developers.google.com/youtube/reporting/v1/reports/",
  21. "icons": {
  22. "x16": "http://www.google.com/images/icons/product/search-16.gif",
  23. "x32": "http://www.google.com/images/icons/product/search-32.gif"
  24. },
  25. "id": "youtubereporting:v1",
  26. "kind": "discovery#restDescription",
  27. "name": "youtubereporting",
  28. "ownerDomain": "google.com",
  29. "ownerName": "Google",
  30. "parameters": {
  31. "$.xgafv": {
  32. "description": "V1 error format.",
  33. "enum": [
  34. "1",
  35. "2"
  36. ],
  37. "enumDescriptions": [
  38. "v1 error format",
  39. "v2 error format"
  40. ],
  41. "location": "query",
  42. "type": "string"
  43. },
  44. "access_token": {
  45. "description": "OAuth access token.",
  46. "location": "query",
  47. "type": "string"
  48. },
  49. "alt": {
  50. "default": "json",
  51. "description": "Data format for response.",
  52. "enum": [
  53. "json",
  54. "media",
  55. "proto"
  56. ],
  57. "enumDescriptions": [
  58. "Responses with Content-Type of application/json",
  59. "Media download with context-dependent Content-Type",
  60. "Responses with Content-Type of application/x-protobuf"
  61. ],
  62. "location": "query",
  63. "type": "string"
  64. },
  65. "callback": {
  66. "description": "JSONP",
  67. "location": "query",
  68. "type": "string"
  69. },
  70. "fields": {
  71. "description": "Selector specifying which fields to include in a partial response.",
  72. "location": "query",
  73. "type": "string"
  74. },
  75. "key": {
  76. "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.",
  77. "location": "query",
  78. "type": "string"
  79. },
  80. "oauth_token": {
  81. "description": "OAuth 2.0 token for the current user.",
  82. "location": "query",
  83. "type": "string"
  84. },
  85. "prettyPrint": {
  86. "default": "true",
  87. "description": "Returns response with indentations and line breaks.",
  88. "location": "query",
  89. "type": "boolean"
  90. },
  91. "quotaUser": {
  92. "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. "location": "query",
  94. "type": "string"
  95. },
  96. "uploadType": {
  97. "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
  98. "location": "query",
  99. "type": "string"
  100. },
  101. "upload_protocol": {
  102. "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
  103. "location": "query",
  104. "type": "string"
  105. }
  106. },
  107. "protocol": "rest",
  108. "resources": {
  109. "jobs": {
  110. "methods": {
  111. "create": {
  112. "description": "Creates a job and returns it.",
  113. "flatPath": "v1/jobs",
  114. "httpMethod": "POST",
  115. "id": "youtubereporting.jobs.create",
  116. "parameterOrder": [],
  117. "parameters": {
  118. "onBehalfOfContentOwner": {
  119. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  120. "location": "query",
  121. "type": "string"
  122. }
  123. },
  124. "path": "v1/jobs",
  125. "request": {
  126. "$ref": "Job"
  127. },
  128. "response": {
  129. "$ref": "Job"
  130. },
  131. "scopes": [
  132. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  133. "https://www.googleapis.com/auth/yt-analytics.readonly"
  134. ]
  135. },
  136. "delete": {
  137. "description": "Deletes a job.",
  138. "flatPath": "v1/jobs/{jobId}",
  139. "httpMethod": "DELETE",
  140. "id": "youtubereporting.jobs.delete",
  141. "parameterOrder": [
  142. "jobId"
  143. ],
  144. "parameters": {
  145. "jobId": {
  146. "description": "The ID of the job to delete.",
  147. "location": "path",
  148. "required": true,
  149. "type": "string"
  150. },
  151. "onBehalfOfContentOwner": {
  152. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  153. "location": "query",
  154. "type": "string"
  155. }
  156. },
  157. "path": "v1/jobs/{jobId}",
  158. "response": {
  159. "$ref": "Empty"
  160. },
  161. "scopes": [
  162. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  163. "https://www.googleapis.com/auth/yt-analytics.readonly"
  164. ]
  165. },
  166. "get": {
  167. "description": "Gets a job.",
  168. "flatPath": "v1/jobs/{jobId}",
  169. "httpMethod": "GET",
  170. "id": "youtubereporting.jobs.get",
  171. "parameterOrder": [
  172. "jobId"
  173. ],
  174. "parameters": {
  175. "jobId": {
  176. "description": "The ID of the job to retrieve.",
  177. "location": "path",
  178. "required": true,
  179. "type": "string"
  180. },
  181. "onBehalfOfContentOwner": {
  182. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  183. "location": "query",
  184. "type": "string"
  185. }
  186. },
  187. "path": "v1/jobs/{jobId}",
  188. "response": {
  189. "$ref": "Job"
  190. },
  191. "scopes": [
  192. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  193. "https://www.googleapis.com/auth/yt-analytics.readonly"
  194. ]
  195. },
  196. "list": {
  197. "description": "Lists jobs.",
  198. "flatPath": "v1/jobs",
  199. "httpMethod": "GET",
  200. "id": "youtubereporting.jobs.list",
  201. "parameterOrder": [],
  202. "parameters": {
  203. "includeSystemManaged": {
  204. "description": "If set to true, also system-managed jobs will be returned; otherwise only\nuser-created jobs will be returned. System-managed jobs can neither be\nmodified nor deleted.",
  205. "location": "query",
  206. "type": "boolean"
  207. },
  208. "onBehalfOfContentOwner": {
  209. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  210. "location": "query",
  211. "type": "string"
  212. },
  213. "pageSize": {
  214. "description": "Requested page size. Server may return fewer jobs than requested.\nIf unspecified, server will pick an appropriate default.",
  215. "format": "int32",
  216. "location": "query",
  217. "type": "integer"
  218. },
  219. "pageToken": {
  220. "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListJobs` method.",
  221. "location": "query",
  222. "type": "string"
  223. }
  224. },
  225. "path": "v1/jobs",
  226. "response": {
  227. "$ref": "ListJobsResponse"
  228. },
  229. "scopes": [
  230. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  231. "https://www.googleapis.com/auth/yt-analytics.readonly"
  232. ]
  233. }
  234. },
  235. "resources": {
  236. "reports": {
  237. "methods": {
  238. "get": {
  239. "description": "Gets the metadata of a specific report.",
  240. "flatPath": "v1/jobs/{jobId}/reports/{reportId}",
  241. "httpMethod": "GET",
  242. "id": "youtubereporting.jobs.reports.get",
  243. "parameterOrder": [
  244. "jobId",
  245. "reportId"
  246. ],
  247. "parameters": {
  248. "jobId": {
  249. "description": "The ID of the job.",
  250. "location": "path",
  251. "required": true,
  252. "type": "string"
  253. },
  254. "onBehalfOfContentOwner": {
  255. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  256. "location": "query",
  257. "type": "string"
  258. },
  259. "reportId": {
  260. "description": "The ID of the report to retrieve.",
  261. "location": "path",
  262. "required": true,
  263. "type": "string"
  264. }
  265. },
  266. "path": "v1/jobs/{jobId}/reports/{reportId}",
  267. "response": {
  268. "$ref": "Report"
  269. },
  270. "scopes": [
  271. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  272. "https://www.googleapis.com/auth/yt-analytics.readonly"
  273. ]
  274. },
  275. "list": {
  276. "description": "Lists reports created by a specific job.\nReturns NOT_FOUND if the job does not exist.",
  277. "flatPath": "v1/jobs/{jobId}/reports",
  278. "httpMethod": "GET",
  279. "id": "youtubereporting.jobs.reports.list",
  280. "parameterOrder": [
  281. "jobId"
  282. ],
  283. "parameters": {
  284. "createdAfter": {
  285. "description": "If set, only reports created after the specified date/time are returned.",
  286. "format": "google-datetime",
  287. "location": "query",
  288. "type": "string"
  289. },
  290. "jobId": {
  291. "description": "The ID of the job.",
  292. "location": "path",
  293. "required": true,
  294. "type": "string"
  295. },
  296. "onBehalfOfContentOwner": {
  297. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  298. "location": "query",
  299. "type": "string"
  300. },
  301. "pageSize": {
  302. "description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.",
  303. "format": "int32",
  304. "location": "query",
  305. "type": "integer"
  306. },
  307. "pageToken": {
  308. "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportsResponse.next_page_token\nreturned in response to the previous call to the `ListReports` method.",
  309. "location": "query",
  310. "type": "string"
  311. },
  312. "startTimeAtOrAfter": {
  313. "description": "If set, only reports whose start time is greater than or equal the\nspecified date/time are returned.",
  314. "format": "google-datetime",
  315. "location": "query",
  316. "type": "string"
  317. },
  318. "startTimeBefore": {
  319. "description": "If set, only reports whose start time is smaller than the specified\ndate/time are returned.",
  320. "format": "google-datetime",
  321. "location": "query",
  322. "type": "string"
  323. }
  324. },
  325. "path": "v1/jobs/{jobId}/reports",
  326. "response": {
  327. "$ref": "ListReportsResponse"
  328. },
  329. "scopes": [
  330. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  331. "https://www.googleapis.com/auth/yt-analytics.readonly"
  332. ]
  333. }
  334. }
  335. }
  336. }
  337. },
  338. "media": {
  339. "methods": {
  340. "download": {
  341. "description": "Method for media download. Download is supported\non the URI `/v1/media/{+name}?alt=media`.",
  342. "flatPath": "v1/media/{mediaId}",
  343. "httpMethod": "GET",
  344. "id": "youtubereporting.media.download",
  345. "parameterOrder": [
  346. "resourceName"
  347. ],
  348. "parameters": {
  349. "resourceName": {
  350. "description": "Name of the media that is being downloaded.",
  351. "location": "path",
  352. "pattern": "^.+$",
  353. "required": true,
  354. "type": "string"
  355. }
  356. },
  357. "path": "v1/media/{+resourceName}",
  358. "response": {
  359. "$ref": "GdataMedia"
  360. },
  361. "scopes": [
  362. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  363. "https://www.googleapis.com/auth/yt-analytics.readonly"
  364. ],
  365. "supportsMediaDownload": true
  366. }
  367. }
  368. },
  369. "reportTypes": {
  370. "methods": {
  371. "list": {
  372. "description": "Lists report types.",
  373. "flatPath": "v1/reportTypes",
  374. "httpMethod": "GET",
  375. "id": "youtubereporting.reportTypes.list",
  376. "parameterOrder": [],
  377. "parameters": {
  378. "includeSystemManaged": {
  379. "description": "If set to true, also system-managed report types will be returned;\notherwise only the report types that can be used to create new reporting\njobs will be returned.",
  380. "location": "query",
  381. "type": "boolean"
  382. },
  383. "onBehalfOfContentOwner": {
  384. "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
  385. "location": "query",
  386. "type": "string"
  387. },
  388. "pageSize": {
  389. "description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.",
  390. "format": "int32",
  391. "location": "query",
  392. "type": "integer"
  393. },
  394. "pageToken": {
  395. "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListReportTypes` method.",
  396. "location": "query",
  397. "type": "string"
  398. }
  399. },
  400. "path": "v1/reportTypes",
  401. "response": {
  402. "$ref": "ListReportTypesResponse"
  403. },
  404. "scopes": [
  405. "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
  406. "https://www.googleapis.com/auth/yt-analytics.readonly"
  407. ]
  408. }
  409. }
  410. }
  411. },
  412. "revision": "20180601",
  413. "rootUrl": "https://youtubereporting.googleapis.com/",
  414. "schemas": {
  415. "Empty": {
  416. "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
  417. "id": "Empty",
  418. "properties": {},
  419. "type": "object"
  420. },
  421. "GdataBlobstore2Info": {
  422. "description": "gdata",
  423. "id": "GdataBlobstore2Info",
  424. "properties": {
  425. "blobGeneration": {
  426. "description": "gdata",
  427. "format": "int64",
  428. "type": "string"
  429. },
  430. "blobId": {
  431. "description": "gdata",
  432. "type": "string"
  433. },
  434. "downloadReadHandle": {
  435. "description": "gdata",
  436. "format": "byte",
  437. "type": "string"
  438. },
  439. "readToken": {
  440. "description": "gdata",
  441. "type": "string"
  442. },
  443. "uploadMetadataContainer": {
  444. "description": "gdata",
  445. "format": "byte",
  446. "type": "string"
  447. }
  448. },
  449. "type": "object"
  450. },
  451. "GdataCompositeMedia": {
  452. "description": "gdata",
  453. "id": "GdataCompositeMedia",
  454. "properties": {
  455. "blobRef": {
  456. "description": "gdata",
  457. "format": "byte",
  458. "type": "string"
  459. },
  460. "blobstore2Info": {
  461. "$ref": "GdataBlobstore2Info",
  462. "description": "gdata"
  463. },
  464. "cosmoBinaryReference": {
  465. "description": "gdata",
  466. "format": "byte",
  467. "type": "string"
  468. },
  469. "crc32cHash": {
  470. "description": "gdata",
  471. "format": "uint32",
  472. "type": "integer"
  473. },
  474. "inline": {
  475. "description": "gdata",
  476. "format": "byte",
  477. "type": "string"
  478. },
  479. "length": {
  480. "description": "gdata",
  481. "format": "int64",
  482. "type": "string"
  483. },
  484. "md5Hash": {
  485. "description": "gdata",
  486. "format": "byte",
  487. "type": "string"
  488. },
  489. "objectId": {
  490. "$ref": "GdataObjectId",
  491. "description": "gdata"
  492. },
  493. "path": {
  494. "description": "gdata",
  495. "type": "string"
  496. },
  497. "referenceType": {
  498. "description": "gdata",
  499. "enum": [
  500. "PATH",
  501. "BLOB_REF",
  502. "INLINE",
  503. "BIGSTORE_REF",
  504. "COSMO_BINARY_REFERENCE"
  505. ],
  506. "enumDescriptions": [
  507. "gdata",
  508. "gdata",
  509. "gdata",
  510. "gdata",
  511. "gdata"
  512. ],
  513. "type": "string"
  514. },
  515. "sha1Hash": {
  516. "description": "gdata",
  517. "format": "byte",
  518. "type": "string"
  519. }
  520. },
  521. "type": "object"
  522. },
  523. "GdataContentTypeInfo": {
  524. "description": "gdata",
  525. "id": "GdataContentTypeInfo",
  526. "properties": {
  527. "bestGuess": {
  528. "description": "gdata",
  529. "type": "string"
  530. },
  531. "fromBytes": {
  532. "description": "gdata",
  533. "type": "string"
  534. },
  535. "fromFileName": {
  536. "description": "gdata",
  537. "type": "string"
  538. },
  539. "fromHeader": {
  540. "description": "gdata",
  541. "type": "string"
  542. },
  543. "fromUrlPath": {
  544. "description": "gdata",
  545. "type": "string"
  546. }
  547. },
  548. "type": "object"
  549. },
  550. "GdataDiffChecksumsResponse": {
  551. "description": "gdata",
  552. "id": "GdataDiffChecksumsResponse",
  553. "properties": {
  554. "checksumsLocation": {
  555. "$ref": "GdataCompositeMedia",
  556. "description": "gdata"
  557. },
  558. "chunkSizeBytes": {
  559. "description": "gdata",
  560. "format": "int64",
  561. "type": "string"
  562. },
  563. "objectLocation": {
  564. "$ref": "GdataCompositeMedia",
  565. "description": "gdata"
  566. },
  567. "objectSizeBytes": {
  568. "description": "gdata",
  569. "format": "int64",
  570. "type": "string"
  571. },
  572. "objectVersion": {
  573. "description": "gdata",
  574. "type": "string"
  575. }
  576. },
  577. "type": "object"
  578. },
  579. "GdataDiffDownloadResponse": {
  580. "description": "gdata",
  581. "id": "GdataDiffDownloadResponse",
  582. "properties": {
  583. "objectLocation": {
  584. "$ref": "GdataCompositeMedia",
  585. "description": "gdata"
  586. }
  587. },
  588. "type": "object"
  589. },
  590. "GdataDiffUploadRequest": {
  591. "description": "gdata",
  592. "id": "GdataDiffUploadRequest",
  593. "properties": {
  594. "checksumsInfo": {
  595. "$ref": "GdataCompositeMedia",
  596. "description": "gdata"
  597. },
  598. "objectInfo": {
  599. "$ref": "GdataCompositeMedia",
  600. "description": "gdata"
  601. },
  602. "objectVersion": {
  603. "description": "gdata",
  604. "type": "string"
  605. }
  606. },
  607. "type": "object"
  608. },
  609. "GdataDiffUploadResponse": {
  610. "description": "gdata",
  611. "id": "GdataDiffUploadResponse",
  612. "properties": {
  613. "objectVersion": {
  614. "description": "gdata",
  615. "type": "string"
  616. },
  617. "originalObject": {
  618. "$ref": "GdataCompositeMedia",
  619. "description": "gdata"
  620. }
  621. },
  622. "type": "object"
  623. },
  624. "GdataDiffVersionResponse": {
  625. "description": "gdata",
  626. "id": "GdataDiffVersionResponse",
  627. "properties": {
  628. "objectSizeBytes": {
  629. "description": "gdata",
  630. "format": "int64",
  631. "type": "string"
  632. },
  633. "objectVersion": {
  634. "description": "gdata",
  635. "type": "string"
  636. }
  637. },
  638. "type": "object"
  639. },
  640. "GdataDownloadParameters": {
  641. "description": "gdata",
  642. "id": "GdataDownloadParameters",
  643. "properties": {
  644. "allowGzipCompression": {
  645. "description": "gdata",
  646. "type": "boolean"
  647. },
  648. "ignoreRange": {
  649. "description": "gdata",
  650. "type": "boolean"
  651. }
  652. },
  653. "type": "object"
  654. },
  655. "GdataMedia": {
  656. "description": "gdata",
  657. "id": "GdataMedia",
  658. "properties": {
  659. "algorithm": {
  660. "description": "gdata",
  661. "type": "string"
  662. },
  663. "bigstoreObjectRef": {
  664. "description": "gdata",
  665. "format": "byte",
  666. "type": "string"
  667. },
  668. "blobRef": {
  669. "description": "gdata",
  670. "format": "byte",
  671. "type": "string"
  672. },
  673. "blobstore2Info": {
  674. "$ref": "GdataBlobstore2Info",
  675. "description": "gdata"
  676. },
  677. "compositeMedia": {
  678. "description": "gdata",
  679. "items": {
  680. "$ref": "GdataCompositeMedia"
  681. },
  682. "type": "array"
  683. },
  684. "contentType": {
  685. "description": "gdata",
  686. "type": "string"
  687. },
  688. "contentTypeInfo": {
  689. "$ref": "GdataContentTypeInfo",
  690. "description": "gdata"
  691. },
  692. "cosmoBinaryReference": {
  693. "description": "gdata",
  694. "format": "byte",
  695. "type": "string"
  696. },
  697. "crc32cHash": {
  698. "description": "gdata",
  699. "format": "uint32",
  700. "type": "integer"
  701. },
  702. "diffChecksumsResponse": {
  703. "$ref": "GdataDiffChecksumsResponse",
  704. "description": "gdata"
  705. },
  706. "diffDownloadResponse": {
  707. "$ref": "GdataDiffDownloadResponse",
  708. "description": "gdata"
  709. },
  710. "diffUploadRequest": {
  711. "$ref": "GdataDiffUploadRequest",
  712. "description": "gdata"
  713. },
  714. "diffUploadResponse": {
  715. "$ref": "GdataDiffUploadResponse",
  716. "description": "gdata"
  717. },
  718. "diffVersionResponse": {
  719. "$ref": "GdataDiffVersionResponse",
  720. "description": "gdata"
  721. },
  722. "downloadParameters": {
  723. "$ref": "GdataDownloadParameters",
  724. "description": "gdata"
  725. },
  726. "filename": {
  727. "description": "gdata",
  728. "type": "string"
  729. },
  730. "hash": {
  731. "description": "gdata",
  732. "type": "string"
  733. },
  734. "hashVerified": {
  735. "description": "gdata",
  736. "type": "boolean"
  737. },
  738. "inline": {
  739. "description": "gdata",
  740. "format": "byte",
  741. "type": "string"
  742. },
  743. "isPotentialRetry": {
  744. "description": "gdata",
  745. "type": "boolean"
  746. },
  747. "length": {
  748. "description": "gdata",
  749. "format": "int64",
  750. "type": "string"
  751. },
  752. "md5Hash": {
  753. "description": "gdata",
  754. "format": "byte",
  755. "type": "string"
  756. },
  757. "mediaId": {
  758. "description": "gdata",
  759. "format": "byte",
  760. "type": "string"
  761. },
  762. "objectId": {
  763. "$ref": "GdataObjectId",
  764. "description": "gdata"
  765. },
  766. "path": {
  767. "description": "gdata",
  768. "type": "string"
  769. },
  770. "referenceType": {
  771. "description": "gdata",
  772. "enum": [
  773. "PATH",
  774. "BLOB_REF",
  775. "INLINE",
  776. "GET_MEDIA",
  777. "COMPOSITE_MEDIA",
  778. "BIGSTORE_REF",
  779. "DIFF_VERSION_RESPONSE",
  780. "DIFF_CHECKSUMS_RESPONSE",
  781. "DIFF_DOWNLOAD_RESPONSE",
  782. "DIFF_UPLOAD_REQUEST",
  783. "DIFF_UPLOAD_RESPONSE",
  784. "COSMO_BINARY_REFERENCE",
  785. "ARBITRARY_BYTES"
  786. ],
  787. "enumDescriptions": [
  788. "gdata",
  789. "gdata",
  790. "gdata",
  791. "gdata",
  792. "gdata",
  793. "gdata",
  794. "gdata",
  795. "gdata",
  796. "gdata",
  797. "gdata",
  798. "gdata",
  799. "gdata",
  800. "gdata"
  801. ],
  802. "type": "string"
  803. },
  804. "sha1Hash": {
  805. "description": "gdata",
  806. "format": "byte",
  807. "type": "string"
  808. },
  809. "sha256Hash": {
  810. "description": "gdata",
  811. "format": "byte",
  812. "type": "string"
  813. },
  814. "timestamp": {
  815. "description": "gdata",
  816. "format": "uint64",
  817. "type": "string"
  818. },
  819. "token": {
  820. "description": "gdata",
  821. "type": "string"
  822. }
  823. },
  824. "type": "object"
  825. },
  826. "GdataObjectId": {
  827. "description": "gdata",
  828. "id": "GdataObjectId",
  829. "properties": {
  830. "bucketName": {
  831. "description": "gdata",
  832. "type": "string"
  833. },
  834. "generation": {
  835. "description": "gdata",
  836. "format": "int64",
  837. "type": "string"
  838. },
  839. "objectName": {
  840. "description": "gdata",
  841. "type": "string"
  842. }
  843. },
  844. "type": "object"
  845. },
  846. "Job": {
  847. "description": "A job creating reports of a specific type.",
  848. "id": "Job",
  849. "properties": {
  850. "createTime": {
  851. "description": "The creation date/time of the job.",
  852. "format": "google-datetime",
  853. "type": "string"
  854. },
  855. "expireTime": {
  856. "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
  857. "format": "google-datetime",
  858. "type": "string"
  859. },
  860. "id": {
  861. "description": "The server-generated ID of the job (max. 40 characters).",
  862. "type": "string"
  863. },
  864. "name": {
  865. "description": "The name of the job (max. 100 characters).",
  866. "type": "string"
  867. },
  868. "reportTypeId": {
  869. "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
  870. "type": "string"
  871. },
  872. "systemManaged": {
  873. "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.",
  874. "type": "boolean"
  875. }
  876. },
  877. "type": "object"
  878. },
  879. "ListJobsResponse": {
  880. "description": "Response message for ReportingService.ListJobs.",
  881. "id": "ListJobsResponse",
  882. "properties": {
  883. "jobs": {
  884. "description": "The list of jobs.",
  885. "items": {
  886. "$ref": "Job"
  887. },
  888. "type": "array"
  889. },
  890. "nextPageToken": {
  891. "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results.",
  892. "type": "string"
  893. }
  894. },
  895. "type": "object"
  896. },
  897. "ListReportTypesResponse": {
  898. "description": "Response message for ReportingService.ListReportTypes.",
  899. "id": "ListReportTypesResponse",
  900. "properties": {
  901. "nextPageToken": {
  902. "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
  903. "type": "string"
  904. },
  905. "reportTypes": {
  906. "description": "The list of report types.",
  907. "items": {
  908. "$ref": "ReportType"
  909. },
  910. "type": "array"
  911. }
  912. },
  913. "type": "object"
  914. },
  915. "ListReportsResponse": {
  916. "description": "Response message for ReportingService.ListReports.",
  917. "id": "ListReportsResponse",
  918. "properties": {
  919. "nextPageToken": {
  920. "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results.",
  921. "type": "string"
  922. },
  923. "reports": {
  924. "description": "The list of report types.",
  925. "items": {
  926. "$ref": "Report"
  927. },
  928. "type": "array"
  929. }
  930. },
  931. "type": "object"
  932. },
  933. "Report": {
  934. "description": "A report's metadata including the URL from which the report itself can be\ndownloaded.",
  935. "id": "Report",
  936. "properties": {
  937. "createTime": {
  938. "description": "The date/time when this report was created.",
  939. "format": "google-datetime",
  940. "type": "string"
  941. },
  942. "downloadUrl": {
  943. "description": "The URL from which the report can be downloaded (max. 1000 characters).",
  944. "type": "string"
  945. },
  946. "endTime": {
  947. "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
  948. "format": "google-datetime",
  949. "type": "string"
  950. },
  951. "id": {
  952. "description": "The server-generated ID of the report.",
  953. "type": "string"
  954. },
  955. "jobExpireTime": {
  956. "description": "The date/time when the job this report belongs to will expire/expired.",
  957. "format": "google-datetime",
  958. "type": "string"
  959. },
  960. "jobId": {
  961. "description": "The ID of the job that created this report.",
  962. "type": "string"
  963. },
  964. "startTime": {
  965. "description": "The start of the time period that the report instance covers. The value is\ninclusive.",
  966. "format": "google-datetime",
  967. "type": "string"
  968. }
  969. },
  970. "type": "object"
  971. },
  972. "ReportType": {
  973. "description": "A report type.",
  974. "id": "ReportType",
  975. "properties": {
  976. "deprecateTime": {
  977. "description": "The date/time when this report type was/will be deprecated.",
  978. "format": "google-datetime",
  979. "type": "string"
  980. },
  981. "id": {
  982. "description": "The ID of the report type (max. 100 characters).",
  983. "type": "string"
  984. },
  985. "name": {
  986. "description": "The name of the report type (max. 100 characters).",
  987. "type": "string"
  988. },
  989. "systemManaged": {
  990. "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
  991. "type": "boolean"
  992. }
  993. },
  994. "type": "object"
  995. }
  996. },
  997. "servicePath": "",
  998. "title": "YouTube Reporting API",
  999. "version": "v1"
  1000. }