gogol-billing-0.5.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.List

Contents

Description

Lists the billing accounts that the current authenticated user has permission to view.

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

Synopsis

REST Resource

type BillingAccountsListResource = "v1" :> ("billingAccounts" :> (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] ListBillingAccountsResponse)))))))))) Source #

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

Creating a Request

billingAccountsList :: BillingAccountsList Source #

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

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

data BillingAccountsList Source #

Lists the billing accounts that the current authenticated user has permission to view.

See: billingAccountsList smart constructor.

Instances
Eq BillingAccountsList Source # 
Instance details

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

Data BillingAccountsList Source # 
Instance details

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

Methods

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

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

toConstr :: BillingAccountsList -> Constr #

dataTypeOf :: BillingAccountsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsList Source # 
Instance details

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

Generic BillingAccountsList Source # 
Instance details

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

Associated Types

type Rep BillingAccountsList :: Type -> Type #

GoogleRequest BillingAccountsList Source # 
Instance details

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

Associated Types

type Rs BillingAccountsList :: Type #

type Scopes BillingAccountsList :: [Symbol] #

type Rep BillingAccountsList Source # 
Instance details

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

type Rep BillingAccountsList = D1 (MetaData "BillingAccountsList" "Network.Google.Resource.CloudBilling.BillingAccounts.List" "gogol-billing-0.5.0-2SDUJY3uOwZCxgD82s984u" False) (C1 (MetaCons "BillingAccountsList'" PrefixI True) (((S1 (MetaSel (Just "_balXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_balUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_balAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_balUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_balFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_balPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_balPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_balCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsList Source # 
Instance details

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

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

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

Request Lenses

balUploadProtocol :: Lens' BillingAccountsList (Maybe Text) Source #

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

balUploadType :: Lens' BillingAccountsList (Maybe Text) Source #

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

balFilter :: Lens' BillingAccountsList (Maybe Text) Source #

Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.

balPageToken :: Lens' BillingAccountsList (Maybe Text) Source #

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

balPageSize :: Lens' BillingAccountsList (Maybe Int32) Source #

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