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