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.Organizations.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.organizations.exportAssets.

Synopsis

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

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

Data OrganizationsExportAssets Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsExportAssets -> Constr #

dataTypeOf :: OrganizationsExportAssets -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsExportAssets Source # 
Instance details

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

Generic OrganizationsExportAssets Source # 
Instance details

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

Associated Types

type Rep OrganizationsExportAssets :: Type -> Type #

GoogleRequest OrganizationsExportAssets Source # 
Instance details

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

type Rep OrganizationsExportAssets Source # 
Instance details

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

type Rep OrganizationsExportAssets = D1 (MetaData "OrganizationsExportAssets" "Network.Google.Resource.CloudAsset.Organizations.ExportAssets" "gogol-cloudasset-0.4.0-J17jRfXp6yHlXVdWvOTfW" False) (C1 (MetaCons "OrganizationsExportAssets'" PrefixI True) ((S1 (MetaSel (Just "_oeaParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oeaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_oeaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oeaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oeaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_oeaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExportAssetsRequest) :*: S1 (MetaSel (Just "_oeaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsExportAssets Source # 
Instance details

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

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

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

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

oeaUploadType :: Lens' OrganizationsExportAssets (Maybe Text) Source #

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