Class MediaResource
The "media" collection of methods.
Inherited Members
Namespace: Google.Apis.Keep.v1
Assembly: Google.Apis.Keep.v1.dll
Syntax
public class MediaResource
Constructors
MediaResource(IClientService)
Constructs a new resource.
Declaration
public MediaResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Download(string)
Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type.
Declaration
public virtual MediaResource.DownloadRequest Download(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the attachment. |
Returns
Type | Description |
---|---|
MediaResource.DownloadRequest |