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 |
Retrieves a resource containing information about a Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.instances.get
.
Synopsis
- type InstancesGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DatabaseInstance))))))
- instancesGet :: Text -> Text -> InstancesGet
- data InstancesGet
- igProject :: Lens' InstancesGet Text
- igInstance :: Lens' InstancesGet Text
REST Resource
type InstancesGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DatabaseInstance)))))) Source #
A resource alias for sql.instances.get
method which the
InstancesGet
request conforms to.
Creating a Request
Creates a value of InstancesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesGet Source #
Retrieves a resource containing information about a Cloud SQL instance.
See: instancesGet
smart constructor.
Instances
Request Lenses
igInstance :: Lens' InstancesGet Text Source #
Database instance ID. This does not include the project ID.