-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Google Search Console SDK.
--   
--   View Google Search Console data for your verified sites.
--   
--   <i>Warning:</i> This is an experimental prototype/preview release
--   which is still under exploratory development and not intended for
--   public use, caveat emptor!
--   
--   This library is compatible with version <tt>v3</tt> of the API.
@package gogol-webmaster-tools
@version 0.3.0


module Network.Google.WebmasterTools.Types

-- | Default request referring to version <tt>v3</tt> of the Search Console
--   API. This contains the host and root path used as a starting point for
--   constructing service requests.
webmasterToolsService :: ServiceConfig

-- | View and manage Search Console data for your verified sites
webmastersScope :: Proxy '["https://www.googleapis.com/auth/webmasters"]

-- | View Search Console data for your verified sites
webmastersReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/webmasters.readonly"]

-- | Information about the various content types in the sitemap.
--   
--   <i>See:</i> <a>wmxSitemapContent</a> smart constructor.
data WmxSitemapContent

-- | Creates a value of <a>WmxSitemapContent</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>wscIndexed</a></li>
--   <li><a>wscType</a></li>
--   <li><a>wscSubmitted</a></li>
--   </ul>
wmxSitemapContent :: WmxSitemapContent

-- | The number of URLs from the sitemap that were indexed (of the content
--   type).
wscIndexed :: Lens' WmxSitemapContent (Maybe Int64)

-- | The specific type of content in this sitemap. For example: web.
wscType :: Lens' WmxSitemapContent (Maybe Text)

-- | The number of URLs in the sitemap (of the content type).
wscSubmitted :: Lens' WmxSitemapContent (Maybe Int64)
data APIdimensionFilterGroup

-- | Creates a value of <a>APIdimensionFilterGroup</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afgFilters</a></li>
--   <li><a>afgGroupType</a></li>
--   </ul>
apidimensionFilterGroup :: APIdimensionFilterGroup
afgFilters :: Lens' APIdimensionFilterGroup [APIdimensionFilter]
afgGroupType :: Lens' APIdimensionFilterGroup (Maybe Text)

-- | Additional details about the URL, set only when calling get().
--   
--   <i>See:</i> <a>urlSampleDetails</a> smart constructor.
data URLSampleDetails

-- | Creates a value of <a>URLSampleDetails</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>usdLinkedFromURLs</a></li>
--   <li><a>usdContainingSitemaps</a></li>
--   </ul>
urlSampleDetails :: URLSampleDetails

-- | A sample set of URLs linking to this URL.
usdLinkedFromURLs :: Lens' URLSampleDetails [Text]

-- | List of sitemaps pointing at this URL.
usdContainingSitemaps :: Lens' URLSampleDetails [Text]

-- | The crawl error category. For example: authPermissions
data URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   authPermissions
--   </pre>
AuthPermissions :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   flashContent
--   </pre>
FlashContent :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
ManyToOneRedirect :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   notFollowed
--   </pre>
NotFollowed :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   notFound
--   </pre>
NotFound :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   other
--   </pre>
Other :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   roboted
--   </pre>
Roboted :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   serverError
--   </pre>
ServerError :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   soft404
--   </pre>
SOFT404 :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | Number of errors per day for a specific error type (defined by
--   platform and category).
--   
--   <i>See:</i> <a>urlCrawlErrorCountsPerType</a> smart constructor.
data URLCrawlErrorCountsPerType

-- | Creates a value of <a>URLCrawlErrorCountsPerType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucecptPlatform</a></li>
--   <li><a>ucecptEntries</a></li>
--   <li><a>ucecptCategory</a></li>
--   </ul>
urlCrawlErrorCountsPerType :: URLCrawlErrorCountsPerType

-- | The general type of Googlebot that made the request (see list of
--   Googlebot user-agents for the user-agents used).
ucecptPlatform :: Lens' URLCrawlErrorCountsPerType (Maybe Text)

-- | The error count entries time series.
ucecptEntries :: Lens' URLCrawlErrorCountsPerType [URLCrawlErrorCount]

-- | The crawl error type.
ucecptCategory :: Lens' URLCrawlErrorCountsPerType (Maybe Text)

-- | The user agent type (platform) that made the request. For example: web
data URLCrawlErrorsSamplesGetPlatform

-- | <pre>
--   mobile
--   </pre>
Mobile :: URLCrawlErrorsSamplesGetPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
SmartphoneOnly :: URLCrawlErrorsSamplesGetPlatform

-- | <pre>
--   web
--   </pre>
Web :: URLCrawlErrorsSamplesGetPlatform
data APIDataRow

-- | Creates a value of <a>APIDataRow</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>adrImpressions</a></li>
--   <li><a>adrKeys</a></li>
--   <li><a>adrCtr</a></li>
--   <li><a>adrClicks</a></li>
--   <li><a>adrPosition</a></li>
--   </ul>
apiDataRow :: APIDataRow
adrImpressions :: Lens' APIDataRow (Maybe Double)
adrKeys :: Lens' APIDataRow [Text]
adrCtr :: Lens' APIDataRow (Maybe Double)
adrClicks :: Lens' APIDataRow (Maybe Double)
adrPosition :: Lens' APIDataRow (Maybe Double)
data APIdimensionFilter

-- | Creates a value of <a>APIdimensionFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afOperator</a></li>
--   <li><a>afDimension</a></li>
--   <li><a>afExpression</a></li>
--   </ul>
apidimensionFilter :: APIdimensionFilter
afOperator :: Lens' APIdimensionFilter (Maybe Text)
afDimension :: Lens' APIdimensionFilter (Maybe Text)
afExpression :: Lens' APIdimensionFilter (Maybe Text)

-- | The user agent type (platform) that made the request. For example: web
data URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | <pre>
--   mobile
--   </pre>
UCESMAFPMobile :: URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
UCESMAFPSmartphoneOnly :: URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | <pre>
--   web
--   </pre>
UCESMAFPWeb :: URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | The crawl error category. For example: authPermissions
data URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   authPermissions
--   </pre>
UCESGCAuthPermissions :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   flashContent
--   </pre>
UCESGCFlashContent :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
UCESGCManyToOneRedirect :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   notFollowed
--   </pre>
UCESGCNotFollowed :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   notFound
--   </pre>
UCESGCNotFound :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   other
--   </pre>
UCESGCOther :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   roboted
--   </pre>
UCESGCRoboted :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   serverError
--   </pre>
UCESGCServerError :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   soft404
--   </pre>
UCESGCSOFT404 :: URLCrawlErrorsSamplesGetCategory

-- | An entry in a URL crawl errors time series.
--   
--   <i>See:</i> <a>urlCrawlErrorCount</a> smart constructor.
data URLCrawlErrorCount

-- | Creates a value of <a>URLCrawlErrorCount</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucecCount</a></li>
--   <li><a>ucecTimestamp</a></li>
--   </ul>
urlCrawlErrorCount :: URLCrawlErrorCount

-- | The error count at the given timestamp.
ucecCount :: Lens' URLCrawlErrorCount (Maybe Int64)

-- | The date and time when the crawl attempt took place, in RFC 3339
--   format.
ucecTimestamp :: Lens' URLCrawlErrorCount (Maybe UTCTime)

-- | The user agent type (platform) that made the request. For example:
--   web. If not specified, returns results for all platforms.
data URLCrawlErrorscountsQueryPlatform

-- | <pre>
--   mobile
--   </pre>
UCEQPMobile :: URLCrawlErrorscountsQueryPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
UCEQPSmartphoneOnly :: URLCrawlErrorscountsQueryPlatform

-- | <pre>
--   web
--   </pre>
UCEQPWeb :: URLCrawlErrorscountsQueryPlatform

-- | A list of rows, one per result, grouped by key. Metrics in each row
--   are aggregated for all data grouped by that key either by page or
--   property, as specified by the aggregation type parameter.
--   
--   <i>See:</i> <a>searchAnalyticsQueryResponse</a> smart constructor.
data SearchAnalyticsQueryResponse

-- | Creates a value of <a>SearchAnalyticsQueryResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saqrRows</a></li>
--   <li><a>saqrResponseAggregationType</a></li>
--   </ul>
searchAnalyticsQueryResponse :: SearchAnalyticsQueryResponse

-- | A list of rows grouped by the key values in the order given in the
--   query.
saqrRows :: Lens' SearchAnalyticsQueryResponse [APIDataRow]

-- | How the results were aggregated.
saqrResponseAggregationType :: Lens' SearchAnalyticsQueryResponse (Maybe Text)

-- | The crawl error category. For example: authPermissions
data URLCrawlErrorsSamplesListCategory

-- | <pre>
--   authPermissions
--   </pre>
UCESLCAuthPermissions :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   flashContent
--   </pre>
UCESLCFlashContent :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
UCESLCManyToOneRedirect :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   notFollowed
--   </pre>
UCESLCNotFollowed :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   notFound
--   </pre>
UCESLCNotFound :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   other
--   </pre>
UCESLCOther :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   roboted
--   </pre>
UCESLCRoboted :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   serverError
--   </pre>
UCESLCServerError :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   soft404
--   </pre>
UCESLCSOFT404 :: URLCrawlErrorsSamplesListCategory

-- | List of crawl error samples.
--   
--   <i>See:</i> <a>urlCrawlErrorsSamplesListResponse</a> smart
--   constructor.
data URLCrawlErrorsSamplesListResponse

-- | Creates a value of <a>URLCrawlErrorsSamplesListResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uceslrURLCrawlErrorSample</a></li>
--   </ul>
urlCrawlErrorsSamplesListResponse :: URLCrawlErrorsSamplesListResponse

-- | Information about the sample URL and its crawl error.
uceslrURLCrawlErrorSample :: Lens' URLCrawlErrorsSamplesListResponse [URLCrawlErrorsSample]

-- | A time series of the number of URL crawl errors per error category and
--   platform.
--   
--   <i>See:</i> <a>urlCrawlErrorsCountsQueryResponse</a> smart
--   constructor.
data URLCrawlErrorsCountsQueryResponse

-- | Creates a value of <a>URLCrawlErrorsCountsQueryResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucecqrCountPerTypes</a></li>
--   </ul>
urlCrawlErrorsCountsQueryResponse :: URLCrawlErrorsCountsQueryResponse

-- | The time series of the number of URL crawl errors per error category
--   and platform.
ucecqrCountPerTypes :: Lens' URLCrawlErrorsCountsQueryResponse [URLCrawlErrorCountsPerType]

-- | Contains information about specific crawl errors.
--   
--   <i>See:</i> <a>urlCrawlErrorsSample</a> smart constructor.
data URLCrawlErrorsSample

-- | Creates a value of <a>URLCrawlErrorsSample</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucesResponseCode</a></li>
--   <li><a>ucesURLDetails</a></li>
--   <li><a>ucesLastCrawled</a></li>
--   <li><a>ucesPageURL</a></li>
--   <li><a>ucesFirstDetected</a></li>
--   </ul>
urlCrawlErrorsSample :: URLCrawlErrorsSample

-- | The HTTP response code, if any.
ucesResponseCode :: Lens' URLCrawlErrorsSample (Maybe Int32)

-- | Additional details about the URL, set only when calling get().
ucesURLDetails :: Lens' URLCrawlErrorsSample (Maybe URLSampleDetails)

-- | The time when the URL was last crawled, in RFC 3339 format.
ucesLastCrawled :: Lens' URLCrawlErrorsSample (Maybe UTCTime)

-- | The URL of an error, relative to the site.
ucesPageURL :: Lens' URLCrawlErrorsSample (Maybe Text)

-- | The time the error was first detected, in RFC 3339 format.
ucesFirstDetected :: Lens' URLCrawlErrorsSample (Maybe UTCTime)

-- | Contains detailed information about a specific URL submitted as a
--   sitemap.
--   
--   <i>See:</i> <a>wmxSitemap</a> smart constructor.
data WmxSitemap

-- | Creates a value of <a>WmxSitemap</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>wsContents</a></li>
--   <li><a>wsPath</a></li>
--   <li><a>wsIsSitemapsIndex</a></li>
--   <li><a>wsLastSubmitted</a></li>
--   <li><a>wsWarnings</a></li>
--   <li><a>wsLastDownloaded</a></li>
--   <li><a>wsIsPending</a></li>
--   <li><a>wsType</a></li>
--   <li><a>wsErrors</a></li>
--   </ul>
wmxSitemap :: WmxSitemap

-- | The various content types in the sitemap.
wsContents :: Lens' WmxSitemap [WmxSitemapContent]

-- | The url of the sitemap.
wsPath :: Lens' WmxSitemap (Maybe Text)

-- | If true, the sitemap is a collection of sitemaps.
wsIsSitemapsIndex :: Lens' WmxSitemap (Maybe Bool)

-- | Date &amp; time in which this sitemap was submitted. Date format is in
--   RFC 3339 format (yyyy-mm-dd).
wsLastSubmitted :: Lens' WmxSitemap (Maybe UTCTime)

-- | Number of warnings for the sitemap. These are generally non-critical
--   issues with URLs in the sitemaps.
wsWarnings :: Lens' WmxSitemap (Maybe Int64)

-- | Date &amp; time in which this sitemap was last downloaded. Date format
--   is in RFC 3339 format (yyyy-mm-dd).
wsLastDownloaded :: Lens' WmxSitemap (Maybe UTCTime)

-- | If true, the sitemap has not been processed.
wsIsPending :: Lens' WmxSitemap (Maybe Bool)

-- | The type of the sitemap. For example: rssFeed.
wsType :: Lens' WmxSitemap (Maybe Text)

-- | Number of errors in the sitemap. These are issues with the sitemap
--   itself that need to be fixed before it can be processed correctly.
wsErrors :: Lens' WmxSitemap (Maybe Int64)

-- | List of sitemaps.
--   
--   <i>See:</i> <a>sitemapsListResponse</a> smart constructor.
data SitemapsListResponse

-- | Creates a value of <a>SitemapsListResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>slrSitemap</a></li>
--   </ul>
sitemapsListResponse :: SitemapsListResponse

-- | Contains detailed information about a specific URL submitted as a
--   sitemap.
slrSitemap :: Lens' SitemapsListResponse [WmxSitemap]
data SearchAnalyticsQueryRequest

-- | Creates a value of <a>SearchAnalyticsQueryRequest</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saqrAggregationType</a></li>
--   <li><a>saqrRowLimit</a></li>
--   <li><a>saqrEndDate</a></li>
--   <li><a>saqrSearchType</a></li>
--   <li><a>saqrDimensionFilterGroups</a></li>
--   <li><a>saqrStartDate</a></li>
--   <li><a>saqrStartRow</a></li>
--   <li><a>saqrDimensions</a></li>
--   </ul>
searchAnalyticsQueryRequest :: SearchAnalyticsQueryRequest

-- | <ul>
--   <li><i>Optional; Default is "auto"</i> How data is aggregated. If
--   aggregated by property, all data for the same property is aggregated;
--   if aggregated by page, all data is aggregated by canonical URI. If you
--   filter or group by page, choose AUTO; otherwise you can aggregate
--   either by property or by page, depending on how you want your data
--   calculated; see the help documentation to learn how data is calculated
--   differently by site versus by page. Note: If you group or filter by
--   page, you cannot aggregate by property. If you specify any value other
--   than AUTO, the aggregation type in the result will match the requested
--   type, or if you request an invalid type, you will get an error. The
--   API will never change your aggregation type if the requested type is
--   invalid.</li>
--   </ul>
saqrAggregationType :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional; Default is 1000</i> The maximum number of rows to
--   return. Must be a number from 1 to 5,000 (inclusive).</li>
--   </ul>
saqrRowLimit :: Lens' SearchAnalyticsQueryRequest (Maybe Int32)

-- | <ul>
--   <li><i>Required</i> End date of the requested date range, in
--   YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal
--   to the start date. This value is included in the range.</li>
--   </ul>
saqrEndDate :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional; Default is "web"</i> The search type to filter
--   for.</li>
--   </ul>
saqrSearchType :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional</i> Zero or more filters to apply to the dimension
--   grouping values; for example, 'query contains "buy"' to see only data
--   where the query string contains the substring "buy" (not
--   case-sensitive). You can filter by a dimension without grouping by
--   it.</li>
--   </ul>
saqrDimensionFilterGroups :: Lens' SearchAnalyticsQueryRequest [APIdimensionFilterGroup]

-- | <ul>
--   <li><i>Required</i> Start date of the requested date range, in
--   YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or
--   equal to the end date. This value is included in the range.</li>
--   </ul>
saqrStartDate :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional; Default is 0</i> Zero-based index of the first row in
--   the response. Must be a non-negative number.</li>
--   </ul>
saqrStartRow :: Lens' SearchAnalyticsQueryRequest (Maybe Int32)

-- | <ul>
--   <li><i>Optional</i> Zero or more dimensions to group results by.
--   Dimensions are the group-by values in the Search Analytics page.
--   Dimensions are combined to create a unique row key for each row.
--   Results are grouped in the order that you supply these
--   dimensions.</li>
--   </ul>
saqrDimensions :: Lens' SearchAnalyticsQueryRequest [Text]

-- | The user agent type (platform) that made the request. For example: web
data URLCrawlErrorsSamplesListPlatform

-- | <pre>
--   mobile
--   </pre>
UCESLPMobile :: URLCrawlErrorsSamplesListPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
UCESLPSmartphoneOnly :: URLCrawlErrorsSamplesListPlatform

-- | <pre>
--   web
--   </pre>
UCESLPWeb :: URLCrawlErrorsSamplesListPlatform

-- | List of sites with access level information.
--   
--   <i>See:</i> <a>sitesListResponse</a> smart constructor.
data SitesListResponse

-- | Creates a value of <a>SitesListResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>slrSiteEntry</a></li>
--   </ul>
sitesListResponse :: SitesListResponse

-- | Contains permission level information about a Search Console site. For
--   more information, see Permissions in Search Console.
slrSiteEntry :: Lens' SitesListResponse [WmxSite]

-- | Contains permission level information about a Search Console site. For
--   more information, see Permissions in Search Console.
--   
--   <i>See:</i> <a>wmxSite</a> smart constructor.
data WmxSite

-- | Creates a value of <a>WmxSite</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>wsPermissionLevel</a></li>
--   <li><a>wsSiteURL</a></li>
--   </ul>
wmxSite :: WmxSite

-- | The user's permission level for the site.
wsPermissionLevel :: Lens' WmxSite (Maybe Text)

-- | The URL of the site.
wsSiteURL :: Lens' WmxSite (Maybe Text)

-- | The crawl error category. For example: serverError. If not specified,
--   returns results for all categories.
data URLCrawlErrorscountsQueryCategory

-- | <pre>
--   authPermissions
--   </pre>
UCEQCAuthPermissions :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   flashContent
--   </pre>
UCEQCFlashContent :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
UCEQCManyToOneRedirect :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   notFollowed
--   </pre>
UCEQCNotFollowed :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   notFound
--   </pre>
UCEQCNotFound :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   other
--   </pre>
UCEQCOther :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   roboted
--   </pre>
UCEQCRoboted :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   serverError
--   </pre>
UCEQCServerError :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   soft404
--   </pre>
UCEQCSOFT404 :: URLCrawlErrorscountsQueryCategory


-- | Retrieves a time series of the number of URL crawl errors per error
--   category and platform.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.urlcrawlerrorscounts.query</tt>.
module Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query

-- | A resource alias for <tt>webmasters.urlcrawlerrorscounts.query</tt>
--   method which the <a>URLCrawlErrorscountsQuery</a> request conforms to.
type URLCrawlErrorscountsQueryResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsCounts" :> ("query" :> (QueryParam "platform" URLCrawlErrorscountsQueryPlatform :> (QueryParam "category" URLCrawlErrorscountsQueryCategory :> (QueryParam "latestCountsOnly" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] URLCrawlErrorsCountsQueryResponse)))))))))

-- | Creates a value of <a>URLCrawlErrorscountsQuery</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uceqPlatform</a></li>
--   <li><a>uceqCategory</a></li>
--   <li><a>uceqSiteURL</a></li>
--   <li><a>uceqLatestCountsOnly</a></li>
--   </ul>
urlCrawlErrorscountsQuery :: Text -> URLCrawlErrorscountsQuery

-- | Retrieves a time series of the number of URL crawl errors per error
--   category and platform.
--   
--   <i>See:</i> <a>urlCrawlErrorscountsQuery</a> smart constructor.
data URLCrawlErrorscountsQuery

-- | The user agent type (platform) that made the request. For example:
--   web. If not specified, returns results for all platforms.
uceqPlatform :: Lens' URLCrawlErrorscountsQuery (Maybe URLCrawlErrorscountsQueryPlatform)

-- | The crawl error category. For example: serverError. If not specified,
--   returns results for all categories.
uceqCategory :: Lens' URLCrawlErrorscountsQuery (Maybe URLCrawlErrorscountsQueryCategory)

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
uceqSiteURL :: Lens' URLCrawlErrorscountsQuery Text

-- | If true, returns only the latest crawl error counts.
uceqLatestCountsOnly :: Lens' URLCrawlErrorscountsQuery Bool
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query.URLCrawlErrorscountsQuery
instance Data.Data.Data Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query.URLCrawlErrorscountsQuery
instance GHC.Show.Show Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query.URLCrawlErrorscountsQuery
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query.URLCrawlErrorscountsQuery
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.URLCrawlErrorscounts.Query.URLCrawlErrorscountsQuery


-- | Marks the provided site's sample URL as fixed, and removes it from the
--   samples list.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.urlcrawlerrorssamples.markAsFixed</tt>.
module Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed

-- | A resource alias for
--   <tt>webmasters.urlcrawlerrorssamples.markAsFixed</tt> method which the
--   <a>URLCrawlErrorsSamplesMarkAsFixed</a> request conforms to.
type URLCrawlErrorsSamplesMarkAsFixedResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (Capture "url" Text :> (QueryParam "category" URLCrawlErrorsSamplesMarkAsFixedCategory :> (QueryParam "platform" URLCrawlErrorsSamplesMarkAsFixedPlatform :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))

-- | Creates a value of <a>URLCrawlErrorsSamplesMarkAsFixed</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucesmafPlatform</a></li>
--   <li><a>ucesmafCategory</a></li>
--   <li><a>ucesmafSiteURL</a></li>
--   <li><a>ucesmafURL</a></li>
--   </ul>
urlCrawlErrorsSamplesMarkAsFixed :: URLCrawlErrorsSamplesMarkAsFixedPlatform -> URLCrawlErrorsSamplesMarkAsFixedCategory -> Text -> Text -> URLCrawlErrorsSamplesMarkAsFixed

-- | Marks the provided site's sample URL as fixed, and removes it from the
--   samples list.
--   
--   <i>See:</i> <a>urlCrawlErrorsSamplesMarkAsFixed</a> smart constructor.
data URLCrawlErrorsSamplesMarkAsFixed

-- | The user agent type (platform) that made the request. For example: web
ucesmafPlatform :: Lens' URLCrawlErrorsSamplesMarkAsFixed URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | The crawl error category. For example: authPermissions
ucesmafCategory :: Lens' URLCrawlErrorsSamplesMarkAsFixed URLCrawlErrorsSamplesMarkAsFixedCategory

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
ucesmafSiteURL :: Lens' URLCrawlErrorsSamplesMarkAsFixed Text

-- | The relative path (without the site) of the sample URL. It must be one
--   of the URLs returned by list(). For example, for the URL
--   https://www.example.com/pagename on the site https://www.example.com/,
--   the url value is pagename
ucesmafURL :: Lens' URLCrawlErrorsSamplesMarkAsFixed Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed.URLCrawlErrorsSamplesMarkAsFixed
instance Data.Data.Data Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed.URLCrawlErrorsSamplesMarkAsFixed
instance GHC.Show.Show Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed.URLCrawlErrorsSamplesMarkAsFixed
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed.URLCrawlErrorsSamplesMarkAsFixed
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.MarkAsFixed.URLCrawlErrorsSamplesMarkAsFixed


-- | Lists a site's sample URLs for the specified crawl error category and
--   platform.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.urlcrawlerrorssamples.list</tt>.
module Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List

-- | A resource alias for <tt>webmasters.urlcrawlerrorssamples.list</tt>
--   method which the <a>URLCrawlErrorsSamplesList</a> request conforms to.
type URLCrawlErrorsSamplesListResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (QueryParam "category" URLCrawlErrorsSamplesListCategory :> (QueryParam "platform" URLCrawlErrorsSamplesListPlatform :> (QueryParam "alt" AltJSON :> Get '[JSON] URLCrawlErrorsSamplesListResponse)))))))

-- | Creates a value of <a>URLCrawlErrorsSamplesList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uceslPlatform</a></li>
--   <li><a>uceslCategory</a></li>
--   <li><a>uceslSiteURL</a></li>
--   </ul>
urlCrawlErrorsSamplesList :: URLCrawlErrorsSamplesListPlatform -> URLCrawlErrorsSamplesListCategory -> Text -> URLCrawlErrorsSamplesList

-- | Lists a site's sample URLs for the specified crawl error category and
--   platform.
--   
--   <i>See:</i> <a>urlCrawlErrorsSamplesList</a> smart constructor.
data URLCrawlErrorsSamplesList

-- | The user agent type (platform) that made the request. For example: web
uceslPlatform :: Lens' URLCrawlErrorsSamplesList URLCrawlErrorsSamplesListPlatform

-- | The crawl error category. For example: authPermissions
uceslCategory :: Lens' URLCrawlErrorsSamplesList URLCrawlErrorsSamplesListCategory

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
uceslSiteURL :: Lens' URLCrawlErrorsSamplesList Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List.URLCrawlErrorsSamplesList
instance Data.Data.Data Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List.URLCrawlErrorsSamplesList
instance GHC.Show.Show Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List.URLCrawlErrorsSamplesList
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List.URLCrawlErrorsSamplesList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.List.URLCrawlErrorsSamplesList


-- | Retrieves details about crawl errors for a site's sample URL.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.urlcrawlerrorssamples.get</tt>.
module Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get

-- | A resource alias for <tt>webmasters.urlcrawlerrorssamples.get</tt>
--   method which the <a>URLCrawlErrorsSamplesGet</a> request conforms to.
type URLCrawlErrorsSamplesGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (Capture "url" Text :> (QueryParam "category" URLCrawlErrorsSamplesGetCategory :> (QueryParam "platform" URLCrawlErrorsSamplesGetPlatform :> (QueryParam "alt" AltJSON :> Get '[JSON] URLCrawlErrorsSample))))))))

-- | Creates a value of <a>URLCrawlErrorsSamplesGet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucesgPlatform</a></li>
--   <li><a>ucesgCategory</a></li>
--   <li><a>ucesgSiteURL</a></li>
--   <li><a>ucesgURL</a></li>
--   </ul>
urlCrawlErrorsSamplesGet :: URLCrawlErrorsSamplesGetPlatform -> URLCrawlErrorsSamplesGetCategory -> Text -> Text -> URLCrawlErrorsSamplesGet

-- | Retrieves details about crawl errors for a site's sample URL.
--   
--   <i>See:</i> <a>urlCrawlErrorsSamplesGet</a> smart constructor.
data URLCrawlErrorsSamplesGet

-- | The user agent type (platform) that made the request. For example: web
ucesgPlatform :: Lens' URLCrawlErrorsSamplesGet URLCrawlErrorsSamplesGetPlatform

-- | The crawl error category. For example: authPermissions
ucesgCategory :: Lens' URLCrawlErrorsSamplesGet URLCrawlErrorsSamplesGetCategory

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
ucesgSiteURL :: Lens' URLCrawlErrorsSamplesGet Text

-- | The relative path (without the site) of the sample URL. It must be one
--   of the URLs returned by list(). For example, for the URL
--   https://www.example.com/pagename on the site https://www.example.com/,
--   the url value is pagename
ucesgURL :: Lens' URLCrawlErrorsSamplesGet Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get.URLCrawlErrorsSamplesGet
instance Data.Data.Data Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get.URLCrawlErrorsSamplesGet
instance GHC.Show.Show Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get.URLCrawlErrorsSamplesGet
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get.URLCrawlErrorsSamplesGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.URLCrawlErrorsSamples.Get.URLCrawlErrorsSamplesGet


-- | Lists the user's Search Console sites.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sites.list</tt>.
module Network.Google.Resource.Webmasters.Sites.List

-- | A resource alias for <tt>webmasters.sites.list</tt> method which the
--   <a>SitesList</a> request conforms to.
type SitesListResource = "webmasters" :> ("v3" :> ("sites" :> (QueryParam "alt" AltJSON :> Get '[JSON] SitesListResponse)))

-- | Creates a value of <a>SitesList</a> with the minimum fields required
--   to make a request.
sitesList :: SitesList

-- | Lists the user's Search Console sites.
--   
--   <i>See:</i> <a>sitesList</a> smart constructor.
data SitesList
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sites.List.SitesList
instance Data.Data.Data Network.Google.Resource.Webmasters.Sites.List.SitesList
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sites.List.SitesList
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sites.List.SitesList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sites.List.SitesList


-- | Retrieves information about specific site.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sites.get</tt>.
module Network.Google.Resource.Webmasters.Sites.Get

-- | A resource alias for <tt>webmasters.sites.get</tt> method which the
--   <a>SitesGet</a> request conforms to.
type SitesGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WmxSite))))

-- | Creates a value of <a>SitesGet</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sitSiteURL</a></li>
--   </ul>
sitesGet :: Text -> SitesGet

-- | Retrieves information about specific site.
--   
--   <i>See:</i> <a>sitesGet</a> smart constructor.
data SitesGet

-- | The URI of the property as defined in Search Console. Examples:
--   http://www.example.com/ or android-app://com.example/
sitSiteURL :: Lens' SitesGet Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sites.Get.SitesGet
instance Data.Data.Data Network.Google.Resource.Webmasters.Sites.Get.SitesGet
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sites.Get.SitesGet
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sites.Get.SitesGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sites.Get.SitesGet


-- | Removes a site from the set of the user's Search Console sites.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sites.delete</tt>.
module Network.Google.Resource.Webmasters.Sites.Delete

-- | A resource alias for <tt>webmasters.sites.delete</tt> method which the
--   <a>SitesDelete</a> request conforms to.
type SitesDeleteResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))

-- | Creates a value of <a>SitesDelete</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sSiteURL</a></li>
--   </ul>
sitesDelete :: Text -> SitesDelete

-- | Removes a site from the set of the user's Search Console sites.
--   
--   <i>See:</i> <a>sitesDelete</a> smart constructor.
data SitesDelete

-- | The URI of the property as defined in Search Console. Examples:
--   http://www.example.com/ or android-app://com.example/
sSiteURL :: Lens' SitesDelete Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sites.Delete.SitesDelete
instance Data.Data.Data Network.Google.Resource.Webmasters.Sites.Delete.SitesDelete
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sites.Delete.SitesDelete
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sites.Delete.SitesDelete
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sites.Delete.SitesDelete


-- | Adds a site to the set of the user's sites in Search Console.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sites.add</tt>.
module Network.Google.Resource.Webmasters.Sites.Add

-- | A resource alias for <tt>webmasters.sites.add</tt> method which the
--   <a>SitesAdd</a> request conforms to.
type SitesAddResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))

-- | Creates a value of <a>SitesAdd</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saSiteURL</a></li>
--   </ul>
sitesAdd :: Text -> SitesAdd

-- | Adds a site to the set of the user's sites in Search Console.
--   
--   <i>See:</i> <a>sitesAdd</a> smart constructor.
data SitesAdd

-- | The URL of the site to add.
saSiteURL :: Lens' SitesAdd Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sites.Add.SitesAdd
instance Data.Data.Data Network.Google.Resource.Webmasters.Sites.Add.SitesAdd
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sites.Add.SitesAdd
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sites.Add.SitesAdd
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sites.Add.SitesAdd


-- | Submits a sitemap for a site.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sitemaps.submit</tt>.
module Network.Google.Resource.Webmasters.Sitemaps.Submit

-- | A resource alias for <tt>webmasters.sitemaps.submit</tt> method which
--   the <a>SitemapsSubmit</a> request conforms to.
type SitemapsSubmitResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))))

-- | Creates a value of <a>SitemapsSubmit</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ssFeedpath</a></li>
--   <li><a>ssSiteURL</a></li>
--   </ul>
sitemapsSubmit :: Text -> Text -> SitemapsSubmit

-- | Submits a sitemap for a site.
--   
--   <i>See:</i> <a>sitemapsSubmit</a> smart constructor.
data SitemapsSubmit

-- | The URL of the sitemap to add. For example:
--   http://www.example.com/sitemap.xml
ssFeedpath :: Lens' SitemapsSubmit Text

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
ssSiteURL :: Lens' SitemapsSubmit Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sitemaps.Submit.SitemapsSubmit
instance Data.Data.Data Network.Google.Resource.Webmasters.Sitemaps.Submit.SitemapsSubmit
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sitemaps.Submit.SitemapsSubmit
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sitemaps.Submit.SitemapsSubmit
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sitemaps.Submit.SitemapsSubmit


-- | Lists the sitemaps-entries submitted for this site, or included in the
--   sitemap index file (if sitemapIndex is specified in the request).
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sitemaps.list</tt>.
module Network.Google.Resource.Webmasters.Sitemaps.List

-- | A resource alias for <tt>webmasters.sitemaps.list</tt> method which
--   the <a>SitemapsList</a> request conforms to.
type SitemapsListResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (QueryParam "sitemapIndex" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SitemapsListResponse))))))

-- | Creates a value of <a>SitemapsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>slSiteURL</a></li>
--   <li><a>slSitemapIndex</a></li>
--   </ul>
sitemapsList :: Text -> SitemapsList

-- | Lists the sitemaps-entries submitted for this site, or included in the
--   sitemap index file (if sitemapIndex is specified in the request).
--   
--   <i>See:</i> <a>sitemapsList</a> smart constructor.
data SitemapsList

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
slSiteURL :: Lens' SitemapsList Text

-- | A URL of a site's sitemap index. For example:
--   http://www.example.com/sitemapindex.xml
slSitemapIndex :: Lens' SitemapsList (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sitemaps.List.SitemapsList
instance Data.Data.Data Network.Google.Resource.Webmasters.Sitemaps.List.SitemapsList
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sitemaps.List.SitemapsList
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sitemaps.List.SitemapsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sitemaps.List.SitemapsList


-- | Retrieves information about a specific sitemap.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sitemaps.get</tt>.
module Network.Google.Resource.Webmasters.Sitemaps.Get

-- | A resource alias for <tt>webmasters.sitemaps.get</tt> method which the
--   <a>SitemapsGet</a> request conforms to.
type SitemapsGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WmxSitemap))))))

-- | Creates a value of <a>SitemapsGet</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sgFeedpath</a></li>
--   <li><a>sgSiteURL</a></li>
--   </ul>
sitemapsGet :: Text -> Text -> SitemapsGet

-- | Retrieves information about a specific sitemap.
--   
--   <i>See:</i> <a>sitemapsGet</a> smart constructor.
data SitemapsGet

-- | The URL of the actual sitemap. For example:
--   http://www.example.com/sitemap.xml
sgFeedpath :: Lens' SitemapsGet Text

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
sgSiteURL :: Lens' SitemapsGet Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sitemaps.Get.SitemapsGet
instance Data.Data.Data Network.Google.Resource.Webmasters.Sitemaps.Get.SitemapsGet
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sitemaps.Get.SitemapsGet
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sitemaps.Get.SitemapsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sitemaps.Get.SitemapsGet


-- | Deletes a sitemap from this site.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.sitemaps.delete</tt>.
module Network.Google.Resource.Webmasters.Sitemaps.Delete

-- | A resource alias for <tt>webmasters.sitemaps.delete</tt> method which
--   the <a>SitemapsDelete</a> request conforms to.
type SitemapsDeleteResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))

-- | Creates a value of <a>SitemapsDelete</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdFeedpath</a></li>
--   <li><a>sdSiteURL</a></li>
--   </ul>
sitemapsDelete :: Text -> Text -> SitemapsDelete

-- | Deletes a sitemap from this site.
--   
--   <i>See:</i> <a>sitemapsDelete</a> smart constructor.
data SitemapsDelete

-- | The URL of the actual sitemap. For example:
--   http://www.example.com/sitemap.xml
sdFeedpath :: Lens' SitemapsDelete Text

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
sdSiteURL :: Lens' SitemapsDelete Text
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Sitemaps.Delete.SitemapsDelete
instance Data.Data.Data Network.Google.Resource.Webmasters.Sitemaps.Delete.SitemapsDelete
instance GHC.Show.Show Network.Google.Resource.Webmasters.Sitemaps.Delete.SitemapsDelete
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Sitemaps.Delete.SitemapsDelete
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Sitemaps.Delete.SitemapsDelete


-- | Query your data with filters and parameters that you define. Returns
--   zero or more rows grouped by the row keys that you define. You must
--   define a date range of one or more days. When date is one of the group
--   by values, any days without data are omitted from the result list. If
--   you need to know which days have data, issue a broad date range query
--   grouped by date for any metric, and see which day rows are returned.
--   
--   <i>See:</i> <a>Search Console API Reference</a> for
--   <tt>webmasters.searchanalytics.query</tt>.
module Network.Google.Resource.Webmasters.Searchanalytics.Query

-- | A resource alias for <tt>webmasters.searchanalytics.query</tt> method
--   which the <a>SearchanalyticsQuery</a> request conforms to.
type SearchanalyticsQueryResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("searchAnalytics" :> ("query" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchAnalyticsQueryRequest :> Post '[JSON] SearchAnalyticsQueryResponse)))))))

-- | Creates a value of <a>SearchanalyticsQuery</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sqSiteURL</a></li>
--   <li><a>sqPayload</a></li>
--   </ul>
searchanalyticsQuery :: Text -> SearchAnalyticsQueryRequest -> SearchanalyticsQuery

-- | Query your data with filters and parameters that you define. Returns
--   zero or more rows grouped by the row keys that you define. You must
--   define a date range of one or more days. When date is one of the group
--   by values, any days without data are omitted from the result list. If
--   you need to know which days have data, issue a broad date range query
--   grouped by date for any metric, and see which day rows are returned.
--   
--   <i>See:</i> <a>searchanalyticsQuery</a> smart constructor.
data SearchanalyticsQuery

-- | The site's URL, including protocol. For example:
--   http://www.example.com/
sqSiteURL :: Lens' SearchanalyticsQuery Text

-- | Multipart request metadata.
sqPayload :: Lens' SearchanalyticsQuery SearchAnalyticsQueryRequest
instance GHC.Generics.Generic Network.Google.Resource.Webmasters.Searchanalytics.Query.SearchanalyticsQuery
instance Data.Data.Data Network.Google.Resource.Webmasters.Searchanalytics.Query.SearchanalyticsQuery
instance GHC.Show.Show Network.Google.Resource.Webmasters.Searchanalytics.Query.SearchanalyticsQuery
instance GHC.Classes.Eq Network.Google.Resource.Webmasters.Searchanalytics.Query.SearchanalyticsQuery
instance Network.Google.Types.GoogleRequest Network.Google.Resource.Webmasters.Searchanalytics.Query.SearchanalyticsQuery


-- | View Google Search Console data for your verified sites.
--   
--   <i>See:</i> <a>Search Console API Reference</a>
module Network.Google.WebmasterTools

-- | Default request referring to version <tt>v3</tt> of the Search Console
--   API. This contains the host and root path used as a starting point for
--   constructing service requests.
webmasterToolsService :: ServiceConfig

-- | View and manage Search Console data for your verified sites
webmastersScope :: Proxy '["https://www.googleapis.com/auth/webmasters"]

-- | View Search Console data for your verified sites
webmastersReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/webmasters.readonly"]

-- | Represents the entirety of the methods and resources available for the
--   Search Console API service.
type WebmasterToolsAPI = URLCrawlErrorsSamplesListResource :<|> (URLCrawlErrorsSamplesGetResource :<|> (URLCrawlErrorsSamplesMarkAsFixedResource :<|> (SitemapsListResource :<|> (SitemapsGetResource :<|> (SitemapsSubmitResource :<|> (SitemapsDeleteResource :<|> (SearchanalyticsQueryResource :<|> (SitesListResource :<|> (SitesGetResource :<|> (SitesAddResource :<|> (SitesDeleteResource :<|> URLCrawlErrorscountsQueryResource)))))))))))

-- | Information about the various content types in the sitemap.
--   
--   <i>See:</i> <a>wmxSitemapContent</a> smart constructor.
data WmxSitemapContent

-- | Creates a value of <a>WmxSitemapContent</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>wscIndexed</a></li>
--   <li><a>wscType</a></li>
--   <li><a>wscSubmitted</a></li>
--   </ul>
wmxSitemapContent :: WmxSitemapContent

-- | The number of URLs from the sitemap that were indexed (of the content
--   type).
wscIndexed :: Lens' WmxSitemapContent (Maybe Int64)

-- | The specific type of content in this sitemap. For example: web.
wscType :: Lens' WmxSitemapContent (Maybe Text)

-- | The number of URLs in the sitemap (of the content type).
wscSubmitted :: Lens' WmxSitemapContent (Maybe Int64)
data APIdimensionFilterGroup

-- | Creates a value of <a>APIdimensionFilterGroup</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afgFilters</a></li>
--   <li><a>afgGroupType</a></li>
--   </ul>
apidimensionFilterGroup :: APIdimensionFilterGroup
afgFilters :: Lens' APIdimensionFilterGroup [APIdimensionFilter]
afgGroupType :: Lens' APIdimensionFilterGroup (Maybe Text)

-- | Additional details about the URL, set only when calling get().
--   
--   <i>See:</i> <a>urlSampleDetails</a> smart constructor.
data URLSampleDetails

-- | Creates a value of <a>URLSampleDetails</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>usdLinkedFromURLs</a></li>
--   <li><a>usdContainingSitemaps</a></li>
--   </ul>
urlSampleDetails :: URLSampleDetails

-- | A sample set of URLs linking to this URL.
usdLinkedFromURLs :: Lens' URLSampleDetails [Text]

-- | List of sitemaps pointing at this URL.
usdContainingSitemaps :: Lens' URLSampleDetails [Text]

-- | The crawl error category. For example: authPermissions
data URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   authPermissions
--   </pre>
AuthPermissions :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   flashContent
--   </pre>
FlashContent :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
ManyToOneRedirect :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   notFollowed
--   </pre>
NotFollowed :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   notFound
--   </pre>
NotFound :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   other
--   </pre>
Other :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   roboted
--   </pre>
Roboted :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   serverError
--   </pre>
ServerError :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | <pre>
--   soft404
--   </pre>
SOFT404 :: URLCrawlErrorsSamplesMarkAsFixedCategory

-- | Number of errors per day for a specific error type (defined by
--   platform and category).
--   
--   <i>See:</i> <a>urlCrawlErrorCountsPerType</a> smart constructor.
data URLCrawlErrorCountsPerType

-- | Creates a value of <a>URLCrawlErrorCountsPerType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucecptPlatform</a></li>
--   <li><a>ucecptEntries</a></li>
--   <li><a>ucecptCategory</a></li>
--   </ul>
urlCrawlErrorCountsPerType :: URLCrawlErrorCountsPerType

-- | The general type of Googlebot that made the request (see list of
--   Googlebot user-agents for the user-agents used).
ucecptPlatform :: Lens' URLCrawlErrorCountsPerType (Maybe Text)

-- | The error count entries time series.
ucecptEntries :: Lens' URLCrawlErrorCountsPerType [URLCrawlErrorCount]

-- | The crawl error type.
ucecptCategory :: Lens' URLCrawlErrorCountsPerType (Maybe Text)

-- | The user agent type (platform) that made the request. For example: web
data URLCrawlErrorsSamplesGetPlatform

-- | <pre>
--   mobile
--   </pre>
Mobile :: URLCrawlErrorsSamplesGetPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
SmartphoneOnly :: URLCrawlErrorsSamplesGetPlatform

-- | <pre>
--   web
--   </pre>
Web :: URLCrawlErrorsSamplesGetPlatform
data APIDataRow

-- | Creates a value of <a>APIDataRow</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>adrImpressions</a></li>
--   <li><a>adrKeys</a></li>
--   <li><a>adrCtr</a></li>
--   <li><a>adrClicks</a></li>
--   <li><a>adrPosition</a></li>
--   </ul>
apiDataRow :: APIDataRow
adrImpressions :: Lens' APIDataRow (Maybe Double)
adrKeys :: Lens' APIDataRow [Text]
adrCtr :: Lens' APIDataRow (Maybe Double)
adrClicks :: Lens' APIDataRow (Maybe Double)
adrPosition :: Lens' APIDataRow (Maybe Double)
data APIdimensionFilter

-- | Creates a value of <a>APIdimensionFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afOperator</a></li>
--   <li><a>afDimension</a></li>
--   <li><a>afExpression</a></li>
--   </ul>
apidimensionFilter :: APIdimensionFilter
afOperator :: Lens' APIdimensionFilter (Maybe Text)
afDimension :: Lens' APIdimensionFilter (Maybe Text)
afExpression :: Lens' APIdimensionFilter (Maybe Text)

-- | The user agent type (platform) that made the request. For example: web
data URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | <pre>
--   mobile
--   </pre>
UCESMAFPMobile :: URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
UCESMAFPSmartphoneOnly :: URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | <pre>
--   web
--   </pre>
UCESMAFPWeb :: URLCrawlErrorsSamplesMarkAsFixedPlatform

-- | The crawl error category. For example: authPermissions
data URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   authPermissions
--   </pre>
UCESGCAuthPermissions :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   flashContent
--   </pre>
UCESGCFlashContent :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
UCESGCManyToOneRedirect :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   notFollowed
--   </pre>
UCESGCNotFollowed :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   notFound
--   </pre>
UCESGCNotFound :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   other
--   </pre>
UCESGCOther :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   roboted
--   </pre>
UCESGCRoboted :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   serverError
--   </pre>
UCESGCServerError :: URLCrawlErrorsSamplesGetCategory

-- | <pre>
--   soft404
--   </pre>
UCESGCSOFT404 :: URLCrawlErrorsSamplesGetCategory

-- | An entry in a URL crawl errors time series.
--   
--   <i>See:</i> <a>urlCrawlErrorCount</a> smart constructor.
data URLCrawlErrorCount

-- | Creates a value of <a>URLCrawlErrorCount</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucecCount</a></li>
--   <li><a>ucecTimestamp</a></li>
--   </ul>
urlCrawlErrorCount :: URLCrawlErrorCount

-- | The error count at the given timestamp.
ucecCount :: Lens' URLCrawlErrorCount (Maybe Int64)

-- | The date and time when the crawl attempt took place, in RFC 3339
--   format.
ucecTimestamp :: Lens' URLCrawlErrorCount (Maybe UTCTime)

-- | The user agent type (platform) that made the request. For example:
--   web. If not specified, returns results for all platforms.
data URLCrawlErrorscountsQueryPlatform

-- | <pre>
--   mobile
--   </pre>
UCEQPMobile :: URLCrawlErrorscountsQueryPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
UCEQPSmartphoneOnly :: URLCrawlErrorscountsQueryPlatform

-- | <pre>
--   web
--   </pre>
UCEQPWeb :: URLCrawlErrorscountsQueryPlatform

-- | A list of rows, one per result, grouped by key. Metrics in each row
--   are aggregated for all data grouped by that key either by page or
--   property, as specified by the aggregation type parameter.
--   
--   <i>See:</i> <a>searchAnalyticsQueryResponse</a> smart constructor.
data SearchAnalyticsQueryResponse

-- | Creates a value of <a>SearchAnalyticsQueryResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saqrRows</a></li>
--   <li><a>saqrResponseAggregationType</a></li>
--   </ul>
searchAnalyticsQueryResponse :: SearchAnalyticsQueryResponse

-- | A list of rows grouped by the key values in the order given in the
--   query.
saqrRows :: Lens' SearchAnalyticsQueryResponse [APIDataRow]

-- | How the results were aggregated.
saqrResponseAggregationType :: Lens' SearchAnalyticsQueryResponse (Maybe Text)

-- | The crawl error category. For example: authPermissions
data URLCrawlErrorsSamplesListCategory

-- | <pre>
--   authPermissions
--   </pre>
UCESLCAuthPermissions :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   flashContent
--   </pre>
UCESLCFlashContent :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
UCESLCManyToOneRedirect :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   notFollowed
--   </pre>
UCESLCNotFollowed :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   notFound
--   </pre>
UCESLCNotFound :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   other
--   </pre>
UCESLCOther :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   roboted
--   </pre>
UCESLCRoboted :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   serverError
--   </pre>
UCESLCServerError :: URLCrawlErrorsSamplesListCategory

-- | <pre>
--   soft404
--   </pre>
UCESLCSOFT404 :: URLCrawlErrorsSamplesListCategory

-- | List of crawl error samples.
--   
--   <i>See:</i> <a>urlCrawlErrorsSamplesListResponse</a> smart
--   constructor.
data URLCrawlErrorsSamplesListResponse

-- | Creates a value of <a>URLCrawlErrorsSamplesListResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uceslrURLCrawlErrorSample</a></li>
--   </ul>
urlCrawlErrorsSamplesListResponse :: URLCrawlErrorsSamplesListResponse

-- | Information about the sample URL and its crawl error.
uceslrURLCrawlErrorSample :: Lens' URLCrawlErrorsSamplesListResponse [URLCrawlErrorsSample]

-- | A time series of the number of URL crawl errors per error category and
--   platform.
--   
--   <i>See:</i> <a>urlCrawlErrorsCountsQueryResponse</a> smart
--   constructor.
data URLCrawlErrorsCountsQueryResponse

-- | Creates a value of <a>URLCrawlErrorsCountsQueryResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucecqrCountPerTypes</a></li>
--   </ul>
urlCrawlErrorsCountsQueryResponse :: URLCrawlErrorsCountsQueryResponse

-- | The time series of the number of URL crawl errors per error category
--   and platform.
ucecqrCountPerTypes :: Lens' URLCrawlErrorsCountsQueryResponse [URLCrawlErrorCountsPerType]

-- | Contains information about specific crawl errors.
--   
--   <i>See:</i> <a>urlCrawlErrorsSample</a> smart constructor.
data URLCrawlErrorsSample

-- | Creates a value of <a>URLCrawlErrorsSample</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucesResponseCode</a></li>
--   <li><a>ucesURLDetails</a></li>
--   <li><a>ucesLastCrawled</a></li>
--   <li><a>ucesPageURL</a></li>
--   <li><a>ucesFirstDetected</a></li>
--   </ul>
urlCrawlErrorsSample :: URLCrawlErrorsSample

-- | The HTTP response code, if any.
ucesResponseCode :: Lens' URLCrawlErrorsSample (Maybe Int32)

-- | Additional details about the URL, set only when calling get().
ucesURLDetails :: Lens' URLCrawlErrorsSample (Maybe URLSampleDetails)

-- | The time when the URL was last crawled, in RFC 3339 format.
ucesLastCrawled :: Lens' URLCrawlErrorsSample (Maybe UTCTime)

-- | The URL of an error, relative to the site.
ucesPageURL :: Lens' URLCrawlErrorsSample (Maybe Text)

-- | The time the error was first detected, in RFC 3339 format.
ucesFirstDetected :: Lens' URLCrawlErrorsSample (Maybe UTCTime)

-- | Contains detailed information about a specific URL submitted as a
--   sitemap.
--   
--   <i>See:</i> <a>wmxSitemap</a> smart constructor.
data WmxSitemap

-- | Creates a value of <a>WmxSitemap</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>wsContents</a></li>
--   <li><a>wsPath</a></li>
--   <li><a>wsIsSitemapsIndex</a></li>
--   <li><a>wsLastSubmitted</a></li>
--   <li><a>wsWarnings</a></li>
--   <li><a>wsLastDownloaded</a></li>
--   <li><a>wsIsPending</a></li>
--   <li><a>wsType</a></li>
--   <li><a>wsErrors</a></li>
--   </ul>
wmxSitemap :: WmxSitemap

-- | The various content types in the sitemap.
wsContents :: Lens' WmxSitemap [WmxSitemapContent]

-- | The url of the sitemap.
wsPath :: Lens' WmxSitemap (Maybe Text)

-- | If true, the sitemap is a collection of sitemaps.
wsIsSitemapsIndex :: Lens' WmxSitemap (Maybe Bool)

-- | Date &amp; time in which this sitemap was submitted. Date format is in
--   RFC 3339 format (yyyy-mm-dd).
wsLastSubmitted :: Lens' WmxSitemap (Maybe UTCTime)

-- | Number of warnings for the sitemap. These are generally non-critical
--   issues with URLs in the sitemaps.
wsWarnings :: Lens' WmxSitemap (Maybe Int64)

-- | Date &amp; time in which this sitemap was last downloaded. Date format
--   is in RFC 3339 format (yyyy-mm-dd).
wsLastDownloaded :: Lens' WmxSitemap (Maybe UTCTime)

-- | If true, the sitemap has not been processed.
wsIsPending :: Lens' WmxSitemap (Maybe Bool)

-- | The type of the sitemap. For example: rssFeed.
wsType :: Lens' WmxSitemap (Maybe Text)

-- | Number of errors in the sitemap. These are issues with the sitemap
--   itself that need to be fixed before it can be processed correctly.
wsErrors :: Lens' WmxSitemap (Maybe Int64)

-- | List of sitemaps.
--   
--   <i>See:</i> <a>sitemapsListResponse</a> smart constructor.
data SitemapsListResponse

-- | Creates a value of <a>SitemapsListResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>slrSitemap</a></li>
--   </ul>
sitemapsListResponse :: SitemapsListResponse

-- | Contains detailed information about a specific URL submitted as a
--   sitemap.
slrSitemap :: Lens' SitemapsListResponse [WmxSitemap]
data SearchAnalyticsQueryRequest

-- | Creates a value of <a>SearchAnalyticsQueryRequest</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saqrAggregationType</a></li>
--   <li><a>saqrRowLimit</a></li>
--   <li><a>saqrEndDate</a></li>
--   <li><a>saqrSearchType</a></li>
--   <li><a>saqrDimensionFilterGroups</a></li>
--   <li><a>saqrStartDate</a></li>
--   <li><a>saqrStartRow</a></li>
--   <li><a>saqrDimensions</a></li>
--   </ul>
searchAnalyticsQueryRequest :: SearchAnalyticsQueryRequest

-- | <ul>
--   <li><i>Optional; Default is "auto"</i> How data is aggregated. If
--   aggregated by property, all data for the same property is aggregated;
--   if aggregated by page, all data is aggregated by canonical URI. If you
--   filter or group by page, choose AUTO; otherwise you can aggregate
--   either by property or by page, depending on how you want your data
--   calculated; see the help documentation to learn how data is calculated
--   differently by site versus by page. Note: If you group or filter by
--   page, you cannot aggregate by property. If you specify any value other
--   than AUTO, the aggregation type in the result will match the requested
--   type, or if you request an invalid type, you will get an error. The
--   API will never change your aggregation type if the requested type is
--   invalid.</li>
--   </ul>
saqrAggregationType :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional; Default is 1000</i> The maximum number of rows to
--   return. Must be a number from 1 to 5,000 (inclusive).</li>
--   </ul>
saqrRowLimit :: Lens' SearchAnalyticsQueryRequest (Maybe Int32)

-- | <ul>
--   <li><i>Required</i> End date of the requested date range, in
--   YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal
--   to the start date. This value is included in the range.</li>
--   </ul>
saqrEndDate :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional; Default is "web"</i> The search type to filter
--   for.</li>
--   </ul>
saqrSearchType :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional</i> Zero or more filters to apply to the dimension
--   grouping values; for example, 'query contains "buy"' to see only data
--   where the query string contains the substring "buy" (not
--   case-sensitive). You can filter by a dimension without grouping by
--   it.</li>
--   </ul>
saqrDimensionFilterGroups :: Lens' SearchAnalyticsQueryRequest [APIdimensionFilterGroup]

-- | <ul>
--   <li><i>Required</i> Start date of the requested date range, in
--   YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or
--   equal to the end date. This value is included in the range.</li>
--   </ul>
saqrStartDate :: Lens' SearchAnalyticsQueryRequest (Maybe Text)

-- | <ul>
--   <li><i>Optional; Default is 0</i> Zero-based index of the first row in
--   the response. Must be a non-negative number.</li>
--   </ul>
saqrStartRow :: Lens' SearchAnalyticsQueryRequest (Maybe Int32)

-- | <ul>
--   <li><i>Optional</i> Zero or more dimensions to group results by.
--   Dimensions are the group-by values in the Search Analytics page.
--   Dimensions are combined to create a unique row key for each row.
--   Results are grouped in the order that you supply these
--   dimensions.</li>
--   </ul>
saqrDimensions :: Lens' SearchAnalyticsQueryRequest [Text]

-- | The user agent type (platform) that made the request. For example: web
data URLCrawlErrorsSamplesListPlatform

-- | <pre>
--   mobile
--   </pre>
UCESLPMobile :: URLCrawlErrorsSamplesListPlatform

-- | <pre>
--   smartphoneOnly
--   </pre>
UCESLPSmartphoneOnly :: URLCrawlErrorsSamplesListPlatform

-- | <pre>
--   web
--   </pre>
UCESLPWeb :: URLCrawlErrorsSamplesListPlatform

-- | List of sites with access level information.
--   
--   <i>See:</i> <a>sitesListResponse</a> smart constructor.
data SitesListResponse

-- | Creates a value of <a>SitesListResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>slrSiteEntry</a></li>
--   </ul>
sitesListResponse :: SitesListResponse

-- | Contains permission level information about a Search Console site. For
--   more information, see Permissions in Search Console.
slrSiteEntry :: Lens' SitesListResponse [WmxSite]

-- | Contains permission level information about a Search Console site. For
--   more information, see Permissions in Search Console.
--   
--   <i>See:</i> <a>wmxSite</a> smart constructor.
data WmxSite

-- | Creates a value of <a>WmxSite</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>wsPermissionLevel</a></li>
--   <li><a>wsSiteURL</a></li>
--   </ul>
wmxSite :: WmxSite

-- | The user's permission level for the site.
wsPermissionLevel :: Lens' WmxSite (Maybe Text)

-- | The URL of the site.
wsSiteURL :: Lens' WmxSite (Maybe Text)

-- | The crawl error category. For example: serverError. If not specified,
--   returns results for all categories.
data URLCrawlErrorscountsQueryCategory

-- | <pre>
--   authPermissions
--   </pre>
UCEQCAuthPermissions :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   flashContent
--   </pre>
UCEQCFlashContent :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   manyToOneRedirect
--   </pre>
UCEQCManyToOneRedirect :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   notFollowed
--   </pre>
UCEQCNotFollowed :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   notFound
--   </pre>
UCEQCNotFound :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   other
--   </pre>
UCEQCOther :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   roboted
--   </pre>
UCEQCRoboted :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   serverError
--   </pre>
UCEQCServerError :: URLCrawlErrorscountsQueryCategory

-- | <pre>
--   soft404
--   </pre>
UCEQCSOFT404 :: URLCrawlErrorscountsQueryCategory
