gogol-testing-0.4.0: Google Cloud Testing SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

Contents

Description

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

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
Eq TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

Data TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TestEnvironmentCatalogGet -> c TestEnvironmentCatalogGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TestEnvironmentCatalogGet #

toConstr :: TestEnvironmentCatalogGet -> Constr #

dataTypeOf :: TestEnvironmentCatalogGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TestEnvironmentCatalogGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TestEnvironmentCatalogGet) #

gmapT :: (forall b. Data b => b -> b) -> TestEnvironmentCatalogGet -> TestEnvironmentCatalogGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TestEnvironmentCatalogGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TestEnvironmentCatalogGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> TestEnvironmentCatalogGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TestEnvironmentCatalogGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TestEnvironmentCatalogGet -> m TestEnvironmentCatalogGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TestEnvironmentCatalogGet -> m TestEnvironmentCatalogGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TestEnvironmentCatalogGet -> m TestEnvironmentCatalogGet #

Show TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

Generic TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

Associated Types

type Rep TestEnvironmentCatalogGet :: Type -> Type #

GoogleRequest TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

type Rep TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

type Rep TestEnvironmentCatalogGet = D1 (MetaData "TestEnvironmentCatalogGet" "Network.Google.Resource.Testing.TestEnvironmentCatalog.Get" "gogol-testing-0.4.0-AnkN60oT8lcIoqgf0WbNcC" False) (C1 (MetaCons "TestEnvironmentCatalogGet'" PrefixI True) ((S1 (MetaSel (Just "_tecgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_tecgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tecgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tecgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tecgEnvironmentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tecgProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tecgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

type Scopes TestEnvironmentCatalogGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ([] :: [Symbol]))
type Rs TestEnvironmentCatalogGet Source # 
Instance details

Defined in Network.Google.Resource.Testing.TestEnvironmentCatalog.Get

Request Lenses

tecgUploadProtocol :: Lens' TestEnvironmentCatalogGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

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.