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.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.organizations.batchGetAssetsHistory.

Synopsis

REST Resource

type OrganizationsBatchGetAssetsHistoryResource = "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.organizations.batchGetAssetsHistory method which the OrganizationsBatchGetAssetsHistory request conforms to.

Creating a Request

data OrganizationsBatchGetAssetsHistory 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: organizationsBatchGetAssetsHistory smart constructor.

Instances
Eq OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

Data OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsBatchGetAssetsHistory -> Constr #

dataTypeOf :: OrganizationsBatchGetAssetsHistory -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

Generic OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

Associated Types

type Rep OrganizationsBatchGetAssetsHistory :: Type -> Type #

GoogleRequest OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

type Rep OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

type Rep OrganizationsBatchGetAssetsHistory = D1 (MetaData "OrganizationsBatchGetAssetsHistory" "Network.Google.Resource.CloudAsset.Organizations.BatchGetAssetsHistory" "gogol-cloudasset-0.4.0-J17jRfXp6yHlXVdWvOTfW" False) (C1 (MetaCons "OrganizationsBatchGetAssetsHistory'" PrefixI True) (((S1 (MetaSel (Just "_obgahParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_obgahXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_obgahReadTimeWindowEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_obgahUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_obgahAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_obgahUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_obgahAssetNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_obgahReadTimeWindowStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_obgahContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_obgahCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes OrganizationsBatchGetAssetsHistory Source # 
Instance details

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

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

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

Request Lenses

obgahParent :: Lens' OrganizationsBatchGetAssetsHistory 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").

obgahReadTimeWindowEndTime :: Lens' OrganizationsBatchGetAssetsHistory (Maybe UTCTime) Source #

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

obgahUploadProtocol :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text) Source #

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

obgahUploadType :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text) Source #

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

obgahAssetNames :: Lens' OrganizationsBatchGetAssetsHistory [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.