gogol-partners-0.3.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.Partners

Contents

Description

Lets advertisers search certified companies and create contact leads with them, and also audits the usage of clients.

See: Google Partners API Reference

Synopsis

Service Configuration

partnersService :: ServiceConfig #

Default request referring to version v2 of the Google Partners API. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

type PartnersAPI = UserStatesListResource :<|> (UserEventsLogResource :<|> (CompaniesLeadsCreateResource :<|> (CompaniesListResource :<|> (CompaniesGetResource :<|> ClientMessagesLogResource)))) #

Represents the entirety of the methods and resources available for the Google Partners API service.

Resources

partners.clientMessages.log

partners.companies.get

partners.companies.leads.create

partners.companies.list

partners.userEvents.log

partners.userStates.list

Types

LatLng

data LatLng #

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)

See: latLng smart constructor.

Instances

Eq LatLng # 

Methods

(==) :: LatLng -> LatLng -> Bool #

(/=) :: LatLng -> LatLng -> Bool #

Data LatLng # 

Methods

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

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

toConstr :: LatLng -> Constr #

dataTypeOf :: LatLng -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LatLng # 
Generic LatLng # 

Associated Types

type Rep LatLng :: * -> * #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

ToJSON LatLng # 
FromJSON LatLng # 
type Rep LatLng # 
type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "LatLng'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_llLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_llLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))

latLng :: LatLng #

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

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

llLatitude :: Lens' LatLng (Maybe Double) #

The latitude in degrees. It must be in the range [-90.0, +90.0].

llLongitude :: Lens' LatLng (Maybe Double) #

The longitude in degrees. It must be in the range [-180.0, +180.0].

ListUserStatesResponse

data ListUserStatesResponse #

Response message for ListUserStates.

See: listUserStatesResponse smart constructor.

Instances

Eq ListUserStatesResponse # 
Data ListUserStatesResponse # 

Methods

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

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

toConstr :: ListUserStatesResponse -> Constr #

dataTypeOf :: ListUserStatesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListUserStatesResponse # 
Generic ListUserStatesResponse # 
ToJSON ListUserStatesResponse # 
FromJSON ListUserStatesResponse # 
type Rep ListUserStatesResponse # 
type Rep ListUserStatesResponse = D1 (MetaData "ListUserStatesResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "ListUserStatesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lusrUserStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lusrResponseMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResponseMetadata)))))

listUserStatesResponse :: ListUserStatesResponse #

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

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

EventData

data EventData #

Key value data pair for an event.

See: eventData smart constructor.

Instances

Eq EventData # 
Data EventData # 

Methods

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

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

toConstr :: EventData -> Constr #

dataTypeOf :: EventData -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventData # 
Generic EventData # 

Associated Types

type Rep EventData :: * -> * #

ToJSON EventData # 
FromJSON EventData # 
type Rep EventData # 
type Rep EventData = D1 (MetaData "EventData" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "EventData'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_edValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_edKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

eventData :: EventData #

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

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

edValues :: Lens' EventData [Text] #

Data values.

edKey :: Lens' EventData (Maybe Text) #

Data type.

RequestMetadata

data RequestMetadata #

Common data that is in each API request.

See: requestMetadata smart constructor.

Instances

Eq RequestMetadata # 
Data RequestMetadata # 

Methods

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

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

toConstr :: RequestMetadata -> Constr #

dataTypeOf :: RequestMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RequestMetadata # 
Generic RequestMetadata # 
ToJSON RequestMetadata # 
FromJSON RequestMetadata # 
type Rep RequestMetadata # 
type Rep RequestMetadata = D1 (MetaData "RequestMetadata" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "RequestMetadata'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rmExperimentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_rmTrafficSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TrafficSource)))) ((:*:) (S1 (MetaSel (Just Symbol "_rmLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rmUserOverrides") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserOverrides))) (S1 (MetaSel (Just Symbol "_rmPartnersSessionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

requestMetadata :: RequestMetadata #

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

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

rmExperimentIds :: Lens' RequestMetadata [Text] #

Experiment IDs the current request belongs to.

rmTrafficSource :: Lens' RequestMetadata (Maybe TrafficSource) #

Source of traffic for the current request.

rmLocale :: Lens' RequestMetadata (Maybe Text) #

Locale to use for the current request.

rmUserOverrides :: Lens' RequestMetadata (Maybe UserOverrides) #

Values to use instead of the user's respective defaults for the current request. These are only honored by whitelisted products.

rmPartnersSessionId :: Lens' RequestMetadata (Maybe Text) #

Google Partners session ID.

CertificationStatus

data CertificationStatus #

Google Partners certification status.

See: certificationStatus smart constructor.

Instances

Eq CertificationStatus # 
Data CertificationStatus # 

Methods

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

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

toConstr :: CertificationStatus -> Constr #

dataTypeOf :: CertificationStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CertificationStatus # 
Generic CertificationStatus # 
ToJSON CertificationStatus # 
FromJSON CertificationStatus # 
type Rep CertificationStatus # 
type Rep CertificationStatus = D1 (MetaData "CertificationStatus" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "CertificationStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csIsCertified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_csType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csExamStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CertificationExamStatus]))))))

certificationStatus :: CertificationStatus #

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

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

csIsCertified :: Lens' CertificationStatus (Maybe Bool) #

Whether certification is passing.

csType :: Lens' CertificationStatus (Maybe Text) #

The type of the certification.

csExamStatuses :: Lens' CertificationStatus [CertificationExamStatus] #

List of certification exam statuses.

DebugInfo

data DebugInfo #

Debug information about this request.

See: debugInfo smart constructor.

Instances

Eq DebugInfo # 
Data DebugInfo # 

Methods

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

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

toConstr :: DebugInfo -> Constr #

dataTypeOf :: DebugInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DebugInfo # 
Generic DebugInfo # 

Associated Types

type Rep DebugInfo :: * -> * #

ToJSON DebugInfo # 
FromJSON DebugInfo # 
type Rep DebugInfo # 
type Rep DebugInfo = D1 (MetaData "DebugInfo" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "DebugInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diServiceURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_diServerTraceInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_diServerInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

debugInfo :: DebugInfo #

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

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

diServiceURL :: Lens' DebugInfo (Maybe Text) #

URL of the service that handled this request.

diServerTraceInfo :: Lens' DebugInfo (Maybe Text) #

Server-side debug stack trace.

diServerInfo :: Lens' DebugInfo (Maybe Text) #

Info about the server that serviced this request.

GetCompanyResponse

data GetCompanyResponse #

Response message for GetCompany.

See: getCompanyResponse smart constructor.

Instances

Eq GetCompanyResponse # 
Data GetCompanyResponse # 

Methods

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

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

toConstr :: GetCompanyResponse -> Constr #

dataTypeOf :: GetCompanyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetCompanyResponse # 
Generic GetCompanyResponse # 
ToJSON GetCompanyResponse # 
FromJSON GetCompanyResponse # 
type Rep GetCompanyResponse # 
type Rep GetCompanyResponse = D1 (MetaData "GetCompanyResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "GetCompanyResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcrResponseMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResponseMetadata))) (S1 (MetaSel (Just Symbol "_gcrCompany") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Company)))))

getCompanyResponse :: GetCompanyResponse #

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

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

PublicProFile

data PublicProFile #

Basic information from a public profile.

See: publicProFile smart constructor.

Instances

Eq PublicProFile # 
Data PublicProFile # 

Methods

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

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

toConstr :: PublicProFile -> Constr #

dataTypeOf :: PublicProFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PublicProFile # 
Generic PublicProFile # 

Associated Types

type Rep PublicProFile :: * -> * #

ToJSON PublicProFile # 
FromJSON PublicProFile # 
type Rep PublicProFile # 
type Rep PublicProFile = D1 (MetaData "PublicProFile" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "PublicProFile'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppfURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ppfDisplayImageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ppfDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ppfId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

publicProFile :: PublicProFile #

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

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

ppfURL :: Lens' PublicProFile (Maybe Text) #

The URL of the public profile.

ppfDisplayImageURL :: Lens' PublicProFile (Maybe Text) #

The URL to the main display image of the public profile.

ppfDisplayName :: Lens' PublicProFile (Maybe Text) #

The display name of the public profile.

ppfId :: Lens' PublicProFile (Maybe Text) #

The ID which can be used to retrieve more details about the public profile.

CertificationExamStatus

data CertificationExamStatus #

Status for a Google Partners certification exam.

See: certificationExamStatus smart constructor.

Instances

Eq CertificationExamStatus # 
Data CertificationExamStatus # 

Methods

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

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

toConstr :: CertificationExamStatus -> Constr #

dataTypeOf :: CertificationExamStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CertificationExamStatus # 
Generic CertificationExamStatus # 
ToJSON CertificationExamStatus # 
FromJSON CertificationExamStatus # 
type Rep CertificationExamStatus # 
type Rep CertificationExamStatus = D1 (MetaData "CertificationExamStatus" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "CertificationExamStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cesNumberUsersPass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_cesType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

certificationExamStatus :: CertificationExamStatus #

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

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

cesNumberUsersPass :: Lens' CertificationExamStatus (Maybe Int32) #

The number of people who have passed the certification exam.

cesType :: Lens' CertificationExamStatus (Maybe Text) #

The type of certification exam.

Location

data Location #

A location with address and geographic coordinates.

See: location smart constructor.

Instances

Eq Location # 
Data Location # 

Methods

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

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

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Location # 
Generic Location # 

Associated Types

type Rep Location :: * -> * #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location # 
FromJSON Location # 
type Rep Location # 
type Rep Location = D1 (MetaData "Location" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "Location'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lLatLng") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LatLng))) (S1 (MetaSel (Just Symbol "_lAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

location :: Location #

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

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

lLatLng :: Lens' Location (Maybe LatLng) #

The latitude and longitude of the location, in degrees.

lAddress :: Lens' Location (Maybe Text) #

The complete address of the location.

TrafficSource

data TrafficSource #

Source of traffic for the current request.

See: trafficSource smart constructor.

Instances

Eq TrafficSource # 
Data TrafficSource # 

Methods

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

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

toConstr :: TrafficSource -> Constr #

dataTypeOf :: TrafficSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TrafficSource # 
Generic TrafficSource # 

Associated Types

type Rep TrafficSource :: * -> * #

ToJSON TrafficSource # 
FromJSON TrafficSource # 
type Rep TrafficSource # 
type Rep TrafficSource = D1 (MetaData "TrafficSource" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "TrafficSource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tsTrafficSubId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tsTrafficSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

trafficSource :: TrafficSource #

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

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

tsTrafficSubId :: Lens' TrafficSource (Maybe Text) #

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.

tsTrafficSourceId :: Lens' TrafficSource (Maybe Text) #

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

Money

data Money #

Represents an amount of money with its currency type.

See: money smart constructor.

Instances

Eq Money # 

Methods

(==) :: Money -> Money -> Bool #

(/=) :: Money -> Money -> Bool #

Data Money # 

Methods

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

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

toConstr :: Money -> Constr #

dataTypeOf :: Money -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Money # 

Methods

showsPrec :: Int -> Money -> ShowS #

show :: Money -> String #

showList :: [Money] -> ShowS #

Generic Money # 

Associated Types

type Rep Money :: * -> * #

Methods

from :: Money -> Rep Money x #

to :: Rep Money x -> Money #

ToJSON Money # 
FromJSON Money # 
type Rep Money # 
type Rep Money = D1 (MetaData "Money" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "Money'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mCurrencyCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mNanos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_mUnits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))

money :: Money #

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

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

mCurrencyCode :: Lens' Money (Maybe Text) #

The 3-letter currency code defined in ISO 4217.

mNanos :: Lens' Money (Maybe Int32) #

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.

mUnits :: Lens' Money (Maybe Int64) #

The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.

ListCompaniesResponse

data ListCompaniesResponse #

Response message for ListCompanies.

See: listCompaniesResponse smart constructor.

Instances

Eq ListCompaniesResponse # 
Data ListCompaniesResponse # 

Methods

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

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

toConstr :: ListCompaniesResponse -> Constr #

dataTypeOf :: ListCompaniesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListCompaniesResponse # 
Generic ListCompaniesResponse # 
ToJSON ListCompaniesResponse # 
FromJSON ListCompaniesResponse # 
type Rep ListCompaniesResponse # 
type Rep ListCompaniesResponse = D1 (MetaData "ListCompaniesResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "ListCompaniesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lcrResponseMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResponseMetadata))) (S1 (MetaSel (Just Symbol "_lcrCompanies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Company]))))))

listCompaniesResponse :: ListCompaniesResponse #

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

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

lcrNextPageToken :: Lens' ListCompaniesResponse (Maybe Text) #

A token to retrieve next page of results. Pass this value in the `ListCompaniesRequest.page_token` field in the subsequent call to ListCompanies to retrieve the next page of results.

lcrCompanies :: Lens' ListCompaniesResponse [Company] #

The list of companies.

RecaptchaChallenge

data RecaptchaChallenge #

reCaptcha challenge info.

See: recaptchaChallenge smart constructor.

Instances

Eq RecaptchaChallenge # 
Data RecaptchaChallenge # 

Methods

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

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

toConstr :: RecaptchaChallenge -> Constr #

dataTypeOf :: RecaptchaChallenge -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RecaptchaChallenge # 
Generic RecaptchaChallenge # 
ToJSON RecaptchaChallenge # 
FromJSON RecaptchaChallenge # 
type Rep RecaptchaChallenge # 
type Rep RecaptchaChallenge = D1 (MetaData "RecaptchaChallenge" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "RecaptchaChallenge'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rcResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rcId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

recaptchaChallenge :: RecaptchaChallenge #

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

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

rcResponse :: Lens' RecaptchaChallenge (Maybe Text) #

The response to the reCaptcha challenge.

rcId :: Lens' RecaptchaChallenge (Maybe Text) #

The ID of the reCaptcha challenge.

CreateLeadResponse

data CreateLeadResponse #

Response message for CreateLead. Debug information about this request.

See: createLeadResponse smart constructor.

Instances

Eq CreateLeadResponse # 
Data CreateLeadResponse # 

Methods

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

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

toConstr :: CreateLeadResponse -> Constr #

dataTypeOf :: CreateLeadResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateLeadResponse # 
Generic CreateLeadResponse # 
ToJSON CreateLeadResponse # 
FromJSON CreateLeadResponse # 
type Rep CreateLeadResponse # 
type Rep CreateLeadResponse = D1 (MetaData "CreateLeadResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "CreateLeadResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_clrRecaptchaStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_clrResponseMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResponseMetadata))) (S1 (MetaSel (Just Symbol "_clrLead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Lead))))))

createLeadResponse :: CreateLeadResponse #

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

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

clrRecaptchaStatus :: Lens' CreateLeadResponse (Maybe Text) #

The outcome of reCaptcha validation.

clrLead :: Lens' CreateLeadResponse (Maybe Lead) #

Lead that was created depending on the outcome of reCaptcha validation.

UserOverrides

data UserOverrides #

Values to use instead of the user's respective defaults. These are only honored by whitelisted products.

See: userOverrides smart constructor.

Instances

Eq UserOverrides # 
Data UserOverrides # 

Methods

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

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

toConstr :: UserOverrides -> Constr #

dataTypeOf :: UserOverrides -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserOverrides # 
Generic UserOverrides # 

Associated Types

type Rep UserOverrides :: * -> * #

ToJSON UserOverrides # 
FromJSON UserOverrides # 
type Rep UserOverrides # 
type Rep UserOverrides = D1 (MetaData "UserOverrides" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "UserOverrides'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uoIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uoUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

userOverrides :: UserOverrides #

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

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

uoIPAddress :: Lens' UserOverrides (Maybe Text) #

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

uoUserId :: Lens' UserOverrides (Maybe Text) #

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

ResponseMetadata

data ResponseMetadata #

Common data that is in each API response.

See: responseMetadata smart constructor.

Instances

Eq ResponseMetadata # 
Data ResponseMetadata # 

Methods

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

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

toConstr :: ResponseMetadata -> Constr #

dataTypeOf :: ResponseMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResponseMetadata # 
Generic ResponseMetadata # 
ToJSON ResponseMetadata # 
FromJSON ResponseMetadata # 
type Rep ResponseMetadata # 
type Rep ResponseMetadata = D1 (MetaData "ResponseMetadata" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" True) (C1 (MetaCons "ResponseMetadata'" PrefixI True) (S1 (MetaSel (Just Symbol "_rmDebugInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DebugInfo))))

responseMetadata :: ResponseMetadata #

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

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

rmDebugInfo :: Lens' ResponseMetadata (Maybe DebugInfo) #

Debug information about this request.

LogMessageRequest

data LogMessageRequest #

Request message for LogClientMessage.

See: logMessageRequest smart constructor.

Instances

Eq LogMessageRequest # 
Data LogMessageRequest # 

Methods

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

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

toConstr :: LogMessageRequest -> Constr #

dataTypeOf :: LogMessageRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogMessageRequest # 
Generic LogMessageRequest # 
ToJSON LogMessageRequest # 
FromJSON LogMessageRequest # 
type Rep LogMessageRequest # 
type Rep LogMessageRequest = D1 (MetaData "LogMessageRequest" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "LogMessageRequest'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lmrRequestMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestMetadata))) (S1 (MetaSel (Just Symbol "_lmrClientInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LogMessageRequestClientInfo)))) ((:*:) (S1 (MetaSel (Just Symbol "_lmrDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lmrLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

logMessageRequest :: LogMessageRequest #

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

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

lmrClientInfo :: Lens' LogMessageRequest (Maybe LogMessageRequestClientInfo) #

Map of client info, such as URL, browser navigator, browser platform, etc.

lmrDetails :: Lens' LogMessageRequest (Maybe Text) #

Details about the client message.

lmrLevel :: Lens' LogMessageRequest (Maybe Text) #

Message level of client message.

LocalizedCompanyInfo

data LocalizedCompanyInfo #

The localized company information.

See: localizedCompanyInfo smart constructor.

Instances

Eq LocalizedCompanyInfo # 
Data LocalizedCompanyInfo # 

Methods

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

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

toConstr :: LocalizedCompanyInfo -> Constr #

dataTypeOf :: LocalizedCompanyInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocalizedCompanyInfo # 
Generic LocalizedCompanyInfo # 
ToJSON LocalizedCompanyInfo # 
FromJSON LocalizedCompanyInfo # 
type Rep LocalizedCompanyInfo # 
type Rep LocalizedCompanyInfo = D1 (MetaData "LocalizedCompanyInfo" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "LocalizedCompanyInfo'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lciLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lciOverview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lciCountryCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lciDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

localizedCompanyInfo :: LocalizedCompanyInfo #

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

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

lciLanguageCode :: Lens' LocalizedCompanyInfo (Maybe Text) #

Language code of the localized company info, as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages").

lciOverview :: Lens' LocalizedCompanyInfo (Maybe Text) #

Localized brief description that the company uses to advertise themselves.

lciCountryCodes :: Lens' LocalizedCompanyInfo [Text] #

List of country codes for the localized company info.

lciDisplayName :: Lens' LocalizedCompanyInfo (Maybe Text) #

Localized display name.

LogMessageRequestClientInfo

data LogMessageRequestClientInfo #

Map of client info, such as URL, browser navigator, browser platform, etc.

See: logMessageRequestClientInfo smart constructor.

Instances

Eq LogMessageRequestClientInfo # 
Data LogMessageRequestClientInfo # 

Methods

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

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

toConstr :: LogMessageRequestClientInfo -> Constr #

dataTypeOf :: LogMessageRequestClientInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogMessageRequestClientInfo # 
Generic LogMessageRequestClientInfo # 
ToJSON LogMessageRequestClientInfo # 
FromJSON LogMessageRequestClientInfo # 
type Rep LogMessageRequestClientInfo # 
type Rep LogMessageRequestClientInfo = D1 (MetaData "LogMessageRequestClientInfo" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" True) (C1 (MetaCons "LogMessageRequestClientInfo'" PrefixI True) (S1 (MetaSel (Just Symbol "_lmrciAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

logMessageRequestClientInfo #

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

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

Lead

data Lead #

A lead resource that represents an advertiser contact for a `Company`. These are usually generated via Google Partner Search (the advertiser portal).

See: lead smart constructor.

Instances

Eq Lead # 

Methods

(==) :: Lead -> Lead -> Bool #

(/=) :: Lead -> Lead -> Bool #

Data Lead # 

Methods

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

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

toConstr :: Lead -> Constr #

dataTypeOf :: Lead -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Lead # 

Methods

showsPrec :: Int -> Lead -> ShowS #

show :: Lead -> String #

showList :: [Lead] -> ShowS #

Generic Lead # 

Associated Types

type Rep Lead :: * -> * #

Methods

from :: Lead -> Rep Lead x #

to :: Rep Lead x -> Lead #

ToJSON Lead # 
FromJSON Lead # 
type Rep Lead # 

lead :: Lead #

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

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

lGivenName :: Lens' Lead (Maybe Text) #

First name of lead source.

lEmail :: Lens' Lead (Maybe Text) #

Email address of lead source.

lFamilyName :: Lens' Lead (Maybe Text) #

Last name of lead source.

lPhoneNumber :: Lens' Lead (Maybe Text) #

Phone number of lead source.

lMinMonthlyBudget :: Lens' Lead (Maybe Money) #

The minimum monthly budget lead source is willing to spend.

lId :: Lens' Lead (Maybe Text) #

ID of the lead.

lComments :: Lens' Lead (Maybe Text) #

Comments lead source gave.

lWebsiteURL :: Lens' Lead (Maybe Text) #

Website URL of lead source.

lType :: Lens' Lead (Maybe Text) #

Type of lead.

lGpsMotivations :: Lens' Lead [Text] #

List of reasons for using Google Partner Search and creating a lead.

LogMessageResponse

data LogMessageResponse #

Response message for LogClientMessage.

See: logMessageResponse smart constructor.

Instances

Eq LogMessageResponse # 
Data LogMessageResponse # 

Methods

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

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

toConstr :: LogMessageResponse -> Constr #

dataTypeOf :: LogMessageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogMessageResponse # 
Generic LogMessageResponse # 
ToJSON LogMessageResponse # 
FromJSON LogMessageResponse # 
type Rep LogMessageResponse # 
type Rep LogMessageResponse = D1 (MetaData "LogMessageResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" True) (C1 (MetaCons "LogMessageResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_lmrResponseMetadata") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ResponseMetadata))))

logMessageResponse :: LogMessageResponse #

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

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

Company

data Company #

A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.

See: company smart constructor.

Instances

Eq Company # 

Methods

(==) :: Company -> Company -> Bool #

(/=) :: Company -> Company -> Bool #

Data Company # 

Methods

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

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

toConstr :: Company -> Constr #

dataTypeOf :: Company -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Company # 
Generic Company # 

Associated Types

type Rep Company :: * -> * #

Methods

from :: Company -> Rep Company x #

to :: Rep Company x -> Company #

ToJSON Company # 
FromJSON Company # 
type Rep Company # 
type Rep Company = D1 (MetaData "Company" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "Company'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cPublicProFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PublicProFile))) ((:*:) (S1 (MetaSel (Just Symbol "_cOriginalMinMonthlyBudget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Money))) (S1 (MetaSel (Just Symbol "_cIndustries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) (S1 (MetaSel (Just Symbol "_cConvertedMinMonthlyBudget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Money))) ((:*:) (S1 (MetaSel (Just Symbol "_cName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cLocalizedInfos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LocalizedCompanyInfo])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cCertificationStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CertificationStatus]))) ((:*:) (S1 (MetaSel (Just Symbol "_cRanks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Rank]))) (S1 (MetaSel (Just Symbol "_cId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_cWebsiteURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cLocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Location]))) (S1 (MetaSel (Just Symbol "_cServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))))

company :: Company #

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

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

cPublicProFile :: Lens' Company (Maybe PublicProFile) #

Basic information from the company's public profile.

cOriginalMinMonthlyBudget :: Lens' Company (Maybe Money) #

The unconverted minimum monthly budget that the company accepts for partner business.

cIndustries :: Lens' Company [Text] #

Industries the company can help with.

cConvertedMinMonthlyBudget :: Lens' Company (Maybe Money) #

The minimum monthly budget that the company accepts for partner business, converted to the requested currency code.

cName :: Lens' Company (Maybe Text) #

The name of the company.

cLocalizedInfos :: Lens' Company [LocalizedCompanyInfo] #

The list of localized info for the company.

cCertificationStatuses :: Lens' Company [CertificationStatus] #

The list of Google Partners certification statuses for the company.

cRanks :: Lens' Company [Rank] #

Information related to the ranking of the company within the list of companies.

cId :: Lens' Company (Maybe Text) #

The ID of the company.

cWebsiteURL :: Lens' Company (Maybe Text) #

URL of the company's website.

cLocations :: Lens' Company [Location] #

The list of company locations.

cServices :: Lens' Company [Text] #

Services the company can help with.

LogUserEventResponse

data LogUserEventResponse #

Response message for LogUserEvent.

See: logUserEventResponse smart constructor.

Instances

Eq LogUserEventResponse # 
Data LogUserEventResponse # 

Methods

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

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

toConstr :: LogUserEventResponse -> Constr #

dataTypeOf :: LogUserEventResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogUserEventResponse # 
Generic LogUserEventResponse # 
ToJSON LogUserEventResponse # 
FromJSON LogUserEventResponse # 
type Rep LogUserEventResponse # 
type Rep LogUserEventResponse = D1 (MetaData "LogUserEventResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" True) (C1 (MetaCons "LogUserEventResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_luerResponseMetadata") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ResponseMetadata))))

logUserEventResponse :: LogUserEventResponse #

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

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

LogUserEventRequest

data LogUserEventRequest #

Request message for LogUserEvent.

See: logUserEventRequest smart constructor.

Instances

Eq LogUserEventRequest # 
Data LogUserEventRequest # 

Methods

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

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

toConstr :: LogUserEventRequest -> Constr #

dataTypeOf :: LogUserEventRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogUserEventRequest # 
Generic LogUserEventRequest # 
ToJSON LogUserEventRequest # 
FromJSON LogUserEventRequest # 
type Rep LogUserEventRequest # 
type Rep LogUserEventRequest = D1 (MetaData "LogUserEventRequest" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "LogUserEventRequest'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_luerEventCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_luerRequestMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestMetadata))) (S1 (MetaSel (Just Symbol "_luerURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_luerEventScope") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_luerLead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Lead)))) ((:*:) (S1 (MetaSel (Just Symbol "_luerEventDatas") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventData]))) (S1 (MetaSel (Just Symbol "_luerEventAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

logUserEventRequest :: LogUserEventRequest #

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

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

luerEventCategory :: Lens' LogUserEventRequest (Maybe Text) #

The category the action belongs to.

luerURL :: Lens' LogUserEventRequest (Maybe Text) #

The URL where the event occurred.

luerEventScope :: Lens' LogUserEventRequest (Maybe Text) #

The scope of the event.

luerLead :: Lens' LogUserEventRequest (Maybe Lead) #

Advertiser lead information.

luerEventDatas :: Lens' LogUserEventRequest [EventData] #

List of event data for the event.

luerEventAction :: Lens' LogUserEventRequest (Maybe Text) #

The action that occurred.

Rank

data Rank #

Information related to ranking of results.

See: rank smart constructor.

Instances

Eq Rank # 

Methods

(==) :: Rank -> Rank -> Bool #

(/=) :: Rank -> Rank -> Bool #

Data Rank # 

Methods

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

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

toConstr :: Rank -> Constr #

dataTypeOf :: Rank -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Rank # 

Methods

showsPrec :: Int -> Rank -> ShowS #

show :: Rank -> String #

showList :: [Rank] -> ShowS #

Generic Rank # 

Associated Types

type Rep Rank :: * -> * #

Methods

from :: Rank -> Rep Rank x #

to :: Rep Rank x -> Rank #

ToJSON Rank # 
FromJSON Rank # 
type Rep Rank # 
type Rep Rank = D1 (MetaData "Rank" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "Rank'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_rType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

rank :: Rank #

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

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

rValue :: Lens' Rank (Maybe Double) #

The numerical value of the rank.

rType :: Lens' Rank (Maybe Text) #

The type of rank.

CreateLeadRequest

data CreateLeadRequest #

Request message for CreateLead.

See: createLeadRequest smart constructor.

Instances

Eq CreateLeadRequest # 
Data CreateLeadRequest # 

Methods

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

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

toConstr :: CreateLeadRequest -> Constr #

dataTypeOf :: CreateLeadRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateLeadRequest # 
Generic CreateLeadRequest # 
ToJSON CreateLeadRequest # 
FromJSON CreateLeadRequest # 
type Rep CreateLeadRequest # 
type Rep CreateLeadRequest = D1 (MetaData "CreateLeadRequest" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-2siK744ZYx1BMJMvDrtDGA" False) (C1 (MetaCons "CreateLeadRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cRequestMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestMetadata))) ((:*:) (S1 (MetaSel (Just Symbol "_cRecaptchaChallenge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecaptchaChallenge))) (S1 (MetaSel (Just Symbol "_cLead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Lead))))))

createLeadRequest :: CreateLeadRequest #

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

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

cLead :: Lens' CreateLeadRequest (Maybe Lead) #

The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED` and either `email` or `phone_number` must be provided.