gogol-testing-0.5.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.Projects.TestMatrices.Create

Contents

Description

Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200 supported executions. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix expands to more than 200 supported executions

See: Cloud Testing API Reference for testing.projects.testMatrices.create.

Synopsis

REST Resource

type ProjectsTestMatricesCreateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("testMatrices" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestMatrix :> Post '[JSON] TestMatrix))))))))))) Source #

A resource alias for testing.projects.testMatrices.create method which the ProjectsTestMatricesCreate request conforms to.

Creating a Request

projectsTestMatricesCreate Source #

Creates a value of ProjectsTestMatricesCreate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsTestMatricesCreate Source #

Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200 supported executions. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix expands to more than 200 supported executions

See: projectsTestMatricesCreate smart constructor.

Instances
Eq ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

Data ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

Methods

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

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

toConstr :: ProjectsTestMatricesCreate -> Constr #

dataTypeOf :: ProjectsTestMatricesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

Generic ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

Associated Types

type Rep ProjectsTestMatricesCreate :: Type -> Type #

GoogleRequest ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

type Rep ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

type Rep ProjectsTestMatricesCreate = D1 (MetaData "ProjectsTestMatricesCreate" "Network.Google.Resource.Testing.Projects.TestMatrices.Create" "gogol-testing-0.5.0-HY1ZtNS1yK3Cxa0JOeLa9c" False) (C1 (MetaCons "ProjectsTestMatricesCreate'" PrefixI True) (((S1 (MetaSel (Just "_pXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestMatrix)) :*: (S1 (MetaSel (Just "_pProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTestMatricesCreate Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

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

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Create

Request Lenses

pRequestId :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #

A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.

pUploadProtocol :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #

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

pUploadType :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pProjectId :: Lens' ProjectsTestMatricesCreate Text Source #

The GCE project under which this job will run.