gogol-billing-0.5.0: Google Cloud Billing SDK.

Copyright(c) 2015-2016 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: Cloud Billing API Reference for cloudbilling.projects.getBillingInfo.

Synopsis

REST Resource

type ProjectsGetBillingInfoResource = "v1" :> (Capture "name" Text :> ("billingInfo" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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.

Instances
Eq ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

Data ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsGetBillingInfo -> c ProjectsGetBillingInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsGetBillingInfo #

toConstr :: ProjectsGetBillingInfo -> Constr #

dataTypeOf :: ProjectsGetBillingInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsGetBillingInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsGetBillingInfo) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsGetBillingInfo -> ProjectsGetBillingInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsGetBillingInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsGetBillingInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsGetBillingInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsGetBillingInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsGetBillingInfo -> m ProjectsGetBillingInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsGetBillingInfo -> m ProjectsGetBillingInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsGetBillingInfo -> m ProjectsGetBillingInfo #

Show ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

Generic ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

Associated Types

type Rep ProjectsGetBillingInfo :: Type -> Type #

GoogleRequest ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

type Rep ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

type Rep ProjectsGetBillingInfo = D1 (MetaData "ProjectsGetBillingInfo" "Network.Google.Resource.CloudBilling.Projects.GetBillingInfo" "gogol-billing-0.5.0-2SDUJY3uOwZCxgD82s984u" False) (C1 (MetaCons "ProjectsGetBillingInfo'" PrefixI True) ((S1 (MetaSel (Just "_pgbiXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pgbiUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgbiAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pgbiUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgbiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgbiCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

type Scopes ProjectsGetBillingInfo = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsGetBillingInfo Source # 
Instance details

Defined in Network.Google.Resource.CloudBilling.Projects.GetBillingInfo

Request Lenses

pgbiUploadProtocol :: Lens' ProjectsGetBillingInfo (Maybe Text) Source #

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

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