gogol-resourcemanager-0.4.0: Google Cloud Resource Manager SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudResourceManager.Folders.Search

Contents

Description

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

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

foldersSearch Source #

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
Eq FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

Data FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FoldersSearch -> c FoldersSearch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FoldersSearch #

toConstr :: FoldersSearch -> Constr #

dataTypeOf :: FoldersSearch -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FoldersSearch) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FoldersSearch) #

gmapT :: (forall b. Data b => b -> b) -> FoldersSearch -> FoldersSearch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FoldersSearch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FoldersSearch -> r #

gmapQ :: (forall d. Data d => d -> u) -> FoldersSearch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FoldersSearch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FoldersSearch -> m FoldersSearch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FoldersSearch -> m FoldersSearch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FoldersSearch -> m FoldersSearch #

Show FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

Generic FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

Associated Types

type Rep FoldersSearch :: Type -> Type #

GoogleRequest FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

Associated Types

type Rs FoldersSearch :: Type #

type Scopes FoldersSearch :: [Symbol] #

type Rep FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

type Rep FoldersSearch = D1 (MetaData "FoldersSearch" "Network.Google.Resource.CloudResourceManager.Folders.Search" "gogol-resourcemanager-0.4.0-UDFVnkFAEA9efzG80swCH" False) (C1 (MetaCons "FoldersSearch'" PrefixI True) ((S1 (MetaSel (Just "_fsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_fsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_fsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SearchFoldersRequest) :*: S1 (MetaSel (Just "_fsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

type Scopes FoldersSearch = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ([] :: [Symbol]))
type Rs FoldersSearch Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.Search

Request Lenses

fsUploadProtocol :: Lens' FoldersSearch (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

fsUploadType :: Lens' FoldersSearch (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").