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

Contents

Description

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

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

Synopsis

REST Resource

type BillingAccountsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 a viewer of the billing account.

See: billingAccountsGet smart constructor.

Instances
Eq BillingAccountsGet Source # 
Instance details

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

Data BillingAccountsGet Source # 
Instance details

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

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

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

Generic BillingAccountsGet Source # 
Instance details

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

Associated Types

type Rep BillingAccountsGet :: Type -> Type #

GoogleRequest BillingAccountsGet Source # 
Instance details

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

Associated Types

type Rs BillingAccountsGet :: Type #

type Scopes BillingAccountsGet :: [Symbol] #

type Rep BillingAccountsGet Source # 
Instance details

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

type Rep BillingAccountsGet = D1 (MetaData "BillingAccountsGet" "Network.Google.Resource.CloudBilling.BillingAccounts.Get" "gogol-billing-0.4.0-JAyrjiWj8X6ES438iq9h49" False) (C1 (MetaCons "BillingAccountsGet'" PrefixI True) ((S1 (MetaSel (Just "_bagXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_bagUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bagAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_bagUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bagName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bagCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsGet Source # 
Instance details

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

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

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

Request Lenses

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

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

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