Skip to content

Commit 0ff4fae

Browse files
feat(displayvideo): update the api
#### displayvideo:v1 The following keys were deleted: - resources.media.methods.upload (Total Keys: 16)
1 parent e8ea5f4 commit 0ff4fae

File tree

2 files changed

+1
-73
lines changed

2 files changed

+1
-73
lines changed

docs/dyn/displayvideo_v1.media.html

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ <h2>Instance Methods</h2>
8383
<p class="toc_element">
8484
<code><a href="#download_media">download_media(resourceName, x__xgafv=None)</a></code></p>
8585
<p class="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>
86-
<p class="toc_element">
87-
<code><a href="#upload">upload(resourceName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
88-
<p class="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>
8986
<h3>Method Details</h3>
9087
<div class="method">
9188
<code class="details" id="close">close()</code>
@@ -128,32 +125,4 @@ <h3>Method Details</h3>
128125
</pre>
129126
</div>
130127

131-
<div class="method">
132-
<code class="details" id="upload">upload(resourceName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
133-
<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-
&quot;resourceName&quot;: &quot;A String&quot;, # 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-
&quot;resourceName&quot;: &quot;A String&quot;, # Name of the media resource.
156-
}</pre>
157-
</div>
158-
159128
</body></html>

googleapiclient/discovery_cache/documents/displayvideo.v1.json

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5697,47 +5697,6 @@
56975697
"https://www.googleapis.com/auth/doubleclickbidmanager"
56985698
],
56995699
"supportsMediaDownload": true
5700-
},
5701-
"upload": {
5702-
"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.",
5723-
"location": "path",
5724-
"pattern": "^.*$",
5725-
"required": true,
5726-
"type": "string"
5727-
}
5728-
},
5729-
"path": "media/{+resourceName}",
5730-
"request": {
5731-
"$ref": "GoogleBytestreamMedia"
5732-
},
5733-
"response": {
5734-
"$ref": "GoogleBytestreamMedia"
5735-
},
5736-
"scopes": [
5737-
"https://www.googleapis.com/auth/display-video",
5738-
"https://www.googleapis.com/auth/doubleclickbidmanager"
5739-
],
5740-
"supportsMediaUpload": true
57415700
}
57425701
}
57435702
},
@@ -7411,7 +7370,7 @@
74117370
}
74127371
}
74137372
},
7414-
"revision": "20210827",
7373+
"revision": "20210902",
74157374
"rootUrl": "https://displayvideo.googleapis.com/",
74167375
"schemas": {
74177376
"ActivateManualTriggerRequest": {

0 commit comments

Comments
 (0)