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 |
Lists the billing accounts that the current authenticated user has permission to view.
See: Cloud Billing API Reference for cloudbilling.billingAccounts.list
.
Synopsis
- type BillingAccountsListResource = "v1" :> ("billingAccounts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListBillingAccountsResponse))))))))))
- billingAccountsList :: BillingAccountsList
- data BillingAccountsList
- balXgafv :: Lens' BillingAccountsList (Maybe Xgafv)
- balUploadProtocol :: Lens' BillingAccountsList (Maybe Text)
- balAccessToken :: Lens' BillingAccountsList (Maybe Text)
- balUploadType :: Lens' BillingAccountsList (Maybe Text)
- balFilter :: Lens' BillingAccountsList (Maybe Text)
- balPageToken :: Lens' BillingAccountsList (Maybe Text)
- balPageSize :: Lens' BillingAccountsList (Maybe Int32)
- balCallback :: Lens' BillingAccountsList (Maybe Text)
REST Resource
type BillingAccountsListResource = "v1" :> ("billingAccounts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" 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:
data BillingAccountsList Source #
Lists the billing accounts that the current authenticated user has permission to view.
See: billingAccountsList
smart constructor.
Instances
Request Lenses
balUploadProtocol :: Lens' BillingAccountsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
balAccessToken :: Lens' BillingAccountsList (Maybe Text) Source #
OAuth access token.
balUploadType :: Lens' BillingAccountsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
balFilter :: Lens' BillingAccountsList (Maybe Text) Source #
Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.
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.
balCallback :: Lens' BillingAccountsList (Maybe Text) Source #
JSONP