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

Contents

Description

Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).

See: Google Cloud Billing API Reference for cloudbilling.projects.getBillingInfo.

Synopsis

REST Resource

type ProjectsGetBillingInfoResource = "v1" :> (Capture "name" Text :> ("billingInfo" :> (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]` ProjectBillingInfo)))))))))) Source

A resource alias for cloudbilling.projects.getBillingInfo method which the ProjectsGetBillingInfo request conforms to.

Creating a Request

projectsGetBillingInfo Source

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

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

data ProjectsGetBillingInfo Source

Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).

See: projectsGetBillingInfo smart constructor.

Request Lenses

pgbiUploadProtocol :: Lens' ProjectsGetBillingInfo (Maybe Text) Source

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

pgbiPp :: Lens' ProjectsGetBillingInfo Bool Source

Pretty-print response.

pgbiUploadType :: Lens' ProjectsGetBillingInfo (Maybe Text) Source

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

pgbiName :: Lens' ProjectsGetBillingInfo Text Source

The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`.