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.ScanConfigs.Update

Contents

Description

Updates the specified scan configuration.

See: Container Analysis API Reference for containeranalysis.projects.scanConfigs.update.

Synopsis

REST Resource

type ProjectsScanConfigsUpdateResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ScanConfig :> Put '[JSON] ScanConfig)))))))) Source #

A resource alias for containeranalysis.projects.scanConfigs.update method which the ProjectsScanConfigsUpdate request conforms to.

Creating a Request

projectsScanConfigsUpdate Source #

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

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

data ProjectsScanConfigsUpdate Source #

Updates the specified scan configuration.

See: projectsScanConfigsUpdate smart constructor.

Instances
Eq ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

Data ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

Methods

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

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

toConstr :: ProjectsScanConfigsUpdate -> Constr #

dataTypeOf :: ProjectsScanConfigsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

Generic ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

Associated Types

type Rep ProjectsScanConfigsUpdate :: Type -> Type #

GoogleRequest ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

type Rep ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

type Rep ProjectsScanConfigsUpdate = D1 (MetaData "ProjectsScanConfigsUpdate" "Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsScanConfigsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_pscuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pscuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pscuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pscuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pscuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScanConfig)) :*: (S1 (MetaSel (Just "_pscuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pscuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsScanConfigsUpdate Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

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

Defined in Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update

Request Lenses

pscuUploadProtocol :: Lens' ProjectsScanConfigsUpdate (Maybe Text) Source #

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

pscuUploadType :: Lens' ProjectsScanConfigsUpdate (Maybe Text) Source #

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

pscuName :: Lens' ProjectsScanConfigsUpdate Text Source #

The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.