gcloud asset list

From wikieduonline
Revision as of 19:53, 26 July 2022 by Thomas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

gcloud asset list --project your_project_id
API [cloudasset.googleapis.com] not enabled on project [0987654321]. Would you like to enable and retry (this will take a few minutes)? (y/N)?


gcloud asset list
ERROR: (gcloud.asset.list) Exactly one of (--folder | --organization | --project) must be specified.
Usage: gcloud asset list (--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --project=PROJECT_ID) [optional flags]
 optional flags may be  --asset-types | --content-type | --filter | --folder |
                        --help | --limit | --organization | --page-size |
                        --project | --relationship-types | --snapshot-time |
                        --sort-by

For detailed information on this command and its flags, run:
  gcloud asset list --help

Related

See also

Advertising: