Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates a ScanConfig. This method support partial update of a ScanConfig.
See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.patch
.
Synopsis
- 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)))))))))
- projectsScanConfigsPatch :: ScanConfig -> Text -> ProjectsScanConfigsPatch
- data ProjectsScanConfigsPatch
- pscpXgafv :: Lens' ProjectsScanConfigsPatch (Maybe Xgafv)
- pscpUploadProtocol :: Lens' ProjectsScanConfigsPatch (Maybe Text)
- pscpUpdateMask :: Lens' ProjectsScanConfigsPatch (Maybe GFieldMask)
- pscpAccessToken :: Lens' ProjectsScanConfigsPatch (Maybe Text)
- pscpUploadType :: Lens' ProjectsScanConfigsPatch (Maybe Text)
- pscpPayload :: Lens' ProjectsScanConfigsPatch ScanConfig
- pscpName :: Lens' ProjectsScanConfigsPatch Text
- pscpCallback :: Lens' ProjectsScanConfigsPatch (Maybe Text)
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
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
pscpAccessToken :: Lens' ProjectsScanConfigsPatch (Maybe Text) Source #
OAuth access token.
pscpUploadType :: Lens' ProjectsScanConfigsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pscpPayload :: Lens' ProjectsScanConfigsPatch ScanConfig Source #
Multipart request metadata.
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.
pscpCallback :: Lens' ProjectsScanConfigsPatch (Maybe Text) Source #
JSONP