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.UserStates.List

Contents

Description

Lists states for current user.

See: Google Partners API Reference for partners.userStates.list.

Synopsis

REST Resource

type UserStatesListResource = "v2" :> ("userStates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "requestMetadata.partnersSessionId" Text :> (QueryParam "requestMetadata.locale" Text :> (QueryParams "requestMetadata.experimentIds" Text :> (QueryParam "requestMetadata.userOverrides.ipAddress" Text :> (QueryParam "requestMetadata.trafficSource.trafficSubId" Text :> (QueryParam "requestMetadata.userOverrides.userId" Text :> (QueryParam "requestMetadata.trafficSource.trafficSourceId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListUserStatesResponse)))))))))))))) Source #

A resource alias for partners.userStates.list method which the UserStatesList request conforms to.

Creating a Request

data UserStatesList Source #

Lists states for current user.

See: userStatesList smart constructor.

Instances
Eq UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

Data UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

Methods

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

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

toConstr :: UserStatesList -> Constr #

dataTypeOf :: UserStatesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

Generic UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

Associated Types

type Rep UserStatesList :: Type -> Type #

GoogleRequest UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

Associated Types

type Rs UserStatesList :: Type #

type Scopes UserStatesList :: [Symbol] #

type Rep UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

type Rep UserStatesList = D1 (MetaData "UserStatesList" "Network.Google.Resource.Partners.UserStates.List" "gogol-partners-0.4.0-39sg3ZvEDoCEu9a3s5sq6U" False) (C1 (MetaCons "UserStatesList'" PrefixI True) (((S1 (MetaSel (Just "_uslXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_uslUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uslAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_uslUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uslRequestMetadataPartnersSessionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uslRequestMetadataLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_uslRequestMetadataExperimentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_uslRequestMetadataUserOverridesIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uslRequestMetadataTrafficSourceTrafficSubId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_uslRequestMetadataUserOverridesUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uslRequestMetadataTrafficSourceTrafficSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uslCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

type Scopes UserStatesList = ([] :: [Symbol])
type Rs UserStatesList Source # 
Instance details

Defined in Network.Google.Resource.Partners.UserStates.List

Request Lenses

uslUploadProtocol :: Lens' UserStatesList (Maybe Text) Source #

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

uslUploadType :: Lens' UserStatesList (Maybe Text) Source #

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

uslRequestMetadataLocale :: Lens' UserStatesList (Maybe Text) Source #

Locale to use for the current request.

uslRequestMetadataExperimentIds :: Lens' UserStatesList [Text] Source #

Experiment IDs the current request belongs to.

uslRequestMetadataUserOverridesIPAddress :: Lens' UserStatesList (Maybe Text) Source #

IP address to use instead of the user's geo-located IP address.

uslRequestMetadataTrafficSourceTrafficSubId :: Lens' UserStatesList (Maybe Text) Source #

Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.

uslRequestMetadataUserOverridesUserId :: Lens' UserStatesList (Maybe Text) Source #

Logged-in user ID to impersonate instead of the user's ID.

uslRequestMetadataTrafficSourceTrafficSourceId :: Lens' UserStatesList (Maybe Text) Source #

Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.