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 |
Drops (aka deletes) a Cloud Spanner database.
See: Cloud Spanner API Reference for spanner.projects.instances.databases.dropDatabase
.
Synopsis
- type ProjectsInstancesDatabasesDropDatabaseResource = "v1" :> (Capture "database" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsInstancesDatabasesDropDatabase :: Text -> ProjectsInstancesDatabasesDropDatabase
- data ProjectsInstancesDatabasesDropDatabase
- pidddXgafv :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Xgafv)
- pidddUploadProtocol :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text)
- pidddDatabase :: Lens' ProjectsInstancesDatabasesDropDatabase Text
- pidddAccessToken :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text)
- pidddUploadType :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text)
- pidddCallback :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesDropDatabaseResource = "v1" :> (Capture "database" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for spanner.projects.instances.databases.dropDatabase
method which the
ProjectsInstancesDatabasesDropDatabase
request conforms to.
Creating a Request
projectsInstancesDatabasesDropDatabase Source #
Creates a value of ProjectsInstancesDatabasesDropDatabase
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesDropDatabase Source #
Drops (aka deletes) a Cloud Spanner database.
See: projectsInstancesDatabasesDropDatabase
smart constructor.
Instances
Request Lenses
pidddXgafv :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Xgafv) Source #
V1 error format.
pidddUploadProtocol :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidddDatabase :: Lens' ProjectsInstancesDatabasesDropDatabase Text Source #
Required. The database to be dropped.
pidddAccessToken :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text) Source #
OAuth access token.
pidddUploadType :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").