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

Contents

Description

Lists the billing accounts that the current authenticated user owns.

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

Synopsis

REST Resource

type BillingAccountsListResource = "v1" :> ("billingAccounts" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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:

Request Lenses

balUploadProtocol :: Lens' BillingAccountsList (Maybe Text) Source

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

balPp :: Lens' BillingAccountsList Bool Source

Pretty-print response.

balUploadType :: Lens' BillingAccountsList (Maybe Text) Source

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

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.