| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { |
| 6 "description": "View monetary and non-monetary YouTube Analy
tics reports for your YouTube content" |
| 7 }, |
| 5 "https://www.googleapis.com/auth/yt-analytics.readonly": { | 8 "https://www.googleapis.com/auth/yt-analytics.readonly": { |
| 6 "description": "View YouTube Analytics reports for your YouT
ube content" | 9 "description": "View YouTube Analytics reports for your YouT
ube content" |
| 7 }, | |
| 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" | |
| 10 } | 10 } |
| 11 } | 11 } |
| 12 } | 12 } |
| 13 }, | 13 }, |
| 14 "basePath": "", | 14 "basePath": "", |
| 15 "baseUrl": "https://youtubereporting.googleapis.com/", | 15 "baseUrl": "https://youtubereporting.googleapis.com/", |
| 16 "batchPath": "batch", | 16 "batchPath": "batch", |
| 17 "canonicalName": "YouTube Reporting", | 17 "canonicalName": "YouTube Reporting", |
| 18 "description": "Schedules reporting jobs containing your YouTube Analytics d
ata and downloads the resulting bulk data reports in the form of CSV files.", | 18 "description": "Schedules reporting jobs containing your YouTube Analytics d
ata and downloads the resulting bulk data reports in the form of CSV files.", |
| 19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
| 20 "documentationLink": "https://developers.google.com/youtube/reporting/v1/rep
orts/", | 20 "documentationLink": "https://developers.google.com/youtube/reporting/v1/rep
orts/", |
| 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 "upload_protocol": { |
| 32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 36 "prettyPrint": { |
| 37 "default": "true", |
| 38 "description": "Returns response with indentations and line breaks."
, |
| 39 "location": "query", |
| 40 "type": "boolean" |
| 41 }, |
| 42 "uploadType": { |
| 43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 44 "location": "query", |
| 45 "type": "string" |
| 46 }, |
| 47 "fields": { |
| 48 "description": "Selector specifying which fields to include in a par
tial response.", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
| 52 "callback": { |
| 53 "description": "JSONP", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
| 31 "$.xgafv": { | 57 "$.xgafv": { |
| 32 "description": "V1 error format.", | 58 "description": "V1 error format.", |
| 33 "enum": [ | 59 "enum": [ |
| 34 "1", | 60 "1", |
| 35 "2" | 61 "2" |
| 36 ], | 62 ], |
| 37 "enumDescriptions": [ | 63 "enumDescriptions": [ |
| 38 "v1 error format", | 64 "v1 error format", |
| 39 "v2 error format" | 65 "v2 error format" |
| 40 ], | 66 ], |
| 41 "location": "query", | 67 "location": "query", |
| 42 "type": "string" | 68 "type": "string" |
| 43 }, | 69 }, |
| 44 "callback": { | |
| 45 "description": "JSONP", | |
| 46 "location": "query", | |
| 47 "type": "string" | |
| 48 }, | |
| 49 "alt": { | 70 "alt": { |
| 50 "default": "json", | 71 "default": "json", |
| 51 "description": "Data format for response.", | 72 "description": "Data format for response.", |
| 52 "enum": [ | 73 "enum": [ |
| 53 "json", | 74 "json", |
| 54 "media", | 75 "media", |
| 55 "proto" | 76 "proto" |
| 56 ], | 77 ], |
| 57 "enumDescriptions": [ | 78 "enumDescriptions": [ |
| 58 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
| 59 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
| 60 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
| 61 ], | 82 ], |
| 62 "location": "query", | 83 "location": "query", |
| 63 "type": "string" | 84 "type": "string" |
| 64 }, | 85 }, |
| 86 "access_token": { |
| 87 "description": "OAuth access token.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
| 65 "key": { | 91 "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.", | 92 "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", | 93 "location": "query", |
| 68 "type": "string" | 94 "type": "string" |
| 69 }, | 95 }, |
| 70 "access_token": { | |
| 71 "description": "OAuth access token.", | |
| 72 "location": "query", | |
| 73 "type": "string" | |
| 74 }, | |
| 75 "quotaUser": { | 96 "quotaUser": { |
| 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.", | 97 "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.", |
| 77 "location": "query", | 98 "location": "query", |
| 78 "type": "string" | 99 "type": "string" |
| 79 }, | 100 }, |
| 80 "pp": { | 101 "pp": { |
| 81 "default": "true", | 102 "default": "true", |
| 82 "description": "Pretty-print response.", | 103 "description": "Pretty-print response.", |
| 83 "location": "query", | 104 "location": "query", |
| 84 "type": "boolean" | 105 "type": "boolean" |
| 85 }, | 106 }, |
| 86 "oauth_token": { | 107 "oauth_token": { |
| 87 "description": "OAuth 2.0 token for the current user.", | 108 "description": "OAuth 2.0 token for the current user.", |
| 88 "location": "query", | 109 "location": "query", |
| 89 "type": "string" | 110 "type": "string" |
| 90 }, | 111 }, |
| 91 "bearer_token": { | 112 "bearer_token": { |
| 92 "description": "OAuth bearer token.", | 113 "description": "OAuth bearer token.", |
| 93 "location": "query", | 114 "location": "query", |
| 94 "type": "string" | 115 "type": "string" |
| 95 }, | |
| 96 "upload_protocol": { | |
| 97 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
| 98 "location": "query", | |
| 99 "type": "string" | |
| 100 }, | |
| 101 "prettyPrint": { | |
| 102 "default": "true", | |
| 103 "description": "Returns response with indentations and line breaks."
, | |
| 104 "location": "query", | |
| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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": { | |
| 182 "description": "Lists jobs.", | |
| 183 "httpMethod": "GET", | |
| 184 "id": "youtubereporting.jobs.list", | |
| 185 "parameterOrder": [], | |
| 186 "parameters": { | |
| 187 "pageToken": { | |
| 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.", | |
| 189 "location": "query", | |
| 190 "type": "string" | |
| 191 }, | |
| 192 "includeSystemManaged": { | |
| 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.", | |
| 194 "location": "query", | |
| 195 "type": "boolean" | |
| 196 }, | |
| 197 "pageSize": { | |
| 198 "description": "Requested page size. Server may retu
rn fewer jobs than requested.\nIf unspecified, server will pick an appropriate d
efault.", | |
| 199 "format": "int32", | |
| 200 "location": "query", | |
| 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 } | |
| 208 }, | |
| 209 "path": "v1/jobs", | |
| 210 "response": { | |
| 211 "$ref": "ListJobsResponse" | |
| 212 }, | |
| 213 "scopes": [ | |
| 214 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | |
| 215 "https://www.googleapis.com/auth/yt-analytics.readonly" | |
| 216 ] | |
| 217 }, | |
| 218 "get": { | 181 "get": { |
| 219 "description": "Gets a job.", | 182 "description": "Gets a job.", |
| 220 "httpMethod": "GET", | 183 "httpMethod": "GET", |
| 221 "id": "youtubereporting.jobs.get", | 184 "id": "youtubereporting.jobs.get", |
| 222 "parameterOrder": [ | 185 "parameterOrder": [ |
| 223 "jobId" | 186 "jobId" |
| 224 ], | 187 ], |
| 225 "parameters": { | 188 "parameters": { |
| 226 "jobId": { | 189 "jobId": { |
| 227 "description": "The ID of the job to retrieve.", | 190 "description": "The ID of the job to retrieve.", |
| 228 "location": "path", | 191 "location": "path", |
| 229 "required": true, | 192 "required": true, |
| 230 "type": "string" | 193 "type": "string" |
| 231 }, | 194 }, |
| 232 "onBehalfOfContentOwner": { | 195 "onBehalfOfContentOwner": { |
| 233 "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).", | 196 "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).", |
| 234 "location": "query", | 197 "location": "query", |
| 235 "type": "string" | 198 "type": "string" |
| 236 } | 199 } |
| 237 }, | 200 }, |
| 238 "path": "v1/jobs/{jobId}", | 201 "path": "v1/jobs/{jobId}", |
| 239 "response": { | 202 "response": { |
| 240 "$ref": "Job" | 203 "$ref": "Job" |
| 241 }, | 204 }, |
| 242 "scopes": [ | 205 "scopes": [ |
| 243 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 206 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 207 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 208 ] |
| 209 }, |
| 210 "list": { |
| 211 "description": "Lists jobs.", |
| 212 "httpMethod": "GET", |
| 213 "id": "youtubereporting.jobs.list", |
| 214 "parameterOrder": [], |
| 215 "parameters": { |
| 216 "onBehalfOfContentOwner": { |
| 217 "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).", |
| 218 "location": "query", |
| 219 "type": "string" |
| 220 }, |
| 221 "includeSystemManaged": { |
| 222 "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.", |
| 223 "location": "query", |
| 224 "type": "boolean" |
| 225 }, |
| 226 "pageToken": { |
| 227 "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.", |
| 228 "location": "query", |
| 229 "type": "string" |
| 230 }, |
| 231 "pageSize": { |
| 232 "description": "Requested page size. Server may retu
rn fewer jobs than requested.\nIf unspecified, server will pick an appropriate d
efault.", |
| 233 "format": "int32", |
| 234 "location": "query", |
| 235 "type": "integer" |
| 236 } |
| 237 }, |
| 238 "path": "v1/jobs", |
| 239 "response": { |
| 240 "$ref": "ListJobsResponse" |
| 241 }, |
| 242 "scopes": [ |
| 243 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 244 "https://www.googleapis.com/auth/yt-analytics.readonly" | 244 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 245 ] | 245 ] |
| 246 }, | 246 }, |
| 247 "create": { | 247 "create": { |
| 248 "description": "Creates a job and returns it.", | 248 "description": "Creates a job and returns it.", |
| 249 "httpMethod": "POST", | 249 "httpMethod": "POST", |
| 250 "id": "youtubereporting.jobs.create", | 250 "id": "youtubereporting.jobs.create", |
| 251 "parameterOrder": [], | 251 "parameterOrder": [], |
| 252 "parameters": { | 252 "parameters": { |
| 253 "onBehalfOfContentOwner": { | 253 "onBehalfOfContentOwner": { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 265 }, | 265 }, |
| 266 "scopes": [ | 266 "scopes": [ |
| 267 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 267 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 268 "https://www.googleapis.com/auth/yt-analytics.readonly" | 268 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 269 ] | 269 ] |
| 270 } | 270 } |
| 271 }, | 271 }, |
| 272 "resources": { | 272 "resources": { |
| 273 "reports": { | 273 "reports": { |
| 274 "methods": { | 274 "methods": { |
| 275 "get": { |
| 276 "description": "Gets the metadata of a specific repo
rt.", |
| 277 "httpMethod": "GET", |
| 278 "id": "youtubereporting.jobs.reports.get", |
| 279 "parameterOrder": [ |
| 280 "jobId", |
| 281 "reportId" |
| 282 ], |
| 283 "parameters": { |
| 284 "reportId": { |
| 285 "description": "The ID of the report to retr
ieve.", |
| 286 "location": "path", |
| 287 "required": true, |
| 288 "type": "string" |
| 289 }, |
| 290 "jobId": { |
| 291 "description": "The ID of the job.", |
| 292 "location": "path", |
| 293 "required": true, |
| 294 "type": "string" |
| 295 }, |
| 296 "onBehalfOfContentOwner": { |
| 297 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", |
| 298 "location": "query", |
| 299 "type": "string" |
| 300 } |
| 301 }, |
| 302 "path": "v1/jobs/{jobId}/reports/{reportId}", |
| 303 "response": { |
| 304 "$ref": "Report" |
| 305 }, |
| 306 "scopes": [ |
| 307 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 308 "https://www.googleapis.com/auth/yt-analytics.re
adonly" |
| 309 ] |
| 310 }, |
| 275 "list": { | 311 "list": { |
| 276 "description": "Lists reports created by a specific
job.\nReturns NOT_FOUND if the job does not exist.", | 312 "description": "Lists reports created by a specific
job.\nReturns NOT_FOUND if the job does not exist.", |
| 277 "httpMethod": "GET", | 313 "httpMethod": "GET", |
| 278 "id": "youtubereporting.jobs.reports.list", | 314 "id": "youtubereporting.jobs.reports.list", |
| 279 "parameterOrder": [ | 315 "parameterOrder": [ |
| 280 "jobId" | 316 "jobId" |
| 281 ], | 317 ], |
| 282 "parameters": { | 318 "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 }, | |
| 289 "jobId": { | 319 "jobId": { |
| 290 "description": "The ID of the job.", | 320 "description": "The ID of the job.", |
| 291 "location": "path", | 321 "location": "path", |
| 292 "required": true, | 322 "required": true, |
| 293 "type": "string" | 323 "type": "string" |
| 294 }, | 324 }, |
| 295 "createdAfter": { | 325 "createdAfter": { |
| 296 "description": "If set, only reports created
after the specified date/time are returned.", | 326 "description": "If set, only reports created
after the specified date/time are returned.", |
| 297 "format": "google-datetime", | 327 "format": "google-datetime", |
| 298 "location": "query", | 328 "location": "query", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 312 "pageSize": { | 342 "pageSize": { |
| 313 "description": "Requested page size. Server
may return fewer report types than requested.\nIf unspecified, server will pick
an appropriate default.", | 343 "description": "Requested page size. Server
may return fewer report types than requested.\nIf unspecified, server will pick
an appropriate default.", |
| 314 "format": "int32", | 344 "format": "int32", |
| 315 "location": "query", | 345 "location": "query", |
| 316 "type": "integer" | 346 "type": "integer" |
| 317 }, | 347 }, |
| 318 "onBehalfOfContentOwner": { | 348 "onBehalfOfContentOwner": { |
| 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).", | 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).", |
| 320 "location": "query", | 350 "location": "query", |
| 321 "type": "string" | 351 "type": "string" |
| 352 }, |
| 353 "startTimeBefore": { |
| 354 "description": "If set, only reports whose s
tart time is smaller than the specified\ndate/time are returned.", |
| 355 "format": "google-datetime", |
| 356 "location": "query", |
| 357 "type": "string" |
| 322 } | 358 } |
| 323 }, | 359 }, |
| 324 "path": "v1/jobs/{jobId}/reports", | 360 "path": "v1/jobs/{jobId}/reports", |
| 325 "response": { | 361 "response": { |
| 326 "$ref": "ListReportsResponse" | 362 "$ref": "ListReportsResponse" |
| 327 }, | 363 }, |
| 328 "scopes": [ | 364 "scopes": [ |
| 329 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", | 365 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 330 "https://www.googleapis.com/auth/yt-analytics.re
adonly" | |
| 331 ] | |
| 332 }, | |
| 333 "get": { | |
| 334 "description": "Gets the metadata of a specific repo
rt.", | |
| 335 "httpMethod": "GET", | |
| 336 "id": "youtubereporting.jobs.reports.get", | |
| 337 "parameterOrder": [ | |
| 338 "jobId", | |
| 339 "reportId" | |
| 340 ], | |
| 341 "parameters": { | |
| 342 "jobId": { | |
| 343 "description": "The ID of the job.", | |
| 344 "location": "path", | |
| 345 "required": true, | |
| 346 "type": "string" | |
| 347 }, | |
| 348 "onBehalfOfContentOwner": { | |
| 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).", | |
| 350 "location": "query", | |
| 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 } | |
| 359 }, | |
| 360 "path": "v1/jobs/{jobId}/reports/{reportId}", | |
| 361 "response": { | |
| 362 "$ref": "Report" | |
| 363 }, | |
| 364 "scopes": [ | |
| 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 ] |
| 368 } | 368 } |
| 369 } | 369 } |
| 370 } | 370 } |
| 371 } | 371 } |
| 372 }, | 372 }, |
| 373 "reportTypes": { | 373 "reportTypes": { |
| 374 "methods": { | 374 "methods": { |
| 375 "list": { | 375 "list": { |
| 376 "description": "Lists report types.", | 376 "description": "Lists report types.", |
| 377 "httpMethod": "GET", | 377 "httpMethod": "GET", |
| 378 "id": "youtubereporting.reportTypes.list", | 378 "id": "youtubereporting.reportTypes.list", |
| 379 "parameterOrder": [], | 379 "parameterOrder": [], |
| 380 "parameters": { | 380 "parameters": { |
| 381 "includeSystemManaged": { |
| 382 "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.", |
| 383 "location": "query", |
| 384 "type": "boolean" |
| 385 }, |
| 381 "pageToken": { | 386 "pageToken": { |
| 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.", | 387 "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.", |
| 383 "location": "query", | 388 "location": "query", |
| 384 "type": "string" | 389 "type": "string" |
| 385 }, | 390 }, |
| 386 "includeSystemManaged": { | |
| 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.", | |
| 388 "location": "query", | |
| 389 "type": "boolean" | |
| 390 }, | |
| 391 "pageSize": { | 391 "pageSize": { |
| 392 "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.", |
| 393 "format": "int32", | 393 "format": "int32", |
| 394 "location": "query", | 394 "location": "query", |
| 395 "type": "integer" | 395 "type": "integer" |
| 396 }, | 396 }, |
| 397 "onBehalfOfContentOwner": { | 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).", | 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", | 399 "location": "query", |
| 400 "type": "string" | 400 "type": "string" |
| 401 } | 401 } |
| 402 }, | 402 }, |
| 403 "path": "v1/reportTypes", | 403 "path": "v1/reportTypes", |
| 404 "response": { | 404 "response": { |
| 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": "20170611", | 415 "revision": "20170709", |
| 416 "rootUrl": "https://youtubereporting.googleapis.com/", | 416 "rootUrl": "https://youtubereporting.googleapis.com/", |
| 417 "schemas": { | 417 "schemas": { |
| 418 "Job": { |
| 419 "description": "A job creating reports of a specific type.", |
| 420 "id": "Job", |
| 421 "properties": { |
| 422 "createTime": { |
| 423 "description": "The creation date/time of the job.", |
| 424 "format": "google-datetime", |
| 425 "type": "string" |
| 426 }, |
| 427 "reportTypeId": { |
| 428 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", |
| 429 "type": "string" |
| 430 }, |
| 431 "expireTime": { |
| 432 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", |
| 433 "format": "google-datetime", |
| 434 "type": "string" |
| 435 }, |
| 436 "name": { |
| 437 "description": "The name of the job (max. 100 characters).", |
| 438 "type": "string" |
| 439 }, |
| 440 "systemManaged": { |
| 441 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", |
| 442 "type": "boolean" |
| 443 }, |
| 444 "id": { |
| 445 "description": "The server-generated ID of the job (max. 40
characters).", |
| 446 "type": "string" |
| 447 } |
| 448 }, |
| 449 "type": "object" |
| 450 }, |
| 451 "ListReportsResponse": { |
| 452 "description": "Response message for ReportingService.ListReports.", |
| 453 "id": "ListReportsResponse", |
| 454 "properties": { |
| 455 "nextPageToken": { |
| 456 "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.", |
| 457 "type": "string" |
| 458 }, |
| 459 "reports": { |
| 460 "description": "The list of report types.", |
| 461 "items": { |
| 462 "$ref": "Report" |
| 463 }, |
| 464 "type": "array" |
| 465 } |
| 466 }, |
| 467 "type": "object" |
| 468 }, |
| 418 "Media": { | 469 "Media": { |
| 419 "description": "Media resource.", | 470 "description": "Media resource.", |
| 420 "id": "Media", | 471 "id": "Media", |
| 421 "properties": { | 472 "properties": { |
| 422 "resourceName": { | 473 "resourceName": { |
| 423 "description": "Name of the media resource.", | 474 "description": "Name of the media resource.", |
| 424 "type": "string" | 475 "type": "string" |
| 425 } | 476 } |
| 426 }, | 477 }, |
| 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" | 478 "type": "object" |
| 470 }, | 479 }, |
| 471 "Report": { | 480 "Report": { |
| 472 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", | 481 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", |
| 473 "id": "Report", | 482 "id": "Report", |
| 474 "properties": { | 483 "properties": { |
| 475 "jobId": { | 484 "jobId": { |
| 476 "description": "The ID of the job that created this report."
, | 485 "description": "The ID of the job that created this report."
, |
| 477 "type": "string" | 486 "type": "string" |
| 478 }, | 487 }, |
| 479 "id": { | 488 "id": { |
| 480 "description": "The server-generated ID of the report.", | 489 "description": "The server-generated ID of the report.", |
| 481 "type": "string" | 490 "type": "string" |
| 482 }, | 491 }, |
| 492 "endTime": { |
| 493 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", |
| 494 "format": "google-datetime", |
| 495 "type": "string" |
| 496 }, |
| 483 "jobExpireTime": { | 497 "jobExpireTime": { |
| 484 "description": "The date/time when the job this report belon
gs to will expire/expired.", | 498 "description": "The date/time when the job this report belon
gs to will expire/expired.", |
| 485 "format": "google-datetime", | 499 "format": "google-datetime", |
| 486 "type": "string" | 500 "type": "string" |
| 487 }, | 501 }, |
| 488 "endTime": { | |
| 489 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", | |
| 490 "format": "google-datetime", | |
| 491 "type": "string" | |
| 492 }, | |
| 493 "downloadUrl": { | 502 "downloadUrl": { |
| 494 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", | 503 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", |
| 495 "type": "string" | 504 "type": "string" |
| 496 }, | 505 }, |
| 497 "startTime": { | 506 "startTime": { |
| 498 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", | 507 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", |
| 499 "format": "google-datetime", | 508 "format": "google-datetime", |
| 500 "type": "string" | 509 "type": "string" |
| 501 }, | 510 }, |
| 502 "createTime": { | 511 "createTime": { |
| 503 "description": "The date/time when this report was created."
, | 512 "description": "The date/time when this report was created."
, |
| 504 "format": "google-datetime", | 513 "format": "google-datetime", |
| 505 "type": "string" | 514 "type": "string" |
| 506 } | 515 } |
| 507 }, | 516 }, |
| 508 "type": "object" | 517 "type": "object" |
| 509 }, | 518 }, |
| 510 "Empty": { | 519 "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 `{}`.", | 520 "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", | 521 "id": "Empty", |
| 513 "properties": {}, | 522 "properties": {}, |
| 514 "type": "object" | 523 "type": "object" |
| 515 }, | 524 }, |
| 525 "ListReportTypesResponse": { |
| 526 "description": "Response message for ReportingService.ListReportType
s.", |
| 527 "id": "ListReportTypesResponse", |
| 528 "properties": { |
| 529 "reportTypes": { |
| 530 "description": "The list of report types.", |
| 531 "items": { |
| 532 "$ref": "ReportType" |
| 533 }, |
| 534 "type": "array" |
| 535 }, |
| 536 "nextPageToken": { |
| 537 "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.", |
| 538 "type": "string" |
| 539 } |
| 540 }, |
| 541 "type": "object" |
| 542 }, |
| 543 "ReportType": { |
| 544 "description": "A report type.", |
| 545 "id": "ReportType", |
| 546 "properties": { |
| 547 "systemManaged": { |
| 548 "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.", |
| 549 "type": "boolean" |
| 550 }, |
| 551 "id": { |
| 552 "description": "The ID of the report type (max. 100 characte
rs).", |
| 553 "type": "string" |
| 554 }, |
| 555 "deprecateTime": { |
| 556 "description": "The date/time when this report type was/will
be deprecated.", |
| 557 "format": "google-datetime", |
| 558 "type": "string" |
| 559 }, |
| 560 "name": { |
| 561 "description": "The name of the report type (max. 100 charac
ters).", |
| 562 "type": "string" |
| 563 } |
| 564 }, |
| 565 "type": "object" |
| 566 }, |
| 516 "ListJobsResponse": { | 567 "ListJobsResponse": { |
| 517 "description": "Response message for ReportingService.ListJobs.", | 568 "description": "Response message for ReportingService.ListJobs.", |
| 518 "id": "ListJobsResponse", | 569 "id": "ListJobsResponse", |
| 519 "properties": { | 570 "properties": { |
| 571 "nextPageToken": { |
| 572 "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.", |
| 573 "type": "string" |
| 574 }, |
| 520 "jobs": { | 575 "jobs": { |
| 521 "description": "The list of jobs.", | 576 "description": "The list of jobs.", |
| 522 "items": { | 577 "items": { |
| 523 "$ref": "Job" | 578 "$ref": "Job" |
| 524 }, | 579 }, |
| 525 "type": "array" | 580 "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 } | 581 } |
| 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 }, | 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 |