Skip to content

Commit

Permalink
feat(displayvideo): update the api
Browse files Browse the repository at this point in the history
#### displayvideo:v1

The following keys were deleted:
- resources.media.methods.upload (Total Keys: 16)
  • Loading branch information
yoshi-automation committed Sep 7, 2021
1 parent e8ea5f4 commit 0ff4fae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 73 deletions.
31 changes: 0 additions & 31 deletions docs/dyn/displayvideo_v1.media.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#download_media">download_media(resourceName, x__xgafv=None)</a></code></p>
<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>
<p class="toc_element">
<code><a href="#upload">upload(resourceName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
<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>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -128,32 +125,4 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="upload">upload(resourceName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
<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.

Args:
resourceName: string, Name of the media that is being downloaded. See ReadRequest.resource_name. (required)
body: object, The request body.
The object takes the form of:

{ # Media resource.
&quot;resourceName&quot;: &quot;A String&quot;, # Name of the media resource.
}

media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Media resource.
&quot;resourceName&quot;: &quot;A String&quot;, # Name of the media resource.
}</pre>
</div>

</body></html>
43 changes: 1 addition & 42 deletions googleapiclient/discovery_cache/documents/displayvideo.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5697,47 +5697,6 @@
"https://www.googleapis.com/auth/doubleclickbidmanager"
],
"supportsMediaDownload": true
},
"upload": {
"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.",
"flatPath": "media/{mediaId}",
"httpMethod": "POST",
"id": "displayvideo.media.upload",
"mediaUpload": {
"accept": [
"*/*"
],
"protocols": {
"simple": {
"multipart": true,
"path": "/upload/media/{+resourceName}"
}
}
},
"parameterOrder": [
"resourceName"
],
"parameters": {
"resourceName": {
"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.",
"location": "path",
"pattern": "^.*$",
"required": true,
"type": "string"
}
},
"path": "media/{+resourceName}",
"request": {
"$ref": "GoogleBytestreamMedia"
},
"response": {
"$ref": "GoogleBytestreamMedia"
},
"scopes": [
"https://www.googleapis.com/auth/display-video",
"https://www.googleapis.com/auth/doubleclickbidmanager"
],
"supportsMediaUpload": true
}
}
},
Expand Down Expand Up @@ -7411,7 +7370,7 @@
}
}
},
"revision": "20210827",
"revision": "20210902",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActivateManualTriggerRequest": {
Expand Down

0 comments on commit 0ff4fae

Please sign in to comment.