| 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 |
Network.Google.Resource.BigtableAdmin.Projects.Instances.Tables.Create
Description
Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.tables.create.
Synopsis
- type ProjectsInstancesTablesCreateResource = "v2" :> (Capture "parent" Text :> ("tables" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateTableRequest :> Post '[JSON] Table)))))))))
- projectsInstancesTablesCreate :: Text -> CreateTableRequest -> ProjectsInstancesTablesCreate
- data ProjectsInstancesTablesCreate
- pitcParent :: Lens' ProjectsInstancesTablesCreate Text
- pitcXgafv :: Lens' ProjectsInstancesTablesCreate (Maybe Xgafv)
- pitcUploadProtocol :: Lens' ProjectsInstancesTablesCreate (Maybe Text)
- pitcAccessToken :: Lens' ProjectsInstancesTablesCreate (Maybe Text)
- pitcUploadType :: Lens' ProjectsInstancesTablesCreate (Maybe Text)
- pitcPayload :: Lens' ProjectsInstancesTablesCreate CreateTableRequest
- pitcCallback :: Lens' ProjectsInstancesTablesCreate (Maybe Text)
REST Resource
type ProjectsInstancesTablesCreateResource = "v2" :> (Capture "parent" Text :> ("tables" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateTableRequest :> Post '[JSON] Table))))))))) Source #
A resource alias for bigtableadmin.projects.instances.tables.create method which the
ProjectsInstancesTablesCreate request conforms to.
Creating a Request
projectsInstancesTablesCreate Source #
Arguments
| :: Text | |
| -> CreateTableRequest | |
| -> ProjectsInstancesTablesCreate |
Creates a value of ProjectsInstancesTablesCreate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesTablesCreate Source #
Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
See: projectsInstancesTablesCreate smart constructor.
Instances
Request Lenses
pitcParent :: Lens' ProjectsInstancesTablesCreate Text Source #
The unique name of the instance in which to create the table. Values are of the form `projects//instances/`.
pitcUploadProtocol :: Lens' ProjectsInstancesTablesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitcAccessToken :: Lens' ProjectsInstancesTablesCreate (Maybe Text) Source #
OAuth access token.
pitcUploadType :: Lens' ProjectsInstancesTablesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitcPayload :: Lens' ProjectsInstancesTablesCreate CreateTableRequest Source #
Multipart request metadata.
pitcCallback :: Lens' ProjectsInstancesTablesCreate (Maybe Text) Source #
JSONP