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 an index.
See: Cloud Datastore API Reference for datastore.projects.indexes.get
.
Synopsis
- type ProjectsIndexesGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("indexes" :> (Capture "indexId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleDatastoreAdminV1Index))))))))))
- projectsIndexesGet :: Text -> Text -> ProjectsIndexesGet
- data ProjectsIndexesGet
- pigXgafv :: Lens' ProjectsIndexesGet (Maybe Xgafv)
- pigUploadProtocol :: Lens' ProjectsIndexesGet (Maybe Text)
- pigAccessToken :: Lens' ProjectsIndexesGet (Maybe Text)
- pigUploadType :: Lens' ProjectsIndexesGet (Maybe Text)
- pigProjectId :: Lens' ProjectsIndexesGet Text
- pigIndexId :: Lens' ProjectsIndexesGet Text
- pigCallback :: Lens' ProjectsIndexesGet (Maybe Text)
REST Resource
type ProjectsIndexesGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("indexes" :> (Capture "indexId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleDatastoreAdminV1Index)))))))))) Source #
A resource alias for datastore.projects.indexes.get
method which the
ProjectsIndexesGet
request conforms to.
Creating a Request
Creates a value of ProjectsIndexesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIndexesGet Source #
Gets an index.
See: projectsIndexesGet
smart constructor.
Instances
Request Lenses
pigUploadProtocol :: Lens' ProjectsIndexesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pigAccessToken :: Lens' ProjectsIndexesGet (Maybe Text) Source #
OAuth access token.
pigUploadType :: Lens' ProjectsIndexesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pigProjectId :: Lens' ProjectsIndexesGet Text Source #
Project ID against which to make the request.
pigIndexId :: Lens' ProjectsIndexesGet Text Source #
The resource ID of the index to get.
pigCallback :: Lens' ProjectsIndexesGet (Maybe Text) Source #
JSONP