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 Source #

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)))) Source #

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 Source #

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 Source # 

Methods

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

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

Data LatLng Source # 

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 Source # 
Generic LatLng Source # 

Associated Types

type Rep LatLng :: * -> * #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

ToJSON LatLng Source # 
FromJSON LatLng Source # 
type Rep LatLng Source # 
type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

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

llLongitude :: Lens' LatLng (Maybe Double) Source #

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

ListUserStatesResponse

data ListUserStatesResponse Source #

Response message for ListUserStates.

See: listUserStatesResponse smart constructor.

Instances

Eq ListUserStatesResponse Source # 
Data ListUserStatesResponse Source # 

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 Source # 
Generic ListUserStatesResponse Source # 
ToJSON ListUserStatesResponse Source # 
FromJSON ListUserStatesResponse Source # 
type Rep ListUserStatesResponse Source # 
type Rep ListUserStatesResponse = D1 (MetaData "ListUserStatesResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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 Source #

Key value data pair for an event.

See: eventData smart constructor.

Instances

Eq EventData Source # 
Data EventData Source # 

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 Source # 
Generic EventData Source # 

Associated Types

type Rep EventData :: * -> * #

ToJSON EventData Source # 
FromJSON EventData Source # 
type Rep EventData Source # 
type Rep EventData = D1 (MetaData "EventData" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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] Source #

Data values.

RequestMetadata

data RequestMetadata Source #

Common data that is in each API request.

See: requestMetadata smart constructor.

Instances

Eq RequestMetadata Source # 
Data RequestMetadata Source # 

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 Source # 
Generic RequestMetadata Source # 
ToJSON RequestMetadata Source # 
FromJSON RequestMetadata Source # 
type Rep RequestMetadata Source # 
type Rep RequestMetadata = D1 (MetaData "RequestMetadata" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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] Source #

Experiment IDs the current request belongs to.

rmTrafficSource :: Lens' RequestMetadata (Maybe TrafficSource) Source #

Source of traffic for the current request.

rmLocale :: Lens' RequestMetadata (Maybe Text) Source #

Locale to use for the current request.

rmUserOverrides :: Lens' RequestMetadata (Maybe UserOverrides) Source #

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) Source #

Google Partners session ID.

CertificationStatus

data CertificationStatus Source #

Google Partners certification status.

See: certificationStatus smart constructor.

Instances

Eq CertificationStatus Source # 
Data CertificationStatus Source # 

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 Source # 
Generic CertificationStatus Source # 
ToJSON CertificationStatus Source # 
FromJSON CertificationStatus Source # 
type Rep CertificationStatus Source # 
type Rep CertificationStatus = D1 (MetaData "CertificationStatus" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

Whether certification is passing.

csType :: Lens' CertificationStatus (Maybe Text) Source #

The type of the certification.

csExamStatuses :: Lens' CertificationStatus [CertificationExamStatus] Source #

List of certification exam statuses.

DebugInfo

data DebugInfo Source #

Debug information about this request.

See: debugInfo smart constructor.

Instances

Eq DebugInfo Source # 
Data DebugInfo Source # 

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 Source # 
Generic DebugInfo Source # 

Associated Types

type Rep DebugInfo :: * -> * #

ToJSON DebugInfo Source # 
FromJSON DebugInfo Source # 
type Rep DebugInfo Source # 
type Rep DebugInfo = D1 (MetaData "DebugInfo" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

URL of the service that handled this request.

diServerTraceInfo :: Lens' DebugInfo (Maybe Text) Source #

Server-side debug stack trace.

diServerInfo :: Lens' DebugInfo (Maybe Text) Source #

Info about the server that serviced this request.

GetCompanyResponse

data GetCompanyResponse Source #

Response message for GetCompany.

See: getCompanyResponse smart constructor.

Instances

Eq GetCompanyResponse Source # 
Data GetCompanyResponse Source # 

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 Source # 
Generic GetCompanyResponse Source # 
ToJSON GetCompanyResponse Source # 
FromJSON GetCompanyResponse Source # 
type Rep GetCompanyResponse Source # 
type Rep GetCompanyResponse = D1 (MetaData "GetCompanyResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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 Source #

Basic information from a public profile.

See: publicProFile smart constructor.

Instances

Eq PublicProFile Source # 
Data PublicProFile Source # 

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 Source # 
Generic PublicProFile Source # 

Associated Types

type Rep PublicProFile :: * -> * #

ToJSON PublicProFile Source # 
FromJSON PublicProFile Source # 
type Rep PublicProFile Source # 
type Rep PublicProFile = D1 (MetaData "PublicProFile" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The URL of the public profile.

ppfDisplayImageURL :: Lens' PublicProFile (Maybe Text) Source #

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

ppfDisplayName :: Lens' PublicProFile (Maybe Text) Source #

The display name of the public profile.

ppfId :: Lens' PublicProFile (Maybe Text) Source #

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

CertificationExamStatus

data CertificationExamStatus Source #

Status for a Google Partners certification exam.

See: certificationExamStatus smart constructor.

Instances

Eq CertificationExamStatus Source # 
Data CertificationExamStatus Source # 

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 Source # 
Generic CertificationExamStatus Source # 
ToJSON CertificationExamStatus Source # 
FromJSON CertificationExamStatus Source # 
type Rep CertificationExamStatus Source # 
type Rep CertificationExamStatus = D1 (MetaData "CertificationExamStatus" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The number of people who have passed the certification exam.

cesType :: Lens' CertificationExamStatus (Maybe Text) Source #

The type of certification exam.

Location

data Location Source #

A location with address and geographic coordinates.

See: location smart constructor.

Instances

Eq Location Source # 
Data Location Source # 

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 Source # 
Generic Location Source # 

Associated Types

type Rep Location :: * -> * #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
FromJSON Location Source # 
type Rep Location Source # 
type Rep Location = D1 (MetaData "Location" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The latitude and longitude of the location, in degrees.

lAddress :: Lens' Location (Maybe Text) Source #

The complete address of the location.

TrafficSource

data TrafficSource Source #

Source of traffic for the current request.

See: trafficSource smart constructor.

Instances

Eq TrafficSource Source # 
Data TrafficSource Source # 

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 Source # 
Generic TrafficSource Source # 

Associated Types

type Rep TrafficSource :: * -> * #

ToJSON TrafficSource Source # 
FromJSON TrafficSource Source # 
type Rep TrafficSource Source # 
type Rep TrafficSource = D1 (MetaData "TrafficSource" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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

tsTrafficSourceId :: Lens' TrafficSource (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.

Money

data Money Source #

Represents an amount of money with its currency type.

See: money smart constructor.

Instances

Eq Money Source # 

Methods

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

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

Data Money Source # 

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 Source # 

Methods

showsPrec :: Int -> Money -> ShowS #

show :: Money -> String #

showList :: [Money] -> ShowS #

Generic Money Source # 

Associated Types

type Rep Money :: * -> * #

Methods

from :: Money -> Rep Money x #

to :: Rep Money x -> Money #

ToJSON Money Source # 
FromJSON Money Source # 
type Rep Money Source # 
type Rep Money = D1 (MetaData "Money" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The 3-letter currency code defined in ISO 4217.

mNanos :: Lens' Money (Maybe Int32) Source #

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) Source #

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

ListCompaniesResponse

data ListCompaniesResponse Source #

Response message for ListCompanies.

See: listCompaniesResponse smart constructor.

Instances

Eq ListCompaniesResponse Source # 
Data ListCompaniesResponse Source # 

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 Source # 
Generic ListCompaniesResponse Source # 
ToJSON ListCompaniesResponse Source # 
FromJSON ListCompaniesResponse Source # 
type Rep ListCompaniesResponse Source # 
type Rep ListCompaniesResponse = D1 (MetaData "ListCompaniesResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

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.

RecaptchaChallenge

data RecaptchaChallenge Source #

reCaptcha challenge info.

See: recaptchaChallenge smart constructor.

Instances

Eq RecaptchaChallenge Source # 
Data RecaptchaChallenge Source # 

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 Source # 
Generic RecaptchaChallenge Source # 
ToJSON RecaptchaChallenge Source # 
FromJSON RecaptchaChallenge Source # 
type Rep RecaptchaChallenge Source # 
type Rep RecaptchaChallenge = D1 (MetaData "RecaptchaChallenge" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The response to the reCaptcha challenge.

rcId :: Lens' RecaptchaChallenge (Maybe Text) Source #

The ID of the reCaptcha challenge.

CreateLeadResponse

data CreateLeadResponse Source #

Response message for CreateLead. Debug information about this request.

See: createLeadResponse smart constructor.

Instances

Eq CreateLeadResponse Source # 
Data CreateLeadResponse Source # 

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 Source # 
Generic CreateLeadResponse Source # 
ToJSON CreateLeadResponse Source # 
FromJSON CreateLeadResponse Source # 
type Rep CreateLeadResponse Source # 
type Rep CreateLeadResponse = D1 (MetaData "CreateLeadResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The outcome of reCaptcha validation.

clrLead :: Lens' CreateLeadResponse (Maybe Lead) Source #

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

UserOverrides

data UserOverrides Source #

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

See: userOverrides smart constructor.

Instances

Eq UserOverrides Source # 
Data UserOverrides Source # 

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 Source # 
Generic UserOverrides Source # 

Associated Types

type Rep UserOverrides :: * -> * #

ToJSON UserOverrides Source # 
FromJSON UserOverrides Source # 
type Rep UserOverrides Source # 
type Rep UserOverrides = D1 (MetaData "UserOverrides" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

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

uoUserId :: Lens' UserOverrides (Maybe Text) Source #

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

ResponseMetadata

data ResponseMetadata Source #

Common data that is in each API response.

See: responseMetadata smart constructor.

Instances

Eq ResponseMetadata Source # 
Data ResponseMetadata Source # 

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 Source # 
Generic ResponseMetadata Source # 
ToJSON ResponseMetadata Source # 
FromJSON ResponseMetadata Source # 
type Rep ResponseMetadata Source # 
type Rep ResponseMetadata = D1 (MetaData "ResponseMetadata" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" True) (C1 (MetaCons "ResponseMetadata'" PrefixI True) (S1 (MetaSel (Just Symbol "_rmDebugInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DebugInfo))))

responseMetadata :: ResponseMetadata Source #

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) Source #

Debug information about this request.

LogMessageRequest

data LogMessageRequest Source #

Request message for LogClientMessage.

See: logMessageRequest smart constructor.

Instances

Eq LogMessageRequest Source # 
Data LogMessageRequest Source # 

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 Source # 
Generic LogMessageRequest Source # 
ToJSON LogMessageRequest Source # 
FromJSON LogMessageRequest Source # 
type Rep LogMessageRequest Source # 
type Rep LogMessageRequest = D1 (MetaData "LogMessageRequest" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

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

lmrDetails :: Lens' LogMessageRequest (Maybe Text) Source #

Details about the client message.

lmrLevel :: Lens' LogMessageRequest (Maybe Text) Source #

Message level of client message.

LocalizedCompanyInfo

data LocalizedCompanyInfo Source #

The localized company information.

See: localizedCompanyInfo smart constructor.

Instances

Eq LocalizedCompanyInfo Source # 
Data LocalizedCompanyInfo Source # 

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 Source # 
Generic LocalizedCompanyInfo Source # 
ToJSON LocalizedCompanyInfo Source # 
FromJSON LocalizedCompanyInfo Source # 
type Rep LocalizedCompanyInfo Source # 
type Rep LocalizedCompanyInfo = D1 (MetaData "LocalizedCompanyInfo" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

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

lciOverview :: Lens' LocalizedCompanyInfo (Maybe Text) Source #

Localized brief description that the company uses to advertise themselves.

lciCountryCodes :: Lens' LocalizedCompanyInfo [Text] Source #

List of country codes for the localized company info.

LogMessageRequestClientInfo

data LogMessageRequestClientInfo Source #

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

See: logMessageRequestClientInfo smart constructor.

Instances

Eq LogMessageRequestClientInfo Source # 
Data LogMessageRequestClientInfo Source # 

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 Source # 
Generic LogMessageRequestClientInfo Source # 
ToJSON LogMessageRequestClientInfo Source # 
FromJSON LogMessageRequestClientInfo Source # 
type Rep LogMessageRequestClientInfo Source # 
type Rep LogMessageRequestClientInfo = D1 (MetaData "LogMessageRequestClientInfo" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" True) (C1 (MetaCons "LogMessageRequestClientInfo'" PrefixI True) (S1 (MetaSel (Just Symbol "_lmrciAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

logMessageRequestClientInfo Source #

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 Source #

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 Source # 

Methods

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

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

Data Lead Source # 

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 Source # 

Methods

showsPrec :: Int -> Lead -> ShowS #

show :: Lead -> String #

showList :: [Lead] -> ShowS #

Generic Lead Source # 

Associated Types

type Rep Lead :: * -> * #

Methods

from :: Lead -> Rep Lead x #

to :: Rep Lead x -> Lead #

ToJSON Lead Source # 
FromJSON Lead Source # 
type Rep Lead Source # 

lead :: Lead Source #

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) Source #

First name of lead source.

lEmail :: Lens' Lead (Maybe Text) Source #

Email address of lead source.

lFamilyName :: Lens' Lead (Maybe Text) Source #

Last name of lead source.

lPhoneNumber :: Lens' Lead (Maybe Text) Source #

Phone number of lead source.

lMinMonthlyBudget :: Lens' Lead (Maybe Money) Source #

The minimum monthly budget lead source is willing to spend.

lId :: Lens' Lead (Maybe Text) Source #

ID of the lead.

lComments :: Lens' Lead (Maybe Text) Source #

Comments lead source gave.

lWebsiteURL :: Lens' Lead (Maybe Text) Source #

Website URL of lead source.

lType :: Lens' Lead (Maybe Text) Source #

Type of lead.

lGpsMotivations :: Lens' Lead [Text] Source #

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

LogMessageResponse

data LogMessageResponse Source #

Response message for LogClientMessage.

See: logMessageResponse smart constructor.

Instances

Eq LogMessageResponse Source # 
Data LogMessageResponse Source # 

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 Source # 
Generic LogMessageResponse Source # 
ToJSON LogMessageResponse Source # 
FromJSON LogMessageResponse Source # 
type Rep LogMessageResponse Source # 
type Rep LogMessageResponse = D1 (MetaData "LogMessageResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" True) (C1 (MetaCons "LogMessageResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_lmrResponseMetadata") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ResponseMetadata))))

logMessageResponse :: LogMessageResponse Source #

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 Source #

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

See: company smart constructor.

Instances

Eq Company Source # 

Methods

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

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

Data Company Source # 

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 Source # 
Generic Company Source # 

Associated Types

type Rep Company :: * -> * #

Methods

from :: Company -> Rep Company x #

to :: Rep Company x -> Company #

ToJSON Company Source # 
FromJSON Company Source # 
type Rep Company Source # 
type Rep Company = D1 (MetaData "Company" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

Basic information from the company's public profile.

cOriginalMinMonthlyBudget :: Lens' Company (Maybe Money) Source #

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

cIndustries :: Lens' Company [Text] Source #

Industries the company can help with.

cConvertedMinMonthlyBudget :: Lens' Company (Maybe Money) Source #

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

cName :: Lens' Company (Maybe Text) Source #

The name of the company.

cLocalizedInfos :: Lens' Company [LocalizedCompanyInfo] Source #

The list of localized info for the company.

cCertificationStatuses :: Lens' Company [CertificationStatus] Source #

The list of Google Partners certification statuses for the company.

cRanks :: Lens' Company [Rank] Source #

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

cId :: Lens' Company (Maybe Text) Source #

The ID of the company.

cWebsiteURL :: Lens' Company (Maybe Text) Source #

URL of the company's website.

cLocations :: Lens' Company [Location] Source #

The list of company locations.

cServices :: Lens' Company [Text] Source #

Services the company can help with.

LogUserEventResponse

data LogUserEventResponse Source #

Response message for LogUserEvent.

See: logUserEventResponse smart constructor.

Instances

Eq LogUserEventResponse Source # 
Data LogUserEventResponse Source # 

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 Source # 
Generic LogUserEventResponse Source # 
ToJSON LogUserEventResponse Source # 
FromJSON LogUserEventResponse Source # 
type Rep LogUserEventResponse Source # 
type Rep LogUserEventResponse = D1 (MetaData "LogUserEventResponse" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" True) (C1 (MetaCons "LogUserEventResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_luerResponseMetadata") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ResponseMetadata))))

logUserEventResponse :: LogUserEventResponse Source #

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 Source #

Request message for LogUserEvent.

See: logUserEventRequest smart constructor.

Instances

Eq LogUserEventRequest Source # 
Data LogUserEventRequest Source # 

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 Source # 
Generic LogUserEventRequest Source # 
ToJSON LogUserEventRequest Source # 
FromJSON LogUserEventRequest Source # 
type Rep LogUserEventRequest Source # 
type Rep LogUserEventRequest = D1 (MetaData "LogUserEventRequest" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The category the action belongs to.

luerURL :: Lens' LogUserEventRequest (Maybe Text) Source #

The URL where the event occurred.

luerLead :: Lens' LogUserEventRequest (Maybe Lead) Source #

Advertiser lead information.

luerEventDatas :: Lens' LogUserEventRequest [EventData] Source #

List of event data for the event.

Rank

data Rank Source #

Information related to ranking of results.

See: rank smart constructor.

Instances

Eq Rank Source # 

Methods

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

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

Data Rank Source # 

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 Source # 

Methods

showsPrec :: Int -> Rank -> ShowS #

show :: Rank -> String #

showList :: [Rank] -> ShowS #

Generic Rank Source # 

Associated Types

type Rep Rank :: * -> * #

Methods

from :: Rank -> Rep Rank x #

to :: Rep Rank x -> Rank #

ToJSON Rank Source # 
FromJSON Rank Source # 
type Rep Rank Source # 
type Rep Rank = D1 (MetaData "Rank" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

The numerical value of the rank.

rType :: Lens' Rank (Maybe Text) Source #

The type of rank.

CreateLeadRequest

data CreateLeadRequest Source #

Request message for CreateLead.

See: createLeadRequest smart constructor.

Instances

Eq CreateLeadRequest Source # 
Data CreateLeadRequest Source # 

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 Source # 
Generic CreateLeadRequest Source # 
ToJSON CreateLeadRequest Source # 
FromJSON CreateLeadRequest Source # 
type Rep CreateLeadRequest Source # 
type Rep CreateLeadRequest = D1 (MetaData "CreateLeadRequest" "Network.Google.Partners.Types.Product" "gogol-partners-0.3.0-kLBNdDdn4TDRNW5i5DyWg" 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 Source #

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) Source #

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