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.BatchGetAssetsHistory

Contents

Description

Batch gets the update history of assets that overlap a time window. For RESOURCE content, this API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history.

See: Cloud Asset API Reference for cloudasset.projects.batchGetAssetsHistory.

Synopsis

REST Resource

type ProjectsBatchGetAssetsHistoryResource = "v1beta1" :> (CaptureMode "parent" "batchGetAssetsHistory" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "readTimeWindow.endTime" DateTime' :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "assetNames" Text :> (QueryParam "readTimeWindow.startTime" DateTime' :> (QueryParam "contentType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BatchGetAssetsHistoryResponse))))))))))) Source #

A resource alias for cloudasset.projects.batchGetAssetsHistory method which the ProjectsBatchGetAssetsHistory request conforms to.

Creating a Request

data ProjectsBatchGetAssetsHistory Source #

Batch gets the update history of assets that overlap a time window. For RESOURCE content, this API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history.

See: projectsBatchGetAssetsHistory smart constructor.

Instances
Eq ProjectsBatchGetAssetsHistory Source # 
Instance details

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

Data ProjectsBatchGetAssetsHistory Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsBatchGetAssetsHistory -> Constr #

dataTypeOf :: ProjectsBatchGetAssetsHistory -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsBatchGetAssetsHistory Source # 
Instance details

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

Generic ProjectsBatchGetAssetsHistory Source # 
Instance details

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

Associated Types

type Rep ProjectsBatchGetAssetsHistory :: Type -> Type #

GoogleRequest ProjectsBatchGetAssetsHistory Source # 
Instance details

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

type Rep ProjectsBatchGetAssetsHistory Source # 
Instance details

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

type Rep ProjectsBatchGetAssetsHistory = D1 (MetaData "ProjectsBatchGetAssetsHistory" "Network.Google.Resource.CloudAsset.Projects.BatchGetAssetsHistory" "gogol-cloudasset-0.4.0-J17jRfXp6yHlXVdWvOTfW" False) (C1 (MetaCons "ProjectsBatchGetAssetsHistory'" PrefixI True) (((S1 (MetaSel (Just "_pbgahParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pbgahXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pbgahReadTimeWindowEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_pbgahUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbgahAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_pbgahUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbgahAssetNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_pbgahReadTimeWindowStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_pbgahContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbgahCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsBatchGetAssetsHistory Source # 
Instance details

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

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

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

Request Lenses

pbgahParent :: Lens' ProjectsBatchGetAssetsHistory Text Source #

Required. The relative name of the root asset. It 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").

pbgahReadTimeWindowEndTime :: Lens' ProjectsBatchGetAssetsHistory (Maybe UTCTime) Source #

End time of the time window (inclusive). Current timestamp if not specified.

pbgahUploadProtocol :: Lens' ProjectsBatchGetAssetsHistory (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pbgahUploadType :: Lens' ProjectsBatchGetAssetsHistory (Maybe Text) Source #

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

pbgahAssetNames :: Lens' ProjectsBatchGetAssetsHistory [Text] Source #

A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See Resource Names for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.