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

Contents

Description

Atomically update the ResourceRecordSet collection.

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

Synopsis

REST Resource

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

A resource alias for dns.changes.create method which the ChangesCreate request conforms to.

Creating a Request

changesCreate Source #

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

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

data ChangesCreate Source #

Atomically update the ResourceRecordSet collection.

See: changesCreate smart constructor.

Instances
Eq ChangesCreate Source # 
Instance details

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

Data ChangesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ChangesCreate -> Constr #

dataTypeOf :: ChangesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChangesCreate Source # 
Instance details

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

Generic ChangesCreate Source # 
Instance details

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

Associated Types

type Rep ChangesCreate :: Type -> Type #

GoogleRequest ChangesCreate Source # 
Instance details

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

Associated Types

type Rs ChangesCreate :: Type #

type Scopes ChangesCreate :: [Symbol] #

type Rep ChangesCreate Source # 
Instance details

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

type Rep ChangesCreate = D1 (MetaData "ChangesCreate" "Network.Google.Resource.DNS.Changes.Create" "gogol-dns-0.4.0-FGL4N5c1W6oLe6JT83PCEl" False) (C1 (MetaCons "ChangesCreate'" PrefixI True) ((S1 (MetaSel (Just "_ccProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Change)) :*: (S1 (MetaSel (Just "_ccManagedZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccClientOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes ChangesCreate Source # 
Instance details

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

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

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

Request Lenses

ccProject :: Lens' ChangesCreate Text Source #

Identifies the project addressed by this request.

ccPayload :: Lens' ChangesCreate Change Source #

Multipart request metadata.

ccManagedZone :: Lens' ChangesCreate Text Source #

Identifies the managed zone addressed by this request. Can be the managed zone name or id.

ccClientOperationId :: Lens' ChangesCreate (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.