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 |
Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
See: Cloud SQL Admin API Reference for sql.instances.export
.
Synopsis
- type InstancesExportResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("export" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstancesExportRequest :> Post '[JSON] Operation))))))))
- instancesExport :: Text -> InstancesExportRequest -> Text -> InstancesExport
- data InstancesExport
- ieProject :: Lens' InstancesExport Text
- iePayload :: Lens' InstancesExport InstancesExportRequest
- ieInstance :: Lens' InstancesExport Text
REST Resource
type InstancesExportResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("export" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstancesExportRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for sql.instances.export
method which the
InstancesExport
request conforms to.
Creating a Request
Creates a value of InstancesExport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesExport Source #
Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
See: instancesExport
smart constructor.
Instances
Request Lenses
ieProject :: Lens' InstancesExport Text Source #
Project ID of the project that contains the instance to be exported.
iePayload :: Lens' InstancesExport InstancesExportRequest Source #
Multipart request metadata.
ieInstance :: Lens' InstancesExport Text Source #
Cloud SQL instance ID. This does not include the project ID.