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.Notes.Patch

Contents

Description

Updates the specified note.

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

Synopsis

REST Resource

type ProjectsNotesPatchResource = "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] Note :> Patch '[JSON] Note))))))))) Source #

A resource alias for containeranalysis.projects.notes.patch method which the ProjectsNotesPatch request conforms to.

Creating a Request

projectsNotesPatch Source #

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

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

data ProjectsNotesPatch Source #

Updates the specified note.

See: projectsNotesPatch smart constructor.

Instances
Eq ProjectsNotesPatch Source # 
Instance details

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

Data ProjectsNotesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotesPatch -> Constr #

dataTypeOf :: ProjectsNotesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotesPatch Source # 
Instance details

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

Generic ProjectsNotesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsNotesPatch :: Type -> Type #

GoogleRequest ProjectsNotesPatch Source # 
Instance details

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

Associated Types

type Rs ProjectsNotesPatch :: Type #

type Scopes ProjectsNotesPatch :: [Symbol] #

type Rep ProjectsNotesPatch Source # 
Instance details

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

type Rep ProjectsNotesPatch = D1 (MetaData "ProjectsNotesPatch" "Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsNotesPatch'" PrefixI True) (((S1 (MetaSel (Just "_pnpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pnpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pnpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_pnpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pnpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pnpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Note)) :*: (S1 (MetaSel (Just "_pnpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pnpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotesPatch Source # 
Instance details

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

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

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

Request Lenses

pnpUploadProtocol :: Lens' ProjectsNotesPatch (Maybe Text) Source #

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

pnpUploadType :: Lens' ProjectsNotesPatch (Maybe Text) Source #

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

pnpPayload :: Lens' ProjectsNotesPatch Note Source #

Multipart request metadata.

pnpName :: Lens' ProjectsNotesPatch Text Source #

The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.