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 |
Create a new environment.
See: Cloud Composer API Reference for composer.projects.locations.environments.create
.
Synopsis
- 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)))))))))
- projectsLocationsEnvironmentsCreate :: Text -> Environment -> ProjectsLocationsEnvironmentsCreate
- data ProjectsLocationsEnvironmentsCreate
- plecParent :: Lens' ProjectsLocationsEnvironmentsCreate Text
- plecXgafv :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Xgafv)
- plecUploadProtocol :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text)
- plecAccessToken :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text)
- plecUploadType :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text)
- plecPayload :: Lens' ProjectsLocationsEnvironmentsCreate Environment
- plecCallback :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text)
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
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").
plecAccessToken :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text) Source #
OAuth access token.
plecUploadType :: Lens' ProjectsLocationsEnvironmentsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plecPayload :: Lens' ProjectsLocationsEnvironmentsCreate Environment Source #
Multipart request metadata.