| Copyright | (c) 2015 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 |
Network.Google.Resource.SQL.Instances.Get
Description
Retrieves a resource containing information about a Cloud SQL instance.
See: Cloud SQL Administration API Reference for sql.instances.get.
- 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
Arguments
| :: Text | |
| -> Text | |
| -> InstancesGet |
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.
Request Lenses
igProject :: Lens' InstancesGet Text Source
Project ID of the project that contains the instance.
igInstance :: Lens' InstancesGet Text Source
Database instance ID. This does not include the project ID.