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

Contents

Description

Lists the projects associated with a billing account. The current authenticated user must be an owner of the billing account.

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

Synopsis

REST Resource

type BillingAccountsProjectsListResource = "v1" :> (Capture "name" Text :> ("projects" :> (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]` ListProjectBillingInfoResponse)))))))))))) Source

A resource alias for cloudbilling.billingAccounts.projects.list method which the BillingAccountsProjectsList request conforms to.

Creating a Request

billingAccountsProjectsList Source

Creates a value of BillingAccountsProjectsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

baplUploadProtocol :: Lens' BillingAccountsProjectsList (Maybe Text) Source

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

baplUploadType :: Lens' BillingAccountsProjectsList (Maybe Text) Source

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

baplName :: Lens' BillingAccountsProjectsList Text Source

The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.

baplPageToken :: Lens' BillingAccountsProjectsList (Maybe Text) Source

A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.

baplPageSize :: Lens' BillingAccountsProjectsList (Maybe Int32) Source

Requested page size. The maximum page size is 100; this is also the default.