Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))))))
- organizationsBatchGetAssetsHistory :: Text -> OrganizationsBatchGetAssetsHistory
- data OrganizationsBatchGetAssetsHistory
- obgahParent :: Lens' OrganizationsBatchGetAssetsHistory Text
- obgahXgafv :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Xgafv)
- obgahReadTimeWindowEndTime :: Lens' OrganizationsBatchGetAssetsHistory (Maybe UTCTime)
- obgahUploadProtocol :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text)
- obgahAccessToken :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text)
- obgahUploadType :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text)
- obgahAssetNames :: Lens' OrganizationsBatchGetAssetsHistory [Text]
- obgahReadTimeWindowStartTime :: Lens' OrganizationsBatchGetAssetsHistory (Maybe UTCTime)
- obgahContentType :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text)
- obgahCallback :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text)
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
organizationsBatchGetAssetsHistory Source #
Creates a value of OrganizationsBatchGetAssetsHistory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
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").
obgahXgafv :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Xgafv) Source #
V1 error format.
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").
obgahAccessToken :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text) Source #
OAuth access token.
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.
obgahReadTimeWindowStartTime :: Lens' OrganizationsBatchGetAssetsHistory (Maybe UTCTime) Source #
Start time of the time window (exclusive).
obgahContentType :: Lens' OrganizationsBatchGetAssetsHistory (Maybe Text) Source #
Required. The content type.