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.organizations.exportAssets
.
Synopsis
- type OrganizationsExportAssetsResource = "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))))))))
- organizationsExportAssets :: Text -> ExportAssetsRequest -> OrganizationsExportAssets
- data OrganizationsExportAssets
- oeaParent :: Lens' OrganizationsExportAssets Text
- oeaXgafv :: Lens' OrganizationsExportAssets (Maybe Xgafv)
- oeaUploadProtocol :: Lens' OrganizationsExportAssets (Maybe Text)
- oeaAccessToken :: Lens' OrganizationsExportAssets (Maybe Text)
- oeaUploadType :: Lens' OrganizationsExportAssets (Maybe Text)
- oeaPayload :: Lens' OrganizationsExportAssets ExportAssetsRequest
- oeaCallback :: Lens' OrganizationsExportAssets (Maybe Text)
REST Resource
type OrganizationsExportAssetsResource = "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.organizations.exportAssets
method which the
OrganizationsExportAssets
request conforms to.
Creating a Request
organizationsExportAssets Source #
Creates a value of OrganizationsExportAssets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsExportAssets 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: organizationsExportAssets
smart constructor.
Instances
Request Lenses
oeaParent :: Lens' OrganizationsExportAssets 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").
oeaUploadProtocol :: Lens' OrganizationsExportAssets (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oeaAccessToken :: Lens' OrganizationsExportAssets (Maybe Text) Source #
OAuth access token.
oeaUploadType :: Lens' OrganizationsExportAssets (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oeaPayload :: Lens' OrganizationsExportAssets ExportAssetsRequest Source #
Multipart request metadata.
oeaCallback :: Lens' OrganizationsExportAssets (Maybe Text) Source #
JSONP