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 an instance within a project.
See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.create
.
Synopsis
- type ProjectsInstancesCreateResource = "v2" :> (Capture "parent" Text :> ("instances" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateInstanceRequest :> Post '[JSON] Operation)))))))))
- projectsInstancesCreate :: Text -> CreateInstanceRequest -> ProjectsInstancesCreate
- data ProjectsInstancesCreate
- picParent :: Lens' ProjectsInstancesCreate Text
- picXgafv :: Lens' ProjectsInstancesCreate (Maybe Xgafv)
- picUploadProtocol :: Lens' ProjectsInstancesCreate (Maybe Text)
- picAccessToken :: Lens' ProjectsInstancesCreate (Maybe Text)
- picUploadType :: Lens' ProjectsInstancesCreate (Maybe Text)
- picPayload :: Lens' ProjectsInstancesCreate CreateInstanceRequest
- picCallback :: Lens' ProjectsInstancesCreate (Maybe Text)
REST Resource
type ProjectsInstancesCreateResource = "v2" :> (Capture "parent" Text :> ("instances" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateInstanceRequest :> Post '[JSON] Operation))))))))) Source #
A resource alias for bigtableadmin.projects.instances.create
method which the
ProjectsInstancesCreate
request conforms to.
Creating a Request
projectsInstancesCreate Source #
Creates a value of ProjectsInstancesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesCreate Source #
Create an instance within a project.
See: projectsInstancesCreate
smart constructor.
Instances
Request Lenses
picParent :: Lens' ProjectsInstancesCreate Text Source #
The unique name of the project in which to create the new instance. Values are of the form `projects/`.
picUploadProtocol :: Lens' ProjectsInstancesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
picAccessToken :: Lens' ProjectsInstancesCreate (Maybe Text) Source #
OAuth access token.
picUploadType :: Lens' ProjectsInstancesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
picPayload :: Lens' ProjectsInstancesCreate CreateInstanceRequest Source #
Multipart request metadata.
picCallback :: Lens' ProjectsInstancesCreate (Maybe Text) Source #
JSONP