1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="youtubereporting_v1.html">YouTube Reporting API</a> . <a href="youtubereporting_v1.media.html">media</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#download">download(resourceName, x__xgafv=None)</a></code></p>
82<p class="firstline">Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.</p>
83<p class="toc_element">
84  <code><a href="#download_media">download_media(resourceName, x__xgafv=None)</a></code></p>
85<p class="firstline">Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.</p>
86<h3>Method Details</h3>
87<div class="method">
88    <code class="details" id="close">close()</code>
89  <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
93    <code class="details" id="download">download(resourceName, x__xgafv=None)</code>
94  <pre>Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.
95
96Args:
97  resourceName: string, Name of the media that is being downloaded. (required)
98  x__xgafv: string, V1 error format.
99    Allowed values
100      1 - v1 error format
101      2 - v2 error format
102
103Returns:
104  An object of the form:
105
106    { # gdata
107  &quot;algorithm&quot;: &quot;A String&quot;, # gdata
108  &quot;bigstoreObjectRef&quot;: &quot;A String&quot;, # gdata
109  &quot;blobRef&quot;: &quot;A String&quot;, # gdata
110  &quot;blobstore2Info&quot;: { # gdata # gdata
111    &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
112    &quot;blobId&quot;: &quot;A String&quot;, # gdata
113    &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
114    &quot;readToken&quot;: &quot;A String&quot;, # gdata
115    &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
116  },
117  &quot;compositeMedia&quot;: [ # gdata
118    { # gdata
119      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
120      &quot;blobstore2Info&quot;: { # gdata # gdata
121        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
122        &quot;blobId&quot;: &quot;A String&quot;, # gdata
123        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
124        &quot;readToken&quot;: &quot;A String&quot;, # gdata
125        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
126      },
127      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
128      &quot;crc32cHash&quot;: 42, # gdata
129      &quot;inline&quot;: &quot;A String&quot;, # gdata
130      &quot;length&quot;: &quot;A String&quot;, # gdata
131      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
132      &quot;objectId&quot;: { # gdata # gdata
133        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
134        &quot;generation&quot;: &quot;A String&quot;, # gdata
135        &quot;objectName&quot;: &quot;A String&quot;, # gdata
136      },
137      &quot;path&quot;: &quot;A String&quot;, # gdata
138      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
139      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
140    },
141  ],
142  &quot;contentType&quot;: &quot;A String&quot;, # gdata
143  &quot;contentTypeInfo&quot;: { # gdata # gdata
144    &quot;bestGuess&quot;: &quot;A String&quot;, # gdata
145    &quot;fromBytes&quot;: &quot;A String&quot;, # gdata
146    &quot;fromFileName&quot;: &quot;A String&quot;, # gdata
147    &quot;fromHeader&quot;: &quot;A String&quot;, # gdata
148    &quot;fromUrlPath&quot;: &quot;A String&quot;, # gdata
149  },
150  &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
151  &quot;crc32cHash&quot;: 42, # gdata
152  &quot;diffChecksumsResponse&quot;: { # gdata # gdata
153    &quot;checksumsLocation&quot;: { # gdata # gdata
154      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
155      &quot;blobstore2Info&quot;: { # gdata # gdata
156        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
157        &quot;blobId&quot;: &quot;A String&quot;, # gdata
158        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
159        &quot;readToken&quot;: &quot;A String&quot;, # gdata
160        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
161      },
162      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
163      &quot;crc32cHash&quot;: 42, # gdata
164      &quot;inline&quot;: &quot;A String&quot;, # gdata
165      &quot;length&quot;: &quot;A String&quot;, # gdata
166      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
167      &quot;objectId&quot;: { # gdata # gdata
168        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
169        &quot;generation&quot;: &quot;A String&quot;, # gdata
170        &quot;objectName&quot;: &quot;A String&quot;, # gdata
171      },
172      &quot;path&quot;: &quot;A String&quot;, # gdata
173      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
174      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
175    },
176    &quot;chunkSizeBytes&quot;: &quot;A String&quot;, # gdata
177    &quot;objectLocation&quot;: { # gdata # gdata
178      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
179      &quot;blobstore2Info&quot;: { # gdata # gdata
180        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
181        &quot;blobId&quot;: &quot;A String&quot;, # gdata
182        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
183        &quot;readToken&quot;: &quot;A String&quot;, # gdata
184        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
185      },
186      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
187      &quot;crc32cHash&quot;: 42, # gdata
188      &quot;inline&quot;: &quot;A String&quot;, # gdata
189      &quot;length&quot;: &quot;A String&quot;, # gdata
190      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
191      &quot;objectId&quot;: { # gdata # gdata
192        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
193        &quot;generation&quot;: &quot;A String&quot;, # gdata
194        &quot;objectName&quot;: &quot;A String&quot;, # gdata
195      },
196      &quot;path&quot;: &quot;A String&quot;, # gdata
197      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
198      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
199    },
200    &quot;objectSizeBytes&quot;: &quot;A String&quot;, # gdata
201    &quot;objectVersion&quot;: &quot;A String&quot;, # gdata
202  },
203  &quot;diffDownloadResponse&quot;: { # gdata # gdata
204    &quot;objectLocation&quot;: { # gdata # gdata
205      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
206      &quot;blobstore2Info&quot;: { # gdata # gdata
207        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
208        &quot;blobId&quot;: &quot;A String&quot;, # gdata
209        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
210        &quot;readToken&quot;: &quot;A String&quot;, # gdata
211        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
212      },
213      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
214      &quot;crc32cHash&quot;: 42, # gdata
215      &quot;inline&quot;: &quot;A String&quot;, # gdata
216      &quot;length&quot;: &quot;A String&quot;, # gdata
217      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
218      &quot;objectId&quot;: { # gdata # gdata
219        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
220        &quot;generation&quot;: &quot;A String&quot;, # gdata
221        &quot;objectName&quot;: &quot;A String&quot;, # gdata
222      },
223      &quot;path&quot;: &quot;A String&quot;, # gdata
224      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
225      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
226    },
227  },
228  &quot;diffUploadRequest&quot;: { # gdata # gdata
229    &quot;checksumsInfo&quot;: { # gdata # gdata
230      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
231      &quot;blobstore2Info&quot;: { # gdata # gdata
232        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
233        &quot;blobId&quot;: &quot;A String&quot;, # gdata
234        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
235        &quot;readToken&quot;: &quot;A String&quot;, # gdata
236        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
237      },
238      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
239      &quot;crc32cHash&quot;: 42, # gdata
240      &quot;inline&quot;: &quot;A String&quot;, # gdata
241      &quot;length&quot;: &quot;A String&quot;, # gdata
242      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
243      &quot;objectId&quot;: { # gdata # gdata
244        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
245        &quot;generation&quot;: &quot;A String&quot;, # gdata
246        &quot;objectName&quot;: &quot;A String&quot;, # gdata
247      },
248      &quot;path&quot;: &quot;A String&quot;, # gdata
249      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
250      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
251    },
252    &quot;objectInfo&quot;: { # gdata # gdata
253      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
254      &quot;blobstore2Info&quot;: { # gdata # gdata
255        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
256        &quot;blobId&quot;: &quot;A String&quot;, # gdata
257        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
258        &quot;readToken&quot;: &quot;A String&quot;, # gdata
259        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
260      },
261      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
262      &quot;crc32cHash&quot;: 42, # gdata
263      &quot;inline&quot;: &quot;A String&quot;, # gdata
264      &quot;length&quot;: &quot;A String&quot;, # gdata
265      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
266      &quot;objectId&quot;: { # gdata # gdata
267        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
268        &quot;generation&quot;: &quot;A String&quot;, # gdata
269        &quot;objectName&quot;: &quot;A String&quot;, # gdata
270      },
271      &quot;path&quot;: &quot;A String&quot;, # gdata
272      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
273      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
274    },
275    &quot;objectVersion&quot;: &quot;A String&quot;, # gdata
276  },
277  &quot;diffUploadResponse&quot;: { # gdata # gdata
278    &quot;objectVersion&quot;: &quot;A String&quot;, # gdata
279    &quot;originalObject&quot;: { # gdata # gdata
280      &quot;blobRef&quot;: &quot;A String&quot;, # gdata
281      &quot;blobstore2Info&quot;: { # gdata # gdata
282        &quot;blobGeneration&quot;: &quot;A String&quot;, # gdata
283        &quot;blobId&quot;: &quot;A String&quot;, # gdata
284        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # gdata
285        &quot;readToken&quot;: &quot;A String&quot;, # gdata
286        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # gdata
287      },
288      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # gdata
289      &quot;crc32cHash&quot;: 42, # gdata
290      &quot;inline&quot;: &quot;A String&quot;, # gdata
291      &quot;length&quot;: &quot;A String&quot;, # gdata
292      &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
293      &quot;objectId&quot;: { # gdata # gdata
294        &quot;bucketName&quot;: &quot;A String&quot;, # gdata
295        &quot;generation&quot;: &quot;A String&quot;, # gdata
296        &quot;objectName&quot;: &quot;A String&quot;, # gdata
297      },
298      &quot;path&quot;: &quot;A String&quot;, # gdata
299      &quot;referenceType&quot;: &quot;A String&quot;, # gdata
300      &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
301    },
302  },
303  &quot;diffVersionResponse&quot;: { # gdata # gdata
304    &quot;objectSizeBytes&quot;: &quot;A String&quot;, # gdata
305    &quot;objectVersion&quot;: &quot;A String&quot;, # gdata
306  },
307  &quot;downloadParameters&quot;: { # gdata # gdata
308    &quot;allowGzipCompression&quot;: True or False, # gdata
309    &quot;ignoreRange&quot;: True or False, # gdata
310  },
311  &quot;filename&quot;: &quot;A String&quot;, # gdata
312  &quot;hash&quot;: &quot;A String&quot;, # gdata
313  &quot;hashVerified&quot;: True or False, # gdata
314  &quot;inline&quot;: &quot;A String&quot;, # gdata
315  &quot;isPotentialRetry&quot;: True or False, # gdata
316  &quot;length&quot;: &quot;A String&quot;, # gdata
317  &quot;md5Hash&quot;: &quot;A String&quot;, # gdata
318  &quot;mediaId&quot;: &quot;A String&quot;, # gdata
319  &quot;objectId&quot;: { # gdata # gdata
320    &quot;bucketName&quot;: &quot;A String&quot;, # gdata
321    &quot;generation&quot;: &quot;A String&quot;, # gdata
322    &quot;objectName&quot;: &quot;A String&quot;, # gdata
323  },
324  &quot;path&quot;: &quot;A String&quot;, # gdata
325  &quot;referenceType&quot;: &quot;A String&quot;, # gdata
326  &quot;sha1Hash&quot;: &quot;A String&quot;, # gdata
327  &quot;sha256Hash&quot;: &quot;A String&quot;, # gdata
328  &quot;timestamp&quot;: &quot;A String&quot;, # gdata
329  &quot;token&quot;: &quot;A String&quot;, # gdata
330}</pre>
331</div>
332
333<div class="method">
334    <code class="details" id="download_media">download_media(resourceName, x__xgafv=None)</code>
335  <pre>Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.
336
337Args:
338  resourceName: string, Name of the media that is being downloaded. (required)
339  x__xgafv: string, V1 error format.
340    Allowed values
341      1 - v1 error format
342      2 - v2 error format
343
344Returns:
345  The media object as a string.
346
347    </pre>
348</div>
349
350</body></html>