gogol-billing-0.3.0: Google Cloud Billing 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.CloudBilling.BillingAccounts.Projects.List

Contents

Description

Lists the projects associated with a billing account. The current authenticated user must be an owner of the billing account.

See: Google Cloud Billing API Reference for cloudbilling.billingAccounts.projects.list.

Synopsis

REST Resource

type BillingAccountsProjectsListResource = "v1" :> (Capture "name" Text :> ("projects" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListProjectBillingInfoResponse)))))))))))) Source #

A resource alias for cloudbilling.billingAccounts.projects.list method which the BillingAccountsProjectsList request conforms to.

Creating a Request

billingAccountsProjectsList Source #

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

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

data BillingAccountsProjectsList Source #

Lists the projects associated with a billing account. The current authenticated user must be an owner of the billing account.

See: billingAccountsProjectsList smart constructor.

Instances

Eq BillingAccountsProjectsList Source # 
Data BillingAccountsProjectsList Source # 

Methods

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

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

toConstr :: BillingAccountsProjectsList -> Constr #

dataTypeOf :: BillingAccountsProjectsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsProjectsList Source # 
Generic BillingAccountsProjectsList Source # 
GoogleRequest BillingAccountsProjectsList Source # 
type Rep BillingAccountsProjectsList Source # 
type Scopes BillingAccountsProjectsList Source # 
type Scopes BillingAccountsProjectsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs BillingAccountsProjectsList Source # 

Request Lenses

baplUploadProtocol :: Lens' BillingAccountsProjectsList (Maybe Text) Source #

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

baplUploadType :: Lens' BillingAccountsProjectsList (Maybe Text) Source #

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

baplName :: Lens' BillingAccountsProjectsList Text Source #

The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.

baplPageToken :: Lens' BillingAccountsProjectsList (Maybe Text) Source #

A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.

baplPageSize :: Lens' BillingAccountsProjectsList (Maybe Int32) Source #

Requested page size. The maximum page size is 100; this is also the default.