gogol-adexchange-buyer-0.4.0: Google Ad Exchange Buyer 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.AdExchangeBuyer.Proposals.Patch

Contents

Description

Update the given proposal. This method supports patch semantics.

See: Ad Exchange Buyer API Reference for adexchangebuyer.proposals.patch.

Synopsis

REST Resource

type ProposalsPatchResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> (Capture "revisionNumber" (Textual Int64) :> (Capture "updateAction" ProposalsPatchUpdateAction :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Proposal :> Patch '[JSON] Proposal))))))) Source #

A resource alias for adexchangebuyer.proposals.patch method which the ProposalsPatch request conforms to.

Creating a Request

proposalsPatch Source #

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

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

data ProposalsPatch Source #

Update the given proposal. This method supports patch semantics.

See: proposalsPatch smart constructor.

Instances
Eq ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

Data ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

Methods

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

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

toConstr :: ProposalsPatch -> Constr #

dataTypeOf :: ProposalsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

Generic ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

Associated Types

type Rep ProposalsPatch :: Type -> Type #

GoogleRequest ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

Associated Types

type Rs ProposalsPatch :: Type #

type Scopes ProposalsPatch :: [Symbol] #

type Rep ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

type Rep ProposalsPatch = D1 (MetaData "ProposalsPatch" "Network.Google.Resource.AdExchangeBuyer.Proposals.Patch" "gogol-adexchange-buyer-0.4.0-EHd3Fo85oo55DtQ4u9aSwi" False) (C1 (MetaCons "ProposalsPatch'" PrefixI True) ((S1 (MetaSel (Just "_ppUpdateAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProposalsPatchUpdateAction) :*: S1 (MetaSel (Just "_ppRevisionNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) :*: (S1 (MetaSel (Just "_ppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Proposal) :*: S1 (MetaSel (Just "_ppProposalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

type Scopes ProposalsPatch = "https://www.googleapis.com/auth/adexchange.buyer" ': ([] :: [Symbol])
type Rs ProposalsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Proposals.Patch

Request Lenses

ppUpdateAction :: Lens' ProposalsPatch ProposalsPatchUpdateAction Source #

The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.

ppRevisionNumber :: Lens' ProposalsPatch Int64 Source #

The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.

ppPayload :: Lens' ProposalsPatch Proposal Source #

Multipart request metadata.

ppProposalId :: Lens' ProposalsPatch Text Source #

The proposal id to update.