gogol-billing-0.4.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 have the `billing.resourceAssociations.list` IAM permission, which is often given to billing account viewers.

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

Synopsis

REST Resource

type BillingAccountsProjectsListResource = "v1" :> (Capture "name" Text :> ("projects" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 have the `billing.resourceAssociations.list` IAM permission, which is often given to billing account viewers.

See: billingAccountsProjectsList smart constructor.

Instances
Eq BillingAccountsProjectsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

Data BillingAccountsProjectsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

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 # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

Generic BillingAccountsProjectsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

Associated Types

type Rep BillingAccountsProjectsList :: Type -> Type #

GoogleRequest BillingAccountsProjectsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

type Rep BillingAccountsProjectsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

type Rep BillingAccountsProjectsList = D1 (MetaData "BillingAccountsProjectsList" "Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "BillingAccountsProjectsList'" PrefixI True) (((S1 (MetaSel (Just "_baplXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_baplUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_baplAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_baplUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_baplName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_baplPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_baplPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_baplCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsProjectsList Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

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

Defined in Network.Google.Resource.CloudBilling.BillingAccounts.Projects.List

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.