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 |
Update an existing ManagedZone.
See: Google Cloud DNS API Reference for dns.managedZones.update
.
Synopsis
- type ManagedZonesUpdateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Put '[JSON] Operation))))))))
- managedZonesUpdate :: Text -> ManagedZone -> Text -> ManagedZonesUpdate
- data ManagedZonesUpdate
- mzuProject :: Lens' ManagedZonesUpdate Text
- mzuPayload :: Lens' ManagedZonesUpdate ManagedZone
- mzuManagedZone :: Lens' ManagedZonesUpdate Text
- mzuClientOperationId :: Lens' ManagedZonesUpdate (Maybe Text)
REST Resource
type ManagedZonesUpdateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Put '[JSON] Operation)))))))) Source #
A resource alias for dns.managedZones.update
method which the
ManagedZonesUpdate
request conforms to.
Creating a Request
Creates a value of ManagedZonesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedZonesUpdate Source #
Update an existing ManagedZone.
See: managedZonesUpdate
smart constructor.
Instances
Request Lenses
mzuProject :: Lens' ManagedZonesUpdate Text Source #
Identifies the project addressed by this request.
mzuPayload :: Lens' ManagedZonesUpdate ManagedZone Source #
Multipart request metadata.
mzuManagedZone :: Lens' ManagedZonesUpdate Text Source #
Identifies the managed zone addressed by this request. Can be the managed zone name or id.
mzuClientOperationId :: Lens' ManagedZonesUpdate (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.