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.Spans.Create

Contents

Description

Creates a new Span.

See: Google Tracing API Reference for tracing.projects.traces.spans.create.

Synopsis

REST Resource

type ProjectsTracesSpansCreateResource = "v2" :> (Capture "name" 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] Span :> Put '[JSON] Span)))))))))) Source #

A resource alias for tracing.projects.traces.spans.create method which the ProjectsTracesSpansCreate request conforms to.

Creating a Request

projectsTracesSpansCreate Source #

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

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

data ProjectsTracesSpansCreate Source #

Creates a new Span.

See: projectsTracesSpansCreate smart constructor.

Instances
Eq ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

Data ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

Methods

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

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

toConstr :: ProjectsTracesSpansCreate -> Constr #

dataTypeOf :: ProjectsTracesSpansCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

Generic ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

Associated Types

type Rep ProjectsTracesSpansCreate :: Type -> Type #

GoogleRequest ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

type Rep ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

type Rep ProjectsTracesSpansCreate = D1 (MetaData "ProjectsTracesSpansCreate" "Network.Google.Resource.Tracing.Projects.Traces.Spans.Create" "gogol-tracing-0.4.0-IYfv4sD5poO9PMAsL7PvYd" False) (C1 (MetaCons "ProjectsTracesSpansCreate'" PrefixI True) (((S1 (MetaSel (Just "_ptscXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ptscUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptscPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_ptscAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptscUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptscPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Span)) :*: (S1 (MetaSel (Just "_ptscBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ptscName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptscCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsTracesSpansCreate Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

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

Defined in Network.Google.Resource.Tracing.Projects.Traces.Spans.Create

Request Lenses

ptscUploadProtocol :: Lens' ProjectsTracesSpansCreate (Maybe Text) Source #

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

ptscUploadType :: Lens' ProjectsTracesSpansCreate (Maybe Text) Source #

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

ptscPayload :: Lens' ProjectsTracesSpansCreate Span Source #

Multipart request metadata.

ptscName :: Lens' ProjectsTracesSpansCreate Text Source #

The resource name of Span in the format `projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID`. `TRACE_ID` is a unique identifier for a trace within a project and is a base16-encoded, case-insensitive string and is required to be 32 char long. `SPAN_ID` is a unique identifier for a span within a trace. It is a base 16-encoded, case-insensitive string of a 8-bytes array and is required to be 16 char long.