gogol-containeranalysis-0.4.0: Google Container Analysis 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.ContainerAnalysis.Projects.Occurrences.Patch

Contents

Description

Updates the specified occurrence.

See: Container Analysis API Reference for containeranalysis.projects.occurrences.patch.

Synopsis

REST Resource

type ProjectsOccurrencesPatchResource = "v1beta1" :> (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] Occurrence :> Patch '[JSON] Occurrence))))))))) Source #

A resource alias for containeranalysis.projects.occurrences.patch method which the ProjectsOccurrencesPatch request conforms to.

Creating a Request

projectsOccurrencesPatch Source #

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

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

data ProjectsOccurrencesPatch Source #

Updates the specified occurrence.

See: projectsOccurrencesPatch smart constructor.

Instances
Eq ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

Data ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

Methods

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

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

toConstr :: ProjectsOccurrencesPatch -> Constr #

dataTypeOf :: ProjectsOccurrencesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

Generic ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

Associated Types

type Rep ProjectsOccurrencesPatch :: Type -> Type #

GoogleRequest ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

type Rep ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

type Rep ProjectsOccurrencesPatch = D1 (MetaData "ProjectsOccurrencesPatch" "Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsOccurrencesPatch'" PrefixI True) (((S1 (MetaSel (Just "_popXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_popUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_popUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_popAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_popUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_popPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Occurrence)) :*: (S1 (MetaSel (Just "_popName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_popCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsOccurrencesPatch Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

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

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch

Request Lenses

popUploadProtocol :: Lens' ProjectsOccurrencesPatch (Maybe Text) Source #

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

popUploadType :: Lens' ProjectsOccurrencesPatch (Maybe Text) Source #

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

popName :: Lens' ProjectsOccurrencesPatch Text Source #

The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.