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 the specified scan configuration.
See: Container Analysis API Reference for containeranalysis.projects.scanConfigs.update
.
Synopsis
- 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))))))))
- projectsScanConfigsUpdate :: ScanConfig -> Text -> ProjectsScanConfigsUpdate
- data ProjectsScanConfigsUpdate
- pscuXgafv :: Lens' ProjectsScanConfigsUpdate (Maybe Xgafv)
- pscuUploadProtocol :: Lens' ProjectsScanConfigsUpdate (Maybe Text)
- pscuAccessToken :: Lens' ProjectsScanConfigsUpdate (Maybe Text)
- pscuUploadType :: Lens' ProjectsScanConfigsUpdate (Maybe Text)
- pscuPayload :: Lens' ProjectsScanConfigsUpdate ScanConfig
- pscuName :: Lens' ProjectsScanConfigsUpdate Text
- pscuCallback :: Lens' ProjectsScanConfigsUpdate (Maybe Text)
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
Request Lenses
pscuUploadProtocol :: Lens' ProjectsScanConfigsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pscuAccessToken :: Lens' ProjectsScanConfigsUpdate (Maybe Text) Source #
OAuth access token.
pscuUploadType :: Lens' ProjectsScanConfigsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pscuPayload :: Lens' ProjectsScanConfigsUpdate ScanConfig Source #
Multipart request metadata.
pscuName :: Lens' ProjectsScanConfigsUpdate Text Source #
The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
pscuCallback :: Lens' ProjectsScanConfigsUpdate (Maybe Text) Source #
JSONP