gogol-cloudtrace-0.4.0: Google Stackdriver Trace 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.CloudTrace.Projects.Traces.BatchWrite

Contents

Description

Sends new spans to new or existing traces. You cannot update existing spans.

See: Stackdriver Trace API Reference for cloudtrace.projects.traces.batchWrite.

Synopsis

REST Resource

type ProjectsTracesBatchWriteResource = "v2" :> (Capture "name" Text :> ("traces:batchWrite" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchWriteSpansRequest :> Post '[JSON] Empty))))))))) Source #

A resource alias for cloudtrace.projects.traces.batchWrite method which the ProjectsTracesBatchWrite request conforms to.

Creating a Request

projectsTracesBatchWrite Source #

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

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

data ProjectsTracesBatchWrite Source #

Sends new spans to new or existing traces. You cannot update existing spans.

See: projectsTracesBatchWrite smart constructor.

Instances
Eq ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

Data ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

Methods

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

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

toConstr :: ProjectsTracesBatchWrite -> Constr #

dataTypeOf :: ProjectsTracesBatchWrite -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

Generic ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

Associated Types

type Rep ProjectsTracesBatchWrite :: Type -> Type #

GoogleRequest ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

type Rep ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

type Rep ProjectsTracesBatchWrite = D1 (MetaData "ProjectsTracesBatchWrite" "Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite" "gogol-cloudtrace-0.4.0-1Tc48PF6dD833eHT0bt1hA" False) (C1 (MetaCons "ProjectsTracesBatchWrite'" PrefixI True) ((S1 (MetaSel (Just "_ptbwXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptbwUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptbwAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptbwUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptbwPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchWriteSpansRequest)) :*: (S1 (MetaSel (Just "_ptbwName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptbwCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

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

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.BatchWrite

Request Lenses

ptbwUploadProtocol :: Lens' ProjectsTracesBatchWrite (Maybe Text) Source #

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

ptbwUploadType :: Lens' ProjectsTracesBatchWrite (Maybe Text) Source #

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

ptbwName :: Lens' ProjectsTracesBatchWrite Text Source #

Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.