| Index: discovery/googleapis/youtubereporting__v1.json
|
| diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json
|
| index 9f82b2134e43cebc27760ef037152166bbc6875d..dfed69ae07983c40e5febbf5304c1f1ca5cab4bb 100644
|
| --- a/discovery/googleapis/youtubereporting__v1.json
|
| +++ b/discovery/googleapis/youtubereporting__v1.json
|
| @@ -2,11 +2,11 @@
|
| "auth": {
|
| "oauth2": {
|
| "scopes": {
|
| - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly": {
|
| - "description": "View monetary and non-monetary YouTube Analytics reports for your YouTube content"
|
| - },
|
| "https://www.googleapis.com/auth/yt-analytics.readonly": {
|
| "description": "View YouTube Analytics reports for your YouTube content"
|
| + },
|
| + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly": {
|
| + "description": "View monetary and non-monetary YouTube Analytics reports for your YouTube content"
|
| }
|
| }
|
| }
|
| @@ -49,11 +49,6 @@
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "callback": {
|
| - "description": "JSONP",
|
| - "location": "query",
|
| - "type": "string"
|
| - },
|
| "$.xgafv": {
|
| "description": "V1 error format.",
|
| "enum": [
|
| @@ -67,6 +62,11 @@
|
| "location": "query",
|
| "type": "string"
|
| },
|
| + "callback": {
|
| + "description": "JSONP",
|
| + "location": "query",
|
| + "type": "string"
|
| + },
|
| "alt": {
|
| "default": "json",
|
| "description": "Data format for response.",
|
| @@ -83,13 +83,13 @@
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "access_token": {
|
| - "description": "OAuth access token.",
|
| + "key": {
|
| + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "key": {
|
| - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
| + "access_token": {
|
| + "description": "OAuth access token.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| @@ -104,13 +104,13 @@
|
| "location": "query",
|
| "type": "boolean"
|
| },
|
| - "oauth_token": {
|
| - "description": "OAuth 2.0 token for the current user.",
|
| + "bearer_token": {
|
| + "description": "OAuth bearer token.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "bearer_token": {
|
| - "description": "OAuth bearer token.",
|
| + "oauth_token": {
|
| + "description": "OAuth 2.0 token for the current user.",
|
| "location": "query",
|
| "type": "string"
|
| }
|
| @@ -186,16 +186,16 @@
|
| "jobId"
|
| ],
|
| "parameters": {
|
| + "onBehalfOfContentOwner": {
|
| + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
|
| + "location": "query",
|
| + "type": "string"
|
| + },
|
| "jobId": {
|
| "description": "The ID of the job to retrieve.",
|
| "location": "path",
|
| "required": true,
|
| "type": "string"
|
| - },
|
| - "onBehalfOfContentOwner": {
|
| - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
|
| - "location": "query",
|
| - "type": "string"
|
| }
|
| },
|
| "path": "v1/jobs/{jobId}",
|
| @@ -328,14 +328,14 @@
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "startTimeAtOrAfter": {
|
| - "description": "If set, only reports whose start time is greater than or equal the\nspecified date/time are returned.",
|
| - "format": "google-datetime",
|
| + "pageToken": {
|
| + "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportsResponse.next_page_token\nreturned in response to the previous call to the `ListReports` method.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "pageToken": {
|
| - "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportsResponse.next_page_token\nreturned in response to the previous call to the `ListReports` method.",
|
| + "startTimeAtOrAfter": {
|
| + "description": "If set, only reports whose start time is greater than or equal the\nspecified date/time are returned.",
|
| + "format": "google-datetime",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| @@ -378,6 +378,11 @@
|
| "id": "youtubereporting.reportTypes.list",
|
| "parameterOrder": [],
|
| "parameters": {
|
| + "onBehalfOfContentOwner": {
|
| + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
|
| + "location": "query",
|
| + "type": "string"
|
| + },
|
| "includeSystemManaged": {
|
| "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.",
|
| "location": "query",
|
| @@ -393,11 +398,6 @@
|
| "format": "int32",
|
| "location": "query",
|
| "type": "integer"
|
| - },
|
| - "onBehalfOfContentOwner": {
|
| - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
|
| - "location": "query",
|
| - "type": "string"
|
| }
|
| },
|
| "path": "v1/reportTypes",
|
| @@ -412,75 +412,66 @@
|
| }
|
| }
|
| },
|
| - "revision": "20170709",
|
| + "revision": "20170726",
|
| "rootUrl": "https://youtubereporting.googleapis.com/",
|
| "schemas": {
|
| - "Job": {
|
| - "description": "A job creating reports of a specific type.",
|
| - "id": "Job",
|
| + "ReportType": {
|
| + "description": "A report type.",
|
| + "id": "ReportType",
|
| "properties": {
|
| - "createTime": {
|
| - "description": "The creation date/time of the job.",
|
| - "format": "google-datetime",
|
| - "type": "string"
|
| + "systemManaged": {
|
| + "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
|
| + "type": "boolean"
|
| },
|
| - "reportTypeId": {
|
| - "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
|
| + "id": {
|
| + "description": "The ID of the report type (max. 100 characters).",
|
| "type": "string"
|
| },
|
| - "expireTime": {
|
| - "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
|
| + "deprecateTime": {
|
| + "description": "The date/time when this report type was/will be deprecated.",
|
| "format": "google-datetime",
|
| "type": "string"
|
| },
|
| "name": {
|
| - "description": "The name of the job (max. 100 characters).",
|
| - "type": "string"
|
| - },
|
| - "systemManaged": {
|
| - "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.",
|
| - "type": "boolean"
|
| - },
|
| - "id": {
|
| - "description": "The server-generated ID of the job (max. 40 characters).",
|
| + "description": "The name of the report type (max. 100 characters).",
|
| "type": "string"
|
| }
|
| },
|
| "type": "object"
|
| },
|
| - "ListReportsResponse": {
|
| - "description": "Response message for ReportingService.ListReports.",
|
| - "id": "ListReportsResponse",
|
| + "ListReportTypesResponse": {
|
| + "description": "Response message for ReportingService.ListReportTypes.",
|
| + "id": "ListReportTypesResponse",
|
| "properties": {
|
| - "nextPageToken": {
|
| - "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results.",
|
| - "type": "string"
|
| - },
|
| - "reports": {
|
| + "reportTypes": {
|
| "description": "The list of report types.",
|
| "items": {
|
| - "$ref": "Report"
|
| + "$ref": "ReportType"
|
| },
|
| "type": "array"
|
| + },
|
| + "nextPageToken": {
|
| + "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
|
| + "type": "string"
|
| }
|
| },
|
| "type": "object"
|
| },
|
| - "Media": {
|
| - "description": "Media resource.",
|
| - "id": "Media",
|
| - "properties": {
|
| - "resourceName": {
|
| - "description": "Name of the media resource.",
|
| - "type": "string"
|
| - }
|
| - },
|
| + "Empty": {
|
| + "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 it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
| + "id": "Empty",
|
| + "properties": {},
|
| "type": "object"
|
| },
|
| "Report": {
|
| "description": "A report's metadata including the URL from which the report itself can be\ndownloaded.",
|
| "id": "Report",
|
| "properties": {
|
| + "createTime": {
|
| + "description": "The date/time when this report was created.",
|
| + "format": "google-datetime",
|
| + "type": "string"
|
| + },
|
| "jobId": {
|
| "description": "The ID of the job that created this report.",
|
| "type": "string"
|
| @@ -489,13 +480,13 @@
|
| "description": "The server-generated ID of the report.",
|
| "type": "string"
|
| },
|
| - "endTime": {
|
| - "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
|
| + "jobExpireTime": {
|
| + "description": "The date/time when the job this report belongs to will expire/expired.",
|
| "format": "google-datetime",
|
| "type": "string"
|
| },
|
| - "jobExpireTime": {
|
| - "description": "The date/time when the job this report belongs to will expire/expired.",
|
| + "endTime": {
|
| + "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
|
| "format": "google-datetime",
|
| "type": "string"
|
| },
|
| @@ -507,80 +498,89 @@
|
| "description": "The start of the time period that the report instance covers. The value is\ninclusive.",
|
| "format": "google-datetime",
|
| "type": "string"
|
| - },
|
| - "createTime": {
|
| - "description": "The date/time when this report was created.",
|
| - "format": "google-datetime",
|
| - "type": "string"
|
| }
|
| },
|
| "type": "object"
|
| },
|
| - "Empty": {
|
| - "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 it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
| - "id": "Empty",
|
| - "properties": {},
|
| - "type": "object"
|
| - },
|
| - "ListReportTypesResponse": {
|
| - "description": "Response message for ReportingService.ListReportTypes.",
|
| - "id": "ListReportTypesResponse",
|
| + "ListJobsResponse": {
|
| + "description": "Response message for ReportingService.ListJobs.",
|
| + "id": "ListJobsResponse",
|
| "properties": {
|
| - "reportTypes": {
|
| - "description": "The list of report types.",
|
| + "nextPageToken": {
|
| + "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results.",
|
| + "type": "string"
|
| + },
|
| + "jobs": {
|
| + "description": "The list of jobs.",
|
| "items": {
|
| - "$ref": "ReportType"
|
| + "$ref": "Job"
|
| },
|
| "type": "array"
|
| - },
|
| - "nextPageToken": {
|
| - "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
|
| - "type": "string"
|
| }
|
| },
|
| "type": "object"
|
| },
|
| - "ReportType": {
|
| - "description": "A report type.",
|
| - "id": "ReportType",
|
| + "Job": {
|
| + "description": "A job creating reports of a specific type.",
|
| + "id": "Job",
|
| "properties": {
|
| + "reportTypeId": {
|
| + "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
|
| + "type": "string"
|
| + },
|
| + "expireTime": {
|
| + "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
|
| + "format": "google-datetime",
|
| + "type": "string"
|
| + },
|
| + "name": {
|
| + "description": "The name of the job (max. 100 characters).",
|
| + "type": "string"
|
| + },
|
| "systemManaged": {
|
| - "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
|
| + "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.",
|
| "type": "boolean"
|
| },
|
| "id": {
|
| - "description": "The ID of the report type (max. 100 characters).",
|
| + "description": "The server-generated ID of the job (max. 40 characters).",
|
| "type": "string"
|
| },
|
| - "deprecateTime": {
|
| - "description": "The date/time when this report type was/will be deprecated.",
|
| + "createTime": {
|
| + "description": "The creation date/time of the job.",
|
| "format": "google-datetime",
|
| "type": "string"
|
| - },
|
| - "name": {
|
| - "description": "The name of the report type (max. 100 characters).",
|
| - "type": "string"
|
| }
|
| },
|
| "type": "object"
|
| },
|
| - "ListJobsResponse": {
|
| - "description": "Response message for ReportingService.ListJobs.",
|
| - "id": "ListJobsResponse",
|
| + "ListReportsResponse": {
|
| + "description": "Response message for ReportingService.ListReports.",
|
| + "id": "ListReportsResponse",
|
| "properties": {
|
| "nextPageToken": {
|
| - "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results.",
|
| + "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results.",
|
| "type": "string"
|
| },
|
| - "jobs": {
|
| - "description": "The list of jobs.",
|
| + "reports": {
|
| + "description": "The list of report types.",
|
| "items": {
|
| - "$ref": "Job"
|
| + "$ref": "Report"
|
| },
|
| "type": "array"
|
| }
|
| },
|
| "type": "object"
|
| + },
|
| + "Media": {
|
| + "description": "Media resource.",
|
| + "id": "Media",
|
| + "properties": {
|
| + "resourceName": {
|
| + "description": "Name of the media resource.",
|
| + "type": "string"
|
| + }
|
| + },
|
| + "type": "object"
|
| }
|
| },
|
| "servicePath": "",
|
|
|