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="cloudsupport_v2beta.html">Google Cloud Support API</a> . <a href="cloudsupport_v2beta.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(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Download a file attachment on a case. Note: HTTP requests must append "?alt=media" to the URL.</p>
83<p class="toc_element">
84  <code><a href="#download_media">download_media(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Download a file attachment on a case. Note: HTTP requests must append "?alt=media" to the URL.</p>
86<p class="toc_element">
87  <code><a href="#upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Create a file attachment on a case or Cloud resource.</p>
89<h3>Method Details</h3>
90<div class="method">
91    <code class="details" id="close">close()</code>
92  <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
96    <code class="details" id="download">download(name, x__xgafv=None)</code>
97  <pre>Download a file attachment on a case. Note: HTTP requests must append &quot;?alt=media&quot; to the URL.
98
99Args:
100  name: string, The resource name of the attachment to be downloaded. (required)
101  x__xgafv: string, V1 error format.
102    Allowed values
103      1 - v1 error format
104      2 - v2 error format
105
106Returns:
107  An object of the form:
108
109    { # # gdata.* are outside protos with mising documentation
110  &quot;algorithm&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
111  &quot;bigstoreObjectRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
112  &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
113  &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
114    &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
115    &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
116    &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
117    &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
118    &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
119  },
120  &quot;compositeMedia&quot;: [ # # gdata.* are outside protos with mising documentation
121    { # # gdata.* are outside protos with mising documentation
122      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
123      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
124        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
125        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
126        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
127        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
128        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
129      },
130      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
131      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
132      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
133      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
134      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
135      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
136        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
137        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
138        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
139      },
140      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
141      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
142      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
143    },
144  ],
145  &quot;contentType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
146  &quot;contentTypeInfo&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
147    &quot;bestGuess&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
148    &quot;fromBytes&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
149    &quot;fromFileName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
150    &quot;fromHeader&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
151    &quot;fromUrlPath&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
152  },
153  &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
154  &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
155  &quot;diffChecksumsResponse&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
156    &quot;checksumsLocation&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
157      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
158      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
159        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
160        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
161        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
162        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
163        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
164      },
165      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
166      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
167      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
168      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
169      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
170      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
171        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
172        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
173        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
174      },
175      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
176      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
177      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
178    },
179    &quot;chunkSizeBytes&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
180    &quot;objectLocation&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
181      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
182      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
183        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
184        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
185        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
186        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
187        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
188      },
189      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
190      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
191      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
192      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
193      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
194      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
195        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
196        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
197        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
198      },
199      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
200      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
201      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
202    },
203    &quot;objectSizeBytes&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
204    &quot;objectVersion&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
205  },
206  &quot;diffDownloadResponse&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
207    &quot;objectLocation&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
208      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
209      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
210        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
211        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
212        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
213        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
214        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
215      },
216      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
217      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
218      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
219      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
220      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
221      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
222        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
223        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
224        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
225      },
226      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
227      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
228      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
229    },
230  },
231  &quot;diffUploadRequest&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
232    &quot;checksumsInfo&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
233      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
234      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
235        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
236        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
237        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
238        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
239        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
240      },
241      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
242      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
243      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
244      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
245      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
246      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
247        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
248        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
249        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
250      },
251      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
252      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
253      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
254    },
255    &quot;objectInfo&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
256      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
257      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
258        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
259        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
260        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
261        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
262        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
263      },
264      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
265      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
266      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
267      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
268      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
269      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
270        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
271        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
272        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
273      },
274      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
275      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
276      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
277    },
278    &quot;objectVersion&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
279  },
280  &quot;diffUploadResponse&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
281    &quot;objectVersion&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
282    &quot;originalObject&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
283      &quot;blobRef&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
284      &quot;blobstore2Info&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
285        &quot;blobGeneration&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
286        &quot;blobId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
287        &quot;downloadReadHandle&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
288        &quot;readToken&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
289        &quot;uploadMetadataContainer&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
290      },
291      &quot;cosmoBinaryReference&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
292      &quot;crc32cHash&quot;: 42, # # gdata.* are outside protos with mising documentation
293      &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
294      &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
295      &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
296      &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
297        &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
298        &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
299        &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
300      },
301      &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
302      &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
303      &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
304    },
305  },
306  &quot;diffVersionResponse&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
307    &quot;objectSizeBytes&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
308    &quot;objectVersion&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
309  },
310  &quot;downloadParameters&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
311    &quot;allowGzipCompression&quot;: True or False, # # gdata.* are outside protos with mising documentation
312    &quot;ignoreRange&quot;: True or False, # # gdata.* are outside protos with mising documentation
313  },
314  &quot;filename&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
315  &quot;hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
316  &quot;hashVerified&quot;: True or False, # # gdata.* are outside protos with mising documentation
317  &quot;inline&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
318  &quot;isPotentialRetry&quot;: True or False, # # gdata.* are outside protos with mising documentation
319  &quot;length&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
320  &quot;md5Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
321  &quot;mediaId&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
322  &quot;objectId&quot;: { # # gdata.* are outside protos with mising documentation # # gdata.* are outside protos with mising documentation
323    &quot;bucketName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
324    &quot;generation&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
325    &quot;objectName&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
326  },
327  &quot;path&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
328  &quot;referenceType&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
329  &quot;sha1Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
330  &quot;sha256Hash&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
331  &quot;timestamp&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
332  &quot;token&quot;: &quot;A String&quot;, # # gdata.* are outside protos with mising documentation
333}</pre>
334</div>
335
336<div class="method">
337    <code class="details" id="download_media">download_media(name, x__xgafv=None)</code>
338  <pre>Download a file attachment on a case. Note: HTTP requests must append &quot;?alt=media&quot; to the URL.
339
340Args:
341  name: string, The resource name of the attachment to be downloaded. (required)
342  x__xgafv: string, V1 error format.
343    Allowed values
344      1 - v1 error format
345      2 - v2 error format
346
347Returns:
348  The media object as a string.
349
350    </pre>
351</div>
352
353<div class="method">
354    <code class="details" id="upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
355  <pre>Create a file attachment on a case or Cloud resource.
356
357Args:
358  parent: string, Required. The resource name of the case to which attachment should be attached. (required)
359  body: object, The request body.
360    The object takes the form of:
361
362{ # The request message for the CreateAttachment endpoint.
363  &quot;attachment&quot;: { # Represents a file attached to a support case. # Required. The attachment to be created.
364    &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the attachment was created.
365    &quot;creator&quot;: { # An object containing information about the effective user and authenticated principal responsible for an action. # Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
366      &quot;displayName&quot;: &quot;A String&quot;, # The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.
367      &quot;email&quot;: &quot;A String&quot;, # The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.
368      &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
369      &quot;principalId&quot;: &quot;A String&quot;, # Output only. An ID representing the user that was authenticated when the corresponding action was taken. This will be an email address, if one is available, or some other unique ID. See https://cloud.google.com/docs/authentication for more information on types of authentication.
370    },
371    &quot;filename&quot;: &quot;A String&quot;, # The filename of the attachment (e.g. `&quot;graph.jpg&quot;`).
372    &quot;mimeType&quot;: &quot;A String&quot;, # Output only. The MIME type of the attachment (e.g. text/plain).
373    &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the attachment.
374    &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the attachment in bytes.
375  },
376}
377
378  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
379  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
380  x__xgafv: string, V1 error format.
381    Allowed values
382      1 - v1 error format
383      2 - v2 error format
384
385Returns:
386  An object of the form:
387
388    { # Represents a file attached to a support case.
389  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the attachment was created.
390  &quot;creator&quot;: { # An object containing information about the effective user and authenticated principal responsible for an action. # Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
391    &quot;displayName&quot;: &quot;A String&quot;, # The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.
392    &quot;email&quot;: &quot;A String&quot;, # The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.
393    &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
394    &quot;principalId&quot;: &quot;A String&quot;, # Output only. An ID representing the user that was authenticated when the corresponding action was taken. This will be an email address, if one is available, or some other unique ID. See https://cloud.google.com/docs/authentication for more information on types of authentication.
395  },
396  &quot;filename&quot;: &quot;A String&quot;, # The filename of the attachment (e.g. `&quot;graph.jpg&quot;`).
397  &quot;mimeType&quot;: &quot;A String&quot;, # Output only. The MIME type of the attachment (e.g. text/plain).
398  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the attachment.
399  &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the attachment in bytes.
400}</pre>
401</div>
402
403</body></html>