gogol-billing-0.0.1: Google Cloud Billing SDK.

Copyright(c) 2015 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:

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