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 assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export.
See: Cloud Asset API Reference for cloudasset.projects.exportAssets
.
Synopsis
- type ProjectsExportAssetsResource = "v1beta1" :> (CaptureMode "parent" "exportAssets" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ExportAssetsRequest :> Post '[JSON] Operation))))))))
- projectsExportAssets :: Text -> ExportAssetsRequest -> ProjectsExportAssets
- data ProjectsExportAssets
- peaParent :: Lens' ProjectsExportAssets Text
- peaXgafv :: Lens' ProjectsExportAssets (Maybe Xgafv)
- peaUploadProtocol :: Lens' ProjectsExportAssets (Maybe Text)
- peaAccessToken :: Lens' ProjectsExportAssets (Maybe Text)
- peaUploadType :: Lens' ProjectsExportAssets (Maybe Text)
- peaPayload :: Lens' ProjectsExportAssets ExportAssetsRequest
- peaCallback :: Lens' ProjectsExportAssets (Maybe Text)
REST Resource
type ProjectsExportAssetsResource = "v1beta1" :> (CaptureMode "parent" "exportAssets" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ExportAssetsRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for cloudasset.projects.exportAssets
method which the
ProjectsExportAssets
request conforms to.
Creating a Request
Creates a value of ProjectsExportAssets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsExportAssets Source #
Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export.
See: projectsExportAssets
smart constructor.
Instances
Request Lenses
peaParent :: Lens' ProjectsExportAssets Text Source #
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
peaUploadProtocol :: Lens' ProjectsExportAssets (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
peaAccessToken :: Lens' ProjectsExportAssets (Maybe Text) Source #
OAuth access token.
peaUploadType :: Lens' ProjectsExportAssets (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
peaPayload :: Lens' ProjectsExportAssets ExportAssetsRequest Source #
Multipart request metadata.
peaCallback :: Lens' ProjectsExportAssets (Maybe Text) Source #
JSONP