| 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 "fields": { | |
| 32 "description": "Selector specifying which fields to include in a par
tial response.", | |
| 33 "location": "query", | |
| 34 "type": "string" | |
| 35 }, | |
| 36 "uploadType": { | |
| 37 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
| 38 "location": "query", | |
| 39 "type": "string" | |
| 40 }, | |
| 41 "$.xgafv": { | 31 "$.xgafv": { |
| 42 "description": "V1 error format.", | 32 "description": "V1 error format.", |
| 43 "enum": [ | 33 "enum": [ |
| 44 "1", | 34 "1", |
| 45 "2" | 35 "2" |
| 46 ], | 36 ], |
| 47 "enumDescriptions": [ | 37 "enumDescriptions": [ |
| 48 "v1 error format", | 38 "v1 error format", |
| 49 "v2 error format" | 39 "v2 error format" |
| 50 ], | 40 ], |
| (...skipping 14 matching lines...) Expand all Loading... |
| 65 "proto" | 55 "proto" |
| 66 ], | 56 ], |
| 67 "enumDescriptions": [ | 57 "enumDescriptions": [ |
| 68 "Responses with Content-Type of application/json", | 58 "Responses with Content-Type of application/json", |
| 69 "Media download with context-dependent Content-Type", | 59 "Media download with context-dependent Content-Type", |
| 70 "Responses with Content-Type of application/x-protobuf" | 60 "Responses with Content-Type of application/x-protobuf" |
| 71 ], | 61 ], |
| 72 "location": "query", | 62 "location": "query", |
| 73 "type": "string" | 63 "type": "string" |
| 74 }, | 64 }, |
| 65 "key": { |
| 66 "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.", |
| 67 "location": "query", |
| 68 "type": "string" |
| 69 }, |
| 75 "access_token": { | 70 "access_token": { |
| 76 "description": "OAuth access token.", | 71 "description": "OAuth access token.", |
| 77 "location": "query", | 72 "location": "query", |
| 78 "type": "string" | 73 "type": "string" |
| 79 }, | 74 }, |
| 80 "key": { | |
| 81 "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.", | |
| 82 "location": "query", | |
| 83 "type": "string" | |
| 84 }, | |
| 85 "quotaUser": { | 75 "quotaUser": { |
| 86 "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.", | 76 "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.", |
| 87 "location": "query", | 77 "location": "query", |
| 88 "type": "string" | 78 "type": "string" |
| 89 }, | 79 }, |
| 90 "pp": { | 80 "pp": { |
| 91 "default": "true", | 81 "default": "true", |
| 92 "description": "Pretty-print response.", | 82 "description": "Pretty-print response.", |
| 93 "location": "query", | 83 "location": "query", |
| 94 "type": "boolean" | 84 "type": "boolean" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 106 "upload_protocol": { | 96 "upload_protocol": { |
| 107 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 97 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 108 "location": "query", | 98 "location": "query", |
| 109 "type": "string" | 99 "type": "string" |
| 110 }, | 100 }, |
| 111 "prettyPrint": { | 101 "prettyPrint": { |
| 112 "default": "true", | 102 "default": "true", |
| 113 "description": "Returns response with indentations and line breaks."
, | 103 "description": "Returns response with indentations and line breaks."
, |
| 114 "location": "query", | 104 "location": "query", |
| 115 "type": "boolean" | 105 "type": "boolean" |
| 106 }, |
| 107 "uploadType": { |
| 108 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "fields": { |
| 113 "description": "Selector specifying which fields to include in a par
tial response.", |
| 114 "location": "query", |
| 115 "type": "string" |
| 116 } | 116 } |
| 117 }, | 117 }, |
| 118 "protocol": "rest", | 118 "protocol": "rest", |
| 119 "resources": { | 119 "resources": { |
| 120 "media": { | 120 "media": { |
| 121 "methods": { | 121 "methods": { |
| 122 "download": { | 122 "download": { |
| 123 "description": "Method for media download. Download is suppo
rted\non the URI `/v1/media/{+name}?alt=media`.", | 123 "description": "Method for media download. Download is suppo
rted\non the URI `/v1/media/{+name}?alt=media`.", |
| 124 "httpMethod": "GET", | 124 "httpMethod": "GET", |
| 125 "id": "youtubereporting.media.download", | 125 "id": "youtubereporting.media.download", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 150 "jobs": { | 150 "jobs": { |
| 151 "methods": { | 151 "methods": { |
| 152 "delete": { | 152 "delete": { |
| 153 "description": "Deletes a job.", | 153 "description": "Deletes a job.", |
| 154 "httpMethod": "DELETE", | 154 "httpMethod": "DELETE", |
| 155 "id": "youtubereporting.jobs.delete", | 155 "id": "youtubereporting.jobs.delete", |
| 156 "parameterOrder": [ | 156 "parameterOrder": [ |
| 157 "jobId" | 157 "jobId" |
| 158 ], | 158 ], |
| 159 "parameters": { | 159 "parameters": { |
| 160 "onBehalfOfContentOwner": { | |
| 161 "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).", | |
| 162 "location": "query", | |
| 163 "type": "string" | |
| 164 }, | |
| 165 "jobId": { | 160 "jobId": { |
| 166 "description": "The ID of the job to delete.", | 161 "description": "The ID of the job to delete.", |
| 167 "location": "path", | 162 "location": "path", |
| 168 "required": true, | 163 "required": true, |
| 169 "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" |
| 170 } | 170 } |
| 171 }, | 171 }, |
| 172 "path": "v1/jobs/{jobId}", | 172 "path": "v1/jobs/{jobId}", |
| 173 "response": { | 173 "response": { |
| 174 "$ref": "Empty" | 174 "$ref": "Empty" |
| 175 }, | 175 }, |
| 176 "scopes": [ | 176 "scopes": [ |
| 177 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 177 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 178 "https://www.googleapis.com/auth/yt-analytics.readonly" | 178 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 179 ] | 179 ] |
| 180 }, | 180 }, |
| 181 "list": { | 181 "list": { |
| 182 "description": "Lists jobs.", | 182 "description": "Lists jobs.", |
| 183 "httpMethod": "GET", | 183 "httpMethod": "GET", |
| 184 "id": "youtubereporting.jobs.list", | 184 "id": "youtubereporting.jobs.list", |
| 185 "parameterOrder": [], | 185 "parameterOrder": [], |
| 186 "parameters": { | 186 "parameters": { |
| 187 "onBehalfOfContentOwner": { | |
| 188 "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).", | |
| 189 "location": "query", | |
| 190 "type": "string" | |
| 191 }, | |
| 192 "pageToken": { | 187 "pageToken": { |
| 193 "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 `ListJob
s` method.", | 188 "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 `ListJob
s` method.", |
| 194 "location": "query", | 189 "location": "query", |
| 195 "type": "string" | 190 "type": "string" |
| 196 }, | 191 }, |
| 197 "includeSystemManaged": { | 192 "includeSystemManaged": { |
| 198 "description": "If set to true, also system-managed
jobs will be returned; otherwise only\nuser-created jobs will be returned. Syste
m-managed jobs can neither be\nmodified nor deleted.", | 193 "description": "If set to true, also system-managed
jobs will be returned; otherwise only\nuser-created jobs will be returned. Syste
m-managed jobs can neither be\nmodified nor deleted.", |
| 199 "location": "query", | 194 "location": "query", |
| 200 "type": "boolean" | 195 "type": "boolean" |
| 201 }, | 196 }, |
| 202 "pageSize": { | 197 "pageSize": { |
| 203 "description": "Requested page size. Server may retu
rn fewer jobs than requested.\nIf unspecified, server will pick an appropriate d
efault.", | 198 "description": "Requested page size. Server may retu
rn fewer jobs than requested.\nIf unspecified, server will pick an appropriate d
efault.", |
| 204 "format": "int32", | 199 "format": "int32", |
| 205 "location": "query", | 200 "location": "query", |
| 206 "type": "integer" | 201 "type": "integer" |
| 202 }, |
| 203 "onBehalfOfContentOwner": { |
| 204 "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).", |
| 205 "location": "query", |
| 206 "type": "string" |
| 207 } | 207 } |
| 208 }, | 208 }, |
| 209 "path": "v1/jobs", | 209 "path": "v1/jobs", |
| 210 "response": { | 210 "response": { |
| 211 "$ref": "ListJobsResponse" | 211 "$ref": "ListJobsResponse" |
| 212 }, | 212 }, |
| 213 "scopes": [ | 213 "scopes": [ |
| 214 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 214 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 215 "https://www.googleapis.com/auth/yt-analytics.readonly" | 215 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 216 ] | 216 ] |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 "reports": { | 273 "reports": { |
| 274 "methods": { | 274 "methods": { |
| 275 "list": { | 275 "list": { |
| 276 "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.", |
| 277 "httpMethod": "GET", | 277 "httpMethod": "GET", |
| 278 "id": "youtubereporting.jobs.reports.list", | 278 "id": "youtubereporting.jobs.reports.list", |
| 279 "parameterOrder": [ | 279 "parameterOrder": [ |
| 280 "jobId" | 280 "jobId" |
| 281 ], | 281 ], |
| 282 "parameters": { | 282 "parameters": { |
| 283 "startTimeBefore": { |
| 284 "description": "If set, only reports whose s
tart time is smaller than the specified\ndate/time are returned.", |
| 285 "format": "google-datetime", |
| 286 "location": "query", |
| 287 "type": "string" |
| 288 }, |
| 283 "jobId": { | 289 "jobId": { |
| 284 "description": "The ID of the job.", | 290 "description": "The ID of the job.", |
| 285 "location": "path", | 291 "location": "path", |
| 286 "required": true, | 292 "required": true, |
| 287 "type": "string" | 293 "type": "string" |
| 288 }, | 294 }, |
| 289 "createdAfter": { | 295 "createdAfter": { |
| 290 "description": "If set, only reports created
after the specified date/time are returned.", | 296 "description": "If set, only reports created
after the specified date/time are returned.", |
| 291 "format": "google-datetime", | 297 "format": "google-datetime", |
| 292 "location": "query", | 298 "location": "query", |
| 293 "type": "string" | 299 "type": "string" |
| 294 }, | 300 }, |
| 295 "pageToken": { | |
| 296 "description": "A token identifying a page o
f results the server should return. Typically,\nthis is the value of\nListReport
sResponse.next_page_token\nreturned in response to the previous call to the `Lis
tReports` method.", | |
| 297 "location": "query", | |
| 298 "type": "string" | |
| 299 }, | |
| 300 "startTimeAtOrAfter": { | 301 "startTimeAtOrAfter": { |
| 301 "description": "If set, only reports whose s
tart time is greater than or equal the\nspecified date/time are returned.", | 302 "description": "If set, only reports whose s
tart time is greater than or equal the\nspecified date/time are returned.", |
| 302 "format": "google-datetime", | 303 "format": "google-datetime", |
| 303 "location": "query", | 304 "location": "query", |
| 304 "type": "string" | 305 "type": "string" |
| 305 }, | 306 }, |
| 307 "pageToken": { |
| 308 "description": "A token identifying a page o
f results the server should return. Typically,\nthis is the value of\nListReport
sResponse.next_page_token\nreturned in response to the previous call to the `Lis
tReports` method.", |
| 309 "location": "query", |
| 310 "type": "string" |
| 311 }, |
| 306 "pageSize": { | 312 "pageSize": { |
| 307 "description": "Requested page size. Server
may return fewer report types than requested.\nIf unspecified, server will pick
an appropriate default.", | 313 "description": "Requested page size. Server
may return fewer report types than requested.\nIf unspecified, server will pick
an appropriate default.", |
| 308 "format": "int32", | 314 "format": "int32", |
| 309 "location": "query", | 315 "location": "query", |
| 310 "type": "integer" | 316 "type": "integer" |
| 311 }, | 317 }, |
| 312 "onBehalfOfContentOwner": { | 318 "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).", | 319 "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", | 320 "location": "query", |
| 315 "type": "string" | 321 "type": "string" |
| 316 }, | |
| 317 "startTimeBefore": { | |
| 318 "description": "If set, only reports whose s
tart time is smaller than the specified\ndate/time are returned.", | |
| 319 "format": "google-datetime", | |
| 320 "location": "query", | |
| 321 "type": "string" | |
| 322 } | 322 } |
| 323 }, | 323 }, |
| 324 "path": "v1/jobs/{jobId}/reports", | 324 "path": "v1/jobs/{jobId}/reports", |
| 325 "response": { | 325 "response": { |
| 326 "$ref": "ListReportsResponse" | 326 "$ref": "ListReportsResponse" |
| 327 }, | 327 }, |
| 328 "scopes": [ | 328 "scopes": [ |
| 329 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", | 329 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 330 "https://www.googleapis.com/auth/yt-analytics.re
adonly" | 330 "https://www.googleapis.com/auth/yt-analytics.re
adonly" |
| 331 ] | 331 ] |
| 332 }, | 332 }, |
| 333 "get": { | 333 "get": { |
| 334 "description": "Gets the metadata of a specific repo
rt.", | 334 "description": "Gets the metadata of a specific repo
rt.", |
| 335 "httpMethod": "GET", | 335 "httpMethod": "GET", |
| 336 "id": "youtubereporting.jobs.reports.get", | 336 "id": "youtubereporting.jobs.reports.get", |
| 337 "parameterOrder": [ | 337 "parameterOrder": [ |
| 338 "jobId", | 338 "jobId", |
| 339 "reportId" | 339 "reportId" |
| 340 ], | 340 ], |
| 341 "parameters": { | 341 "parameters": { |
| 342 "reportId": { | |
| 343 "description": "The ID of the report to retr
ieve.", | |
| 344 "location": "path", | |
| 345 "required": true, | |
| 346 "type": "string" | |
| 347 }, | |
| 348 "jobId": { | 342 "jobId": { |
| 349 "description": "The ID of the job.", | 343 "description": "The ID of the job.", |
| 350 "location": "path", | 344 "location": "path", |
| 351 "required": true, | 345 "required": true, |
| 352 "type": "string" | 346 "type": "string" |
| 353 }, | 347 }, |
| 354 "onBehalfOfContentOwner": { | 348 "onBehalfOfContentOwner": { |
| 355 "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).", |
| 356 "location": "query", | 350 "location": "query", |
| 357 "type": "string" | 351 "type": "string" |
| 352 }, |
| 353 "reportId": { |
| 354 "description": "The ID of the report to retr
ieve.", |
| 355 "location": "path", |
| 356 "required": true, |
| 357 "type": "string" |
| 358 } | 358 } |
| 359 }, | 359 }, |
| 360 "path": "v1/jobs/{jobId}/reports/{reportId}", | 360 "path": "v1/jobs/{jobId}/reports/{reportId}", |
| 361 "response": { | 361 "response": { |
| 362 "$ref": "Report" | 362 "$ref": "Report" |
| 363 }, | 363 }, |
| 364 "scopes": [ | 364 "scopes": [ |
| 365 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", | 365 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 366 "https://www.googleapis.com/auth/yt-analytics.re
adonly" | 366 "https://www.googleapis.com/auth/yt-analytics.re
adonly" |
| 367 ] | 367 ] |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 "$ref": "ListReportTypesResponse" | 405 "$ref": "ListReportTypesResponse" |
| 406 }, | 406 }, |
| 407 "scopes": [ | 407 "scopes": [ |
| 408 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 408 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 409 "https://www.googleapis.com/auth/yt-analytics.readonly" | 409 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 410 ] | 410 ] |
| 411 } | 411 } |
| 412 } | 412 } |
| 413 } | 413 } |
| 414 }, | 414 }, |
| 415 "revision": "20170522", | 415 "revision": "20170611", |
| 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 "nextPageToken": { | |
| 423 "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.", | |
| 424 "type": "string" | |
| 425 }, | |
| 426 "jobs": { | |
| 427 "description": "The list of jobs.", | |
| 428 "items": { | |
| 429 "$ref": "Job" | |
| 430 }, | |
| 431 "type": "array" | |
| 432 } | |
| 433 }, | |
| 434 "type": "object" | |
| 435 }, | |
| 436 "Job": { | |
| 437 "description": "A job creating reports of a specific type.", | |
| 438 "id": "Job", | |
| 439 "properties": { | |
| 440 "id": { | |
| 441 "description": "The server-generated ID of the job (max. 40
characters).", | |
| 442 "type": "string" | |
| 443 }, | |
| 444 "systemManaged": { | |
| 445 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", | |
| 446 "type": "boolean" | |
| 447 }, | |
| 448 "createTime": { | |
| 449 "description": "The creation date/time of the job.", | |
| 450 "format": "google-datetime", | |
| 451 "type": "string" | |
| 452 }, | |
| 453 "reportTypeId": { | |
| 454 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", | |
| 455 "type": "string" | |
| 456 }, | |
| 457 "expireTime": { | |
| 458 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", | |
| 459 "format": "google-datetime", | |
| 460 "type": "string" | |
| 461 }, | |
| 462 "name": { | |
| 463 "description": "The name of the job (max. 100 characters).", | |
| 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 }, | |
| 487 "Media": { | 418 "Media": { |
| 488 "description": "Media resource.", | 419 "description": "Media resource.", |
| 489 "id": "Media", | 420 "id": "Media", |
| 490 "properties": { | 421 "properties": { |
| 491 "resourceName": { | 422 "resourceName": { |
| 492 "description": "Name of the media resource.", | 423 "description": "Name of the media resource.", |
| 493 "type": "string" | 424 "type": "string" |
| 494 } | 425 } |
| 495 }, | 426 }, |
| 496 "type": "object" | 427 "type": "object" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 "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.", | 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.", |
| 535 "type": "string" | 466 "type": "string" |
| 536 } | 467 } |
| 537 }, | 468 }, |
| 538 "type": "object" | 469 "type": "object" |
| 539 }, | 470 }, |
| 540 "Report": { | 471 "Report": { |
| 541 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", | 472 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", |
| 542 "id": "Report", | 473 "id": "Report", |
| 543 "properties": { | 474 "properties": { |
| 475 "jobId": { |
| 476 "description": "The ID of the job that created this report."
, |
| 477 "type": "string" |
| 478 }, |
| 479 "id": { |
| 480 "description": "The server-generated ID of the report.", |
| 481 "type": "string" |
| 482 }, |
| 544 "jobExpireTime": { | 483 "jobExpireTime": { |
| 545 "description": "The date/time when the job this report belon
gs to will expire/expired.", | 484 "description": "The date/time when the job this report belon
gs to will expire/expired.", |
| 546 "format": "google-datetime", | 485 "format": "google-datetime", |
| 547 "type": "string" | 486 "type": "string" |
| 548 }, | 487 }, |
| 549 "endTime": { | 488 "endTime": { |
| 550 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", | 489 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", |
| 551 "format": "google-datetime", | 490 "format": "google-datetime", |
| 552 "type": "string" | 491 "type": "string" |
| 553 }, | 492 }, |
| 554 "downloadUrl": { | 493 "downloadUrl": { |
| 555 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", | 494 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", |
| 556 "type": "string" | 495 "type": "string" |
| 557 }, | 496 }, |
| 558 "startTime": { | 497 "startTime": { |
| 559 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", | 498 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", |
| 560 "format": "google-datetime", | 499 "format": "google-datetime", |
| 561 "type": "string" | 500 "type": "string" |
| 562 }, | 501 }, |
| 563 "createTime": { | 502 "createTime": { |
| 564 "description": "The date/time when this report was created."
, | 503 "description": "The date/time when this report was created."
, |
| 565 "format": "google-datetime", | 504 "format": "google-datetime", |
| 566 "type": "string" | 505 "type": "string" |
| 567 }, | |
| 568 "jobId": { | |
| 569 "description": "The ID of the job that created this report."
, | |
| 570 "type": "string" | |
| 571 }, | |
| 572 "id": { | |
| 573 "description": "The server-generated ID of the report.", | |
| 574 "type": "string" | |
| 575 } | 506 } |
| 576 }, | 507 }, |
| 577 "type": "object" | 508 "type": "object" |
| 578 }, | 509 }, |
| 579 "Empty": { | 510 "Empty": { |
| 580 "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 `{}`.", | 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 `{}`.", |
| 581 "id": "Empty", | 512 "id": "Empty", |
| 582 "properties": {}, | 513 "properties": {}, |
| 583 "type": "object" | 514 "type": "object" |
| 515 }, |
| 516 "ListJobsResponse": { |
| 517 "description": "Response message for ReportingService.ListJobs.", |
| 518 "id": "ListJobsResponse", |
| 519 "properties": { |
| 520 "jobs": { |
| 521 "description": "The list of jobs.", |
| 522 "items": { |
| 523 "$ref": "Job" |
| 524 }, |
| 525 "type": "array" |
| 526 }, |
| 527 "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.", |
| 529 "type": "string" |
| 530 } |
| 531 }, |
| 532 "type": "object" |
| 533 }, |
| 534 "Job": { |
| 535 "description": "A job creating reports of a specific type.", |
| 536 "id": "Job", |
| 537 "properties": { |
| 538 "id": { |
| 539 "description": "The server-generated ID of the job (max. 40
characters).", |
| 540 "type": "string" |
| 541 }, |
| 542 "systemManaged": { |
| 543 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", |
| 544 "type": "boolean" |
| 545 }, |
| 546 "createTime": { |
| 547 "description": "The creation date/time of the job.", |
| 548 "format": "google-datetime", |
| 549 "type": "string" |
| 550 }, |
| 551 "reportTypeId": { |
| 552 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", |
| 553 "type": "string" |
| 554 }, |
| 555 "expireTime": { |
| 556 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", |
| 557 "format": "google-datetime", |
| 558 "type": "string" |
| 559 }, |
| 560 "name": { |
| 561 "description": "The name of the job (max. 100 characters).", |
| 562 "type": "string" |
| 563 } |
| 564 }, |
| 565 "type": "object" |
| 566 }, |
| 567 "ListReportsResponse": { |
| 568 "description": "Response message for ReportingService.ListReports.", |
| 569 "id": "ListReportsResponse", |
| 570 "properties": { |
| 571 "nextPageToken": { |
| 572 "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.", |
| 573 "type": "string" |
| 574 }, |
| 575 "reports": { |
| 576 "description": "The list of report types.", |
| 577 "items": { |
| 578 "$ref": "Report" |
| 579 }, |
| 580 "type": "array" |
| 581 } |
| 582 }, |
| 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 |