gogol-partners-0.4.0: Google Partners 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.Partners.ClientMessages.Log

Contents

Description

Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.

See: Google Partners API Reference for partners.clientMessages.log.

Synopsis

REST Resource

type ClientMessagesLogResource = "v2" :> ("clientMessages:log" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogMessageRequest :> Post '[JSON] LogMessageResponse)))))))) Source #

A resource alias for partners.clientMessages.log method which the ClientMessagesLog request conforms to.

Creating a Request

clientMessagesLog Source #

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

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

data ClientMessagesLog Source #

Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.

See: clientMessagesLog smart constructor.

Instances
Eq ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

Data ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

Methods

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

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

toConstr :: ClientMessagesLog -> Constr #

dataTypeOf :: ClientMessagesLog -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

Generic ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

Associated Types

type Rep ClientMessagesLog :: Type -> Type #

GoogleRequest ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

Associated Types

type Rs ClientMessagesLog :: Type #

type Scopes ClientMessagesLog :: [Symbol] #

type Rep ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

type Rep ClientMessagesLog = D1 (MetaData "ClientMessagesLog" "Network.Google.Resource.Partners.ClientMessages.Log" "gogol-partners-0.4.0-39sg3ZvEDoCEu9a3s5sq6U" False) (C1 (MetaCons "ClientMessagesLog'" PrefixI True) ((S1 (MetaSel (Just "_cmlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_cmlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cmlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cmlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cmlPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogMessageRequest) :*: S1 (MetaSel (Just "_cmlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

type Rs ClientMessagesLog Source # 
Instance details

Defined in Network.Google.Resource.Partners.ClientMessages.Log

Request Lenses

cmlUploadProtocol :: Lens' ClientMessagesLog (Maybe Text) Source #

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

cmlUploadType :: Lens' ClientMessagesLog (Maybe Text) Source #

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