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.GetPartnersstatus

Contents

Description

Gets Partners Status of the logged in user's agency. Should only be called if the logged in user is the admin of the agency.

See: Google Partners API Reference for partners.getPartnersstatus.

Synopsis

REST Resource

type GetPartnersstatusResource = "v2" :> ("partnersstatus" :> (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] GetPartnersStatusResponse)))))))))))))) Source #

A resource alias for partners.getPartnersstatus method which the GetPartnersstatus request conforms to.

Creating a Request

data GetPartnersstatus Source #

Gets Partners Status of the logged in user's agency. Should only be called if the logged in user is the admin of the agency.

See: getPartnersstatus smart constructor.

Instances
Eq GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

Data GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

Methods

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

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

toConstr :: GetPartnersstatus -> Constr #

dataTypeOf :: GetPartnersstatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

Generic GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

Associated Types

type Rep GetPartnersstatus :: Type -> Type #

GoogleRequest GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

Associated Types

type Rs GetPartnersstatus :: Type #

type Scopes GetPartnersstatus :: [Symbol] #

type Rep GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

type Rep GetPartnersstatus = D1 (MetaData "GetPartnersstatus" "Network.Google.Resource.Partners.GetPartnersstatus" "gogol-partners-0.4.0-39sg3ZvEDoCEu9a3s5sq6U" False) (C1 (MetaCons "GetPartnersstatus'" PrefixI True) (((S1 (MetaSel (Just "_gpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_gpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gpRequestMetadataPartnersSessionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gpRequestMetadataLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_gpRequestMetadataExperimentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_gpRequestMetadataUserOverridesIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gpRequestMetadataTrafficSourceTrafficSubId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gpRequestMetadataUserOverridesUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gpRequestMetadataTrafficSourceTrafficSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

type Rs GetPartnersstatus Source # 
Instance details

Defined in Network.Google.Resource.Partners.GetPartnersstatus

Request Lenses

gpUploadProtocol :: Lens' GetPartnersstatus (Maybe Text) Source #

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

gpUploadType :: Lens' GetPartnersstatus (Maybe Text) Source #

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

gpRequestMetadataLocale :: Lens' GetPartnersstatus (Maybe Text) Source #

Locale to use for the current request.

gpRequestMetadataExperimentIds :: Lens' GetPartnersstatus [Text] Source #

Experiment IDs the current request belongs to.

gpRequestMetadataUserOverridesIPAddress :: Lens' GetPartnersstatus (Maybe Text) Source #

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

gpRequestMetadataTrafficSourceTrafficSubId :: Lens' GetPartnersstatus (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.

gpRequestMetadataUserOverridesUserId :: Lens' GetPartnersstatus (Maybe Text) Source #

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

gpRequestMetadataTrafficSourceTrafficSourceId :: Lens' GetPartnersstatus (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.