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

Contents

Description

Creates a new note.

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

Synopsis

REST Resource

type ProjectsNotesCreateResource = "v1beta1" :> (Capture "parent" Text :> ("notes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "noteId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Note :> Post '[JSON] Note)))))))))) Source #

A resource alias for containeranalysis.projects.notes.create method which the ProjectsNotesCreate request conforms to.

Creating a Request

projectsNotesCreate Source #

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

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

data ProjectsNotesCreate Source #

Creates a new note.

See: projectsNotesCreate smart constructor.

Instances
Eq ProjectsNotesCreate Source # 
Instance details

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

Data ProjectsNotesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotesCreate -> Constr #

dataTypeOf :: ProjectsNotesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotesCreate Source # 
Instance details

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

Generic ProjectsNotesCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsNotesCreate :: Type -> Type #

GoogleRequest ProjectsNotesCreate Source # 
Instance details

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

Associated Types

type Rs ProjectsNotesCreate :: Type #

type Scopes ProjectsNotesCreate :: [Symbol] #

type Rep ProjectsNotesCreate Source # 
Instance details

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

type Rep ProjectsNotesCreate = D1 (MetaData "ProjectsNotesCreate" "Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsNotesCreate'" PrefixI True) (((S1 (MetaSel (Just "_pncParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pncUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pncUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Note)) :*: (S1 (MetaSel (Just "_pncNoteId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotesCreate Source # 
Instance details

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

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

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

Request Lenses

pncParent :: Lens' ProjectsNotesCreate Text Source #

The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.

pncUploadProtocol :: Lens' ProjectsNotesCreate (Maybe Text) Source #

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

pncUploadType :: Lens' ProjectsNotesCreate (Maybe Text) Source #

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

pncPayload :: Lens' ProjectsNotesCreate Note Source #

Multipart request metadata.

pncNoteId :: Lens' ProjectsNotesCreate (Maybe Text) Source #

The ID to use for this note.