| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/yt-analytics.readonly": { | 5 "https://www.googleapis.com/auth/yt-analytics.readonly": { |
| 6 "description": "View YouTube Analytics reports for your YouT
ube content" | 6 "description": "View YouTube Analytics reports for your YouT
ube content" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { | 8 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { |
| 9 "description": "View monetary and non-monetary YouTube Analy
tics reports for your YouTube content" | 9 "description": "View monetary and non-monetary YouTube Analy
tics reports for your YouTube content" |
| 10 } | 10 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 "icons": { | 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, | 24 }, |
| 25 "id": "youtubereporting:v1", | 25 "id": "youtubereporting:v1", |
| 26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
| 27 "name": "youtubereporting", | 27 "name": "youtubereporting", |
| 28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
| 29 "ownerName": "Google", | 29 "ownerName": "Google", |
| 30 "parameters": { | 30 "parameters": { |
| 31 "key": { |
| 32 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 31 "access_token": { | 36 "access_token": { |
| 32 "description": "OAuth access token.", | 37 "description": "OAuth access token.", |
| 33 "location": "query", | 38 "location": "query", |
| 34 "type": "string" | 39 "type": "string" |
| 35 }, | 40 }, |
| 36 "key": { | |
| 37 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
| 38 "location": "query", | |
| 39 "type": "string" | |
| 40 }, | |
| 41 "quotaUser": { | 41 "quotaUser": { |
| 42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 43 "location": "query", | 43 "location": "query", |
| 44 "type": "string" | 44 "type": "string" |
| 45 }, | 45 }, |
| 46 "pp": { | 46 "pp": { |
| 47 "default": "true", | 47 "default": "true", |
| 48 "description": "Pretty-print response.", | 48 "description": "Pretty-print response.", |
| 49 "location": "query", | 49 "location": "query", |
| 50 "type": "boolean" | 50 "type": "boolean" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 64 "location": "query", | 64 "location": "query", |
| 65 "type": "string" | 65 "type": "string" |
| 66 }, | 66 }, |
| 67 "prettyPrint": { | 67 "prettyPrint": { |
| 68 "default": "true", | 68 "default": "true", |
| 69 "description": "Returns response with indentations and line breaks."
, | 69 "description": "Returns response with indentations and line breaks."
, |
| 70 "location": "query", | 70 "location": "query", |
| 71 "type": "boolean" | 71 "type": "boolean" |
| 72 }, | 72 }, |
| 73 "uploadType": { |
| 74 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 75 "location": "query", |
| 76 "type": "string" |
| 77 }, |
| 73 "fields": { | 78 "fields": { |
| 74 "description": "Selector specifying which fields to include in a par
tial response.", | 79 "description": "Selector specifying which fields to include in a par
tial response.", |
| 75 "location": "query", | 80 "location": "query", |
| 76 "type": "string" | 81 "type": "string" |
| 77 }, | 82 }, |
| 78 "uploadType": { | |
| 79 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
| 80 "location": "query", | |
| 81 "type": "string" | |
| 82 }, | |
| 83 "callback": { | 83 "callback": { |
| 84 "description": "JSONP", | 84 "description": "JSONP", |
| 85 "location": "query", | 85 "location": "query", |
| 86 "type": "string" | 86 "type": "string" |
| 87 }, | 87 }, |
| 88 "$.xgafv": { | 88 "$.xgafv": { |
| 89 "description": "V1 error format.", | 89 "description": "V1 error format.", |
| 90 "enum": [ | 90 "enum": [ |
| 91 "1", | 91 "1", |
| 92 "2" | 92 "2" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 110 "Responses with Content-Type of application/json", | 110 "Responses with Content-Type of application/json", |
| 111 "Media download with context-dependent Content-Type", | 111 "Media download with context-dependent Content-Type", |
| 112 "Responses with Content-Type of application/x-protobuf" | 112 "Responses with Content-Type of application/x-protobuf" |
| 113 ], | 113 ], |
| 114 "location": "query", | 114 "location": "query", |
| 115 "type": "string" | 115 "type": "string" |
| 116 } | 116 } |
| 117 }, | 117 }, |
| 118 "protocol": "rest", | 118 "protocol": "rest", |
| 119 "resources": { | 119 "resources": { |
| 120 "jobs": { | 120 "media": { |
| 121 "methods": { | 121 "methods": { |
| 122 "create": { | 122 "download": { |
| 123 "description": "Creates a job and returns it.", | 123 "description": "Method for media download. Download is suppo
rted\non the URI `/v1/media/{+name}?alt=media`.", |
| 124 "httpMethod": "POST", | 124 "httpMethod": "GET", |
| 125 "id": "youtubereporting.jobs.create", | 125 "id": "youtubereporting.media.download", |
| 126 "parameterOrder": [], | 126 "parameterOrder": [ |
| 127 "resourceName" |
| 128 ], |
| 127 "parameters": { | 129 "parameters": { |
| 128 "onBehalfOfContentOwner": { | 130 "resourceName": { |
| 129 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", | 131 "description": "Name of the media that is being down
loaded. See\nReadRequest.resource_name.", |
| 130 "location": "query", | 132 "location": "path", |
| 133 "pattern": "^.+$", |
| 134 "required": true, |
| 131 "type": "string" | 135 "type": "string" |
| 132 } | 136 } |
| 133 }, | 137 }, |
| 134 "path": "v1/jobs", | 138 "path": "v1/media/{+resourceName}", |
| 135 "request": { | |
| 136 "$ref": "Job" | |
| 137 }, | |
| 138 "response": { | 139 "response": { |
| 139 "$ref": "Job" | 140 "$ref": "Media" |
| 140 }, | 141 }, |
| 141 "scopes": [ | 142 "scopes": [ |
| 142 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 143 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 143 "https://www.googleapis.com/auth/yt-analytics.readonly" | 144 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 144 ] | 145 ], |
| 145 }, | 146 "supportsMediaDownload": true |
| 147 } |
| 148 } |
| 149 }, |
| 150 "jobs": { |
| 151 "methods": { |
| 146 "delete": { | 152 "delete": { |
| 147 "description": "Deletes a job.", | 153 "description": "Deletes a job.", |
| 148 "httpMethod": "DELETE", | 154 "httpMethod": "DELETE", |
| 149 "id": "youtubereporting.jobs.delete", | 155 "id": "youtubereporting.jobs.delete", |
| 150 "parameterOrder": [ | 156 "parameterOrder": [ |
| 151 "jobId" | 157 "jobId" |
| 152 ], | 158 ], |
| 153 "parameters": { | 159 "parameters": { |
| 154 "onBehalfOfContentOwner": { | |
| 155 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", | |
| 156 "location": "query", | |
| 157 "type": "string" | |
| 158 }, | |
| 159 "jobId": { | 160 "jobId": { |
| 160 "description": "The ID of the job to delete.", | 161 "description": "The ID of the job to delete.", |
| 161 "location": "path", | 162 "location": "path", |
| 162 "required": true, | 163 "required": true, |
| 163 "type": "string" | 164 "type": "string" |
| 165 }, |
| 166 "onBehalfOfContentOwner": { |
| 167 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", |
| 168 "location": "query", |
| 169 "type": "string" |
| 164 } | 170 } |
| 165 }, | 171 }, |
| 166 "path": "v1/jobs/{jobId}", | 172 "path": "v1/jobs/{jobId}", |
| 167 "response": { | 173 "response": { |
| 168 "$ref": "Empty" | 174 "$ref": "Empty" |
| 169 }, | 175 }, |
| 170 "scopes": [ | 176 "scopes": [ |
| 171 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 177 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 172 "https://www.googleapis.com/auth/yt-analytics.readonly" | 178 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 173 ] | 179 ] |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 } | 236 } |
| 231 }, | 237 }, |
| 232 "path": "v1/jobs/{jobId}", | 238 "path": "v1/jobs/{jobId}", |
| 233 "response": { | 239 "response": { |
| 234 "$ref": "Job" | 240 "$ref": "Job" |
| 235 }, | 241 }, |
| 236 "scopes": [ | 242 "scopes": [ |
| 237 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 243 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 238 "https://www.googleapis.com/auth/yt-analytics.readonly" | 244 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 239 ] | 245 ] |
| 246 }, |
| 247 "create": { |
| 248 "description": "Creates a job and returns it.", |
| 249 "httpMethod": "POST", |
| 250 "id": "youtubereporting.jobs.create", |
| 251 "parameterOrder": [], |
| 252 "parameters": { |
| 253 "onBehalfOfContentOwner": { |
| 254 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", |
| 255 "location": "query", |
| 256 "type": "string" |
| 257 } |
| 258 }, |
| 259 "path": "v1/jobs", |
| 260 "request": { |
| 261 "$ref": "Job" |
| 262 }, |
| 263 "response": { |
| 264 "$ref": "Job" |
| 265 }, |
| 266 "scopes": [ |
| 267 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 268 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 269 ] |
| 240 } | 270 } |
| 241 }, | 271 }, |
| 242 "resources": { | 272 "resources": { |
| 243 "reports": { | 273 "reports": { |
| 244 "methods": { | 274 "methods": { |
| 245 "list": { | 275 "list": { |
| 246 "description": "Lists reports created by a specific
job.\nReturns NOT_FOUND if the job does not exist.", | 276 "description": "Lists reports created by a specific
job.\nReturns NOT_FOUND if the job does not exist.", |
| 247 "httpMethod": "GET", | 277 "httpMethod": "GET", |
| 248 "id": "youtubereporting.jobs.reports.list", | 278 "id": "youtubereporting.jobs.reports.list", |
| 249 "parameterOrder": [ | 279 "parameterOrder": [ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 }, | 332 }, |
| 303 "get": { | 333 "get": { |
| 304 "description": "Gets the metadata of a specific repo
rt.", | 334 "description": "Gets the metadata of a specific repo
rt.", |
| 305 "httpMethod": "GET", | 335 "httpMethod": "GET", |
| 306 "id": "youtubereporting.jobs.reports.get", | 336 "id": "youtubereporting.jobs.reports.get", |
| 307 "parameterOrder": [ | 337 "parameterOrder": [ |
| 308 "jobId", | 338 "jobId", |
| 309 "reportId" | 339 "reportId" |
| 310 ], | 340 ], |
| 311 "parameters": { | 341 "parameters": { |
| 342 "jobId": { |
| 343 "description": "The ID of the job.", |
| 344 "location": "path", |
| 345 "required": true, |
| 346 "type": "string" |
| 347 }, |
| 312 "onBehalfOfContentOwner": { | 348 "onBehalfOfContentOwner": { |
| 313 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", | 349 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", |
| 314 "location": "query", | 350 "location": "query", |
| 315 "type": "string" | 351 "type": "string" |
| 316 }, | 352 }, |
| 317 "reportId": { | 353 "reportId": { |
| 318 "description": "The ID of the report to retr
ieve.", | 354 "description": "The ID of the report to retr
ieve.", |
| 319 "location": "path", | 355 "location": "path", |
| 320 "required": true, | 356 "required": true, |
| 321 "type": "string" | 357 "type": "string" |
| 322 }, | |
| 323 "jobId": { | |
| 324 "description": "The ID of the job.", | |
| 325 "location": "path", | |
| 326 "required": true, | |
| 327 "type": "string" | |
| 328 } | 358 } |
| 329 }, | 359 }, |
| 330 "path": "v1/jobs/{jobId}/reports/{reportId}", | 360 "path": "v1/jobs/{jobId}/reports/{reportId}", |
| 331 "response": { | 361 "response": { |
| 332 "$ref": "Report" | 362 "$ref": "Report" |
| 333 }, | 363 }, |
| 334 "scopes": [ | 364 "scopes": [ |
| 335 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", | 365 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 336 "https://www.googleapis.com/auth/yt-analytics.re
adonly" | 366 "https://www.googleapis.com/auth/yt-analytics.re
adonly" |
| 337 ] | 367 ] |
| 338 } | 368 } |
| 339 } | 369 } |
| 340 } | 370 } |
| 341 } | 371 } |
| 342 }, | 372 }, |
| 343 "reportTypes": { | 373 "reportTypes": { |
| 344 "methods": { | 374 "methods": { |
| 345 "list": { | 375 "list": { |
| 346 "description": "Lists report types.", | 376 "description": "Lists report types.", |
| 347 "httpMethod": "GET", | 377 "httpMethod": "GET", |
| 348 "id": "youtubereporting.reportTypes.list", | 378 "id": "youtubereporting.reportTypes.list", |
| 349 "parameterOrder": [], | 379 "parameterOrder": [], |
| 350 "parameters": { | 380 "parameters": { |
| 351 "onBehalfOfContentOwner": { | |
| 352 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", | |
| 353 "location": "query", | |
| 354 "type": "string" | |
| 355 }, | |
| 356 "pageToken": { | 381 "pageToken": { |
| 357 "description": "A token identifying a page of result
s the server should return. Typically,\nthis is the value of\nListReportTypesRes
ponse.next_page_token\nreturned in response to the previous call to the `ListRep
ortTypes` method.", | 382 "description": "A token identifying a page of result
s the server should return. Typically,\nthis is the value of\nListReportTypesRes
ponse.next_page_token\nreturned in response to the previous call to the `ListRep
ortTypes` method.", |
| 358 "location": "query", | 383 "location": "query", |
| 359 "type": "string" | 384 "type": "string" |
| 360 }, | 385 }, |
| 361 "includeSystemManaged": { | 386 "includeSystemManaged": { |
| 362 "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.", | 387 "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.", |
| 363 "location": "query", | 388 "location": "query", |
| 364 "type": "boolean" | 389 "type": "boolean" |
| 365 }, | 390 }, |
| 366 "pageSize": { | 391 "pageSize": { |
| 367 "description": "Requested page size. Server may retu
rn fewer report types than requested.\nIf unspecified, server will pick an appro
priate default.", | 392 "description": "Requested page size. Server may retu
rn fewer report types than requested.\nIf unspecified, server will pick an appro
priate default.", |
| 368 "format": "int32", | 393 "format": "int32", |
| 369 "location": "query", | 394 "location": "query", |
| 370 "type": "integer" | 395 "type": "integer" |
| 396 }, |
| 397 "onBehalfOfContentOwner": { |
| 398 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", |
| 399 "location": "query", |
| 400 "type": "string" |
| 371 } | 401 } |
| 372 }, | 402 }, |
| 373 "path": "v1/reportTypes", | 403 "path": "v1/reportTypes", |
| 374 "response": { | 404 "response": { |
| 375 "$ref": "ListReportTypesResponse" | 405 "$ref": "ListReportTypesResponse" |
| 376 }, | 406 }, |
| 377 "scopes": [ | 407 "scopes": [ |
| 378 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 408 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 379 "https://www.googleapis.com/auth/yt-analytics.readonly" | 409 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 380 ] | 410 ] |
| 381 } | 411 } |
| 382 } | 412 } |
| 383 }, | |
| 384 "media": { | |
| 385 "methods": { | |
| 386 "download": { | |
| 387 "description": "Method for media download. Download is suppo
rted\non the URI `/v1/media/{+name}?alt=media`.", | |
| 388 "httpMethod": "GET", | |
| 389 "id": "youtubereporting.media.download", | |
| 390 "parameterOrder": [ | |
| 391 "resourceName" | |
| 392 ], | |
| 393 "parameters": { | |
| 394 "resourceName": { | |
| 395 "description": "Name of the media that is being down
loaded. See\nReadRequest.resource_name.", | |
| 396 "location": "path", | |
| 397 "pattern": "^.+$", | |
| 398 "required": true, | |
| 399 "type": "string" | |
| 400 } | |
| 401 }, | |
| 402 "path": "v1/media/{+resourceName}", | |
| 403 "response": { | |
| 404 "$ref": "Media" | |
| 405 }, | |
| 406 "scopes": [ | |
| 407 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | |
| 408 "https://www.googleapis.com/auth/yt-analytics.readonly" | |
| 409 ], | |
| 410 "supportsMediaDownload": true | |
| 411 } | |
| 412 } | |
| 413 } | 413 } |
| 414 }, | 414 }, |
| 415 "revision": "20170302", | 415 "revision": "20170326", |
| 416 "rootUrl": "https://youtubereporting.googleapis.com/", | 416 "rootUrl": "https://youtubereporting.googleapis.com/", |
| 417 "schemas": { | 417 "schemas": { |
| 418 "ListJobsResponse": { |
| 419 "description": "Response message for ReportingService.ListJobs.", |
| 420 "id": "ListJobsResponse", |
| 421 "properties": { |
| 422 "jobs": { |
| 423 "description": "The list of jobs.", |
| 424 "items": { |
| 425 "$ref": "Job" |
| 426 }, |
| 427 "type": "array" |
| 428 }, |
| 429 "nextPageToken": { |
| 430 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListJobsRequest.page_token\nfield in the subsequent call
to `ListJobs` method to retrieve the next\npage of results.", |
| 431 "type": "string" |
| 432 } |
| 433 }, |
| 434 "type": "object" |
| 435 }, |
| 436 "Job": { |
| 437 "description": "A job creating reports of a specific type.", |
| 438 "id": "Job", |
| 439 "properties": { |
| 440 "name": { |
| 441 "description": "The name of the job (max. 100 characters).", |
| 442 "type": "string" |
| 443 }, |
| 444 "id": { |
| 445 "description": "The server-generated ID of the job (max. 40
characters).", |
| 446 "type": "string" |
| 447 }, |
| 448 "systemManaged": { |
| 449 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", |
| 450 "type": "boolean" |
| 451 }, |
| 452 "createTime": { |
| 453 "description": "The creation date/time of the job.", |
| 454 "format": "google-datetime", |
| 455 "type": "string" |
| 456 }, |
| 457 "reportTypeId": { |
| 458 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", |
| 459 "type": "string" |
| 460 }, |
| 461 "expireTime": { |
| 462 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", |
| 463 "format": "google-datetime", |
| 464 "type": "string" |
| 465 } |
| 466 }, |
| 467 "type": "object" |
| 468 }, |
| 469 "ListReportsResponse": { |
| 470 "description": "Response message for ReportingService.ListReports.", |
| 471 "id": "ListReportsResponse", |
| 472 "properties": { |
| 473 "reports": { |
| 474 "description": "The list of report types.", |
| 475 "items": { |
| 476 "$ref": "Report" |
| 477 }, |
| 478 "type": "array" |
| 479 }, |
| 480 "nextPageToken": { |
| 481 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListReportsRequest.page_token\nfield in the subsequent ca
ll to `ListReports` method to retrieve the next\npage of results.", |
| 482 "type": "string" |
| 483 } |
| 484 }, |
| 485 "type": "object" |
| 486 }, |
| 418 "Media": { | 487 "Media": { |
| 419 "description": "Media resource.", | 488 "description": "Media resource.", |
| 420 "id": "Media", | 489 "id": "Media", |
| 421 "properties": { | 490 "properties": { |
| 422 "resourceName": { | 491 "resourceName": { |
| 423 "description": "Name of the media resource.", | 492 "description": "Name of the media resource.", |
| 424 "type": "string" | 493 "type": "string" |
| 425 } | 494 } |
| 426 }, | 495 }, |
| 427 "type": "object" | |
| 428 }, | |
| 429 "ReportType": { | |
| 430 "description": "A report type.", | |
| 431 "id": "ReportType", | |
| 432 "properties": { | |
| 433 "id": { | |
| 434 "description": "The ID of the report type (max. 100 characte
rs).", | |
| 435 "type": "string" | |
| 436 }, | |
| 437 "systemManaged": { | |
| 438 "description": "True if this a system-managed report type; o
therwise false. Reporting jobs\nfor system-managed report types are created auto
matically and can thus not\nbe used in the `CreateJob` method.", | |
| 439 "type": "boolean" | |
| 440 }, | |
| 441 "deprecateTime": { | |
| 442 "description": "The date/time when this report type was/will
be deprecated.", | |
| 443 "format": "google-datetime", | |
| 444 "type": "string" | |
| 445 }, | |
| 446 "name": { | |
| 447 "description": "The name of the report type (max. 100 charac
ters).", | |
| 448 "type": "string" | |
| 449 } | |
| 450 }, | |
| 451 "type": "object" | |
| 452 }, | |
| 453 "ListReportTypesResponse": { | |
| 454 "description": "Response message for ReportingService.ListReportType
s.", | |
| 455 "id": "ListReportTypesResponse", | |
| 456 "properties": { | |
| 457 "reportTypes": { | |
| 458 "description": "The list of report types.", | |
| 459 "items": { | |
| 460 "$ref": "ReportType" | |
| 461 }, | |
| 462 "type": "array" | |
| 463 }, | |
| 464 "nextPageToken": { | |
| 465 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListReportTypesRequest.page_token\nfield in the subsequen
t call to `ListReportTypes` method to retrieve the next\npage of results.", | |
| 466 "type": "string" | |
| 467 } | |
| 468 }, | |
| 469 "type": "object" | |
| 470 }, | |
| 471 "Report": { | |
| 472 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", | |
| 473 "id": "Report", | |
| 474 "properties": { | |
| 475 "id": { | |
| 476 "description": "The server-generated ID of the report.", | |
| 477 "type": "string" | |
| 478 }, | |
| 479 "jobExpireTime": { | |
| 480 "description": "The date/time when the job this report belon
gs to will expire/expired.", | |
| 481 "format": "google-datetime", | |
| 482 "type": "string" | |
| 483 }, | |
| 484 "endTime": { | |
| 485 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", | |
| 486 "format": "google-datetime", | |
| 487 "type": "string" | |
| 488 }, | |
| 489 "downloadUrl": { | |
| 490 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", | |
| 491 "type": "string" | |
| 492 }, | |
| 493 "startTime": { | |
| 494 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", | |
| 495 "format": "google-datetime", | |
| 496 "type": "string" | |
| 497 }, | |
| 498 "createTime": { | |
| 499 "description": "The date/time when this report was created."
, | |
| 500 "format": "google-datetime", | |
| 501 "type": "string" | |
| 502 }, | |
| 503 "jobId": { | |
| 504 "description": "The ID of the job that created this report."
, | |
| 505 "type": "string" | |
| 506 } | |
| 507 }, | |
| 508 "type": "object" | 496 "type": "object" |
| 509 }, | 497 }, |
| 510 "Empty": { | 498 "Empty": { |
| 511 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 499 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 512 "id": "Empty", | 500 "id": "Empty", |
| 513 "properties": {}, | 501 "properties": {}, |
| 514 "type": "object" | 502 "type": "object" |
| 515 }, | 503 }, |
| 516 "ListJobsResponse": { | 504 "ListReportTypesResponse": { |
| 517 "description": "Response message for ReportingService.ListJobs.", | 505 "description": "Response message for ReportingService.ListReportType
s.", |
| 518 "id": "ListJobsResponse", | 506 "id": "ListReportTypesResponse", |
| 519 "properties": { | 507 "properties": { |
| 520 "jobs": { | 508 "reportTypes": { |
| 521 "description": "The list of jobs.", | 509 "description": "The list of report types.", |
| 522 "items": { | 510 "items": { |
| 523 "$ref": "Job" | 511 "$ref": "ReportType" |
| 524 }, | 512 }, |
| 525 "type": "array" | 513 "type": "array" |
| 526 }, | 514 }, |
| 527 "nextPageToken": { | 515 "nextPageToken": { |
| 528 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListJobsRequest.page_token\nfield in the subsequent call
to `ListJobs` method to retrieve the next\npage of results.", | 516 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListReportTypesRequest.page_token\nfield in the subsequen
t call to `ListReportTypes` method to retrieve the next\npage of results.", |
| 529 "type": "string" | 517 "type": "string" |
| 530 } | 518 } |
| 531 }, | 519 }, |
| 532 "type": "object" | 520 "type": "object" |
| 533 }, | 521 }, |
| 534 "Job": { | 522 "ReportType": { |
| 535 "description": "A job creating reports of a specific type.", | 523 "description": "A report type.", |
| 536 "id": "Job", | 524 "id": "ReportType", |
| 537 "properties": { | 525 "properties": { |
| 538 "createTime": { | |
| 539 "description": "The creation date/time of the job.", | |
| 540 "format": "google-datetime", | |
| 541 "type": "string" | |
| 542 }, | |
| 543 "expireTime": { | |
| 544 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", | |
| 545 "format": "google-datetime", | |
| 546 "type": "string" | |
| 547 }, | |
| 548 "reportTypeId": { | |
| 549 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", | |
| 550 "type": "string" | |
| 551 }, | |
| 552 "name": { | 526 "name": { |
| 553 "description": "The name of the job (max. 100 characters).", | 527 "description": "The name of the report type (max. 100 charac
ters).", |
| 554 "type": "string" | 528 "type": "string" |
| 555 }, | 529 }, |
| 556 "id": { | 530 "id": { |
| 557 "description": "The server-generated ID of the job (max. 40
characters).", | 531 "description": "The ID of the report type (max. 100 characte
rs).", |
| 558 "type": "string" | 532 "type": "string" |
| 559 }, | 533 }, |
| 560 "systemManaged": { | 534 "systemManaged": { |
| 561 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", | 535 "description": "True if this a system-managed report type; o
therwise false. Reporting jobs\nfor system-managed report types are created auto
matically and can thus not\nbe used in the `CreateJob` method.", |
| 562 "type": "boolean" | 536 "type": "boolean" |
| 537 }, |
| 538 "deprecateTime": { |
| 539 "description": "The date/time when this report type was/will
be deprecated.", |
| 540 "format": "google-datetime", |
| 541 "type": "string" |
| 563 } | 542 } |
| 564 }, | 543 }, |
| 565 "type": "object" | 544 "type": "object" |
| 566 }, | 545 }, |
| 567 "ListReportsResponse": { | 546 "Report": { |
| 568 "description": "Response message for ReportingService.ListReports.", | 547 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", |
| 569 "id": "ListReportsResponse", | 548 "id": "Report", |
| 570 "properties": { | 549 "properties": { |
| 571 "reports": { | 550 "id": { |
| 572 "description": "The list of report types.", | 551 "description": "The server-generated ID of the report.", |
| 573 "items": { | 552 "type": "string" |
| 574 "$ref": "Report" | |
| 575 }, | |
| 576 "type": "array" | |
| 577 }, | 553 }, |
| 578 "nextPageToken": { | 554 "endTime": { |
| 579 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListReportsRequest.page_token\nfield in the subsequent ca
ll to `ListReports` method to retrieve the next\npage of results.", | 555 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", |
| 556 "format": "google-datetime", |
| 557 "type": "string" |
| 558 }, |
| 559 "jobExpireTime": { |
| 560 "description": "The date/time when the job this report belon
gs to will expire/expired.", |
| 561 "format": "google-datetime", |
| 562 "type": "string" |
| 563 }, |
| 564 "downloadUrl": { |
| 565 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", |
| 566 "type": "string" |
| 567 }, |
| 568 "startTime": { |
| 569 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", |
| 570 "format": "google-datetime", |
| 571 "type": "string" |
| 572 }, |
| 573 "createTime": { |
| 574 "description": "The date/time when this report was created."
, |
| 575 "format": "google-datetime", |
| 576 "type": "string" |
| 577 }, |
| 578 "jobId": { |
| 579 "description": "The ID of the job that created this report."
, |
| 580 "type": "string" | 580 "type": "string" |
| 581 } | 581 } |
| 582 }, | 582 }, |
| 583 "type": "object" | 583 "type": "object" |
| 584 } | 584 } |
| 585 }, | 585 }, |
| 586 "servicePath": "", | 586 "servicePath": "", |
| 587 "title": "YouTube Reporting API", | 587 "title": "YouTube Reporting API", |
| 588 "version": "v1" | 588 "version": "v1" |
| 589 } | 589 } |
| OLD | NEW |