| 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.DNS.ManagedZones.Patch
Description
Apply a partial update to an existing ManagedZone.
See: Google Cloud DNS API Reference for dns.managedZones.patch.
Synopsis
- type ManagedZonesPatchResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Patch '[JSON] Operation))))))))
- managedZonesPatch :: Text -> ManagedZone -> Text -> ManagedZonesPatch
- data ManagedZonesPatch
- mzpProject :: Lens' ManagedZonesPatch Text
- mzpPayload :: Lens' ManagedZonesPatch ManagedZone
- mzpManagedZone :: Lens' ManagedZonesPatch Text
- mzpClientOperationId :: Lens' ManagedZonesPatch (Maybe Text)
REST Resource
type ManagedZonesPatchResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Patch '[JSON] Operation)))))))) Source #
A resource alias for dns.managedZones.patch method which the
ManagedZonesPatch request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> ManagedZone | |
| -> Text | |
| -> ManagedZonesPatch |
Creates a value of ManagedZonesPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedZonesPatch Source #
Apply a partial update to an existing ManagedZone.
See: managedZonesPatch smart constructor.
Instances
Request Lenses
mzpProject :: Lens' ManagedZonesPatch Text Source #
Identifies the project addressed by this request.
mzpPayload :: Lens' ManagedZonesPatch ManagedZone Source #
Multipart request metadata.
mzpManagedZone :: Lens' ManagedZonesPatch Text Source #
Identifies the managed zone addressed by this request. Can be the managed zone name or id.
mzpClientOperationId :: Lens' ManagedZonesPatch (Maybe Text) Source #
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.