@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/j6TUaGAA0LPiIem7a4tgr6yOPP8\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/GbWyz3kSqUOq8ROslYTuFkmV1gg\"",
44 "discoveryVersion": "v1",
55 "id": "youtubeAnalytics:v1beta1",
66 "name": "youtubeAnalytics",
77 "canonicalName": "YouTube Analytics",
88 "version": "v1beta1",
9− "revision": "20160513",
9+ "revision": "20170111",
1010 "title": "YouTube Analytics API",
1111 "description": "Retrieves your YouTube Analytics data.",
1212 "ownerDomain": "google.com",
@@ -94,135 +94,6 @@
9494 }
9595 },
9696 "schemas": {
97− "BatchReport": {
98− "id": "BatchReport",
99− "type": "object",
100− "description": "Contains single batchReport resource.",
101− "properties": {
102− "id": {
103− "type": "string",
104− "description": "The ID that YouTube assigns and uses to uniquely identify the report."
105− },
106− "kind": {
107− "type": "string",
108− "description": "This value specifies the type of data of this item. For batch report the kind property value is youtubeAnalytics#batchReport.",
109− "default": "youtubeAnalytics#batchReport"
110− },
111− "outputs": {
112− "type": "array",
113− "description": "Report outputs.",
114− "items": {
115− "type": "object",
116− "properties": {
117− "downloadUrl": {
118− "type": "string",
119− "description": "Cloud storage URL to download this report. This URL is valid for 30 minutes."
120− },
121− "format": {
122− "type": "string",
123− "description": "Format of the output."
124− },
125− "type": {
126− "type": "string",
127− "description": "Type of the output.",
128− "default": "cloudStorageOutput"
129− }
130− }
131− }
132− },
133− "reportId": {
134− "type": "string",
135− "description": "The ID of the the report definition."
136− },
137− "timeSpan": {
138− "type": "object",
139− "description": "Period included in the report. For reports containing all entities endTime is not set. Both startTime and endTime are inclusive.",
140− "properties": {
141− "endTime": {
142− "type": "string",
143− "description": "End of the period included in the report. Inclusive. For reports containing all entities endTime is not set.",
144− "format": "date-time"
145− },
146− "startTime": {
147− "type": "string",
148− "description": "Start of the period included in the report. Inclusive.",
149− "format": "date-time"
150− }
151− }
152− },
153− "timeUpdated": {
154− "type": "string",
155− "description": "The time when the report was updated.",
156− "format": "date-time"
157− }
158− }
159− },
160− "BatchReportDefinition": {
161− "id": "BatchReportDefinition",
162− "type": "object",
163− "description": "Contains single batchReportDefinition resource.",
164− "properties": {
165− "id": {
166− "type": "string",
167− "description": "The ID that YouTube assigns and uses to uniquely identify the report definition."
168− },
169− "kind": {
170− "type": "string",
171− "description": "This value specifies the type of data of this item. For batch report definition the kind property value is youtubeAnalytics#batchReportDefinition.",
172− "default": "youtubeAnalytics#batchReportDefinition"
173− },
174− "name": {
175− "type": "string",
176− "description": "Name of the report definition."
177− },
178− "status": {
179− "type": "string",
180− "description": "Status of the report definition."
181− },
182− "type": {
183− "type": "string",
184− "description": "Type of the report definition."
185− }
186− }
187− },
188− "BatchReportDefinitionList": {
189− "id": "BatchReportDefinitionList",
190− "type": "object",
191− "description": "A paginated list of batchReportDefinition resources returned in response to a youtubeAnalytics.batchReportDefinitions.list request.",
192− "properties": {
193− "items": {
194− "type": "array",
195− "description": "A list of batchReportDefinition resources that match the request criteria.",
196− "items": {
197− "$ref": "BatchReportDefinition"
198− }
199− },
200− "kind": {
201− "type": "string",
202− "description": "This value specifies the type of data included in the API response. For the list method, the kind property value is youtubeAnalytics#batchReportDefinitionList.",
203− "default": "youtubeAnalytics#batchReportDefinitionList"
204− }
205− }
206− },
207− "BatchReportList": {
208− "id": "BatchReportList",
209− "type": "object",
210− "description": "A paginated list of batchReport resources returned in response to a youtubeAnalytics.batchReport.list request.",
211− "properties": {
212− "items": {
213− "type": "array",
214− "description": "A list of batchReport resources that match the request criteria.",
215− "items": {
216− "$ref": "BatchReport"
217− }
218− },
219− "kind": {
220− "type": "string",
221− "description": "This value specifies the type of data included in the API response. For the list method, the kind property value is youtubeAnalytics#batchReportList.",
222− "default": "youtubeAnalytics#batchReportList"
223− }
224− }
225− },
22697 "Group": {
22798 "id": "Group",
22899 "type": "object",
@@ -381,69 +252,6 @@
381252 }
382253 },
383254 "resources": {
384− "batchReportDefinitions": {
385− "methods": {
386− "list": {
387− "id": "youtubeAnalytics.batchReportDefinitions.list",
388− "path": "batchReportDefinitions",
389− "httpMethod": "GET",
390− "description": "Retrieves a list of available batch report definitions.",
391− "parameters": {
392− "onBehalfOfContentOwner": {
393− "type": "string",
394− "description": "The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on behalf of.",
395− "required": true,
396− "location": "query"
397− }
398− },
399− "parameterOrder": [
400− "onBehalfOfContentOwner"
401− ],
402− "response": {
403− "$ref": "BatchReportDefinitionList"
404− },
405− "scopes": [
406− "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
407− "https://www.googleapis.com/auth/yt-analytics.readonly"
408− ]
409− }
410− }
411− },
412− "batchReports": {
413− "methods": {
414− "list": {
415− "id": "youtubeAnalytics.batchReports.list",
416− "path": "batchReports",
417− "httpMethod": "GET",
418− "description": "Retrieves a list of processed batch reports.",
419− "parameters": {
420− "batchReportDefinitionId": {
421− "type": "string",
422− "description": "The batchReportDefinitionId parameter specifies the ID of the batch reportort definition for which you are retrieving reports.",
423− "required": true,
424− "location": "query"
425− },
426− "onBehalfOfContentOwner": {
427− "type": "string",
428− "description": "The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on behalf of.",
429− "required": true,
430− "location": "query"
431− }
432− },
433− "parameterOrder": [
434− "batchReportDefinitionId",
435− "onBehalfOfContentOwner"
436− ],
437− "response": {
438− "$ref": "BatchReportList"
439− },
440− "scopes": [
441− "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
442− "https://www.googleapis.com/auth/yt-analytics.readonly"
443− ]
444− }
445− }
446− },
447255 "groupItems": {
448256 "methods": {
449257 "delete": {