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 |
Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
See: Cloud Testing API Reference for testing.testEnvironmentCatalog.get
.
Synopsis
- type TestEnvironmentCatalogGetResource = "v1" :> ("testEnvironmentCatalog" :> (Capture "environmentType" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TestEnvironmentCatalog)))))))))
- testEnvironmentCatalogGet :: Text -> TestEnvironmentCatalogGet
- data TestEnvironmentCatalogGet
- tecgXgafv :: Lens' TestEnvironmentCatalogGet (Maybe Xgafv)
- tecgUploadProtocol :: Lens' TestEnvironmentCatalogGet (Maybe Text)
- tecgAccessToken :: Lens' TestEnvironmentCatalogGet (Maybe Text)
- tecgUploadType :: Lens' TestEnvironmentCatalogGet (Maybe Text)
- tecgEnvironmentType :: Lens' TestEnvironmentCatalogGet Text
- tecgProjectId :: Lens' TestEnvironmentCatalogGet (Maybe Text)
- tecgCallback :: Lens' TestEnvironmentCatalogGet (Maybe Text)
REST Resource
type TestEnvironmentCatalogGetResource = "v1" :> ("testEnvironmentCatalog" :> (Capture "environmentType" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TestEnvironmentCatalog))))))))) Source #
A resource alias for testing.testEnvironmentCatalog.get
method which the
TestEnvironmentCatalogGet
request conforms to.
Creating a Request
testEnvironmentCatalogGet Source #
Creates a value of TestEnvironmentCatalogGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TestEnvironmentCatalogGet Source #
Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
See: testEnvironmentCatalogGet
smart constructor.
Instances
Request Lenses
tecgUploadProtocol :: Lens' TestEnvironmentCatalogGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tecgAccessToken :: Lens' TestEnvironmentCatalogGet (Maybe Text) Source #
OAuth access token.
tecgUploadType :: Lens' TestEnvironmentCatalogGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
tecgEnvironmentType :: Lens' TestEnvironmentCatalogGet Text Source #
Required. The type of environment that should be listed.
tecgProjectId :: Lens' TestEnvironmentCatalogGet (Maybe Text) Source #
For authorization, the cloud project requesting the TestEnvironmentCatalog.
tecgCallback :: Lens' TestEnvironmentCatalogGet (Maybe Text) Source #
JSONP