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 information about a particular instance.
See: Cloud Spanner API Reference for spanner.projects.instances.get
.
Synopsis
- type ProjectsInstancesGetResource = "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] Instance)))))))
- projectsInstancesGet :: Text -> ProjectsInstancesGet
- data ProjectsInstancesGet
- pigXgafv :: Lens' ProjectsInstancesGet (Maybe Xgafv)
- pigUploadProtocol :: Lens' ProjectsInstancesGet (Maybe Text)
- pigAccessToken :: Lens' ProjectsInstancesGet (Maybe Text)
- pigUploadType :: Lens' ProjectsInstancesGet (Maybe Text)
- pigName :: Lens' ProjectsInstancesGet Text
- pigCallback :: Lens' ProjectsInstancesGet (Maybe Text)
REST Resource
type ProjectsInstancesGetResource = "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] Instance))))))) Source #
A resource alias for spanner.projects.instances.get
method which the
ProjectsInstancesGet
request conforms to.
Creating a Request
Creates a value of ProjectsInstancesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesGet Source #
Gets information about a particular instance.
See: projectsInstancesGet
smart constructor.
Instances
Request Lenses
pigUploadProtocol :: Lens' ProjectsInstancesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pigAccessToken :: Lens' ProjectsInstancesGet (Maybe Text) Source #
OAuth access token.
pigUploadType :: Lens' ProjectsInstancesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pigName :: Lens' ProjectsInstancesGet Text Source #
Required. The name of the requested instance. Values are of the form `projects//instances/`.
pigCallback :: Lens' ProjectsInstancesGet (Maybe Text) Source #
JSONP