gogol-cloudtrace-0.5.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.Spans.CreateSpan

Contents

Description

Creates a new span.

See: Stackdriver Trace API Reference for cloudtrace.projects.traces.spans.createSpan.

Synopsis

REST Resource

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

A resource alias for cloudtrace.projects.traces.spans.createSpan method which the ProjectsTracesSpansCreateSpan request conforms to.

Creating a Request

projectsTracesSpansCreateSpan Source #

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

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

data ProjectsTracesSpansCreateSpan Source #

Creates a new span.

See: projectsTracesSpansCreateSpan smart constructor.

Instances
Eq ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

Data ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

Methods

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

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

toConstr :: ProjectsTracesSpansCreateSpan -> Constr #

dataTypeOf :: ProjectsTracesSpansCreateSpan -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

Generic ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

Associated Types

type Rep ProjectsTracesSpansCreateSpan :: Type -> Type #

GoogleRequest ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

type Rep ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

type Rep ProjectsTracesSpansCreateSpan = D1 (MetaData "ProjectsTracesSpansCreateSpan" "Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan" "gogol-cloudtrace-0.5.0-AUpYwogWLT3HeISot6I4ZN" False) (C1 (MetaCons "ProjectsTracesSpansCreateSpan'" PrefixI True) ((S1 (MetaSel (Just "_ptscsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptscsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptscsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptscsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptscsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Span)) :*: (S1 (MetaSel (Just "_ptscsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptscsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTracesSpansCreateSpan Source # 
Instance details

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

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

Defined in Network.Google.Resource.CloudTrace.Projects.Traces.Spans.CreateSpan

Request Lenses

ptscsUploadProtocol :: Lens' ProjectsTracesSpansCreateSpan (Maybe Text) Source #

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

ptscsUploadType :: Lens' ProjectsTracesSpansCreateSpan (Maybe Text) Source #

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

ptscsName :: Lens' ProjectsTracesSpansCreateSpan Text Source #

The resource name of the span in the following format: projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.