You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.</p>
<pclass="firstline">Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without including `upload_type=media` query string.</p>
<pre>Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without including `upload_type=media` query string.
134
-
135
-
Args:
136
-
resourceName: string, Name of the media that is being downloaded. See ReadRequest.resource_name. (required)
137
-
body: object, The request body.
138
-
The object takes the form of:
139
-
140
-
{ # Media resource.
141
-
"resourceName": "A String", # Name of the media resource.
142
-
}
143
-
144
-
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
145
-
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
146
-
x__xgafv: string, V1 error format.
147
-
Allowed values
148
-
1 - v1 error format
149
-
2 - v2 error format
150
-
151
-
Returns:
152
-
An object of the form:
153
-
154
-
{ # Media resource.
155
-
"resourceName": "A String", # Name of the media resource.
"description": "Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without including `upload_type=media` query string.",
5703
-
"flatPath": "media/{mediaId}",
5704
-
"httpMethod": "POST",
5705
-
"id": "displayvideo.media.upload",
5706
-
"mediaUpload": {
5707
-
"accept": [
5708
-
"*/*"
5709
-
],
5710
-
"protocols": {
5711
-
"simple": {
5712
-
"multipart": true,
5713
-
"path": "/upload/media/{+resourceName}"
5714
-
}
5715
-
}
5716
-
},
5717
-
"parameterOrder": [
5718
-
"resourceName"
5719
-
],
5720
-
"parameters": {
5721
-
"resourceName": {
5722
-
"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.",
0 commit comments