gogol-composer-0.5.0: Google Cloud Composer 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.Composer.Projects.Locations.Environments.Create

Contents

Description

Create a new environment.

See: Cloud Composer API Reference for composer.projects.locations.environments.create.

Synopsis

REST Resource

type ProjectsLocationsEnvironmentsCreateResource = "v1" :> (Capture "parent" Text :> ("environments" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Environment :> Post '[JSON] Operation))))))))) Source #

A resource alias for composer.projects.locations.environments.create method which the ProjectsLocationsEnvironmentsCreate request conforms to.

Creating a Request

projectsLocationsEnvironmentsCreate Source #

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

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

data ProjectsLocationsEnvironmentsCreate Source #

Create a new environment.

See: projectsLocationsEnvironmentsCreate smart constructor.

Instances
Eq ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

Data ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

Methods

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

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

toConstr :: ProjectsLocationsEnvironmentsCreate -> Constr #

dataTypeOf :: ProjectsLocationsEnvironmentsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

Generic ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

GoogleRequest ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

type Rep ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

type Rep ProjectsLocationsEnvironmentsCreate = D1 (MetaData "ProjectsLocationsEnvironmentsCreate" "Network.Google.Resource.Composer.Projects.Locations.Environments.Create" "gogol-composer-0.5.0-63fJVe3xjPeEyHID2kP8MA" False) (C1 (MetaCons "ProjectsLocationsEnvironmentsCreate'" PrefixI True) ((S1 (MetaSel (Just "_plecParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_plecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_plecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Environment) :*: S1 (MetaSel (Just "_plecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsEnvironmentsCreate Source # 
Instance details

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

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

Defined in Network.Google.Resource.Composer.Projects.Locations.Environments.Create

Request Lenses

plecParent :: Lens' ProjectsLocationsEnvironmentsCreate Text Source #

The parent must be of the form "projects/{projectId}/locations/{locationId}".

plecUploadProtocol :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text) Source #

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

plecUploadType :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text) Source #

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