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

Contents

Description

Updates a ScanConfig. This method support partial update of a ScanConfig.

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

Synopsis

REST Resource

type ProjectsScanConfigsPatchResource = "v1alpha" :> (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] ScanConfig :> Patch '[JSON] ScanConfig))))))))) Source #

A resource alias for websecurityscanner.projects.scanConfigs.patch method which the ProjectsScanConfigsPatch request conforms to.

Creating a Request

projectsScanConfigsPatch Source #

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

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

data ProjectsScanConfigsPatch Source #

Updates a ScanConfig. This method support partial update of a ScanConfig.

See: projectsScanConfigsPatch smart constructor.

Instances
Eq ProjectsScanConfigsPatch Source # 
Instance details

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

Data ProjectsScanConfigsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsScanConfigsPatch -> Constr #

dataTypeOf :: ProjectsScanConfigsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsScanConfigsPatch Source # 
Instance details

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

Generic ProjectsScanConfigsPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsScanConfigsPatch :: Type -> Type #

GoogleRequest ProjectsScanConfigsPatch Source # 
Instance details

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

type Rep ProjectsScanConfigsPatch Source # 
Instance details

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

type Rep ProjectsScanConfigsPatch = D1 (MetaData "ProjectsScanConfigsPatch" "Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Patch" "gogol-websecurityscanner-0.4.0-JQyQ1sCwOLo6vYn7QejFAT" False) (C1 (MetaCons "ProjectsScanConfigsPatch'" PrefixI True) (((S1 (MetaSel (Just "_pscpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pscpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pscpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_pscpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pscpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pscpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScanConfig)) :*: (S1 (MetaSel (Just "_pscpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pscpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsScanConfigsPatch Source # 
Instance details

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

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

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

Request Lenses

pscpUploadProtocol :: Lens' ProjectsScanConfigsPatch (Maybe Text) Source #

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

pscpUpdateMask :: Lens' ProjectsScanConfigsPatch (Maybe GFieldMask) Source #

Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

pscpUploadType :: Lens' ProjectsScanConfigsPatch (Maybe Text) Source #

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

pscpName :: Lens' ProjectsScanConfigsPatch Text Source #

The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.