gogol-dns-0.4.0: 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.Patch

Contents

Description

Apply a partial update to an existing ManagedZone.

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

Synopsis

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

managedZonesPatch Source #

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
Eq ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

Data ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

Methods

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

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

toConstr :: ManagedZonesPatch -> Constr #

dataTypeOf :: ManagedZonesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

Generic ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

Associated Types

type Rep ManagedZonesPatch :: Type -> Type #

GoogleRequest ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

Associated Types

type Rs ManagedZonesPatch :: Type #

type Scopes ManagedZonesPatch :: [Symbol] #

type Rep ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

type Rep ManagedZonesPatch = D1 (MetaData "ManagedZonesPatch" "Network.Google.Resource.DNS.ManagedZones.Patch" "gogol-dns-0.4.0-FGL4N5c1W6oLe6JT83PCEl" False) (C1 (MetaCons "ManagedZonesPatch'" PrefixI True) ((S1 (MetaSel (Just "_mzpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mzpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ManagedZone)) :*: (S1 (MetaSel (Just "_mzpManagedZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mzpClientOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

type Scopes ManagedZonesPatch = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/ndev.clouddns.readwrite" ': ([] :: [Symbol]))
type Rs ManagedZonesPatch Source # 
Instance details

Defined in Network.Google.Resource.DNS.ManagedZones.Patch

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.