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 |
Network.Google.Resource.CloudAsset.ExportAssets
Description
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.exportAssets
.
Synopsis
- type ExportAssetsResource = "v1" :> (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))))))))
- exportAssets :: Text -> ExportAssetsRequest -> ExportAssets
- data ExportAssets
- eaParent :: Lens' ExportAssets Text
- eaXgafv :: Lens' ExportAssets (Maybe Xgafv)
- eaUploadProtocol :: Lens' ExportAssets (Maybe Text)
- eaAccessToken :: Lens' ExportAssets (Maybe Text)
- eaUploadType :: Lens' ExportAssets (Maybe Text)
- eaPayload :: Lens' ExportAssets ExportAssetsRequest
- eaCallback :: Lens' ExportAssets (Maybe Text)
REST Resource
type ExportAssetsResource = "v1" :> (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.exportAssets
method which the
ExportAssets
request conforms to.
Creating a Request
Arguments
:: Text | |
-> ExportAssetsRequest | |
-> ExportAssets |
Creates a value of ExportAssets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ExportAssets 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: exportAssets
smart constructor.
Instances
Request Lenses
eaParent :: Lens' ExportAssets 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"), or a folder number (such as "folders/123").
eaUploadProtocol :: Lens' ExportAssets (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
eaAccessToken :: Lens' ExportAssets (Maybe Text) Source #
OAuth access token.
eaUploadType :: Lens' ExportAssets (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
eaPayload :: Lens' ExportAssets ExportAssetsRequest Source #
Multipart request metadata.
eaCallback :: Lens' ExportAssets (Maybe Text) Source #
JSONP