Class MediaResource
The "media" collection of methods.
Inheritance
System.Object
MediaResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class MediaResource
Constructors
MediaResource(IClientService)
Constructs a new resource.
Declaration
public MediaResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service |
Methods
Download(String)
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.
Declaration
public virtual MediaResource.DownloadRequest Download(string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | resourceName | Name of the media that is being downloaded. See ReadRequest.resource_name. |
Returns
| Type | Description |
|---|---|
| MediaResource.DownloadRequest |