gogol-cloudasset-0.5.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.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.exportAssets.

Synopsis

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

exportAssets Source #

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

Defined in Network.Google.Resource.CloudAsset.ExportAssets

Data ExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.ExportAssets

Methods

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

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

toConstr :: ExportAssets -> Constr #

dataTypeOf :: ExportAssets -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.ExportAssets

Generic ExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.ExportAssets

Associated Types

type Rep ExportAssets :: Type -> Type #

GoogleRequest ExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.ExportAssets

Associated Types

type Rs ExportAssets :: Type #

type Scopes ExportAssets :: [Symbol] #

type Rep ExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.ExportAssets

type Rep ExportAssets = D1 (MetaData "ExportAssets" "Network.Google.Resource.CloudAsset.ExportAssets" "gogol-cloudasset-0.5.0-EEWTSZpalbM7MHWqhkEXj8" False) (C1 (MetaCons "ExportAssets'" PrefixI True) ((S1 (MetaSel (Just "_eaParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_eaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_eaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_eaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExportAssetsRequest) :*: S1 (MetaSel (Just "_eaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ExportAssets Source # 
Instance details

Defined in Network.Google.Resource.CloudAsset.ExportAssets

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

Defined in Network.Google.Resource.CloudAsset.ExportAssets

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

eaUploadType :: Lens' ExportAssets (Maybe Text) Source #

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

eaPayload :: Lens' ExportAssets ExportAssetsRequest Source #

Multipart request metadata.