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 the supported instance configurations for a given project.
See: Cloud Spanner API Reference for spanner.projects.instanceConfigs.list
.
Synopsis
- type ProjectsInstanceConfigsListResource = "v1" :> (Capture "parent" Text :> ("instanceConfigs" :> (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] ListInstanceConfigsResponse))))))))))
- projectsInstanceConfigsList :: Text -> ProjectsInstanceConfigsList
- data ProjectsInstanceConfigsList
- piclParent :: Lens' ProjectsInstanceConfigsList Text
- piclXgafv :: Lens' ProjectsInstanceConfigsList (Maybe Xgafv)
- piclUploadProtocol :: Lens' ProjectsInstanceConfigsList (Maybe Text)
- piclAccessToken :: Lens' ProjectsInstanceConfigsList (Maybe Text)
- piclUploadType :: Lens' ProjectsInstanceConfigsList (Maybe Text)
- piclPageToken :: Lens' ProjectsInstanceConfigsList (Maybe Text)
- piclPageSize :: Lens' ProjectsInstanceConfigsList (Maybe Int32)
- piclCallback :: Lens' ProjectsInstanceConfigsList (Maybe Text)
REST Resource
type ProjectsInstanceConfigsListResource = "v1" :> (Capture "parent" Text :> ("instanceConfigs" :> (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] ListInstanceConfigsResponse)))))))))) Source #
A resource alias for spanner.projects.instanceConfigs.list
method which the
ProjectsInstanceConfigsList
request conforms to.
Creating a Request
projectsInstanceConfigsList Source #
Creates a value of ProjectsInstanceConfigsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstanceConfigsList Source #
Lists the supported instance configurations for a given project.
See: projectsInstanceConfigsList
smart constructor.
Instances
Request Lenses
piclParent :: Lens' ProjectsInstanceConfigsList Text Source #
Required. The name of the project for which a list of supported instance configurations is requested. Values are of the form `projects/`.
piclUploadProtocol :: Lens' ProjectsInstanceConfigsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piclAccessToken :: Lens' ProjectsInstanceConfigsList (Maybe Text) Source #
OAuth access token.
piclUploadType :: Lens' ProjectsInstanceConfigsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piclPageToken :: Lens' ProjectsInstanceConfigsList (Maybe Text) Source #
If non-empty, `page_token` should contain a next_page_token from a previous ListInstanceConfigsResponse.
piclPageSize :: Lens' ProjectsInstanceConfigsList (Maybe Int32) Source #
Number of instance configurations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
piclCallback :: Lens' ProjectsInstanceConfigsList (Maybe Text) Source #
JSONP