Show / Hide Table of Contents

Class MediaResource

The "media" collection of methods.

Inheritance
object
MediaResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX