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 |
Lists Cloud Spanner databases.
See: Cloud Spanner API Reference for spanner.projects.instances.databases.list
.
Synopsis
- type ProjectsInstancesDatabasesListResource = "v1" :> (Capture "parent" Text :> ("databases" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDatabasesResponse))))))))))
- projectsInstancesDatabasesList :: Text -> ProjectsInstancesDatabasesList
- data ProjectsInstancesDatabasesList
- pidlParent :: Lens' ProjectsInstancesDatabasesList Text
- pidlXgafv :: Lens' ProjectsInstancesDatabasesList (Maybe Xgafv)
- pidlUploadProtocol :: Lens' ProjectsInstancesDatabasesList (Maybe Text)
- pidlAccessToken :: Lens' ProjectsInstancesDatabasesList (Maybe Text)
- pidlUploadType :: Lens' ProjectsInstancesDatabasesList (Maybe Text)
- pidlPageToken :: Lens' ProjectsInstancesDatabasesList (Maybe Text)
- pidlPageSize :: Lens' ProjectsInstancesDatabasesList (Maybe Int32)
- pidlCallback :: Lens' ProjectsInstancesDatabasesList (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesListResource = "v1" :> (Capture "parent" Text :> ("databases" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDatabasesResponse)))))))))) Source #
A resource alias for spanner.projects.instances.databases.list
method which the
ProjectsInstancesDatabasesList
request conforms to.
Creating a Request
projectsInstancesDatabasesList Source #
Creates a value of ProjectsInstancesDatabasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesList Source #
Lists Cloud Spanner databases.
See: projectsInstancesDatabasesList
smart constructor.
Instances
Request Lenses
pidlParent :: Lens' ProjectsInstancesDatabasesList Text Source #
Required. The instance whose databases should be listed. Values are of the form `projects//instances/`.
pidlUploadProtocol :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidlAccessToken :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #
OAuth access token.
pidlUploadType :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pidlPageToken :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #
If non-empty, `page_token` should contain a next_page_token from a previous ListDatabasesResponse.
pidlPageSize :: Lens' ProjectsInstancesDatabasesList (Maybe Int32) Source #
Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
pidlCallback :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #
JSONP