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