| 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": { |
| 6 "description": "View YouTube Analytics reports for your YouT
ube content" |
| 7 }, |
| 5 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { | 8 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { |
| 6 "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" |
| 7 }, | |
| 8 "https://www.googleapis.com/auth/yt-analytics.readonly": { | |
| 9 "description": "View YouTube Analytics reports for your YouT
ube 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", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 "uploadType": { | 42 "uploadType": { |
| 43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 44 "location": "query", | 44 "location": "query", |
| 45 "type": "string" | 45 "type": "string" |
| 46 }, | 46 }, |
| 47 "fields": { | 47 "fields": { |
| 48 "description": "Selector specifying which fields to include in a par
tial response.", | 48 "description": "Selector specifying which fields to include in a par
tial response.", |
| 49 "location": "query", | 49 "location": "query", |
| 50 "type": "string" | 50 "type": "string" |
| 51 }, | 51 }, |
| 52 "callback": { | |
| 53 "description": "JSONP", | |
| 54 "location": "query", | |
| 55 "type": "string" | |
| 56 }, | |
| 57 "$.xgafv": { | 52 "$.xgafv": { |
| 58 "description": "V1 error format.", | 53 "description": "V1 error format.", |
| 59 "enum": [ | 54 "enum": [ |
| 60 "1", | 55 "1", |
| 61 "2" | 56 "2" |
| 62 ], | 57 ], |
| 63 "enumDescriptions": [ | 58 "enumDescriptions": [ |
| 64 "v1 error format", | 59 "v1 error format", |
| 65 "v2 error format" | 60 "v2 error format" |
| 66 ], | 61 ], |
| 67 "location": "query", | 62 "location": "query", |
| 68 "type": "string" | 63 "type": "string" |
| 69 }, | 64 }, |
| 65 "callback": { |
| 66 "description": "JSONP", |
| 67 "location": "query", |
| 68 "type": "string" |
| 69 }, |
| 70 "alt": { | 70 "alt": { |
| 71 "default": "json", | 71 "default": "json", |
| 72 "description": "Data format for response.", | 72 "description": "Data format for response.", |
| 73 "enum": [ | 73 "enum": [ |
| 74 "json", | 74 "json", |
| 75 "media", | 75 "media", |
| 76 "proto" | 76 "proto" |
| 77 ], | 77 ], |
| 78 "enumDescriptions": [ | 78 "enumDescriptions": [ |
| 79 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
| 80 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
| 81 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
| 82 ], | 82 ], |
| 83 "location": "query", | 83 "location": "query", |
| 84 "type": "string" | 84 "type": "string" |
| 85 }, | 85 }, |
| 86 "key": { |
| 87 "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.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
| 86 "access_token": { | 91 "access_token": { |
| 87 "description": "OAuth access token.", | 92 "description": "OAuth access token.", |
| 88 "location": "query", | 93 "location": "query", |
| 89 "type": "string" | 94 "type": "string" |
| 90 }, | 95 }, |
| 91 "key": { | |
| 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.", | |
| 93 "location": "query", | |
| 94 "type": "string" | |
| 95 }, | |
| 96 "quotaUser": { | 96 "quotaUser": { |
| 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.", | 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.", |
| 98 "location": "query", | 98 "location": "query", |
| 99 "type": "string" | 99 "type": "string" |
| 100 }, | 100 }, |
| 101 "pp": { | 101 "pp": { |
| 102 "default": "true", | 102 "default": "true", |
| 103 "description": "Pretty-print response.", | 103 "description": "Pretty-print response.", |
| 104 "location": "query", | 104 "location": "query", |
| 105 "type": "boolean" | 105 "type": "boolean" |
| 106 }, | 106 }, |
| 107 "bearer_token": { |
| 108 "description": "OAuth bearer token.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 107 "oauth_token": { | 112 "oauth_token": { |
| 108 "description": "OAuth 2.0 token for the current user.", | 113 "description": "OAuth 2.0 token for the current user.", |
| 109 "location": "query", | 114 "location": "query", |
| 110 "type": "string" | 115 "type": "string" |
| 111 }, | |
| 112 "bearer_token": { | |
| 113 "description": "OAuth bearer token.", | |
| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 ] | 179 ] |
| 180 }, | 180 }, |
| 181 "get": { | 181 "get": { |
| 182 "description": "Gets a job.", | 182 "description": "Gets a job.", |
| 183 "httpMethod": "GET", | 183 "httpMethod": "GET", |
| 184 "id": "youtubereporting.jobs.get", | 184 "id": "youtubereporting.jobs.get", |
| 185 "parameterOrder": [ | 185 "parameterOrder": [ |
| 186 "jobId" | 186 "jobId" |
| 187 ], | 187 ], |
| 188 "parameters": { | 188 "parameters": { |
| 189 "onBehalfOfContentOwner": { |
| 190 "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).", |
| 191 "location": "query", |
| 192 "type": "string" |
| 193 }, |
| 189 "jobId": { | 194 "jobId": { |
| 190 "description": "The ID of the job to retrieve.", | 195 "description": "The ID of the job to retrieve.", |
| 191 "location": "path", | 196 "location": "path", |
| 192 "required": true, | 197 "required": true, |
| 193 "type": "string" | 198 "type": "string" |
| 194 }, | |
| 195 "onBehalfOfContentOwner": { | |
| 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).", | |
| 197 "location": "query", | |
| 198 "type": "string" | |
| 199 } | 199 } |
| 200 }, | 200 }, |
| 201 "path": "v1/jobs/{jobId}", | 201 "path": "v1/jobs/{jobId}", |
| 202 "response": { | 202 "response": { |
| 203 "$ref": "Job" | 203 "$ref": "Job" |
| 204 }, | 204 }, |
| 205 "scopes": [ | 205 "scopes": [ |
| 206 "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" | 207 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 208 ] | 208 ] |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 "location": "path", | 321 "location": "path", |
| 322 "required": true, | 322 "required": true, |
| 323 "type": "string" | 323 "type": "string" |
| 324 }, | 324 }, |
| 325 "createdAfter": { | 325 "createdAfter": { |
| 326 "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.", |
| 327 "format": "google-datetime", | 327 "format": "google-datetime", |
| 328 "location": "query", | 328 "location": "query", |
| 329 "type": "string" | 329 "type": "string" |
| 330 }, | 330 }, |
| 331 "pageToken": { |
| 332 "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.", |
| 333 "location": "query", |
| 334 "type": "string" |
| 335 }, |
| 331 "startTimeAtOrAfter": { | 336 "startTimeAtOrAfter": { |
| 332 "description": "If set, only reports whose s
tart time is greater than or equal the\nspecified date/time are returned.", | 337 "description": "If set, only reports whose s
tart time is greater than or equal the\nspecified date/time are returned.", |
| 333 "format": "google-datetime", | 338 "format": "google-datetime", |
| 334 "location": "query", | 339 "location": "query", |
| 335 "type": "string" | 340 "type": "string" |
| 336 }, | 341 }, |
| 337 "pageToken": { | |
| 338 "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.", | |
| 339 "location": "query", | |
| 340 "type": "string" | |
| 341 }, | |
| 342 "pageSize": { | 342 "pageSize": { |
| 343 "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.", |
| 344 "format": "int32", | 344 "format": "int32", |
| 345 "location": "query", | 345 "location": "query", |
| 346 "type": "integer" | 346 "type": "integer" |
| 347 }, | 347 }, |
| 348 "onBehalfOfContentOwner": { | 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).", | 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", | 350 "location": "query", |
| 351 "type": "string" | 351 "type": "string" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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 "onBehalfOfContentOwner": { |
| 382 "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).", |
| 383 "location": "query", |
| 384 "type": "string" |
| 385 }, |
| 381 "includeSystemManaged": { | 386 "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.", | 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.", |
| 383 "location": "query", | 388 "location": "query", |
| 384 "type": "boolean" | 389 "type": "boolean" |
| 385 }, | 390 }, |
| 386 "pageToken": { | 391 "pageToken": { |
| 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.", | 392 "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.", |
| 388 "location": "query", | 393 "location": "query", |
| 389 "type": "string" | 394 "type": "string" |
| 390 }, | 395 }, |
| 391 "pageSize": { | 396 "pageSize": { |
| 392 "description": "Requested page size. Server may retu
rn fewer report types than requested.\nIf unspecified, server will pick an appro
priate default.", | 397 "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", | 398 "format": "int32", |
| 394 "location": "query", | 399 "location": "query", |
| 395 "type": "integer" | 400 "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" | |
| 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": "20170709", | 415 "revision": "20170726", |
| 416 "rootUrl": "https://youtubereporting.googleapis.com/", | 416 "rootUrl": "https://youtubereporting.googleapis.com/", |
| 417 "schemas": { | 417 "schemas": { |
| 418 "Job": { | 418 "ReportType": { |
| 419 "description": "A job creating reports of a specific type.", | 419 "description": "A report type.", |
| 420 "id": "Job", | 420 "id": "ReportType", |
| 421 "properties": { | 421 "properties": { |
| 422 "createTime": { | 422 "systemManaged": { |
| 423 "description": "The creation date/time of the job.", | 423 "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.", |
| 424 "format": "google-datetime", | 424 "type": "boolean" |
| 425 }, |
| 426 "id": { |
| 427 "description": "The ID of the report type (max. 100 characte
rs).", |
| 425 "type": "string" | 428 "type": "string" |
| 426 }, | 429 }, |
| 427 "reportTypeId": { | 430 "deprecateTime": { |
| 428 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", | 431 "description": "The date/time when this report type was/will
be deprecated.", |
| 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", | 432 "format": "google-datetime", |
| 434 "type": "string" | 433 "type": "string" |
| 435 }, | 434 }, |
| 436 "name": { | 435 "name": { |
| 437 "description": "The name of the job (max. 100 characters).", | 436 "description": "The name of the report type (max. 100 charac
ters).", |
| 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" | 437 "type": "string" |
| 447 } | 438 } |
| 448 }, | 439 }, |
| 449 "type": "object" | 440 "type": "object" |
| 450 }, | 441 }, |
| 451 "ListReportsResponse": { | 442 "ListReportTypesResponse": { |
| 452 "description": "Response message for ReportingService.ListReports.", | 443 "description": "Response message for ReportingService.ListReportType
s.", |
| 453 "id": "ListReportsResponse", | 444 "id": "ListReportTypesResponse", |
| 454 "properties": { | 445 "properties": { |
| 455 "nextPageToken": { | 446 "reportTypes": { |
| 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.", | 447 "description": "The list of report types.", |
| 461 "items": { | 448 "items": { |
| 462 "$ref": "Report" | 449 "$ref": "ReportType" |
| 463 }, | 450 }, |
| 464 "type": "array" | 451 "type": "array" |
| 452 }, |
| 453 "nextPageToken": { |
| 454 "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.", |
| 455 "type": "string" |
| 465 } | 456 } |
| 466 }, | 457 }, |
| 467 "type": "object" | 458 "type": "object" |
| 468 }, | 459 }, |
| 469 "Media": { | 460 "Empty": { |
| 470 "description": "Media resource.", | 461 "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 `{}`.", |
| 471 "id": "Media", | 462 "id": "Empty", |
| 472 "properties": { | 463 "properties": {}, |
| 473 "resourceName": { | |
| 474 "description": "Name of the media resource.", | |
| 475 "type": "string" | |
| 476 } | |
| 477 }, | |
| 478 "type": "object" | 464 "type": "object" |
| 479 }, | 465 }, |
| 480 "Report": { | 466 "Report": { |
| 481 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", | 467 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", |
| 482 "id": "Report", | 468 "id": "Report", |
| 483 "properties": { | 469 "properties": { |
| 470 "createTime": { |
| 471 "description": "The date/time when this report was created."
, |
| 472 "format": "google-datetime", |
| 473 "type": "string" |
| 474 }, |
| 484 "jobId": { | 475 "jobId": { |
| 485 "description": "The ID of the job that created this report."
, | 476 "description": "The ID of the job that created this report."
, |
| 486 "type": "string" | 477 "type": "string" |
| 487 }, | 478 }, |
| 488 "id": { | 479 "id": { |
| 489 "description": "The server-generated ID of the report.", | 480 "description": "The server-generated ID of the report.", |
| 490 "type": "string" | 481 "type": "string" |
| 491 }, | 482 }, |
| 483 "jobExpireTime": { |
| 484 "description": "The date/time when the job this report belon
gs to will expire/expired.", |
| 485 "format": "google-datetime", |
| 486 "type": "string" |
| 487 }, |
| 492 "endTime": { | 488 "endTime": { |
| 493 "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.", |
| 494 "format": "google-datetime", | 490 "format": "google-datetime", |
| 495 "type": "string" | 491 "type": "string" |
| 496 }, | 492 }, |
| 497 "jobExpireTime": { | |
| 498 "description": "The date/time when the job this report belon
gs to will expire/expired.", | |
| 499 "format": "google-datetime", | |
| 500 "type": "string" | |
| 501 }, | |
| 502 "downloadUrl": { | 493 "downloadUrl": { |
| 503 "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).", |
| 504 "type": "string" | 495 "type": "string" |
| 505 }, | 496 }, |
| 506 "startTime": { | 497 "startTime": { |
| 507 "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.", |
| 508 "format": "google-datetime", | 499 "format": "google-datetime", |
| 509 "type": "string" | 500 "type": "string" |
| 510 }, | |
| 511 "createTime": { | |
| 512 "description": "The date/time when this report was created."
, | |
| 513 "format": "google-datetime", | |
| 514 "type": "string" | |
| 515 } | |
| 516 }, | |
| 517 "type": "object" | |
| 518 }, | |
| 519 "Empty": { | |
| 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 `{}`.", | |
| 521 "id": "Empty", | |
| 522 "properties": {}, | |
| 523 "type": "object" | |
| 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 } | 501 } |
| 564 }, | 502 }, |
| 565 "type": "object" | 503 "type": "object" |
| 566 }, | 504 }, |
| 567 "ListJobsResponse": { | 505 "ListJobsResponse": { |
| 568 "description": "Response message for ReportingService.ListJobs.", | 506 "description": "Response message for ReportingService.ListJobs.", |
| 569 "id": "ListJobsResponse", | 507 "id": "ListJobsResponse", |
| 570 "properties": { | 508 "properties": { |
| 571 "nextPageToken": { | 509 "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.", | 510 "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" | 511 "type": "string" |
| 574 }, | 512 }, |
| 575 "jobs": { | 513 "jobs": { |
| 576 "description": "The list of jobs.", | 514 "description": "The list of jobs.", |
| 577 "items": { | 515 "items": { |
| 578 "$ref": "Job" | 516 "$ref": "Job" |
| 579 }, | 517 }, |
| 580 "type": "array" | 518 "type": "array" |
| 581 } | 519 } |
| 582 }, | 520 }, |
| 583 "type": "object" | 521 "type": "object" |
| 522 }, |
| 523 "Job": { |
| 524 "description": "A job creating reports of a specific type.", |
| 525 "id": "Job", |
| 526 "properties": { |
| 527 "reportTypeId": { |
| 528 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", |
| 529 "type": "string" |
| 530 }, |
| 531 "expireTime": { |
| 532 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", |
| 533 "format": "google-datetime", |
| 534 "type": "string" |
| 535 }, |
| 536 "name": { |
| 537 "description": "The name of the job (max. 100 characters).", |
| 538 "type": "string" |
| 539 }, |
| 540 "systemManaged": { |
| 541 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", |
| 542 "type": "boolean" |
| 543 }, |
| 544 "id": { |
| 545 "description": "The server-generated ID of the job (max. 40
characters).", |
| 546 "type": "string" |
| 547 }, |
| 548 "createTime": { |
| 549 "description": "The creation date/time of the job.", |
| 550 "format": "google-datetime", |
| 551 "type": "string" |
| 552 } |
| 553 }, |
| 554 "type": "object" |
| 555 }, |
| 556 "ListReportsResponse": { |
| 557 "description": "Response message for ReportingService.ListReports.", |
| 558 "id": "ListReportsResponse", |
| 559 "properties": { |
| 560 "nextPageToken": { |
| 561 "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.", |
| 562 "type": "string" |
| 563 }, |
| 564 "reports": { |
| 565 "description": "The list of report types.", |
| 566 "items": { |
| 567 "$ref": "Report" |
| 568 }, |
| 569 "type": "array" |
| 570 } |
| 571 }, |
| 572 "type": "object" |
| 573 }, |
| 574 "Media": { |
| 575 "description": "Media resource.", |
| 576 "id": "Media", |
| 577 "properties": { |
| 578 "resourceName": { |
| 579 "description": "Name of the media resource.", |
| 580 "type": "string" |
| 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 |