gogol-alertcenter-0.4.0: Google G Suite Alert Center 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.AlertCenter.UpdateSettings

Contents

Description

Update the customer-level settings.

See: G Suite Alert Center API Reference for alertcenter.updateSettings.

Synopsis

REST Resource

type UpdateSettingsResource = "v1beta1" :> ("settings" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Settings :> Patch '[JSON] Settings))))))))) Source #

A resource alias for alertcenter.updateSettings method which the UpdateSettings request conforms to.

Creating a Request

updateSettings Source #

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

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

data UpdateSettings Source #

Update the customer-level settings.

See: updateSettings smart constructor.

Instances
Eq UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

Data UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

Methods

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

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

toConstr :: UpdateSettings -> Constr #

dataTypeOf :: UpdateSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

Generic UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

Associated Types

type Rep UpdateSettings :: Type -> Type #

GoogleRequest UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

Associated Types

type Rs UpdateSettings :: Type #

type Scopes UpdateSettings :: [Symbol] #

type Rep UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

type Rep UpdateSettings = D1 (MetaData "UpdateSettings" "Network.Google.Resource.AlertCenter.UpdateSettings" "gogol-alertcenter-0.4.0-9dY40O2r8HE66nfrCXN2KD" False) (C1 (MetaCons "UpdateSettings'" PrefixI True) ((S1 (MetaSel (Just "_usXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_usUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_usAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_usUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_usPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Settings)) :*: (S1 (MetaSel (Just "_usCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_usCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes UpdateSettings Source # 
Instance details

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

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

Defined in Network.Google.Resource.AlertCenter.UpdateSettings

Request Lenses

usUploadProtocol :: Lens' UpdateSettings (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

usUploadType :: Lens' UpdateSettings (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

usPayload :: Lens' UpdateSettings Settings Source #

Multipart request metadata.

usCustomerId :: Lens' UpdateSettings (Maybe Text) Source #

Optional. The unique identifier of the G Suite organization account of the customer the alert settings are associated with. Inferred from the caller identity if not provided.