Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a file's metadata or content by ID.
See: Drive API Reference for drive.files.get
.
- type FilesGetResource = ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> (QueryParam "acknowledgeAbuse" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] File)))))) :<|> ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> (QueryParam "acknowledgeAbuse" Bool :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))
- filesGet :: Text -> FilesGet
- data FilesGet
- fgAcknowledgeAbuse :: Lens' FilesGet Bool
- fgFileId :: Lens' FilesGet Text
REST Resource
type FilesGetResource = ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> (QueryParam "acknowledgeAbuse" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] File)))))) :<|> ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> (QueryParam "acknowledgeAbuse" Bool :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))) Source #
A resource alias for drive.files.get
method which the
FilesGet
request conforms to.
Creating a Request
Creates a value of FilesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Gets a file's metadata or content by ID.
See: filesGet
smart constructor.
Eq FilesGet Source # | |
Data FilesGet Source # | |
Show FilesGet Source # | |
Generic FilesGet Source # | |
GoogleRequest FilesGet Source # | |
GoogleRequest (MediaDownload FilesGet) Source # | |
type Rep FilesGet Source # | |
type Scopes FilesGet Source # | |
type Rs FilesGet Source # | |
type Scopes (MediaDownload FilesGet) Source # | |
type Rs (MediaDownload FilesGet) Source # | |