gogol-accessapproval-0.5.0: Google Access Approval 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.AccessApproval.Folders.ApprovalRequests.Get

Contents

Description

Gets an approval request. Returns NOT_FOUND if the request does not exist.

See: Access Approval API Reference for accessapproval.folders.approvalRequests.get.

Synopsis

REST Resource

type FoldersApprovalRequestsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ApprovalRequest))))))) Source #

A resource alias for accessapproval.folders.approvalRequests.get method which the FoldersApprovalRequestsGet request conforms to.

Creating a Request

foldersApprovalRequestsGet Source #

Creates a value of FoldersApprovalRequestsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data FoldersApprovalRequestsGet Source #

Gets an approval request. Returns NOT_FOUND if the request does not exist.

See: foldersApprovalRequestsGet smart constructor.

Instances
Eq FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

Data FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

Methods

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

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

toConstr :: FoldersApprovalRequestsGet -> Constr #

dataTypeOf :: FoldersApprovalRequestsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

Generic FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

Associated Types

type Rep FoldersApprovalRequestsGet :: Type -> Type #

GoogleRequest FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

type Rep FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

type Rep FoldersApprovalRequestsGet = D1 (MetaData "FoldersApprovalRequestsGet" "Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get" "gogol-accessapproval-0.5.0-KrEqfpg3IwmAqEW1n3aDo5" False) (C1 (MetaCons "FoldersApprovalRequestsGet'" PrefixI True) ((S1 (MetaSel (Just "_fargXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_fargUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fargAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_fargUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fargName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fargCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FoldersApprovalRequestsGet Source # 
Instance details

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

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

Defined in Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.Get

Request Lenses

fargUploadProtocol :: Lens' FoldersApprovalRequestsGet (Maybe Text) Source #

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

fargUploadType :: Lens' FoldersApprovalRequestsGet (Maybe Text) Source #

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

fargName :: Lens' FoldersApprovalRequestsGet Text Source #

Name of the approval request to retrieve.