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 |
Runs Mobile-Friendly Test for a given URL.
See: Google Search Console URL Testing Tools API Reference for searchconsole.urlTestingTools.mobileFriendlyTest.run
.
Synopsis
- type URLTestingToolsMobileFriendlyTestRunResource = "v1" :> ("urlTestingTools" :> ("mobileFriendlyTest:run" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunMobileFriendlyTestRequest :> Post '[JSON] RunMobileFriendlyTestResponse)))))))))
- urlTestingToolsMobileFriendlyTestRun :: RunMobileFriendlyTestRequest -> URLTestingToolsMobileFriendlyTestRun
- data URLTestingToolsMobileFriendlyTestRun
- uttmftrXgafv :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Xgafv)
- uttmftrUploadProtocol :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text)
- uttmftrAccessToken :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text)
- uttmftrUploadType :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text)
- uttmftrPayload :: Lens' URLTestingToolsMobileFriendlyTestRun RunMobileFriendlyTestRequest
- uttmftrCallback :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text)
REST Resource
type URLTestingToolsMobileFriendlyTestRunResource = "v1" :> ("urlTestingTools" :> ("mobileFriendlyTest:run" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunMobileFriendlyTestRequest :> Post '[JSON] RunMobileFriendlyTestResponse))))))))) Source #
A resource alias for searchconsole.urlTestingTools.mobileFriendlyTest.run
method which the
URLTestingToolsMobileFriendlyTestRun
request conforms to.
Creating a Request
urlTestingToolsMobileFriendlyTestRun Source #
Creates a value of URLTestingToolsMobileFriendlyTestRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLTestingToolsMobileFriendlyTestRun Source #
Runs Mobile-Friendly Test for a given URL.
See: urlTestingToolsMobileFriendlyTestRun
smart constructor.
Instances
Request Lenses
uttmftrXgafv :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Xgafv) Source #
V1 error format.
uttmftrUploadProtocol :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
uttmftrAccessToken :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text) Source #
OAuth access token.
uttmftrUploadType :: Lens' URLTestingToolsMobileFriendlyTestRun (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
uttmftrPayload :: Lens' URLTestingToolsMobileFriendlyTestRun RunMobileFriendlyTestRequest Source #
Multipart request metadata.