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.Create

Contents

Description

Create a new ManagedZone.

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

Synopsis

REST Resource

type ManagedZonesCreateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Post '[JSON] ManagedZone))))))) Source #

A resource alias for dns.managedZones.create method which the ManagedZonesCreate request conforms to.

Creating a Request

managedZonesCreate Source #

Creates a value of ManagedZonesCreate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ManagedZonesCreate Source #

Create a new ManagedZone.

See: managedZonesCreate smart constructor.

Instances
Eq ManagedZonesCreate Source # 
Instance details

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

Data ManagedZonesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ManagedZonesCreate -> Constr #

dataTypeOf :: ManagedZonesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedZonesCreate Source # 
Instance details

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

Generic ManagedZonesCreate Source # 
Instance details

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

Associated Types

type Rep ManagedZonesCreate :: Type -> Type #

GoogleRequest ManagedZonesCreate Source # 
Instance details

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

Associated Types

type Rs ManagedZonesCreate :: Type #

type Scopes ManagedZonesCreate :: [Symbol] #

type Rep ManagedZonesCreate Source # 
Instance details

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

type Rep ManagedZonesCreate = D1 (MetaData "ManagedZonesCreate" "Network.Google.Resource.DNS.ManagedZones.Create" "gogol-dns-0.4.0-FGL4N5c1W6oLe6JT83PCEl" False) (C1 (MetaCons "ManagedZonesCreate'" PrefixI True) (S1 (MetaSel (Just "_mzcProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mzcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ManagedZone) :*: S1 (MetaSel (Just "_mzcClientOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes ManagedZonesCreate Source # 
Instance details

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

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

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

Request Lenses

mzcProject :: Lens' ManagedZonesCreate Text Source #

Identifies the project addressed by this request.

mzcPayload :: Lens' ManagedZonesCreate ManagedZone Source #

Multipart request metadata.

mzcClientOperationId :: Lens' ManagedZonesCreate (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.