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 |
Gets a ScanConfig.
See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.get
.
Synopsis
- type ProjectsScanConfigsGetResource = "v1alpha" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ScanConfig)))))))
- projectsScanConfigsGet :: Text -> ProjectsScanConfigsGet
- data ProjectsScanConfigsGet
- pscgXgafv :: Lens' ProjectsScanConfigsGet (Maybe Xgafv)
- pscgUploadProtocol :: Lens' ProjectsScanConfigsGet (Maybe Text)
- pscgAccessToken :: Lens' ProjectsScanConfigsGet (Maybe Text)
- pscgUploadType :: Lens' ProjectsScanConfigsGet (Maybe Text)
- pscgName :: Lens' ProjectsScanConfigsGet Text
- pscgCallback :: Lens' ProjectsScanConfigsGet (Maybe Text)
REST Resource
type ProjectsScanConfigsGetResource = "v1alpha" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ScanConfig))))))) Source #
A resource alias for websecurityscanner.projects.scanConfigs.get
method which the
ProjectsScanConfigsGet
request conforms to.
Creating a Request
projectsScanConfigsGet Source #
Creates a value of ProjectsScanConfigsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsScanConfigsGet Source #
Gets a ScanConfig.
See: projectsScanConfigsGet
smart constructor.
Instances
Request Lenses
pscgUploadProtocol :: Lens' ProjectsScanConfigsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pscgAccessToken :: Lens' ProjectsScanConfigsGet (Maybe Text) Source #
OAuth access token.
pscgUploadType :: Lens' ProjectsScanConfigsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pscgName :: Lens' ProjectsScanConfigsGet Text Source #
Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
pscgCallback :: Lens' ProjectsScanConfigsGet (Maybe Text) Source #
JSONP