Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- LatLng
- ListUserStatesResponse
- EventData
- RequestMetadata
- CertificationStatus
- DebugInfo
- GetCompanyResponse
- PublicProFile
- CertificationExamStatus
- Location
- TrafficSource
- Money
- ListCompaniesResponse
- RecaptchaChallenge
- CreateLeadResponse
- UserOverrides
- ResponseMetadata
- LogMessageRequest
- LocalizedCompanyInfo
- LogMessageRequestClientInfo
- Lead
- LogMessageResponse
- Company
- LogUserEventResponse
- LogUserEventRequest
- Rank
- CreateLeadRequest
- partnersService :: ServiceConfig
- data LatLng
- latLng :: LatLng
- llLatitude :: Lens' LatLng (Maybe Double)
- llLongitude :: Lens' LatLng (Maybe Double)
- data ListUserStatesResponse
- listUserStatesResponse :: ListUserStatesResponse
- lusrUserStates :: Lens' ListUserStatesResponse [Text]
- lusrResponseMetadata :: Lens' ListUserStatesResponse (Maybe ResponseMetadata)
- data EventData
- eventData :: EventData
- edValues :: Lens' EventData [Text]
- edKey :: Lens' EventData (Maybe Text)
- data RequestMetadata
- requestMetadata :: RequestMetadata
- rmExperimentIds :: Lens' RequestMetadata [Text]
- rmTrafficSource :: Lens' RequestMetadata (Maybe TrafficSource)
- rmLocale :: Lens' RequestMetadata (Maybe Text)
- rmUserOverrides :: Lens' RequestMetadata (Maybe UserOverrides)
- rmPartnersSessionId :: Lens' RequestMetadata (Maybe Text)
- data CertificationStatus
- certificationStatus :: CertificationStatus
- csIsCertified :: Lens' CertificationStatus (Maybe Bool)
- csType :: Lens' CertificationStatus (Maybe Text)
- csExamStatuses :: Lens' CertificationStatus [CertificationExamStatus]
- data DebugInfo
- debugInfo :: DebugInfo
- diServiceURL :: Lens' DebugInfo (Maybe Text)
- diServerTraceInfo :: Lens' DebugInfo (Maybe Text)
- diServerInfo :: Lens' DebugInfo (Maybe Text)
- data GetCompanyResponse
- getCompanyResponse :: GetCompanyResponse
- gcrResponseMetadata :: Lens' GetCompanyResponse (Maybe ResponseMetadata)
- gcrCompany :: Lens' GetCompanyResponse (Maybe Company)
- data PublicProFile
- publicProFile :: PublicProFile
- ppfURL :: Lens' PublicProFile (Maybe Text)
- ppfDisplayImageURL :: Lens' PublicProFile (Maybe Text)
- ppfDisplayName :: Lens' PublicProFile (Maybe Text)
- ppfId :: Lens' PublicProFile (Maybe Text)
- data CertificationExamStatus
- certificationExamStatus :: CertificationExamStatus
- cesNumberUsersPass :: Lens' CertificationExamStatus (Maybe Int32)
- cesType :: Lens' CertificationExamStatus (Maybe Text)
- data Location
- location :: Location
- lLatLng :: Lens' Location (Maybe LatLng)
- lAddress :: Lens' Location (Maybe Text)
- data TrafficSource
- trafficSource :: TrafficSource
- tsTrafficSubId :: Lens' TrafficSource (Maybe Text)
- tsTrafficSourceId :: Lens' TrafficSource (Maybe Text)
- data Money
- money :: Money
- mCurrencyCode :: Lens' Money (Maybe Text)
- mNanos :: Lens' Money (Maybe Int32)
- mUnits :: Lens' Money (Maybe Int64)
- data ListCompaniesResponse
- listCompaniesResponse :: ListCompaniesResponse
- lcrNextPageToken :: Lens' ListCompaniesResponse (Maybe Text)
- lcrResponseMetadata :: Lens' ListCompaniesResponse (Maybe ResponseMetadata)
- lcrCompanies :: Lens' ListCompaniesResponse [Company]
- data RecaptchaChallenge
- recaptchaChallenge :: RecaptchaChallenge
- rcResponse :: Lens' RecaptchaChallenge (Maybe Text)
- rcId :: Lens' RecaptchaChallenge (Maybe Text)
- data CreateLeadResponse
- createLeadResponse :: CreateLeadResponse
- clrRecaptchaStatus :: Lens' CreateLeadResponse (Maybe Text)
- clrResponseMetadata :: Lens' CreateLeadResponse (Maybe ResponseMetadata)
- clrLead :: Lens' CreateLeadResponse (Maybe Lead)
- data UserOverrides
- userOverrides :: UserOverrides
- uoIPAddress :: Lens' UserOverrides (Maybe Text)
- uoUserId :: Lens' UserOverrides (Maybe Text)
- data ResponseMetadata
- responseMetadata :: ResponseMetadata
- rmDebugInfo :: Lens' ResponseMetadata (Maybe DebugInfo)
- data LogMessageRequest
- logMessageRequest :: LogMessageRequest
- lmrRequestMetadata :: Lens' LogMessageRequest (Maybe RequestMetadata)
- lmrClientInfo :: Lens' LogMessageRequest (Maybe LogMessageRequestClientInfo)
- lmrDetails :: Lens' LogMessageRequest (Maybe Text)
- lmrLevel :: Lens' LogMessageRequest (Maybe Text)
- data LocalizedCompanyInfo
- localizedCompanyInfo :: LocalizedCompanyInfo
- lciLanguageCode :: Lens' LocalizedCompanyInfo (Maybe Text)
- lciOverview :: Lens' LocalizedCompanyInfo (Maybe Text)
- lciCountryCodes :: Lens' LocalizedCompanyInfo [Text]
- lciDisplayName :: Lens' LocalizedCompanyInfo (Maybe Text)
- data LogMessageRequestClientInfo
- logMessageRequestClientInfo :: HashMap Text Text -> LogMessageRequestClientInfo
- lmrciAddtional :: Lens' LogMessageRequestClientInfo (HashMap Text Text)
- data Lead
- lead :: Lead
- lGivenName :: Lens' Lead (Maybe Text)
- lEmail :: Lens' Lead (Maybe Text)
- lFamilyName :: Lens' Lead (Maybe Text)
- lPhoneNumber :: Lens' Lead (Maybe Text)
- lMinMonthlyBudget :: Lens' Lead (Maybe Money)
- lId :: Lens' Lead (Maybe Text)
- lComments :: Lens' Lead (Maybe Text)
- lWebsiteURL :: Lens' Lead (Maybe Text)
- lType :: Lens' Lead (Maybe Text)
- lGpsMotivations :: Lens' Lead [Text]
- data LogMessageResponse
- logMessageResponse :: LogMessageResponse
- lmrResponseMetadata :: Lens' LogMessageResponse (Maybe ResponseMetadata)
- data Company
- company :: Company
- cPublicProFile :: Lens' Company (Maybe PublicProFile)
- cOriginalMinMonthlyBudget :: Lens' Company (Maybe Money)
- cIndustries :: Lens' Company [Text]
- cConvertedMinMonthlyBudget :: Lens' Company (Maybe Money)
- cName :: Lens' Company (Maybe Text)
- cLocalizedInfos :: Lens' Company [LocalizedCompanyInfo]
- cCertificationStatuses :: Lens' Company [CertificationStatus]
- cRanks :: Lens' Company [Rank]
- cId :: Lens' Company (Maybe Text)
- cWebsiteURL :: Lens' Company (Maybe Text)
- cLocations :: Lens' Company [Location]
- cServices :: Lens' Company [Text]
- data LogUserEventResponse
- logUserEventResponse :: LogUserEventResponse
- luerResponseMetadata :: Lens' LogUserEventResponse (Maybe ResponseMetadata)
- data LogUserEventRequest
- logUserEventRequest :: LogUserEventRequest
- luerEventCategory :: Lens' LogUserEventRequest (Maybe Text)
- luerRequestMetadata :: Lens' LogUserEventRequest (Maybe RequestMetadata)
- luerURL :: Lens' LogUserEventRequest (Maybe Text)
- luerEventScope :: Lens' LogUserEventRequest (Maybe Text)
- luerLead :: Lens' LogUserEventRequest (Maybe Lead)
- luerEventDatas :: Lens' LogUserEventRequest [EventData]
- luerEventAction :: Lens' LogUserEventRequest (Maybe Text)
- data Rank
- rank :: Rank
- rValue :: Lens' Rank (Maybe Double)
- rType :: Lens' Rank (Maybe Text)
- data CreateLeadRequest
- createLeadRequest :: CreateLeadRequest
- cRequestMetadata :: Lens' CreateLeadRequest (Maybe RequestMetadata)
- cRecaptchaChallenge :: Lens' CreateLeadRequest (Maybe RecaptchaChallenge)
- cLead :: Lens' CreateLeadRequest (Maybe Lead)
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.
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.
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.
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:
lusrUserStates :: Lens' ListUserStatesResponse [Text] Source #
User's states.
lusrResponseMetadata :: Lens' ListUserStatesResponse (Maybe ResponseMetadata) Source #
Current response metadata.
EventData
Key value data pair for an event.
See: eventData
smart constructor.
RequestMetadata
data RequestMetadata Source #
Common data that is in each API request.
See: requestMetadata
smart constructor.
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.
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.
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.
csExamStatuses :: Lens' CertificationStatus [CertificationExamStatus] Source #
List of certification exam statuses.
DebugInfo
Debug information about this request.
See: debugInfo
smart constructor.
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:
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.
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:
gcrResponseMetadata :: Lens' GetCompanyResponse (Maybe ResponseMetadata) Source #
Current response metadata.
gcrCompany :: Lens' GetCompanyResponse (Maybe Company) Source #
The company.
PublicProFile
data PublicProFile Source #
Basic information from a public profile.
See: publicProFile
smart constructor.
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:
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.
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.
Location
A location with address and geographic coordinates.
See: location
smart constructor.
lLatLng :: Lens' Location (Maybe LatLng) Source #
The latitude and longitude of the location, in degrees.
TrafficSource
data TrafficSource Source #
Source of traffic for the current request.
See: trafficSource
smart constructor.
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
Represents an amount of money with its currency type.
See: money
smart constructor.
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:
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.
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.
lcrResponseMetadata :: Lens' ListCompaniesResponse (Maybe ResponseMetadata) Source #
Current response metadata.
lcrCompanies :: Lens' ListCompaniesResponse [Company] Source #
The list of companies.
RecaptchaChallenge
data RecaptchaChallenge Source #
reCaptcha challenge info.
See: recaptchaChallenge
smart constructor.
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.
CreateLeadResponse
data CreateLeadResponse Source #
Response message for CreateLead. Debug information about this request.
See: createLeadResponse
smart constructor.
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.
clrResponseMetadata :: Lens' CreateLeadResponse (Maybe ResponseMetadata) Source #
Current response metadata.
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.
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.
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.
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:
lmrRequestMetadata :: Lens' LogMessageRequest (Maybe RequestMetadata) Source #
Current request metadata.
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.
LocalizedCompanyInfo
data LocalizedCompanyInfo Source #
The localized company information.
See: localizedCompanyInfo
smart constructor.
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.
lciDisplayName :: Lens' LocalizedCompanyInfo (Maybe Text) Source #
Localized display name.
LogMessageRequestClientInfo
data LogMessageRequestClientInfo Source #
Map of client info, such as URL, browser navigator, browser platform, etc.
See: logMessageRequestClientInfo
smart constructor.
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
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.
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:
lMinMonthlyBudget :: Lens' Lead (Maybe Money) Source #
The minimum monthly budget lead source is willing to spend.
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.
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:
lmrResponseMetadata :: Lens' LogMessageResponse (Maybe ResponseMetadata) Source #
Current response metadata.
Company
A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.
See: company
smart constructor.
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.
cConvertedMinMonthlyBudget :: Lens' Company (Maybe Money) Source #
The minimum monthly budget that the company accepts for partner business, converted to the requested currency code.
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.
LogUserEventResponse
data LogUserEventResponse Source #
Response message for LogUserEvent.
See: logUserEventResponse
smart constructor.
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:
luerResponseMetadata :: Lens' LogUserEventResponse (Maybe ResponseMetadata) Source #
Current response metadata.
LogUserEventRequest
data LogUserEventRequest Source #
Request message for LogUserEvent.
See: logUserEventRequest
smart constructor.
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.
luerRequestMetadata :: Lens' LogUserEventRequest (Maybe RequestMetadata) Source #
Current request metadata.
luerEventScope :: Lens' LogUserEventRequest (Maybe Text) Source #
The scope of the event.
luerEventDatas :: Lens' LogUserEventRequest [EventData] Source #
List of event data for the event.
luerEventAction :: Lens' LogUserEventRequest (Maybe Text) Source #
The action that occurred.
Rank
Information related to ranking of results.
See: rank
smart constructor.
CreateLeadRequest
data CreateLeadRequest Source #
Request message for CreateLead.
See: createLeadRequest
smart constructor.
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:
cRequestMetadata :: Lens' CreateLeadRequest (Maybe RequestMetadata) Source #
Current request metadata.
cRecaptchaChallenge :: Lens' CreateLeadRequest (Maybe RecaptchaChallenge) Source #
reCaptcha challenge info.