gogol-shopping-content-0.4.0: Google Content API for Shopping 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.Content.LiaSettings.Update

Contents

Description

Updates the LIA settings of the account.

See: Content API for Shopping Reference for content.liasettings.update.

Synopsis

REST Resource

type LiaSettingsUpdateResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LiaSettings :> Put '[JSON] LiaSettings)))))) Source #

A resource alias for content.liasettings.update method which the LiaSettingsUpdate request conforms to.

Creating a Request

liaSettingsUpdate Source #

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

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

data LiaSettingsUpdate Source #

Updates the LIA settings of the account.

See: liaSettingsUpdate smart constructor.

Instances
Eq LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

Data LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

Methods

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

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

toConstr :: LiaSettingsUpdate -> Constr #

dataTypeOf :: LiaSettingsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

Generic LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

Associated Types

type Rep LiaSettingsUpdate :: Type -> Type #

GoogleRequest LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

Associated Types

type Rs LiaSettingsUpdate :: Type #

type Scopes LiaSettingsUpdate :: [Symbol] #

type Rep LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

type Rep LiaSettingsUpdate = D1 (MetaData "LiaSettingsUpdate" "Network.Google.Resource.Content.LiaSettings.Update" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "LiaSettingsUpdate'" PrefixI True) (S1 (MetaSel (Just "_lsuMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_lsuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LiaSettings) :*: S1 (MetaSel (Just "_lsuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))))
type Scopes LiaSettingsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.Update

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

Defined in Network.Google.Resource.Content.LiaSettings.Update

Request Lenses

lsuMerchantId :: Lens' LiaSettingsUpdate Word64 Source #

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

lsuPayload :: Lens' LiaSettingsUpdate LiaSettings Source #

Multipart request metadata.

lsuAccountId :: Lens' LiaSettingsUpdate Word64 Source #

The ID of the account for which to get or update LIA settings.