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 |
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
See: Compute Engine API Reference for compute.urlMaps.validate
.
Synopsis
- type URLMapsValidateResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("urlMaps" :> (Capture "urlMap" Text :> ("validate" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLMapsValidateRequest :> Post '[JSON] URLMapsValidateResponse)))))))))
- urlMapsValidate :: Text -> Text -> URLMapsValidateRequest -> URLMapsValidate
- data URLMapsValidate
- umvURLMap :: Lens' URLMapsValidate Text
- umvProject :: Lens' URLMapsValidate Text
- umvPayload :: Lens' URLMapsValidate URLMapsValidateRequest
REST Resource
type URLMapsValidateResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("urlMaps" :> (Capture "urlMap" Text :> ("validate" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLMapsValidateRequest :> Post '[JSON] URLMapsValidateResponse))))))))) Source #
A resource alias for compute.urlMaps.validate
method which the
URLMapsValidate
request conforms to.
Creating a Request
Creates a value of URLMapsValidate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLMapsValidate Source #
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
See: urlMapsValidate
smart constructor.
Instances
Request Lenses
umvProject :: Lens' URLMapsValidate Text Source #
Project ID for this request.
umvPayload :: Lens' URLMapsValidate URLMapsValidateRequest Source #
Multipart request metadata.