gogol-billing-0.1.1: 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.Get

Contents

Description

Gets information about a billing account. The current authenticated user must be an owner of the billing account.

See: Google Cloud Billing API Reference for cloudbilling.billingAccounts.get.

Synopsis

REST Resource

type BillingAccountsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BillingAccount))))))))) Source #

A resource alias for cloudbilling.billingAccounts.get method which the BillingAccountsGet request conforms to.

Creating a Request

billingAccountsGet Source #

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

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

data BillingAccountsGet Source #

Gets information about a billing account. The current authenticated user must be an owner of the billing account.

See: billingAccountsGet smart constructor.

Instances

Eq BillingAccountsGet Source # 
Data BillingAccountsGet Source # 

Methods

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

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

toConstr :: BillingAccountsGet -> Constr #

dataTypeOf :: BillingAccountsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

bagUploadProtocol :: Lens' BillingAccountsGet (Maybe Text) Source #

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

bagPp :: Lens' BillingAccountsGet Bool Source #

Pretty-print response.

bagUploadType :: Lens' BillingAccountsGet (Maybe Text) Source #

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

bagName :: Lens' BillingAccountsGet Text Source #

The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`.