gogol-tracing-0.4.0: Google Tracing 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.Tracing.Projects.Traces.BatchWrite

Contents

Description

Sends new spans to Stackdriver Trace or updates existing traces. If the name of a trace that you send matches that of an existing trace, new spans are added to the existing trace. Attempt to update existing spans results undefined behavior. If the name does not match, a new trace is created with given set of spans.

See: Google Tracing API Reference for tracing.projects.traces.batchWrite.

Synopsis

REST Resource

type ProjectsTracesBatchWriteResource = "v2" :> (Capture "name" Text :> ("traces:batchWrite" :> (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] BatchWriteSpansRequest :> Post '[JSON] Empty))))))))))) Source #

A resource alias for tracing.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 Stackdriver Trace or updates existing traces. If the name of a trace that you send matches that of an existing trace, new spans are added to the existing trace. Attempt to update existing spans results undefined behavior. If the name does not match, a new trace is created with given set of spans.

See: projectsTracesBatchWrite smart constructor.

Instances
Eq ProjectsTracesBatchWrite Source # 
Instance details

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

Data ProjectsTracesBatchWrite Source # 
Instance details

Defined in Network.Google.Resource.Tracing.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.Tracing.Projects.Traces.BatchWrite

Generic ProjectsTracesBatchWrite Source # 
Instance details

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

Associated Types

type Rep ProjectsTracesBatchWrite :: Type -> Type #

GoogleRequest ProjectsTracesBatchWrite Source # 
Instance details

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

type Rep ProjectsTracesBatchWrite Source # 
Instance details

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

type Rep ProjectsTracesBatchWrite = D1 (MetaData "ProjectsTracesBatchWrite" "Network.Google.Resource.Tracing.Projects.Traces.BatchWrite" "gogol-tracing-0.4.0-IYfv4sD5poO9PMAsL7PvYd" 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 "_ptbwPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: 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 "_ptbwBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (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.Tracing.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.Tracing.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 #

Name of the project where the spans belong to. Format is `projects/PROJECT_ID`.