gogol-cloudprofiler-0.4.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.Patch

Contents

Description

UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation.

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

Synopsis

REST Resource

type ProjectsProFilesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Patch '[JSON] ProFile))))))))) Source #

A resource alias for cloudprofiler.projects.profiles.patch method which the ProjectsProFilesPatch request conforms to.

Creating a Request

projectsProFilesPatch Source #

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

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

data ProjectsProFilesPatch Source #

UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation.

See: projectsProFilesPatch smart constructor.

Instances
Eq ProjectsProFilesPatch Source # 
Instance details

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

Data ProjectsProFilesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsProFilesPatch -> Constr #

dataTypeOf :: ProjectsProFilesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsProFilesPatch Source # 
Instance details

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

Generic ProjectsProFilesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsProFilesPatch :: Type -> Type #

GoogleRequest ProjectsProFilesPatch Source # 
Instance details

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

type Rep ProjectsProFilesPatch Source # 
Instance details

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

type Rep ProjectsProFilesPatch = D1 (MetaData "ProjectsProFilesPatch" "Network.Google.Resource.CloudProFiler.Projects.ProFiles.Patch" "gogol-cloudprofiler-0.4.0-AtaW9VVG1eMKTsQruh5k45" False) (C1 (MetaCons "ProjectsProFilesPatch'" PrefixI True) (((S1 (MetaSel (Just "_ppfpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ppfpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ppfpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_ppfpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ppfpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppfpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProFile)) :*: (S1 (MetaSel (Just "_ppfpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ppfpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsProFilesPatch Source # 
Instance details

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

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

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

Request Lenses

ppfpUploadProtocol :: Lens' ProjectsProFilesPatch (Maybe Text) Source #

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

ppfpUpdateMask :: Lens' ProjectsProFilesPatch (Maybe GFieldMask) Source #

Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.

ppfpUploadType :: Lens' ProjectsProFilesPatch (Maybe Text) Source #

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

ppfpPayload :: Lens' ProjectsProFilesPatch ProFile Source #

Multipart request metadata.

ppfpName :: Lens' ProjectsProFilesPatch Text Source #

Output only. Opaque, server-assigned, unique ID for this profile.