gogol-servicecontrol-0.1.1: Google Service Control 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.ServiceControl.Services.Report

Contents

Description

Reports operations to Google Service Control. It should be called after the operation is completed. This method requires the `servicemanagement.services.report` permission on the specified service. For more information, see Google Cloud IAM.

See: Google Service Control API Reference for servicecontrol.services.report.

Synopsis

REST Resource

type ServicesReportResource = "v1" :> ("services" :> (CaptureMode "serviceName" "report" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReportRequest :> Post '[JSON] ReportResponse))))))))))) Source #

A resource alias for servicecontrol.services.report method which the ServicesReport request conforms to.

Creating a Request

servicesReport Source #

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

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

data ServicesReport Source #

Reports operations to Google Service Control. It should be called after the operation is completed. This method requires the `servicemanagement.services.report` permission on the specified service. For more information, see Google Cloud IAM.

See: servicesReport smart constructor.

Instances

Eq ServicesReport Source # 
Data ServicesReport Source # 

Methods

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

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

toConstr :: ServicesReport -> Constr #

dataTypeOf :: ServicesReport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesReport Source # 
Generic ServicesReport Source # 

Associated Types

type Rep ServicesReport :: * -> * #

GoogleRequest ServicesReport Source # 
type Rep ServicesReport Source # 
type Scopes ServicesReport Source # 
type Scopes ServicesReport = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/servicecontrol" ([] Symbol))
type Rs ServicesReport Source # 

Request Lenses

srUploadProtocol :: Lens' ServicesReport (Maybe Text) Source #

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

srPp :: Lens' ServicesReport Bool Source #

Pretty-print response.

srUploadType :: Lens' ServicesReport (Maybe Text) Source #

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

srPayload :: Lens' ServicesReport ReportRequest Source #

Multipart request metadata.

srServiceName :: Lens' ServicesReport Text Source #

The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See google.api.Service for the definition of a service name.