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 |
Retrieves a resource containing information about a database inside a Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.databases.get
.
Synopsis
- type DatabasesGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (Capture "database" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Database))))))))
- databasesGet :: Text -> Text -> Text -> DatabasesGet
- data DatabasesGet
- dgProject :: Lens' DatabasesGet Text
- dgDatabase :: Lens' DatabasesGet Text
- dgInstance :: Lens' DatabasesGet Text
REST Resource
type DatabasesGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (Capture "database" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Database)))))))) Source #
A resource alias for sql.databases.get
method which the
DatabasesGet
request conforms to.
Creating a Request
Creates a value of DatabasesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatabasesGet Source #
Retrieves a resource containing information about a database inside a Cloud SQL instance.
See: databasesGet
smart constructor.
Instances
Request Lenses
dgDatabase :: Lens' DatabasesGet Text Source #
Name of the database in the instance.
dgInstance :: Lens' DatabasesGet Text Source #
Database instance ID. This does not include the project ID.