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 |
Network.Google.Resource.Compute.URLMaps.Patch
Description
Updates the specified UrlMap resource with the data included in the request. This method supports patch semantics.
See: Compute Engine API Reference for compute.urlMaps.patch
.
- type URLMapsPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("urlMaps" :> (Capture "urlMap" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLMap :> Patch '[JSON] Operation))))))))
- urlMapsPatch :: Text -> Text -> URLMap -> URLMapsPatch
- data URLMapsPatch
- umpURLMap :: Lens' URLMapsPatch Text
- umpProject :: Lens' URLMapsPatch Text
- umpPayload :: Lens' URLMapsPatch URLMap
REST Resource
type URLMapsPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("urlMaps" :> (Capture "urlMap" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLMap :> Patch '[JSON] Operation)))))))) #
A resource alias for compute.urlMaps.patch
method which the
URLMapsPatch
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> URLMap | |
-> URLMapsPatch |
Creates a value of URLMapsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLMapsPatch #
Updates the specified UrlMap resource with the data included in the request. This method supports patch semantics.
See: urlMapsPatch
smart constructor.
Instances
Eq URLMapsPatch # | |
Data URLMapsPatch # | |
Show URLMapsPatch # | |
Generic URLMapsPatch # | |
GoogleRequest URLMapsPatch # | |
type Rep URLMapsPatch # | |
type Scopes URLMapsPatch # | |
type Rs URLMapsPatch # | |
Request Lenses
umpURLMap :: Lens' URLMapsPatch Text #
Name of the UrlMap resource to update.
umpProject :: Lens' URLMapsPatch Text #
Project ID for this request.
umpPayload :: Lens' URLMapsPatch URLMap #
Multipart request metadata.