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 |
Search for folders that match specific filter criteria. Search provides an eventually consistent view of the folders a user has access to which meet the specified filter criteria. This will only return folders on which the caller has the permission `resourcemanager.folders.get`.
See: Cloud Resource Manager API Reference for cloudresourcemanager.folders.search
.
Synopsis
- type FoldersSearchResource = "v2" :> ("folders:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchFoldersRequest :> Post '[JSON] SearchFoldersResponse))))))))
- foldersSearch :: SearchFoldersRequest -> FoldersSearch
- data FoldersSearch
- fsXgafv :: Lens' FoldersSearch (Maybe Xgafv)
- fsUploadProtocol :: Lens' FoldersSearch (Maybe Text)
- fsAccessToken :: Lens' FoldersSearch (Maybe Text)
- fsUploadType :: Lens' FoldersSearch (Maybe Text)
- fsPayload :: Lens' FoldersSearch SearchFoldersRequest
- fsCallback :: Lens' FoldersSearch (Maybe Text)
REST Resource
type FoldersSearchResource = "v2" :> ("folders:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchFoldersRequest :> Post '[JSON] SearchFoldersResponse)))))))) Source #
A resource alias for cloudresourcemanager.folders.search
method which the
FoldersSearch
request conforms to.
Creating a Request
Creates a value of FoldersSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersSearch Source #
Search for folders that match specific filter criteria. Search provides an eventually consistent view of the folders a user has access to which meet the specified filter criteria. This will only return folders on which the caller has the permission `resourcemanager.folders.get`.
See: foldersSearch
smart constructor.
Instances
Request Lenses
fsUploadProtocol :: Lens' FoldersSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fsAccessToken :: Lens' FoldersSearch (Maybe Text) Source #
OAuth access token.
fsUploadType :: Lens' FoldersSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fsPayload :: Lens' FoldersSearch SearchFoldersRequest Source #
Multipart request metadata.
fsCallback :: Lens' FoldersSearch (Maybe Text) Source #
JSONP