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 |
Gets the state of a Cloud Spanner database.
See: Cloud Spanner API Reference for spanner.projects.instances.databases.get
.
Synopsis
- type ProjectsInstancesDatabasesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Database)))))))
- projectsInstancesDatabasesGet :: Text -> ProjectsInstancesDatabasesGet
- data ProjectsInstancesDatabasesGet
- pidgXgafv :: Lens' ProjectsInstancesDatabasesGet (Maybe Xgafv)
- pidgUploadProtocol :: Lens' ProjectsInstancesDatabasesGet (Maybe Text)
- pidgAccessToken :: Lens' ProjectsInstancesDatabasesGet (Maybe Text)
- pidgUploadType :: Lens' ProjectsInstancesDatabasesGet (Maybe Text)
- pidgName :: Lens' ProjectsInstancesDatabasesGet Text
- pidgCallback :: Lens' ProjectsInstancesDatabasesGet (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Database))))))) Source #
A resource alias for spanner.projects.instances.databases.get
method which the
ProjectsInstancesDatabasesGet
request conforms to.
Creating a Request
projectsInstancesDatabasesGet Source #
Creates a value of ProjectsInstancesDatabasesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesGet Source #
Gets the state of a Cloud Spanner database.
See: projectsInstancesDatabasesGet
smart constructor.
Instances
Request Lenses
pidgUploadProtocol :: Lens' ProjectsInstancesDatabasesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidgAccessToken :: Lens' ProjectsInstancesDatabasesGet (Maybe Text) Source #
OAuth access token.
pidgUploadType :: Lens' ProjectsInstancesDatabasesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pidgName :: Lens' ProjectsInstancesDatabasesGet Text Source #
Required. The name of the requested database. Values are of the form `projects//instances//databases/`.
pidgCallback :: Lens' ProjectsInstancesDatabasesGet (Maybe Text) Source #
JSONP