gogol-dns-0.1.1: Google Cloud DNS SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DNS.ManagedZones.Update

Contents

Description

Update an existing ManagedZone.

See: Google Cloud DNS API Reference for dns.managedZones.update.

Synopsis

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

managedZonesUpdate Source #

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

Eq ManagedZonesUpdate Source # 
Data ManagedZonesUpdate Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagedZonesUpdate -> c ManagedZonesUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagedZonesUpdate #

toConstr :: ManagedZonesUpdate -> Constr #

dataTypeOf :: ManagedZonesUpdate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ManagedZonesUpdate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagedZonesUpdate) #

gmapT :: (forall b. Data b => b -> b) -> ManagedZonesUpdate -> ManagedZonesUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagedZonesUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagedZonesUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagedZonesUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagedZonesUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagedZonesUpdate -> m ManagedZonesUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedZonesUpdate -> m ManagedZonesUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedZonesUpdate -> m ManagedZonesUpdate #

Show ManagedZonesUpdate Source # 
Generic ManagedZonesUpdate Source # 
GoogleRequest ManagedZonesUpdate Source # 
type Rep ManagedZonesUpdate Source # 
type Rep ManagedZonesUpdate = D1 (MetaData "ManagedZonesUpdate" "Network.Google.Resource.DNS.ManagedZones.Update" "gogol-dns-0.1.1-25xWsh5INIoJoWzQ9alNFx" False) (C1 (MetaCons "ManagedZonesUpdate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mzuProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mzuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ManagedZone))) ((:*:) (S1 (MetaSel (Just Symbol "_mzuManagedZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mzuClientOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ManagedZonesUpdate Source # 
type Scopes ManagedZonesUpdate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/ndev.clouddns.readwrite" ([] Symbol))
type Rs ManagedZonesUpdate Source # 

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.