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.List

Contents

Description

Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.

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

Synopsis

REST Resource

type FoldersApprovalRequestsListResource = "v1beta1" :> (Capture "parent" Text :> ("approvalRequests" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListApprovalRequestsResponse))))))))))) Source #

A resource alias for accessapproval.folders.approvalRequests.list method which the FoldersApprovalRequestsList request conforms to.

Creating a Request

foldersApprovalRequestsList Source #

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

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

data FoldersApprovalRequestsList Source #

Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.

See: foldersApprovalRequestsList smart constructor.

Instances
Eq FoldersApprovalRequestsList Source # 
Instance details

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

Data FoldersApprovalRequestsList Source # 
Instance details

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

Methods

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

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

toConstr :: FoldersApprovalRequestsList -> Constr #

dataTypeOf :: FoldersApprovalRequestsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersApprovalRequestsList Source # 
Instance details

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

Generic FoldersApprovalRequestsList Source # 
Instance details

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

Associated Types

type Rep FoldersApprovalRequestsList :: Type -> Type #

GoogleRequest FoldersApprovalRequestsList Source # 
Instance details

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

type Rep FoldersApprovalRequestsList Source # 
Instance details

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

type Rep FoldersApprovalRequestsList = D1 (MetaData "FoldersApprovalRequestsList" "Network.Google.Resource.AccessApproval.Folders.ApprovalRequests.List" "gogol-accessapproval-0.5.0-KrEqfpg3IwmAqEW1n3aDo5" False) (C1 (MetaCons "FoldersApprovalRequestsList'" PrefixI True) (((S1 (MetaSel (Just "_farlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_farlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_farlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_farlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_farlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_farlFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_farlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_farlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_farlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes FoldersApprovalRequestsList Source # 
Instance details

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

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

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

Request Lenses

farlParent :: Lens' FoldersApprovalRequestsList Text Source #

The parent resource. This may be "projects/{project_id}", "folders/{folder_id}", or "organizations/{organization_id}".

farlUploadProtocol :: Lens' FoldersApprovalRequestsList (Maybe Text) Source #

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

farlUploadType :: Lens' FoldersApprovalRequestsList (Maybe Text) Source #

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

farlFilter :: Lens' FoldersApprovalRequestsList (Maybe Text) Source #

A filter on the type of approval requests to retrieve. Must be one of the following values:

  1. [not set]: Requests that are pending or have active approvals.
  2. ALL: All requests.
  3. PENDING: Only pending requests.
  4. ACTIVE: Only active (i.e. currently approved) requests.
  5. DISMISSED: Only dismissed (including expired) requests.

farlPageToken :: Lens' FoldersApprovalRequestsList (Maybe Text) Source #

A token identifying the page of results to return.