| 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": "20260506", |
| 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); }", |
| 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 |
"downloadExternalReadToken": { |
| 437 |
"description": "gdata", |
| 438 |
"format": "byte", |
| 439 |
"type": "string" |
| 440 |
}, |
| 441 |
"downloadReadHandle": { |
| 442 |
"description": "gdata", |
| 443 |
"format": "byte", |
| 444 |
"type": "string" |
| 445 |
}, |
| 446 |
"readToken": { |
| 447 |
"description": "gdata", |
| 448 |
"type": "string" |
| 449 |
}, |
| 450 |
"uploadFragmentListCreationInfo": { |
| 451 |
"description": "gdata", |
| 452 |
"format": "byte", |
| 453 |
"type": "string" |
| 454 |
}, |
| 455 |
"uploadMetadataContainer": { |
| 456 |
"description": "gdata", |
| 457 |
"format": "byte", |
| 458 |
"type": "string" |
| 459 |
} |
| 460 |
}, |
| 461 |
"type": "object" |
| 462 |
}, |
| 463 |
"GdataCompositeMedia": { |
| 464 |
"description": "gdata", |
| 465 |
"id": "GdataCompositeMedia", |
| 466 |
"properties": { |
| 467 |
"blobRef": { |
| 468 |
"deprecated": true, |
| 469 |
"description": "gdata", |
| 470 |
"format": "byte", |
| 471 |
"type": "string" |
| 472 |
}, |
| 473 |
"blobstore2Info": { |
| 474 |
"$ref": "GdataBlobstore2Info", |
| 475 |
"description": "gdata" |
| 476 |
}, |
| 477 |
"cosmoBinaryReference": { |
| 478 |
"description": "gdata", |
| 479 |
"format": "byte", |
| 480 |
"type": "string" |
| 481 |
}, |
| 482 |
"crc32cHash": { |
| 483 |
"description": "gdata", |
| 484 |
"format": "uint32", |
| 485 |
"type": "integer" |
| 486 |
}, |
| 487 |
"inline": { |
| 488 |
"description": "gdata", |
| 489 |
"format": "byte", |
| 490 |
"type": "string" |
| 491 |
}, |
| 492 |
"length": { |
| 493 |
"description": "gdata", |
| 494 |
"format": "int64", |
| 495 |
"type": "string" |
| 496 |
}, |
| 497 |
"md5Hash": { |
| 498 |
"description": "gdata", |
| 499 |
"format": "byte", |
| 500 |
"type": "string" |
| 501 |
}, |
| 502 |
"objectId": { |
| 503 |
"$ref": "GdataObjectId", |
| 504 |
"description": "gdata" |
| 505 |
}, |
| 506 |
"path": { |
| 507 |
"description": "gdata", |
| 508 |
"type": "string" |
| 509 |
}, |
| 510 |
"referenceType": { |
| 511 |
"description": "gdata", |
| 512 |
"enum": [ |
| 513 |
"PATH", |
| 514 |
"BLOB_REF", |
| 515 |
"INLINE", |
| 516 |
"BIGSTORE_REF", |
| 517 |
"COSMO_BINARY_REFERENCE" |
| 518 |
], |
| 519 |
"enumDescriptions": [ |
| 520 |
"gdata", |
| 521 |
"gdata", |
| 522 |
"gdata", |
| 523 |
"gdata", |
| 524 |
"gdata" |
| 525 |
], |
| 526 |
"type": "string" |
| 527 |
}, |
| 528 |
"sha1Hash": { |
| 529 |
"description": "gdata", |
| 530 |
"format": "byte", |
| 531 |
"type": "string" |
| 532 |
} |
| 533 |
}, |
| 534 |
"type": "object" |
| 535 |
}, |
| 536 |
"GdataContentTypeInfo": { |
| 537 |
"description": "gdata", |
| 538 |
"id": "GdataContentTypeInfo", |
| 539 |
"properties": { |
| 540 |
"bestGuess": { |
| 541 |
"description": "gdata", |
| 542 |
"type": "string" |
| 543 |
}, |
| 544 |
"fromBytes": { |
| 545 |
"description": "gdata", |
| 546 |
"type": "string" |
| 547 |
}, |
| 548 |
"fromFileName": { |
| 549 |
"description": "gdata", |
| 550 |
"type": "string" |
| 551 |
}, |
| 552 |
"fromFusionId": { |
| 553 |
"description": "gdata", |
| 554 |
"type": "string" |
| 555 |
}, |
| 556 |
"fromHeader": { |
| 557 |
"description": "gdata", |
| 558 |
"type": "string" |
| 559 |
}, |
| 560 |
"fromUrlPath": { |
| 561 |
"description": "gdata", |
| 562 |
"type": "string" |
| 563 |
}, |
| 564 |
"fusionIdDetectionMetadata": { |
| 565 |
"description": "gdata", |
| 566 |
"format": "byte", |
| 567 |
"type": "string" |
| 568 |
} |
| 569 |
}, |
| 570 |
"type": "object" |
| 571 |
}, |
| 572 |
"GdataDiffChecksumsResponse": { |
| 573 |
"description": "gdata", |
| 574 |
"id": "GdataDiffChecksumsResponse", |
| 575 |
"properties": { |
| 576 |
"checksumsLocation": { |
| 577 |
"$ref": "GdataCompositeMedia", |
| 578 |
"description": "gdata" |
| 579 |
}, |
| 580 |
"chunkSizeBytes": { |
| 581 |
"description": "gdata", |
| 582 |
"format": "int64", |
| 583 |
"type": "string" |
| 584 |
}, |
| 585 |
"objectLocation": { |
| 586 |
"$ref": "GdataCompositeMedia", |
| 587 |
"description": "gdata" |
| 588 |
}, |
| 589 |
"objectSizeBytes": { |
| 590 |
"description": "gdata", |
| 591 |
"format": "int64", |
| 592 |
"type": "string" |
| 593 |
}, |
| 594 |
"objectVersion": { |
| 595 |
"description": "gdata", |
| 596 |
"type": "string" |
| 597 |
} |
| 598 |
}, |
| 599 |
"type": "object" |
| 600 |
}, |
| 601 |
"GdataDiffDownloadResponse": { |
| 602 |
"description": "gdata", |
| 603 |
"id": "GdataDiffDownloadResponse", |
| 604 |
"properties": { |
| 605 |
"objectLocation": { |
| 606 |
"$ref": "GdataCompositeMedia", |
| 607 |
"description": "gdata" |
| 608 |
} |
| 609 |
}, |
| 610 |
"type": "object" |
| 611 |
}, |
| 612 |
"GdataDiffUploadRequest": { |
| 613 |
"description": "gdata", |
| 614 |
"id": "GdataDiffUploadRequest", |
| 615 |
"properties": { |
| 616 |
"checksumsInfo": { |
| 617 |
"$ref": "GdataCompositeMedia", |
| 618 |
"description": "gdata" |
| 619 |
}, |
| 620 |
"objectInfo": { |
| 621 |
"$ref": "GdataCompositeMedia", |
| 622 |
"description": "gdata" |
| 623 |
}, |
| 624 |
"objectVersion": { |
| 625 |
"description": "gdata", |
| 626 |
"type": "string" |
| 627 |
} |
| 628 |
}, |
| 629 |
"type": "object" |
| 630 |
}, |
| 631 |
"GdataDiffUploadResponse": { |
| 632 |
"description": "gdata", |
| 633 |
"id": "GdataDiffUploadResponse", |
| 634 |
"properties": { |
| 635 |
"objectVersion": { |
| 636 |
"description": "gdata", |
| 637 |
"type": "string" |
| 638 |
}, |
| 639 |
"originalObject": { |
| 640 |
"$ref": "GdataCompositeMedia", |
| 641 |
"description": "gdata" |
| 642 |
} |
| 643 |
}, |
| 644 |
"type": "object" |
| 645 |
}, |
| 646 |
"GdataDiffVersionResponse": { |
| 647 |
"description": "gdata", |
| 648 |
"id": "GdataDiffVersionResponse", |
| 649 |
"properties": { |
| 650 |
"objectSizeBytes": { |
| 651 |
"description": "gdata", |
| 652 |
"format": "int64", |
| 653 |
"type": "string" |
| 654 |
}, |
| 655 |
"objectVersion": { |
| 656 |
"description": "gdata", |
| 657 |
"type": "string" |
| 658 |
} |
| 659 |
}, |
| 660 |
"type": "object" |
| 661 |
}, |
| 662 |
"GdataDownloadParameters": { |
| 663 |
"description": "gdata", |
| 664 |
"id": "GdataDownloadParameters", |
| 665 |
"properties": { |
| 666 |
"allowGzipCompression": { |
| 667 |
"description": "gdata", |
| 668 |
"type": "boolean" |
| 669 |
}, |
| 670 |
"ignoreRange": { |
| 671 |
"description": "gdata", |
| 672 |
"type": "boolean" |
| 673 |
} |
| 674 |
}, |
| 675 |
"type": "object" |
| 676 |
}, |
| 677 |
"GdataMedia": { |
| 678 |
"description": "gdata", |
| 679 |
"id": "GdataMedia", |
| 680 |
"properties": { |
| 681 |
"algorithm": { |
| 682 |
"deprecated": true, |
| 683 |
"description": "gdata", |
| 684 |
"type": "string" |
| 685 |
}, |
| 686 |
"bigstoreObjectRef": { |
| 687 |
"deprecated": true, |
| 688 |
"description": "gdata", |
| 689 |
"format": "byte", |
| 690 |
"type": "string" |
| 691 |
}, |
| 692 |
"blobRef": { |
| 693 |
"deprecated": true, |
| 694 |
"description": "gdata", |
| 695 |
"format": "byte", |
| 696 |
"type": "string" |
| 697 |
}, |
| 698 |
"blobstore2Info": { |
| 699 |
"$ref": "GdataBlobstore2Info", |
| 700 |
"description": "gdata" |
| 701 |
}, |
| 702 |
"compositeMedia": { |
| 703 |
"description": "gdata", |
| 704 |
"items": { |
| 705 |
"$ref": "GdataCompositeMedia" |
| 706 |
}, |
| 707 |
"type": "array" |
| 708 |
}, |
| 709 |
"contentType": { |
| 710 |
"description": "gdata", |
| 711 |
"type": "string" |
| 712 |
}, |
| 713 |
"contentTypeInfo": { |
| 714 |
"$ref": "GdataContentTypeInfo", |
| 715 |
"description": "gdata" |
| 716 |
}, |
| 717 |
"cosmoBinaryReference": { |
| 718 |
"description": "gdata", |
| 719 |
"format": "byte", |
| 720 |
"type": "string" |
| 721 |
}, |
| 722 |
"crc32cHash": { |
| 723 |
"description": "gdata", |
| 724 |
"format": "uint32", |
| 725 |
"type": "integer" |
| 726 |
}, |
| 727 |
"diffChecksumsResponse": { |
| 728 |
"$ref": "GdataDiffChecksumsResponse", |
| 729 |
"description": "gdata" |
| 730 |
}, |
| 731 |
"diffDownloadResponse": { |
| 732 |
"$ref": "GdataDiffDownloadResponse", |
| 733 |
"description": "gdata" |
| 734 |
}, |
| 735 |
"diffUploadRequest": { |
| 736 |
"$ref": "GdataDiffUploadRequest", |
| 737 |
"description": "gdata" |
| 738 |
}, |
| 739 |
"diffUploadResponse": { |
| 740 |
"$ref": "GdataDiffUploadResponse", |
| 741 |
"description": "gdata" |
| 742 |
}, |
| 743 |
"diffVersionResponse": { |
| 744 |
"$ref": "GdataDiffVersionResponse", |
| 745 |
"description": "gdata" |
| 746 |
}, |
| 747 |
"downloadParameters": { |
| 748 |
"$ref": "GdataDownloadParameters", |
| 749 |
"description": "gdata" |
| 750 |
}, |
| 751 |
"filename": { |
| 752 |
"description": "gdata", |
| 753 |
"type": "string" |
| 754 |
}, |
| 755 |
"hash": { |
| 756 |
"deprecated": true, |
| 757 |
"description": "gdata", |
| 758 |
"type": "string" |
| 759 |
}, |
| 760 |
"hashVerified": { |
| 761 |
"description": "gdata", |
| 762 |
"type": "boolean" |
| 763 |
}, |
| 764 |
"inline": { |
| 765 |
"description": "gdata", |
| 766 |
"format": "byte", |
| 767 |
"type": "string" |
| 768 |
}, |
| 769 |
"isPotentialRetry": { |
| 770 |
"description": "gdata", |
| 771 |
"type": "boolean" |
| 772 |
}, |
| 773 |
"length": { |
| 774 |
"description": "gdata", |
| 775 |
"format": "int64", |
| 776 |
"type": "string" |
| 777 |
}, |
| 778 |
"md5Hash": { |
| 779 |
"description": "gdata", |
| 780 |
"format": "byte", |
| 781 |
"type": "string" |
| 782 |
}, |
| 783 |
"mediaId": { |
| 784 |
"description": "gdata", |
| 785 |
"format": "byte", |
| 786 |
"type": "string" |
| 787 |
}, |
| 788 |
"objectId": { |
| 789 |
"$ref": "GdataObjectId", |
| 790 |
"description": "gdata" |
| 791 |
}, |
| 792 |
"path": { |
| 793 |
"description": "gdata", |
| 794 |
"type": "string" |
| 795 |
}, |
| 796 |
"referenceType": { |
| 797 |
"description": "gdata", |
| 798 |
"enum": [ |
| 799 |
"PATH", |
| 800 |
"BLOB_REF", |
| 801 |
"INLINE", |
| 802 |
"GET_MEDIA", |
| 803 |
"COMPOSITE_MEDIA", |
| 804 |
"BIGSTORE_REF", |
| 805 |
"DIFF_VERSION_RESPONSE", |
| 806 |
"DIFF_CHECKSUMS_RESPONSE", |
| 807 |
"DIFF_DOWNLOAD_RESPONSE", |
| 808 |
"DIFF_UPLOAD_REQUEST", |
| 809 |
"DIFF_UPLOAD_RESPONSE", |
| 810 |
"COSMO_BINARY_REFERENCE", |
| 811 |
"ARBITRARY_BYTES" |
| 812 |
], |
| 813 |
"enumDescriptions": [ |
| 814 |
"gdata", |
| 815 |
"gdata", |
| 816 |
"gdata", |
| 817 |
"gdata", |
| 818 |
"gdata", |
| 819 |
"gdata", |
| 820 |
"gdata", |
| 821 |
"gdata", |
| 822 |
"gdata", |
| 823 |
"gdata", |
| 824 |
"gdata", |
| 825 |
"gdata", |
| 826 |
"gdata" |
| 827 |
], |
| 828 |
"type": "string" |
| 829 |
}, |
| 830 |
"sha1Hash": { |
| 831 |
"description": "gdata", |
| 832 |
"format": "byte", |
| 833 |
"type": "string" |
| 834 |
}, |
| 835 |
"sha256Hash": { |
| 836 |
"description": "gdata", |
| 837 |
"format": "byte", |
| 838 |
"type": "string" |
| 839 |
}, |
| 840 |
"sha512Hash": { |
| 841 |
"description": "gdata", |
| 842 |
"format": "byte", |
| 843 |
"type": "string" |
| 844 |
}, |
| 845 |
"timestamp": { |
| 846 |
"description": "gdata", |
| 847 |
"format": "uint64", |
| 848 |
"type": "string" |
| 849 |
}, |
| 850 |
"token": { |
| 851 |
"description": "gdata", |
| 852 |
"type": "string" |
| 853 |
} |
| 854 |
}, |
| 855 |
"type": "object" |
| 856 |
}, |
| 857 |
"GdataObjectId": { |
| 858 |
"description": "gdata", |
| 859 |
"id": "GdataObjectId", |
| 860 |
"properties": { |
| 861 |
"bucketName": { |
| 862 |
"description": "gdata", |
| 863 |
"type": "string" |
| 864 |
}, |
| 865 |
"generation": { |
| 866 |
"description": "gdata", |
| 867 |
"format": "int64", |
| 868 |
"type": "string" |
| 869 |
}, |
| 870 |
"objectName": { |
| 871 |
"description": "gdata", |
| 872 |
"type": "string" |
| 873 |
} |
| 874 |
}, |
| 875 |
"type": "object" |
| 876 |
}, |
| 877 |
"Job": { |
| 878 |
"description": "A job creating reports of a specific type.", |
| 879 |
"id": "Job", |
| 880 |
"properties": { |
| 881 |
"createTime": { |
| 882 |
"description": "The creation date/time of the job.", |
| 883 |
"format": "google-datetime", |
| 884 |
"type": "string" |
| 885 |
}, |
| 886 |
"expireTime": { |
| 887 |
"description": "The date/time when this job will expire/expired. After a job expired, no new reports are generated.", |
| 888 |
"format": "google-datetime", |
| 889 |
"type": "string" |
| 890 |
}, |
| 891 |
"id": { |
| 892 |
"description": "The server-generated ID of the job (max. 40 characters).", |
| 893 |
"type": "string" |
| 894 |
}, |
| 895 |
"name": { |
| 896 |
"description": "The name of the job (max. 100 characters).", |
| 897 |
"type": "string" |
| 898 |
}, |
| 899 |
"reportTypeId": { |
| 900 |
"description": "The type of reports this job creates. Corresponds to the ID of a ReportType.", |
| 901 |
"type": "string" |
| 902 |
}, |
| 903 |
"systemManaged": { |
| 904 |
"description": "True if this a system-managed job that cannot be modified by the user; otherwise false.", |
| 905 |
"type": "boolean" |
| 906 |
} |
| 907 |
}, |
| 908 |
"type": "object" |
| 909 |
}, |
| 910 |
"ListJobsResponse": { |
| 911 |
"description": "Response message for ReportingService.ListJobs.", |
| 912 |
"id": "ListJobsResponse", |
| 913 |
"properties": { |
| 914 |
"jobs": { |
| 915 |
"description": "The list of jobs.", |
| 916 |
"items": { |
| 917 |
"$ref": "Job" |
| 918 |
}, |
| 919 |
"type": "array" |
| 920 |
}, |
| 921 |
"nextPageToken": { |
| 922 |
"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.", |
| 923 |
"type": "string" |
| 924 |
} |
| 925 |
}, |
| 926 |
"type": "object" |
| 927 |
}, |
| 928 |
"ListReportTypesResponse": { |
| 929 |
"description": "Response message for ReportingService.ListReportTypes.", |
| 930 |
"id": "ListReportTypesResponse", |
| 931 |
"properties": { |
| 932 |
"nextPageToken": { |
| 933 |
"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.", |
| 934 |
"type": "string" |
| 935 |
}, |
| 936 |
"reportTypes": { |
| 937 |
"description": "The list of report types.", |
| 938 |
"items": { |
| 939 |
"$ref": "ReportType" |
| 940 |
}, |
| 941 |
"type": "array" |
| 942 |
} |
| 943 |
}, |
| 944 |
"type": "object" |
| 945 |
}, |
| 946 |
"ListReportsResponse": { |
| 947 |
"description": "Response message for ReportingService.ListReports.", |
| 948 |
"id": "ListReportsResponse", |
| 949 |
"properties": { |
| 950 |
"nextPageToken": { |
| 951 |
"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.", |
| 952 |
"type": "string" |
| 953 |
}, |
| 954 |
"reports": { |
| 955 |
"description": "The list of report types.", |
| 956 |
"items": { |
| 957 |
"$ref": "Report" |
| 958 |
}, |
| 959 |
"type": "array" |
| 960 |
} |
| 961 |
}, |
| 962 |
"type": "object" |
| 963 |
}, |
| 964 |
"Report": { |
| 965 |
"description": "A report's metadata including the URL from which the report itself can be downloaded.", |
| 966 |
"id": "Report", |
| 967 |
"properties": { |
| 968 |
"createTime": { |
| 969 |
"description": "The date/time when this report was created.", |
| 970 |
"format": "google-datetime", |
| 971 |
"type": "string" |
| 972 |
}, |
| 973 |
"downloadUrl": { |
| 974 |
"description": "The URL from which the report can be downloaded (max. 1000 characters).", |
| 975 |
"type": "string" |
| 976 |
}, |
| 977 |
"endTime": { |
| 978 |
"description": "The end of the time period that the report instance covers. The value is exclusive.", |
| 979 |
"format": "google-datetime", |
| 980 |
"type": "string" |
| 981 |
}, |
| 982 |
"id": { |
| 983 |
"description": "The server-generated ID of the report.", |
| 984 |
"type": "string" |
| 985 |
}, |
| 986 |
"jobExpireTime": { |
| 987 |
"description": "The date/time when the job this report belongs to will expire/expired.", |
| 988 |
"format": "google-datetime", |
| 989 |
"type": "string" |
| 990 |
}, |
| 991 |
"jobId": { |
| 992 |
"description": "The ID of the job that created this report.", |
| 993 |
"type": "string" |
| 994 |
}, |
| 995 |
"startTime": { |
| 996 |
"description": "The start of the time period that the report instance covers. The value is inclusive.", |
| 997 |
"format": "google-datetime", |
| 998 |
"type": "string" |
| 999 |
} |
| 1000 |
}, |
| 1001 |
"type": "object" |
| 1002 |
}, |
| 1003 |
"ReportType": { |
| 1004 |
"description": "A report type.", |
| 1005 |
"id": "ReportType", |
| 1006 |
"properties": { |
| 1007 |
"deprecateTime": { |
| 1008 |
"description": "The date/time when this report type was/will be deprecated.", |
| 1009 |
"format": "google-datetime", |
| 1010 |
"type": "string" |
| 1011 |
}, |
| 1012 |
"id": { |
| 1013 |
"description": "The ID of the report type (max. 100 characters).", |
| 1014 |
"type": "string" |
| 1015 |
}, |
| 1016 |
"name": { |
| 1017 |
"description": "The name of the report type (max. 100 characters).", |
| 1018 |
"type": "string" |
| 1019 |
}, |
| 1020 |
"systemManaged": { |
| 1021 |
"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.", |
| 1022 |
"type": "boolean" |
| 1023 |
} |
| 1024 |
}, |
| 1025 |
"type": "object" |
| 1026 |
} |
| 1027 |
}, |
| 1028 |
"servicePath": "", |
| 1029 |
"title": "YouTube Reporting API", |
| 1030 |
"version": "v1" |
| 1031 |
} |