Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))
- billingAccountsGet :: Text -> BillingAccountsGet
- data BillingAccountsGet
- bagXgafv :: Lens' BillingAccountsGet (Maybe Xgafv)
- bagUploadProtocol :: Lens' BillingAccountsGet (Maybe Text)
- bagAccessToken :: Lens' BillingAccountsGet (Maybe Text)
- bagUploadType :: Lens' BillingAccountsGet (Maybe Text)
- bagName :: Lens' BillingAccountsGet Text
- bagCallback :: Lens' BillingAccountsGet (Maybe Text)
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
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
Request Lenses
bagUploadProtocol :: Lens' BillingAccountsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
bagAccessToken :: Lens' BillingAccountsGet (Maybe Text) Source #
OAuth access token.
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`.
bagCallback :: Lens' BillingAccountsGet (Maybe Text) Source #
JSONP