gogol-websecurityscanner-0.4.0: Google Web Security Scanner 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.WebSecurityScanner.Projects.ScanConfigs.Create

Contents

Description

Creates a new ScanConfig.

See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.create.

Synopsis

REST Resource

type ProjectsScanConfigsCreateResource = "v1alpha" :> (Capture "parent" Text :> ("scanConfigs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ScanConfig :> Post '[JSON] ScanConfig))))))))) Source #

A resource alias for websecurityscanner.projects.scanConfigs.create method which the ProjectsScanConfigsCreate request conforms to.

Creating a Request

projectsScanConfigsCreate Source #

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

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

data ProjectsScanConfigsCreate Source #

Creates a new ScanConfig.

See: projectsScanConfigsCreate smart constructor.

Instances
Eq ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

Data ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

Methods

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

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

toConstr :: ProjectsScanConfigsCreate -> Constr #

dataTypeOf :: ProjectsScanConfigsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

Generic ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

Associated Types

type Rep ProjectsScanConfigsCreate :: Type -> Type #

GoogleRequest ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

type Rep ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

type Rep ProjectsScanConfigsCreate = D1 (MetaData "ProjectsScanConfigsCreate" "Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create" "gogol-websecurityscanner-0.4.0-JQyQ1sCwOLo6vYn7QejFAT" False) (C1 (MetaCons "ProjectsScanConfigsCreate'" PrefixI True) ((S1 (MetaSel (Just "_psccParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_psccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_psccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_psccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScanConfig) :*: S1 (MetaSel (Just "_psccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsScanConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

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

Defined in Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create

Request Lenses

psccParent :: Lens' ProjectsScanConfigsCreate Text Source #

Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.

psccUploadProtocol :: Lens' ProjectsScanConfigsCreate (Maybe Text) Source #

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

psccUploadType :: Lens' ProjectsScanConfigsCreate (Maybe Text) Source #

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