Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: discovery/googleapis/youtubereporting__v1.json

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/yt-analytics.readonly": { 5 "https://www.googleapis.com/auth/yt-analytics.readonly": {
6 "description": "View YouTube Analytics reports for your YouT ube content" 6 "description": "View YouTube Analytics reports for your YouT ube content"
7 }, 7 },
8 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly" : { 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" 9 "description": "View monetary and non-monetary YouTube Analy tics reports for your YouTube content"
10 } 10 }
(...skipping 10 matching lines...) Expand all
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 },
57 "$.xgafv": {
58 "description": "V1 error format.",
59 "enum": [
60 "1",
61 "2"
62 ],
63 "enumDescriptions": [
64 "v1 error format",
65 "v2 error format"
66 ],
67 "location": "query",
68 "type": "string"
69 },
31 "alt": { 70 "alt": {
32 "default": "json", 71 "default": "json",
33 "description": "Data format for response.", 72 "description": "Data format for response.",
34 "enum": [ 73 "enum": [
35 "json", 74 "json",
36 "media", 75 "media",
37 "proto" 76 "proto"
38 ], 77 ],
39 "enumDescriptions": [ 78 "enumDescriptions": [
40 "Responses with Content-Type of application/json", 79 "Responses with Content-Type of application/json",
41 "Media download with context-dependent Content-Type", 80 "Media download with context-dependent Content-Type",
42 "Responses with Content-Type of application/x-protobuf" 81 "Responses with Content-Type of application/x-protobuf"
43 ], 82 ],
44 "location": "query", 83 "location": "query",
45 "type": "string" 84 "type": "string"
46 }, 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 },
47 "access_token": { 91 "access_token": {
48 "description": "OAuth access token.", 92 "description": "OAuth access token.",
49 "location": "query", 93 "location": "query",
50 "type": "string" 94 "type": "string"
51 }, 95 },
52 "key": {
53 "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.",
54 "location": "query",
55 "type": "string"
56 },
57 "quotaUser": { 96 "quotaUser": {
58 "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.",
59 "location": "query", 98 "location": "query",
60 "type": "string" 99 "type": "string"
61 }, 100 },
62 "pp": { 101 "pp": {
63 "default": "true", 102 "default": "true",
64 "description": "Pretty-print response.", 103 "description": "Pretty-print response.",
65 "location": "query", 104 "location": "query",
66 "type": "boolean" 105 "type": "boolean"
67 }, 106 },
68 "oauth_token": { 107 "oauth_token": {
69 "description": "OAuth 2.0 token for the current user.", 108 "description": "OAuth 2.0 token for the current user.",
70 "location": "query", 109 "location": "query",
71 "type": "string" 110 "type": "string"
72 }, 111 },
73 "bearer_token": { 112 "bearer_token": {
74 "description": "OAuth bearer token.", 113 "description": "OAuth bearer token.",
75 "location": "query", 114 "location": "query",
76 "type": "string" 115 "type": "string"
77 },
78 "upload_protocol": {
79 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
80 "location": "query",
81 "type": "string"
82 },
83 "prettyPrint": {
84 "default": "true",
85 "description": "Returns response with indentations and line breaks." ,
86 "location": "query",
87 "type": "boolean"
88 },
89 "uploadType": {
90 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
91 "location": "query",
92 "type": "string"
93 },
94 "fields": {
95 "description": "Selector specifying which fields to include in a par tial response.",
96 "location": "query",
97 "type": "string"
98 },
99 "callback": {
100 "description": "JSONP",
101 "location": "query",
102 "type": "string"
103 },
104 "$.xgafv": {
105 "description": "V1 error format.",
106 "enum": [
107 "1",
108 "2"
109 ],
110 "enumDescriptions": [
111 "v1 error format",
112 "v2 error format"
113 ],
114 "location": "query",
115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "jobs": { 120 "media": {
121 "methods": { 121 "methods": {
122 "create": { 122 "download": {
123 "description": "Creates a job and returns it.", 123 "description": "Method for media download. Download is suppo rted\non the URI `/v1/media/{+name}?alt=media`.",
124 "httpMethod": "POST", 124 "httpMethod": "GET",
125 "id": "youtubereporting.jobs.create", 125 "id": "youtubereporting.media.download",
126 "parameterOrder": [], 126 "parameterOrder": [
127 "resourceName"
128 ],
127 "parameters": { 129 "parameters": {
128 "onBehalfOfContentOwner": { 130 "resourceName": {
129 "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).", 131 "description": "Name of the media that is being down loaded. See\nReadRequest.resource_name.",
130 "location": "query", 132 "location": "path",
133 "pattern": "^.+$",
134 "required": true,
131 "type": "string" 135 "type": "string"
132 } 136 }
133 }, 137 },
134 "path": "v1/jobs", 138 "path": "v1/media/{+resourceName}",
135 "request": {
136 "$ref": "Job"
137 },
138 "response": { 139 "response": {
139 "$ref": "Job" 140 "$ref": "Media"
140 }, 141 },
141 "scopes": [ 142 "scopes": [
142 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly", 143 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
143 "https://www.googleapis.com/auth/yt-analytics.readonly" 144 "https://www.googleapis.com/auth/yt-analytics.readonly"
144 ]
145 },
146 "delete": {
147 "description": "Deletes a job.",
148 "httpMethod": "DELETE",
149 "id": "youtubereporting.jobs.delete",
150 "parameterOrder": [
151 "jobId"
152 ], 145 ],
153 "parameters": { 146 "supportsMediaDownload": true
154 "onBehalfOfContentOwner": { 147 }
155 "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).", 148 }
156 "location": "query", 149 },
157 "type": "string" 150 "jobs": {
158 }, 151 "methods": {
159 "jobId": {
160 "description": "The ID of the job to delete.",
161 "location": "path",
162 "required": true,
163 "type": "string"
164 }
165 },
166 "path": "v1/jobs/{jobId}",
167 "response": {
168 "$ref": "Empty"
169 },
170 "scopes": [
171 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
172 "https://www.googleapis.com/auth/yt-analytics.readonly"
173 ]
174 },
175 "get": { 152 "get": {
176 "description": "Gets a job.", 153 "description": "Gets a job.",
177 "httpMethod": "GET", 154 "httpMethod": "GET",
178 "id": "youtubereporting.jobs.get", 155 "id": "youtubereporting.jobs.get",
179 "parameterOrder": [ 156 "parameterOrder": [
180 "jobId" 157 "jobId"
181 ], 158 ],
182 "parameters": { 159 "parameters": {
183 "onBehalfOfContentOwner": {
184 "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).",
185 "location": "query",
186 "type": "string"
187 },
188 "jobId": { 160 "jobId": {
189 "description": "The ID of the job to retrieve.", 161 "description": "The ID of the job to retrieve.",
190 "location": "path", 162 "location": "path",
191 "required": true, 163 "required": true,
192 "type": "string" 164 "type": "string"
165 },
166 "onBehalfOfContentOwner": {
167 "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).",
168 "location": "query",
169 "type": "string"
193 } 170 }
194 }, 171 },
195 "path": "v1/jobs/{jobId}", 172 "path": "v1/jobs/{jobId}",
196 "response": { 173 "response": {
197 "$ref": "Job" 174 "$ref": "Job"
198 }, 175 },
199 "scopes": [ 176 "scopes": [
200 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly", 177 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
201 "https://www.googleapis.com/auth/yt-analytics.readonly" 178 "https://www.googleapis.com/auth/yt-analytics.readonly"
202 ] 179 ]
(...skipping 27 matching lines...) Expand all
230 } 207 }
231 }, 208 },
232 "path": "v1/jobs", 209 "path": "v1/jobs",
233 "response": { 210 "response": {
234 "$ref": "ListJobsResponse" 211 "$ref": "ListJobsResponse"
235 }, 212 },
236 "scopes": [ 213 "scopes": [
237 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly", 214 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
238 "https://www.googleapis.com/auth/yt-analytics.readonly" 215 "https://www.googleapis.com/auth/yt-analytics.readonly"
239 ] 216 ]
217 },
218 "create": {
219 "description": "Creates a job and returns it.",
220 "httpMethod": "POST",
221 "id": "youtubereporting.jobs.create",
222 "parameterOrder": [],
223 "parameters": {
224 "onBehalfOfContentOwner": {
225 "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).",
226 "location": "query",
227 "type": "string"
228 }
229 },
230 "path": "v1/jobs",
231 "request": {
232 "$ref": "Job"
233 },
234 "response": {
235 "$ref": "Job"
236 },
237 "scopes": [
238 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
239 "https://www.googleapis.com/auth/yt-analytics.readonly"
240 ]
241 },
242 "delete": {
243 "description": "Deletes a job.",
244 "httpMethod": "DELETE",
245 "id": "youtubereporting.jobs.delete",
246 "parameterOrder": [
247 "jobId"
248 ],
249 "parameters": {
250 "jobId": {
251 "description": "The ID of the job to delete.",
252 "location": "path",
253 "required": true,
254 "type": "string"
255 },
256 "onBehalfOfContentOwner": {
257 "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).",
258 "location": "query",
259 "type": "string"
260 }
261 },
262 "path": "v1/jobs/{jobId}",
263 "response": {
264 "$ref": "Empty"
265 },
266 "scopes": [
267 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
268 "https://www.googleapis.com/auth/yt-analytics.readonly"
269 ]
240 } 270 }
241 }, 271 },
242 "resources": { 272 "resources": {
243 "reports": { 273 "reports": {
244 "methods": { 274 "methods": {
245 "get": { 275 "get": {
246 "description": "Gets the metadata of a specific repo rt.", 276 "description": "Gets the metadata of a specific repo rt.",
247 "httpMethod": "GET", 277 "httpMethod": "GET",
248 "id": "youtubereporting.jobs.reports.get", 278 "id": "youtubereporting.jobs.reports.get",
249 "parameterOrder": [ 279 "parameterOrder": [
250 "jobId", 280 "jobId",
251 "reportId" 281 "reportId"
252 ], 282 ],
253 "parameters": { 283 "parameters": {
284 "reportId": {
285 "description": "The ID of the report to retr ieve.",
286 "location": "path",
287 "required": true,
288 "type": "string"
289 },
254 "jobId": { 290 "jobId": {
255 "description": "The ID of the job.", 291 "description": "The ID of the job.",
256 "location": "path", 292 "location": "path",
257 "required": true, 293 "required": true,
258 "type": "string" 294 "type": "string"
259 }, 295 },
260 "onBehalfOfContentOwner": { 296 "onBehalfOfContentOwner": {
261 "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).", 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).",
262 "location": "query", 298 "location": "query",
263 "type": "string" 299 "type": "string"
264 },
265 "reportId": {
266 "description": "The ID of the report to retr ieve.",
267 "location": "path",
268 "required": true,
269 "type": "string"
270 } 300 }
271 }, 301 },
272 "path": "v1/jobs/{jobId}/reports/{reportId}", 302 "path": "v1/jobs/{jobId}/reports/{reportId}",
273 "response": { 303 "response": {
274 "$ref": "Report" 304 "$ref": "Report"
275 }, 305 },
276 "scopes": [ 306 "scopes": [
277 "https://www.googleapis.com/auth/yt-analytics-mo netary.readonly", 307 "https://www.googleapis.com/auth/yt-analytics-mo netary.readonly",
278 "https://www.googleapis.com/auth/yt-analytics.re adonly" 308 "https://www.googleapis.com/auth/yt-analytics.re adonly"
279 ] 309 ]
280 }, 310 },
281 "list": { 311 "list": {
282 "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.",
283 "httpMethod": "GET", 313 "httpMethod": "GET",
284 "id": "youtubereporting.jobs.reports.list", 314 "id": "youtubereporting.jobs.reports.list",
285 "parameterOrder": [ 315 "parameterOrder": [
286 "jobId" 316 "jobId"
287 ], 317 ],
288 "parameters": { 318 "parameters": {
319 "onBehalfOfContentOwner": {
320 "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).",
321 "location": "query",
322 "type": "string"
323 },
324 "startTimeBefore": {
325 "description": "If set, only reports whose s tart time is smaller than the specified\ndate/time are returned.",
326 "format": "google-datetime",
327 "location": "query",
328 "type": "string"
329 },
330 "jobId": {
331 "description": "The ID of the job.",
332 "location": "path",
333 "required": true,
334 "type": "string"
335 },
289 "createdAfter": { 336 "createdAfter": {
290 "description": "If set, only reports created after the specified date/time are returned.", 337 "description": "If set, only reports created after the specified date/time are returned.",
291 "format": "google-datetime", 338 "format": "google-datetime",
292 "location": "query", 339 "location": "query",
293 "type": "string" 340 "type": "string"
294 }, 341 },
295 "pageToken": {
296 "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.",
297 "location": "query",
298 "type": "string"
299 },
300 "startTimeAtOrAfter": { 342 "startTimeAtOrAfter": {
301 "description": "If set, only reports whose s tart time is greater than or equal the\nspecified date/time are returned.", 343 "description": "If set, only reports whose s tart time is greater than or equal the\nspecified date/time are returned.",
302 "format": "google-datetime", 344 "format": "google-datetime",
303 "location": "query", 345 "location": "query",
304 "type": "string" 346 "type": "string"
305 }, 347 },
348 "pageToken": {
349 "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.",
350 "location": "query",
351 "type": "string"
352 },
306 "pageSize": { 353 "pageSize": {
307 "description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.", 354 "description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.",
308 "format": "int32", 355 "format": "int32",
309 "location": "query", 356 "location": "query",
310 "type": "integer" 357 "type": "integer"
311 },
312 "onBehalfOfContentOwner": {
313 "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).",
314 "location": "query",
315 "type": "string"
316 },
317 "startTimeBefore": {
318 "description": "If set, only reports whose s tart time is smaller than the specified\ndate/time are returned.",
319 "format": "google-datetime",
320 "location": "query",
321 "type": "string"
322 },
323 "jobId": {
324 "description": "The ID of the job.",
325 "location": "path",
326 "required": true,
327 "type": "string"
328 } 358 }
329 }, 359 },
330 "path": "v1/jobs/{jobId}/reports", 360 "path": "v1/jobs/{jobId}/reports",
331 "response": { 361 "response": {
332 "$ref": "ListReportsResponse" 362 "$ref": "ListReportsResponse"
333 }, 363 },
334 "scopes": [ 364 "scopes": [
335 "https://www.googleapis.com/auth/yt-analytics-mo netary.readonly", 365 "https://www.googleapis.com/auth/yt-analytics-mo netary.readonly",
336 "https://www.googleapis.com/auth/yt-analytics.re adonly" 366 "https://www.googleapis.com/auth/yt-analytics.re adonly"
337 ] 367 ]
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 "path": "v1/reportTypes", 403 "path": "v1/reportTypes",
374 "response": { 404 "response": {
375 "$ref": "ListReportTypesResponse" 405 "$ref": "ListReportTypesResponse"
376 }, 406 },
377 "scopes": [ 407 "scopes": [
378 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly", 408 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
379 "https://www.googleapis.com/auth/yt-analytics.readonly" 409 "https://www.googleapis.com/auth/yt-analytics.readonly"
380 ] 410 ]
381 } 411 }
382 } 412 }
383 },
384 "media": {
385 "methods": {
386 "download": {
387 "description": "Method for media download. Download is suppo rted\non the URI `/v1/media/{+name}?alt=media`.",
388 "httpMethod": "GET",
389 "id": "youtubereporting.media.download",
390 "parameterOrder": [
391 "resourceName"
392 ],
393 "parameters": {
394 "resourceName": {
395 "description": "Name of the media that is being down loaded. See\nReadRequest.resource_name.",
396 "location": "path",
397 "pattern": "^.+$",
398 "required": true,
399 "type": "string"
400 }
401 },
402 "path": "v1/media/{+resourceName}",
403 "response": {
404 "$ref": "Media"
405 },
406 "scopes": [
407 "https://www.googleapis.com/auth/yt-analytics-monetary.r eadonly",
408 "https://www.googleapis.com/auth/yt-analytics.readonly"
409 ],
410 "supportsMediaDownload": true
411 }
412 }
413 } 413 }
414 }, 414 },
415 "revision": "20170816", 415 "revision": "20170905",
416 "rootUrl": "https://youtubereporting.googleapis.com/", 416 "rootUrl": "https://youtubereporting.googleapis.com/",
417 "schemas": { 417 "schemas": {
418 "ListJobsResponse": {
419 "description": "Response message for ReportingService.ListJobs.",
420 "id": "ListJobsResponse",
421 "properties": {
422 "nextPageToken": {
423 "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.",
424 "type": "string"
425 },
426 "jobs": {
427 "description": "The list of jobs.",
428 "items": {
429 "$ref": "Job"
430 },
431 "type": "array"
432 }
433 },
434 "type": "object"
435 },
436 "Job": { 418 "Job": {
437 "description": "A job creating reports of a specific type.", 419 "description": "A job creating reports of a specific type.",
438 "id": "Job", 420 "id": "Job",
439 "properties": { 421 "properties": {
440 "name": {
441 "description": "The name of the job (max. 100 characters).",
442 "type": "string"
443 },
444 "id": {
445 "description": "The server-generated ID of the job (max. 40 characters).",
446 "type": "string"
447 },
448 "systemManaged": {
449 "description": "True if this a system-managed job that canno t be modified by the user;\notherwise false.",
450 "type": "boolean"
451 },
452 "createTime": { 422 "createTime": {
453 "description": "The creation date/time of the job.", 423 "description": "The creation date/time of the job.",
454 "format": "google-datetime", 424 "format": "google-datetime",
455 "type": "string" 425 "type": "string"
456 }, 426 },
457 "reportTypeId": { 427 "reportTypeId": {
458 "description": "The type of reports this job creates. Corres ponds to the ID of a\nReportType.", 428 "description": "The type of reports this job creates. Corres ponds to the ID of a\nReportType.",
459 "type": "string" 429 "type": "string"
460 }, 430 },
461 "expireTime": { 431 "expireTime": {
462 "description": "The date/time when this job will expire/expi red. After a job expired, no\nnew reports are generated.", 432 "description": "The date/time when this job will expire/expi red. After a job expired, no\nnew reports are generated.",
463 "format": "google-datetime", 433 "format": "google-datetime",
464 "type": "string" 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"
465 } 447 }
466 }, 448 },
467 "type": "object" 449 "type": "object"
468 }, 450 },
469 "ListReportsResponse": { 451 "ListReportsResponse": {
470 "description": "Response message for ReportingService.ListReports.", 452 "description": "Response message for ReportingService.ListReports.",
471 "id": "ListReportsResponse", 453 "id": "ListReportsResponse",
472 "properties": { 454 "properties": {
473 "nextPageToken": { 455 "nextPageToken": {
474 "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.", 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.",
(...skipping 13 matching lines...) Expand all
488 "description": "Media resource.", 470 "description": "Media resource.",
489 "id": "Media", 471 "id": "Media",
490 "properties": { 472 "properties": {
491 "resourceName": { 473 "resourceName": {
492 "description": "Name of the media resource.", 474 "description": "Name of the media resource.",
493 "type": "string" 475 "type": "string"
494 } 476 }
495 }, 477 },
496 "type": "object" 478 "type": "object"
497 }, 479 },
498 "ReportType": {
499 "description": "A report type.",
500 "id": "ReportType",
501 "properties": {
502 "systemManaged": {
503 "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.",
504 "type": "boolean"
505 },
506 "id": {
507 "description": "The ID of the report type (max. 100 characte rs).",
508 "type": "string"
509 },
510 "deprecateTime": {
511 "description": "The date/time when this report type was/will be deprecated.",
512 "format": "google-datetime",
513 "type": "string"
514 },
515 "name": {
516 "description": "The name of the report type (max. 100 charac ters).",
517 "type": "string"
518 }
519 },
520 "type": "object"
521 },
522 "ListReportTypesResponse": {
523 "description": "Response message for ReportingService.ListReportType s.",
524 "id": "ListReportTypesResponse",
525 "properties": {
526 "reportTypes": {
527 "description": "The list of report types.",
528 "items": {
529 "$ref": "ReportType"
530 },
531 "type": "array"
532 },
533 "nextPageToken": {
534 "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.",
535 "type": "string"
536 }
537 },
538 "type": "object"
539 },
540 "Empty": {
541 "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 `{}`.",
542 "id": "Empty",
543 "properties": {},
544 "type": "object"
545 },
546 "Report": { 480 "Report": {
547 "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.",
548 "id": "Report", 482 "id": "Report",
549 "properties": { 483 "properties": {
484 "jobId": {
485 "description": "The ID of the job that created this report." ,
486 "type": "string"
487 },
550 "id": { 488 "id": {
551 "description": "The server-generated ID of the report.", 489 "description": "The server-generated ID of the report.",
552 "type": "string" 490 "type": "string"
553 }, 491 },
554 "endTime": { 492 "jobExpireTime": {
555 "description": "The end of the time period that the report i nstance covers. The value is\nexclusive.", 493 "description": "The date/time when the job this report belon gs to will expire/expired.",
556 "format": "google-datetime", 494 "format": "google-datetime",
557 "type": "string" 495 "type": "string"
558 }, 496 },
559 "jobExpireTime": { 497 "endTime": {
560 "description": "The date/time when the job this report belon gs to will expire/expired.", 498 "description": "The end of the time period that the report i nstance covers. The value is\nexclusive.",
561 "format": "google-datetime", 499 "format": "google-datetime",
562 "type": "string" 500 "type": "string"
563 }, 501 },
564 "downloadUrl": { 502 "downloadUrl": {
565 "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).",
566 "type": "string" 504 "type": "string"
567 }, 505 },
568 "startTime": { 506 "startTime": {
569 "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.",
570 "format": "google-datetime", 508 "format": "google-datetime",
571 "type": "string" 509 "type": "string"
572 }, 510 },
573 "createTime": { 511 "createTime": {
574 "description": "The date/time when this report was created." , 512 "description": "The date/time when this report was created." ,
575 "format": "google-datetime", 513 "format": "google-datetime",
576 "type": "string" 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 "nextPageToken": {
530 "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.",
531 "type": "string"
577 }, 532 },
578 "jobId": { 533 "reportTypes": {
579 "description": "The ID of the job that created this report." , 534 "description": "The list of report types.",
535 "items": {
536 "$ref": "ReportType"
537 },
538 "type": "array"
539 }
540 },
541 "type": "object"
542 },
543 "ReportType": {
544 "description": "A report type.",
545 "id": "ReportType",
546 "properties": {
547 "deprecateTime": {
548 "description": "The date/time when this report type was/will be deprecated.",
549 "format": "google-datetime",
550 "type": "string"
551 },
552 "name": {
553 "description": "The name of the report type (max. 100 charac ters).",
554 "type": "string"
555 },
556 "systemManaged": {
557 "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.",
558 "type": "boolean"
559 },
560 "id": {
561 "description": "The ID of the report type (max. 100 characte rs).",
580 "type": "string" 562 "type": "string"
581 } 563 }
582 }, 564 },
565 "type": "object"
566 },
567 "ListJobsResponse": {
568 "description": "Response message for ReportingService.ListJobs.",
569 "id": "ListJobsResponse",
570 "properties": {
571 "jobs": {
572 "description": "The list of jobs.",
573 "items": {
574 "$ref": "Job"
575 },
576 "type": "array"
577 },
578 "nextPageToken": {
579 "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.",
580 "type": "string"
581 }
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 }
OLDNEW
« no previous file with comments | « discovery/googleapis/youtube__v3.json ('k') | discovery/googleapis_beta/adexchangebuyer2__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698