gcloud_alpha_asset_get-history (1)
NAME
- gcloud alpha asset get-history - get history of assets that overlaps a time window
SYNOPSIS
-
gcloud alpha asset get-history --asset-names=[ASSET_NAMES,...] --content-type=CONTENT_TYPE --start-time=START_TIME [--end-time=END_TIME] [--organization=ORGANIZATION_ID] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Get history of assets that overlaps a time window.
REQUIRED FLAGS
-
- --asset-names=[ASSET_NAMES,...]
-
- A list of full names of the assets to get the history for. See cloud.google.com/apis/design/resource_names#full_resource_name for name format.
- A list of full names of the assets to get the history for. See cloud.google.com/apis/design/resource_names#full_resource_name for name format.
- --content-type=CONTENT_TYPE
-
Asset content type. Choices are resource, iam-policy. Specifying
resource will export resource metadata, and specifying iam-policy
will export IAM policy set on assets. CONTENT_TYPE must be one of:
resource, iam-policy.
- --start-time=START_TIME
-
Start time of the time window (inclusive) for the asset history. Must be later
than 2018-10-02T00:00:00Z. See $ gcloud topic datetimes for information on
time formats.
OPTIONAL FLAGS
-
- --end-time=END_TIME
-
End time of the time window (exclusive) for the asset history. Defaults to
current time if not specified. See $ gcloud topic datetimes for information on
time formats.
- --organization=ORGANIZATION_ID
-
The ID of the organization which is the root asset.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support