gogol-cloudprofiler-0.5.0: Google Stackdriver Profiler 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.CloudProFiler.Projects.ProFiles.CreateOffline

Contents

Description

CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it.

See: Stackdriver Profiler API Reference for cloudprofiler.projects.profiles.createOffline.

Synopsis

REST Resource

type ProjectsProFilesCreateOfflineResource = "v2" :> (Capture "parent" Text :> ("profiles:createOffline" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Post '[JSON] ProFile))))))))) Source #

A resource alias for cloudprofiler.projects.profiles.createOffline method which the ProjectsProFilesCreateOffline request conforms to.

Creating a Request

projectsProFilesCreateOffline Source #

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

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

data ProjectsProFilesCreateOffline Source #

CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it.

See: projectsProFilesCreateOffline smart constructor.

Instances
Eq ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

Data ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

Methods

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

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

toConstr :: ProjectsProFilesCreateOffline -> Constr #

dataTypeOf :: ProjectsProFilesCreateOffline -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

Generic ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

Associated Types

type Rep ProjectsProFilesCreateOffline :: Type -> Type #

GoogleRequest ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

type Rep ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

type Rep ProjectsProFilesCreateOffline = D1 (MetaData "ProjectsProFilesCreateOffline" "Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline" "gogol-cloudprofiler-0.5.0-8a4kxi9VpEA4iQWskSrMNx" False) (C1 (MetaCons "ProjectsProFilesCreateOffline'" PrefixI True) ((S1 (MetaSel (Just "_ppfcoParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ppfcoXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ppfcoUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ppfcoAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppfcoUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ppfcoPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProFile) :*: S1 (MetaSel (Just "_ppfcoCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsProFilesCreateOffline Source # 
Instance details

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

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

Defined in Network.Google.Resource.CloudProFiler.Projects.ProFiles.CreateOffline

Request Lenses

ppfcoParent :: Lens' ProjectsProFilesCreateOffline Text Source #

Parent project to create the profile in.

ppfcoUploadProtocol :: Lens' ProjectsProFilesCreateOffline (Maybe Text) Source #

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

ppfcoUploadType :: Lens' ProjectsProFilesCreateOffline (Maybe Text) Source #

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