gogol-cloudasset-0.4.0: Google Cloud Asset SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudAsset.Projects.ExportAssets

Contents

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.projects.exportAssets.

Synopsis

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

projectsExportAssets Source #

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
Eq ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

Data ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsExportAssets -> c ProjectsExportAssets #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsExportAssets #

toConstr :: ProjectsExportAssets -> Constr #

dataTypeOf :: ProjectsExportAssets -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsExportAssets) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsExportAssets) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsExportAssets -> ProjectsExportAssets #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsExportAssets -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsExportAssets -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsExportAssets -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsExportAssets -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsExportAssets -> m ProjectsExportAssets #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsExportAssets -> m ProjectsExportAssets #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsExportAssets -> m ProjectsExportAssets #

Show ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

Generic ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

Associated Types

type Rep ProjectsExportAssets :: Type -> Type #

GoogleRequest ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

Associated Types

type Rs ProjectsExportAssets :: Type #

type Scopes ProjectsExportAssets :: [Symbol] #

type Rep ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

type Rep ProjectsExportAssets = D1 (MetaData "ProjectsExportAssets" "Network.Google.Resource.CloudAsset.Projects.ExportAssets" "gogol-cloudasset-0.4.0-J17jRfXp6yHlXVdWvOTfW" False) (C1 (MetaCons "ProjectsExportAssets'" PrefixI True) ((S1 (MetaSel (Just "_peaParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_peaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_peaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_peaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_peaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_peaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExportAssetsRequest) :*: S1 (MetaSel (Just "_peaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

type Scopes ProjectsExportAssets = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.Projects.ExportAssets

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").

peaUploadType :: Lens' ProjectsExportAssets (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").